My external monitor that is connected by HDMI still gives a visual display, but recently stopped playing sound or being detected as an audio device in Ubuntu 20. After trying several solutions, I updated to Ubuntu 21.04 but the problem has persisted.
It shouldn't be a problem with the cable or connection as it functions as normal in Windows dual-boot. I have tried updating drivers, killing the running pulseaudio daemon and updating alsamixer and pavucontrol.
The command inxi -SMA
gives:
Host: jeroen-Lenovo-Legion-Y7000P-1060 Kernel: 5.11.0-25-generic x86_64
bits: 64 Desktop: GNOME 3.38.4 Distro: Ubuntu 21.04 (Hirsute Hippo)
Machine:
Type: Laptop System: LENOVO product: 81LE v: Lenovo Legion Y7000P-1060
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0L77769 WIN
serial: <superuser required> UEFI: LENOVO v: 9VCN12WW date: 08/06/2018
Audio:
Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.11.0-25-generic
showing two audio devices, but Intel is the only card option given in alsamixer, and pulse shows all HDMI options as being empty. lspci
mentions the NVidea audio device in the list, whereas lspci -H1
does not.
Help would be appreciated. If any more system details are helpful for troubleshooting, please let me know.