Audio from sys-audio only works for already-running qubes, not newly started ones

Hi!

I’ve been struggling with audio in sys-audio for a while and tried pretty much everything from various threads, but I can’t get it working reliably. There are tons of sys-audio related discussions, so apologies for starting a new one, I couldn’t find one that exactly matches my symptoms.

The problem is that at system startup, no qube gets audio from sys-audio. In sys-audio’s Pulsaudio system tray the Playback and Recording menu items show no streams at all.

If I manually stop and restart the audio daemon in sys-audio, audio start working for all qubes that were already running at that moment. However, any qube I start afterward gets no audio. Its stream doesn’t appear, and there’s no sound output.

I’ve also applied the patch to /usr/lib/python3/site-packages/qubesadmin/tools/qvm_start_daemon.py that’s mentioned in some threads, but it didn’t change anything.

Anyone has any idea how to fix this?

Thanks in advance!

I’m no expert but it feels like something is wrong with qubes policy

More specifically, these rules:

admin.Events          +domain-spawn                              sys-audio     @tag:audiovm-sys-audio    allow target=dom0
admin.Events          +domain-start	                         sys-audio     @tag:audiovm-sys-audio    allow target=dom0

Maybe there’s a typo in your definition or something overrides them later on?

3 Likes

Thanks a lot. It worked.