- Package:
- pulseaudio
- Source:
- pulseaudio
- Description:
- PulseAudio sound server
- Submitter:
- Phil Dibowitz
- Date:
- 2024-07-19 09:27:03 UTC
- Severity:
- normal
Dear Maintainer, If I start playing a video in firefox, pulseaudio freezes and I can't play anything until I restart pulseaudio. If I start playing video in Chrome, it'll work until I pause or stop, then pulseaudio freezes again, until I restart pulseaudio. Once it's frozen I can repliably get errors on anything that touches the audio device. For example from mplayer: ``` Starting playback... A: 0.1 (00.0) of 473.0 (07:53.0) ??,?% Audio device got stuck! A: 0.3 (00.3) of 473.0 (07:53.0) ??,?% Audio device got stuck! ```
I found the culprit! gnome-remote-desktop caused pipewire and friends to get installed. Even with `pipewire-pulse` installed, audio was unusable when pipewire was installed. Removing all pipewire packages allowed audio to work again.
Chrome regularly had sound stop when playing YouTube even though mpv could still play videos. Running "systemctl --user restart pulseaudio.service" would make sound work again but pausing YouTube would usually trigger it again. Running the following 2 commands to stop pipewire seems to have fixed the problem. So it's related to the communication between pipewire and pulseaudio. systemctl --user stop pipewire.service systemctl --user stop pipewire.socket
This still happens with pipewire 1.2.1-1 in Unstable. After using the system for a while and presumably pipewire has done some audio stuff other audio methods won't work. The following works: mpv $FILE -ao pipewire The following plays the video with no sound: mpv $FILE -ao pulse The following hangs due to blocking on sound: mpv $FILE -ao alsa When I try to visit a YouTube page in Chrome it hangs so presumably Chrome uses alsa.