The Internet is clogged with reports of this bug on AMD GPUs, but some
w/ Intel/nVidia (which I haven't followed).

Is your info from post 61 still valid? (This would be for a current,
unmodified update of any distro.)

It would interesting to plug in a Mint live device and check output of
'aplay -l'. Two reasons for Mint; the team does a great job debugging
and it seems to be the one you were running originally.

If same result, that means the kernel itself can't access the hardware
(to my understanding).  Totally scwewed in that case.

The workaround relies on alsa being able to access and control the audio
hardware. If alsa can't enumerate the HDMI devices, there's no
convenient way to manually circumvent the defaults (that don't work).

But if the HDMI ports *are* listed, the workaround should get HDMI audio
playing. Note that it grabs 'HDMI 0', the first HDMI device listed. Just
checked and found the AMD cards here all show  one device for each port,
but with Intel/nVidia, there's up to three shown for each. (!)

Someone may be able to shed some light on why this is but meanwhile, it
appears that a different device number may be required (not the device
number associated with HDMI 0).

So you could try, for example from post 61:

card=0
dev=7

Then paste inner part of script:

pulseaudio --kill
rm $HOME/.config/pulse/*
sleep 2
wait
pulseaudio --start
pacmd load-module module-alsa-sink device=hw:$card,$dev
pacmd set-default-sink alsa_output.hw_${card}_${dev}
pacmd set-sink-volume alsa_output.hw_${card}_${dev} 35000

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834771

Title:
  No HDMI-audio after kernel 4.15.-0.50

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1834771/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to