Bug 1937821

Summary: Sound output stops after a while of using the system
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: pipewireAssignee: Wim Taymans <wtaymans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: brunovern.a, lminiero, vquintans, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pipewire-0.3.24-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-23 00:16:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Viktorin (pviktori) 2021-03-11 15:42:17 UTC
After I use my Fedora 34 system for a while (hours), at one point sound does not play any more.

Rhythmbox displays no error message, but the "progress bar" doesn't progress when I play a sound.

mplayer shows that the audio device got stuck:

$ mplayer /usr/share/sounds/gnome/default/alerts/bark.ogg
[...]
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:  -0.0 (unknown) of 0.5 (00.5) ??,?%                                                                                 
Audio device got stuck!
A:  -0.0 (unknown) of 0.5 (00.5) ??,?%                                                                                 
Audio device got stuck!
A:  -0.0 (unknown) of 0.5 (00.5) ??,?%                                                                                 


How can I debug this further?

Comment 1 Petr Viktorin (pviktori) 2021-03-15 21:22:39 UTC
Now I've caught where this happened: I was on a video call over https://meet.jit.si/ in Firefox and switched to a different GNOME workspace.
The audio ended immediately and the system is quiet since then. No output/input devices appear in GNOME sound settings.

Comment 2 Fedora Update System 2021-03-18 14:29:38 UTC
FEDORA-2021-2c994d0609 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2c994d0609

Comment 3 Fedora Update System 2021-03-18 21:48:37 UTC
FEDORA-2021-2c994d0609 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2c994d0609`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2c994d0609

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-03-23 00:16:46 UTC
FEDORA-2021-2c994d0609 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Lorenzo Miniero 2022-04-14 11:05:42 UTC
It still happens on Fedora 35. I haven't managed to figure out what causes it to happen, but when it does, I get the same "Audio device got stuck!" sequence when using mplayer to check the status. Restarting the Pipewire service doesn't seem to solve it, only a reboot does.