QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
534 stars 46 forks source link

sys-audio stops working after suspend #8130

Open GaelicGabe opened 1 year ago

GaelicGabe commented 1 year ago

Qubes OS release

Qubes 4.1

Brief summary

Usually after a suspend sys-audio will no longer play audio and any qubes that wants to play a video will be unable to (it will just buffer indefinitely). This does not seem to be a problem on the app-qubes side because starting a new qube and connecting it to sys-audio will not allow that new qube to play audio either. I've tried to restart pacat-sample-vchan without any luck. If I use pavucontrol in sys-audio when this happens and I drag the volume meter back and forth for any of the app-qubes then it will play 1 music packet, it will sound like a jagged sound. If I do this for a longer period the sound keeps playing slowly and videos will play again, so it seems like for some reason pavucontrol updating will play something like 1 sound frame.

Shutting down sys-audio and starting it up again will not allow already opened qubes to play audio through it, however even if I start a new VM after restarting sys-audio the problem remains. The only solution seems to be to restart the computer. Perhaps this implies that the problem is found in between the app-qube and sys-audio in dom0?

Steps to reproduce

Have sys-audio as you audio qube and then suspend your computer. Try playing a video.

Expected behavior

The video should play.

Actual behavior

The video hangs.

GaelicGabe commented 1 year ago

Another update: This issue goes away if I attach my bluetooth speaker to sys-audio and play through that.