Score:1

No Audio From Digital Output (S/PDIF) On Fresh Install 21.10

us flag

Title pretty much says it all. Before installing 21.10, I tried a bunch of solutions on darn near every thread here on askubuntu but to no avail.

Mobo is a Asus Z170.

If I output audio to my HDMI it works, no problem.

When I try to output via my digital output (S/PDIF) nothing is coming through. Sometimes I can use 'Test' and hear "left input" and "right input" but if I try to play any sounds or videos or youtube - it essentially 'kills it', and no more audio is heard.

For example - if I select HDMI and run the audio test, I can hear 'front right' and 'front left', then if I select Digital Output and run the tests, I hear 'front right' and 'front left' - so it would appear to be working.

If I play any audio at all I no longer hear anything when using Digital Output. Once I stop any currently playing audio, select HDMI (and run the tests), then select Digital Output again, the test audio will work again. But once any audio is played again (including system alert sounds) the Digital Output stops working again (however, oddly, the 'Bark' alert sound seems to work while none others do)

I had this issue on 20.04 and after hours of frustration decided to do a fresh install to 21.10 to see if it resolved the issue (which it did not).

enter image description here

I can see the volume going up and down in the 'Output' section of the Sound settings - as if it's recognizing that audio is playing. It's just not actually outputting that audio.

I also installed pavucontrol and it additionally sees the audio (volume going up and down):

enter image description here

Additionally - in Alsamixer I have everything turned up and you can see the S/PDIF enabled with the 00 (as per the sound troubleshooting instructions):

enter image description here

Do I have to install the realtek audio drivers for my motherboard on Linux? I'm a bit clueless at this point as to how to make this work.

Any and all help is appreciated!

Score:0
us flag

Okay - I continued digging through post after post and trying fix after fix.

I eventually stumbled across this answer here.

In summary:

Configure /etc/pulse/daemon.conf

replace: ; default-sample-rate = 44100

with: default-sample-rate = 48000

Apparently it's a mismatch with the sampling rate - which is why I could see the audio as if it were playing - but couldn't hear it.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.