Hi, I'm running Artix OpenRC with KDE6 and Pipewire. This stuff used to work some time ago. But right now I can't get it to work under Wayland. I can screen share via X11 using XSHM , but if I try pipewire via OBS it exhibits same behavior.
I use AMD / MESA
Anyway, I followed the Artix Pipewire wiki: https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio
I also read the Arch pipewire wiki: https://wiki.archlinux.org/title/PipeWire
Furthermore, I read these threads and tried their suggestions to no avail:
I have noted two behaviors:
1. When I try to screenshare, I receive error Failed to connect PipeWire context
2. When I try to screenshare I just get a black screen
I have behavior #1 if I use /usr/share/pipewire/pipewire.conf to launch pipewire by uncommenting fields under context.exec. = [ .
I have behavior #1 if I use pipewire-autostart from AUR
I have behavior #1 if I exec a script containing /usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/wireplumber
via .bash_profile
Conversely,
I have behavior #2 I install pipewire-openrc and wireplumber-openrc and add those to default or boot
I have behavior #2 if I use artix-pipewire-loader
pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 152
Tile Size: 65472
User Name: user
Host Name: ursar
Server Name: PulseAudio (on PipeWire 1.0.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-51
Default Source: alsa_output.usb-0d8c_USB_Sound_Device-00.analog-surround-51.monitor
Cookie: 2a33:bf6a
echo $XDG_CURRENT_DESKTOP
KDE
Looking forward to clarification on this matter. Thanks.