A few weeks ago, a while after I had upgraded my laptop to Qubes 4.2.0, I started suspend on my laptop, but after resuming it there was no audio output at all from any of my qubes. However, I went to PulseAudio Volume Control and it shows that the audio playback seems to be working when I play audio in a qube – the only problem is that I cannot actually hear anything from my speakers. I tried to play some audio in a whonix disposable and a fedora qube, all unsuccessfully. Any advice on how to fix this would be greatly appreciated, thanks
(Also, just to confirm, my volume is on and none of my qubes have their audio playback muted )
Edit: I did try muting and unmuting the playback in both the whonix disposable and the fedora qube, which didn’t work; I also tried changing the Built-in-Audio profile (under Configuration) from “Analog Stereo Duplex” to “Off” and then back to “Analog Stereo Duplex”, which also didn’t work. I haven’t done anything in the command line because I’m scared that I might accidentally break something. Hope this helps a bit!
Forgive my ignorance, but what am I supposed to be looking for? Here’s a snippet of the output:
speaker-test 1.2.9
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Buffer size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 2.665582
0 - Front Left
Time per period = 2.986366
0 - Front Left
Time per period = 2.986544
0 - Front Left
Time per period = 2.986020
0 - Front Left
Time per period = 2.987235
You should hear the noise from speakers when this command is running.
Since you don’t seem to hear anything then the audio is not working even without pulseaudio.
I have a similar problem and I was able to fix, so sharing this as my first contribution (maybe way too basic, but well…)
I suspended, then started, then no audio from one of my VMs. I used another computer for a call but that is not my solution.
Next day, I clicked the speaker icon on the upper bar, went to “Audio Mixer…” and checked the VMs there. Most of them were assigned to “sof-hda-dsp Speaker + Headphones” but the non-working one was assigned to “sof-hda-dsp HDMI / DisplayPort 1 Output”. I just changed it back to “sof-hda-dsp Speaker + Headphones” and audio started working again.
Not sure how nor why this setting was changed in the first place.