And the second one, I followed the instructions and they did not succeed for me:
Basically, everything is working great after the upgrade to 4.2 except that now my sound doesn’t play in any template nor in dom0. I tried my old templates that I upgraded, but also downloaded the new templates that already have pulseaudio-pipewire installed, and no luck.
In fact, at the moment my internal speakers are not being recognized in Pulse Audio Manager at all, so it doesn’t see the playback device. Can anyone assist? Is this something that the upgrade failed to switch?
Thank you @balko for linking that post; it is very helpful. Thank you @solene for your suggestion; that seems to fix my problem for now at least.
I just ran the line you suggested in the dom0 terminal and replaced “$qube” with the VM I was trying to get sound from. Oddly, I only did this once for a single VM and now all my VM sounds seem to be working…
I actually just today started having that same problem again. I wonder if this should be filed as a bug report in github because the upgrade script seems not to have successfully done whatever is needed to switch the audio system successfully. I will keep playing with it to see if I find anything out, but I don’t know pipewire very well at all.
In my case I didn’t know about PipeWire, just discovering it as it begins to be shipped by default in major distros.
I’m with debian 11 by default, and have /usr/bin/pulseaudio and /usr/bin/pipewire running processes in dom0, so eventually I don’t know which one is used.
I also noticed I couldn’t play any video from the internet (youtube, news broadcasting channels, etc), the video never starts.
Maybe is it related to nvidia driver I tried (unsuccessfully) to install previously (to try to fix a resume problem).
As this is a test machine, I’m trying wiping and clean installing 4.2, just to get rid of any nvidia driver interference, I’ll give a feedback.
Just to let you know that in the end, I didn’t need to clean install to remove any junk with nvidia, just removing pipewire from dom0 with dnf remove pipewire was enough, like @uuqz188 did in Audio not work in appVM on 4.2.0-rc1, it worked for me, the sound is back in VLC or firefox in any AppVM.
Thanks so much for taking the time to come back and let us know how it went. Is removing pipewire from dom0 recommended? I just want to be sure I don’t break anything. I thought dom0 was acting as the audioVM? If anyone here knows better than I do, please clarify the relationship. I can’t seem to find documentation on pipewire yet in qubes.
I don’t have enough skill to tell things apart regarding dom0 acting as the audioVM, not even with pipewire nor pulseaudio, but except from my tests regarding attempt to install nvidia driver (which failed), my installation is rather ‘by default’, and removing pipewire in dom0 seems to allow pulseaudio to act normally (I just checked before removing that both were present in dom0 by default).
So yes, if anybody has a bit of knowledge (maybe does it also work by removing pulseaudio rather than pipewire ? ) to clarify, it would be very helpful.
And audio is back.
I backed up my qubes
restored my qubes
Then opened my Debian template
sudo aptitude install pipewire-pulse
And all of my qubes which use that template have audio again