No audio on a new Qubes OS installation

I’ve installed Qubes OS on two different PCs, but I can’t get audio to work over either the headphone jack or HDMI on both machines, even though the installation itself went smoothly. I’ve verified that the sound drivers are properly installed and that the sound cards are correctly detected - both are standard Intel sound cards. Interestingly, I can hear crackling noises in the headphones when plugging them into the jack port.

I ran a diagnostic command based on a suggestion from GPT:

journalctl | grep -i audio

From the logs, I noticed this error:
pipewire-pulse.service - PipeWire PulseAudio was skipped because of a failed condition check (conditionUser=!root).

I searched online and found this related GitHub issue: https://github.com/QubesOS/qubes-issues/issues/9562 but I’m still unsure how to resolve the problem.

Any help would be greatly appreciated. Thank you!

1 Like

What hardware and Qubes OS version did you install with?

I have installed the latest stable version of Qubes OS (R. 4.2.3) on two different Chinese mini PCs, each equipped with an Intel N100 or N95 processor. Both devices seem to require standard audio drivers.

1 Like

Are these devices listed in the HCL?

One of the devices is the AK2 Plus, which is in the list of HCL: Hardware compatibility list (HCL) | Qubes OS

The other mini PC is the Chinese T9 Plus.

1 Like

In case it is of any help, or gives anybody thinking of installing Qubes more confidence, a “loud speaker” mute/volume control icon appeared automatically in my panel, and I see the following screen shots when I go into …

…Q > System settings > PulseAudio Volume control …

1 Like

Thank you for your kindness and suggestion. Yes, I have already reviewed these settings and ensured that the speakers are not muted.

1 Like

… and of course the crackle when you plug the headphones in shows that they are working. Perhaps somebody else can help :sleepy:

1 Like

I have two recommendations, after having this problem. It takes me time to remember every time I need to listen to audio in Qubes :

  1. Take off your headphones while you experiment, to save your eardrums.

  2. don’t forget that in Qubes we have two sources and two outputs. Each one has a volume control and a mute button, so there are 8 controls to verify…

First look at the volume control inside your VM while you play some audio - for example, in fedora you can type pavucontrol in a terminal window. Select “Playback” tab, and verify that you can see an AudioStream with a moving bar indicating the source of audio (maybe you must select “Show: All Streams”.) As an example, here I have a Playback item for Firefox: AudioStream - it appears when I start playing some radio podcast.

When you can see the Playback, look at the “Output Devices” - still inside the VM Volume control mixer. If it is an AppVM, then you should see the “Qubes Virtual Audio Sink”, with the same moving bar signal.

If the audio is going to the Qubes Sink in the VM, then it should appear in the Dom0 volume control, in the “Playback” for your Qube.

Lastly, the signal you see in Dom0 Playback should appear in Dom0 “Output Devices”. If your real audio device is supported by the Dom0 kernel then it should be here.

To complicate things, some applications have their own internal volume controls, independent of the VM controls… so those 8 controls can be even more.

I never tried using audio in Windows VM, but I guess that Qubes provides it with an emulated or a virtual audio device, with similar controls to the linux “Output Devices” ones.

I am glad I wrote that down. I hope it can help you, or someone else.

C

1 Like

Hey, I forgot to say “Welcome @Guacamole” !
I’m kind of new here too, as I hardly ever post, even though I have lurked around for a long time, learning clever tips from the experts.
C

1 Like

Maybe try the above quoted solution.