Sys-audio drops qubes on restart

Followed the audio guide, and essentially it works. But when I restart any qube with sys-audio as its audiovm, it doesn’t reconnect to sys-audio. I can’t get it to re-register until I recreate sys-audio.

In sys-audio’s pavucontrol, I can see the qube client and volume control until the first shutdown, then not.

The client does return a value with qubesdb-read -w /qubes-audio-domain-xid. Restarting pipewire doesn’t fix.

sys-audio is based on fedora-40-xfce. I get the same behavior from fedora-40 and debian-12 clients.

Audio is built in, with a PCI device passed to sys-audio.

Since recently, I have the same issue, didn’t had time to investigate.
check if the following thing help you:

Try to remove this line from the policy

admin.vm.property.GetAll * sys-audio   @tag:audiovm-sys-audio  deny   notify=no

and from /usr/lib/python3.12/site-packages/qubesadmin/tools/qvm_start_daemon.py
modify the line
from

events = qubesadmin.events.EventsDispatcher(args.app)

to

events = qubesadmin.events.EventsDispatcher(args.app, enable_cache=False)
1 Like

Did both on dom0.

Now get a warning about GetAll being denied, on qube startup, but otherwise no change in behavior.

Tried changing deny to allow, same behavior.

the /usr/lib/python3.12/site-packages/qubesadmin/tools/qvm_start_daemon.py thing should be done in the template of your sys-audio, not dom0

1 Like

That seems to fix it, yes.