Sound stopped working after upgrading to Linux 5.4 (Intel HD Audio)
Solution 1:
Here is how I was able to resolve this:
sudo vim /etc/default/grub
- Find
GRUB_CMDLINE_LINUX_DEFAULT
and addsnd_hda_intel.dmic_detect=0
to the end of it. (ex:GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 snd_hda_intel.dmic_detect=0"
) sudo grub-mkconfig -o /boot/grub/grub.cfg
- Reboot the system.
Solution 2:
The option snd_hda_intel.dmic_detect=0
is deprecated on newer kernels, you may use snd-intel-dspcfg.dsp_driver=1
instead.
But be aware, it's slightly different meaning.
Solution 3:
Above solution by hopeseekr seems to be working for Dell G3 3590 with Nvidia GTX 1650 for newest ubuntu 20.04 installation in Dual Boot mode along with Windows 10. Initially there was no sound and no system brightness controller. I have tried following possible solutions by updating the grub but nothing seems to work :
- Updating
/etc/default/grub
withquiet splash
inGRUB_CMDLINE_LINUX_DEFAULT
. - Updating
/etc/default/grub
withnouveau.nomodeset=0
inGRUB_CMDLINE_LINUX
.
Checking alsamixer
in the the terminal was also not showing Intel sound card. Only Nvidia sound card was detected.
This has completely solved the problem. I have been searching for this solution since months. It detects the intel sound card correctly in Ubuntu 18.04 installation but was failing to do so in Ubuntu 20.04.
Solution 4:
If you want to persist the kernel parameters (for example on Pop_OS!), you'll have to use kernelstub to append the parameter.
Either use sudo kernelstub -a intel-dspcfg.dsp_driver=1
or sudo kernelstub -a snd_hda_intel.dmic_detect=0
(depending on kernel version). Then you can check if it was appended with running the command sudo cat /boot/efi/loader/entries/Pop_Os-current.conf
.
If you append the parameter directly it will get overwritten after rebooting.