Black screen in recording attempt in Artix Linux, wayland & kde (works in xorg/x11).

gigaer22

New Member
When adding a video source I get an error message: "Failed to start screencasting. Failed to connect to PipeWire context."
Also in log file:
there is an error:

Code:
01:12:42.442: User added source 'Screen Capture (PipeWire) 2' (pipewire-desktop-capture-source) to scene 'Scene'
01:12:42.453: [pipewire] Screencast session created
01:12:42.458: [pipewire] Asking for desktop
01:12:45.222: [pipewire] Failed to start screencast, denied or cancelled by user

I use AMD GPU.
 

gigaer22

New Member
Ok, it turned out that I had pipewire installed but not all packages and pulseaudio was running instead.
sudo pacman -S pipewire wireplumber pipewire-pulse pipewire-alsa pipewire-jack
You automatically remove conflicting packages.

Using command
:~$ pactl info
make sure you have
Server Name: PulseAudio (on PipeWire 0.3.63)
and not
Server Name: pulseaudio

And you need to start it manually or add it to autostart scripts. I found that (in my case) script had to be in KDE's autostart folder.

 
Top