I've OpenRc and followed the News to update my system to Pipewire (with pulseaudio). It works but when I close an X session (KDE) and login again my Volume control says that there is no audio and in "system settings" I cannot see any audio. I have to reboot the PC and it appears again. There is something that is lost in closing and reopening the session. I tried: 1) Putting this in ~\.bash_profile # Ensure XDG_RUNTIME_DIR is set unset XDG_RUNTIME_DIR export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) ing 2) Putting this in .xprofile gentoo-pipewire-launcher & nothing changes. Reproducible: Always
I've made this test. I run # ps -ef | grep wire 1) During a pipewire functioning session 2) After logout to that session 3) After second login when audio doesn't work anymore. Each time I got the same: silvio 2723 1 0 16:55 ? 00:00:00 /usr/bin/wireplumber silvio 2727 2723 0 16:55 ? 00:00:00 /usr/bin/pipewire silvio 2728 2723 0 16:55 ? 00:00:00 /usr/bin/pipewire -c pipewire-pulse.conf So problably daemon has to be killed after the session? BTW: restarting display-manager doesn't solve the problem: # /etc/init.d/display-manager restart I have to reboot the notebook.
I've solved with this workaround: in ~\.xprofile I put: gentoo-pipewire-launcher restart & Adding "restart" it forces the pipewire to restart and it works fine. Another solution could be to stop/kill all processes at the end of the X session. However I think it has to be handled by the system. In the meantime one could use my workaround.