#StackBounty: #drivers #sound #kernel #20.04 #alsa Only "Dummy output" (sound) in Ubuntu 20.04 after reboot

Bounty: 100

I am using Ubuntu 20.04 for over a month now.
After a reboot, I have no more sound and WiFi. Note that this is different from many other posts, which seem to have had no sound at all, after an upgrade. In this case, sound stopped working only after a reboot.

As for the sound, I seem to not have the appropriate kernel modules for sound, so I guess the most likely solution would come from making the modules available (it seems I have two sound cards).
I will try to include as much info as possible related to the copious posts with similar problems.

This is what I see.

  1. $ lsmod | grep snd outputs nothing.

    Here it is quoted (only for intel)
    $ lsmod | grep snd_hda_intel
    snd_hda_intel          53248  3
    snd_intel_dspcfg       24576  1 snd_hda_intel
    snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
    snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
    snd_pcm               106496  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
    snd                    90112  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,thinkpad_acpi,snd_pcm,snd_rawmidi
  1. Kernel modules
    $ dpkg -L linux-modules-5.4.0-40-generic | grep snd
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq-dummy.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq-midi-emul.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq-midi-event.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq-midi.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq-virmidi.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/seq/snd-seq.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-compress.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-hrtimer.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-hwdep.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-pcm-dmaengine.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-pcm.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-rawmidi.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-seq-device.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd-timer.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/core/snd.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/drivers/pcsp/snd-pcsp.ko
    /lib/modules/5.4.0-40-generic/kernel/sound/pci/snd-ens1370.ko

How can I check if any of this is what I need?

How can I check if any of this corresponds to those from Intel listed in item 1?

How can I load these modules?

  1. inxi
    $ inxi -SA
    System:    Host: Hydrus1 Kernel: 5.4.0-40-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa) 
    Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: N/A 
               Device-2: NVIDIA GF104 High Definition Audio driver: N/A 

Here it is quoted (note the driver)

    $ inxi -SMA
    System:    Host: Wizard Kernel: 5.4.0-26-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa) 
    Machine:   Type: Portable System: Dell product: Vostro 2520 v: N/A serial: <superuser/root required> 
               Mobo: Dell model: 0V1NDP v: A11 serial: <superuser/root required> BIOS: Dell v: A11 date: 02/24/2014 
    Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
               Sound Server: ALSA v: k5.4.0-26-generic
  1. I don’t know if this is meaningful…
    $ dmesg | grep -i snd
    [    0.009698] ACPI: MCFG 0x00000000CF7D5C98 00003C (v01 DELL   SNDYBRDG 06222004 MSFT 00000097)
    
  2. lspci
    $ lspci -nnk | grep -A1 Audio
    00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
        DeviceName:  Onboard Audio
        Subsystem: Dell 6 Series/C200 Series Chipset Family High Definition Audio Controller [1028:04a4]
    00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
    --
    01:00.1 Audio device [0403]: NVIDIA Corporation GF104 High Definition Audio Controller [10de:0beb] (rev a1)
        Subsystem: Dell GF104 High Definition Audio Controller [1028:04a4]
    03:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:422b] (rev 35)
    
  3. System
    $ uname -a
    Linux Hydrus1 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    
  4. Test sound
    $ aplay -l
    aplay: device_list:274: no soundcards found...
    
  5. lshw
        $ lshw -C multimedia
        WARNING: you should run this program as super-user.
          *-multimedia UNCLAIMED    
               description: Audio device
               product: GF104 High Definition Audio Controller
               vendor: NVIDIA Corporation
               physical id: 0.1
               bus info: pci@0000:01:00.1
               version: a1
               width: 32 bits
               clock: 33MHz
               capabilities: bus_master cap_list
               configuration: latency=0
               resources: memory:e0080000-e0083fff
          *-multimedia UNCLAIMED
               description: Audio device
               product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
               vendor: Intel Corporation
               physical id: 1b
               bus info: pci@0000:00:1b.0
               version: 04
               width: 64 bits
               clock: 33MHz
               capabilities: bus_master cap_list
               configuration: latency=0
               resources: memory:e1e50000-e1e53fff
        WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Here it is quoted (note the driver)

    $ sudo lshw -C multimedia
      *-multimedia              
           description: Audio device
           product: GP104 High Definition Audio Controller
           vendor: NVIDIA Corporation
           physical id: 0.1
           bus info: pci@0000:01:00.1
           version: a1
           width: 32 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: driver=snd_hda_intel latency=0
           resources: irq:17 memory:f7080000-f7083fff
  1. alsa packages
    $ dpkg -l | grep alsa
    ii  alsa-base                                     1.0.25+dfsg-0ubuntu5                all          ALSA driver configuration files
    ii  alsa-tools-gui                                1.1.7-1ubuntu1                      amd64        GUI based ALSA utilities for specific hardware
    ii  alsa-topology-conf                            1.2.2-1                             all          ALSA topology configuration files
    ii  alsa-ucm-conf                                 1.2.2-1ubuntu0.1                    all          ALSA Use Case Manager configuration files
    ii  alsa-utils                                    1.2.2-1ubuntu1                      amd64        Utilities for configuring and using ALSA
    ii  gstreamer1.0-alsa:amd64                       1.16.2-4                            amd64        GStreamer plugin for ALSA
    ii  libsox-fmt-alsa:amd64                         14.4.2+git20190427-2                amd64        SoX alsa format I/O library
    
  2. No sound either if I plug earphones.
  3. I have no timidity-daemon to remove.
  4. Attempt reload
    $ sudo alsa force-reload
    [sudo] password for user1: 
    Unloading ALSA sound driver modules: (none loaded).
    Loading ALSA sound driver modules: (none to reload).
    
  5. modprobe
    $ grep intel /etc/modprobe.d/alsa-base.conf 
    options snd-intel8x0m index=-2
    

Some of the many related posts

https://askubuntu.com/a/1244118/226614 . Recent post, accepted answer. Suggests using a ppa for fixing. I am not sure this can get things worse…

https://askubuntu.com/a/1249071/226614 . Recent post. Suggests using
sudo setfacl -m u:user1:rw /dev/snd/*
Tried this, didn’t help.

https://askubuntu.com/a/847954/226614 . Old post, accepted answer. Suggests installing alsa-firmware-loaders and alsa-base. I am not sure this still applies…

How to install missing firmware for an Creative Labs Audigy2 soundcard? . Also old post. Also suggests UNCLAIMED device is due to firmware issues.
Why would the problem appear after a reboot?

No sound on upgrade (18.04 -> 20.04) only have "dummy output"

Dummy output after standby since upgrading to Ubuntu 20.04

20.04: internal speaker (Audio) is not working in Ubuntu 20.04 LTS after upgrading from Ubuntu 18.04 LTS

Ubuntu 20.04 – No sound

Soundcard not detected by pulseaudio (but by alsa)

How to install missing firmware for an Creative Labs Audigy2 soundcard?

https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.