pipewire-pulse often hangs as another device wakes up from sleep when using native-protocol-tcp and zeroconf-{publish,discover} on both devices
- PipeWire version (
pipewire --version
): 3.70.0 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: i3wm
- Kernel version (
uname -r
):6.3.1-zen2-1-zen
Description of Problem:
When using the following configuration on two devices on the same LAN:
context.exec = [
{ path = "pactl" args = "load-module module-native-protocol-tcp" }
{ path = "pactl" args = "load-module module-zeroconf-publish" }
{ path = "pactl" args = "load-module module-zeroconf-discover" }
]
pipewire-pulse might hang as another device wakes up after being suspended. This causes all the programs that use PulseAudio (like Firefox, pavucontrol-qt, pactl...) to hang too as a consequence.
How Reproducible:
Steps to Reproduce:
- Apply following config to two devices on the same LAN:
context.exec = [
{ path = "pactl" args = "load-module module-native-protocol-tcp" }
{ path = "pactl" args = "load-module module-zeroconf-publish" }
{ path = "pactl" args = "load-module module-zeroconf-discover" }
]
- Suspend one of the devices, and turn it back on
Actual Results:
After a few seconds pipewire-pulse might hang on the device that wasn't suspended, and programs that use PulseAudio will hang too until they supposedly timeout. After a bit of time (1~5 minutes) things might get back in order.
Expected Results:
No hang.