pipewire-pulse: not finding systemd socket
- PipeWire version (
pipewire --version
): 1.0.7 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: sway
- Kernel version (
uname -r
): 6.9.2-arch1-1
Description of Problem:
Starting pipewire-pulse from the systemd unit file fails with the following errors:
systemd[2281]: Listening on PipeWire PulseAudio.
systemd[2281]: Started PipeWire PulseAudio.
pipewire-pulse[55235]: mod.protocol-pulse: server 0x61348dc3e740: socket '/run/user/1000//pulse/native' is in use
pipewire-pulse[55235]: mod.protocol-pulse: pulse-server 0x61348dc3df90: failed to start server on 'unix:/run/user/1000//pulse/native': Address already in use
pipewire-pulse[55235]: mod.protocol-pulse: 0x61348dc3df90: no servers could be started: Address already in use
pipewire-pulse[55235]: pw.conf: 0x61348dc0bbd0: could not load mandatory module "libpipewire-module-protocol-pulse": Address already in use
pipewire-pulse[55235]: default: failed to create context: Address already in use
Using the debugger, it seems like sd_listen_fds
is never returning any sockets, even though systemd is creating the required socket through pipewire-pulse.socket
.
How Reproducible:
100%
Steps to Reproduce:
systemctl --user restart pipewire-pulse.socket
- Open something that requires pulseaudio, like
pavucontrol
. - Observe the error in the system logs
Actual Results:
systemd[2281]: Listening on PipeWire PulseAudio.
systemd[2281]: Started PipeWire PulseAudio.
pipewire-pulse[55235]: mod.protocol-pulse: server 0x61348dc3e740: socket '/run/user/1000//pulse/native' is in use
pipewire-pulse[55235]: mod.protocol-pulse: pulse-server 0x61348dc3df90: failed to start server on 'unix:/run/user/1000//pulse/native': Address already in use
pipewire-pulse[55235]: mod.protocol-pulse: 0x61348dc3df90: no servers could be started: Address already in use
pipewire-pulse[55235]: pw.conf: 0x61348dc0bbd0: could not load mandatory module "libpipewire-module-protocol-pulse": Address already in use
pipewire-pulse[55235]: default: failed to create context: Address already in use
Expected Results:
systemd[2281]: Listening on PipeWire PulseAudio.
systemd[2281]: Started PipeWire PulseAudio.
pipewire-pulse[53991]: mod.protocol-pulse: server 0x61348dc3e740: found systemd socket activation socket for '%s'
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log