Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Fresh Debian 11 Install with glitchy "Dummy Output" No sound (snd_hda_intel no codecs found)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
chanrakrobin
Posts: 10
Joined: 2022-01-28 09:32
Has thanked: 6 times

[Solved] Fresh Debian 11 Install with glitchy "Dummy Output" No sound (snd_hda_intel no codecs found)

#1 Post by chanrakrobin »

Hello everyone! My name is Jo, this is my first time here and I'm very new to Linux. I'll try my best.

Please help me out a bit. There's no sound. My computer which is freshly installed Debian 11 from (debian-11.2.0-amd64-netinst.iso) just keep showing "Dummy Output" for the sound.

In fact, this dummy output is very glitchy too. 9 out of 10 restarts the Sound Output Device will be "Dummy Output", then somehow 1 out of 10 times it will be okay. By 'okay', I mean the Output Device will be "HDMI" (and there is a sound output normally through my monitor's built-in speaker) for like 15 seconds, then if I try to adjust by pressing volume up or volume down on my keyboard a little, the Output Device will turn into "LINE OUT" then finally "Dummy Output". And I'm back to no sound again.

I tried researching a bit about the abstract layers of sound in Linux and still have completely no idea what in the world am I facing at. Please help. Any advice or comments are highly appreciated. Thank you.

Things I've tried and found no change (Sorry I'm so noob that I don't know what in the world I'm doing at all)
- I tried following a thread somewhere that said "sudo alsa force-reload" but the terminal says: sudo: alsa: command not found
- Confirmed that my monitor/HDMI cable is not the problem
- Before installing Debian 11, I previously used Linux Mint (Kernel: 5.4.0-96-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal ) and I also encountered the same issue too.
- tried reinstalling Debian twice
- appending these two lines to /etc/modprobe.d/alsa-base.conf.dpkg-new
#options snd-usb-audio index=-2
options snd_hda_intel model=auto index=-0

I posted some info from my machine that I think is relevant at this link: https://pastebin.com/SmYKSveU
Last edited by chanrakrobin on 2022-01-28 18:29, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6414
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Fresh Debian 11 Install with glitchy "Dummy Output" No sound (snd_hda_intel no codecs found)

#2 Post by sunrat »

Your system has a Comet Lake processor so is quite recent. You probably need firmware. I think your audio needs firmware-sof-signed and alsa-ucm-conf. https://wiki.archlinux.org/title/Advanc ... A_firmware
Looking at your dmesg shows other missing firmware - firmware-linux-nonfree, firmware-realtek, and intel-microcode should cover it.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

chanrakrobin
Posts: 10
Joined: 2022-01-28 09:32
Has thanked: 6 times

Re: Fresh Debian 11 Install with glitchy "Dummy Output" No sound (snd_hda_intel no codecs found)

#3 Post by chanrakrobin »

Hi there, thank you very much for your time and help.

Umm, it seems like it's not quite working yet. I tried installing all of the firmwares you mentioned and the "Dummy output" still persists.
Apart from this log, all the other firmware are now installed and up to date.

Code: Select all

chanrakrobin@joeDebian:~$ sudo apt install firmware-linux-nonfree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgsettings-qt1 qml-module-gsettings1.0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  amd64-microcode firmware-amd-graphics firmware-misc-nonfree intel-microcode iucode-tool
The following NEW packages will be installed:
  amd64-microcode firmware-amd-graphics firmware-linux-nonfree firmware-misc-nonfree intel-microcode
  iucode-tool
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.9 MB of archives.
After this operation, 90.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch-backports/contrib amd64 iucode-tool amd64 2.3.1-1~bpo9+1 [62.1 kB]
Get:2 http://ftp.jp.debian.org/debian bullseye/non-free amd64 amd64-microcode amd64 3.20191218.1 [35.5 kB]
Get:3 http://ftp.jp.debian.org/debian bullseye/non-free amd64 firmware-amd-graphics all 20210315-3 [5,953 kB]
Get:4 http://ftp.jp.debian.org/debian bullseye/non-free amd64 firmware-misc-nonfree all 20210315-3 [8,953 kB]
Get:5 http://ftp.jp.debian.org/debian bullseye/non-free amd64 firmware-linux-nonfree all 20210315-3 [23.3 kB]
Get:6 http://ftp.jp.debian.org/debian bullseye/non-free amd64 intel-microcode amd64 3.20210608.2 [3,834 kB]
Fetched 18.9 MB in 27s (703 kB/s)                                                                      
Selecting previously unselected package amd64-microcode.
(Reading database ... 236398 files and directories currently installed.)
Preparing to unpack .../0-amd64-microcode_3.20191218.1_amd64.deb ...
Unpacking amd64-microcode (3.20191218.1) ...
Selecting previously unselected package firmware-amd-graphics.
Preparing to unpack .../1-firmware-amd-graphics_20210315-3_all.deb ...
Unpacking firmware-amd-graphics (20210315-3) ...
Selecting previously unselected package firmware-misc-nonfree.
Preparing to unpack .../2-firmware-misc-nonfree_20210315-3_all.deb ...
Unpacking firmware-misc-nonfree (20210315-3) ...
Selecting previously unselected package firmware-linux-nonfree.
Preparing to unpack .../3-firmware-linux-nonfree_20210315-3_all.deb ...
Unpacking firmware-linux-nonfree (20210315-3) ...
Selecting previously unselected package iucode-tool.
Preparing to unpack .../4-iucode-tool_2.3.1-1~bpo9+1_amd64.deb ...
Unpacking iucode-tool (2.3.1-1~bpo9+1) ...
Selecting previously unselected package intel-microcode.
Preparing to unpack .../5-intel-microcode_3.20210608.2_amd64.deb ...
Unpacking intel-microcode (3.20210608.2) ...
Setting up iucode-tool (2.3.1-1~bpo9+1) ...
Setting up intel-microcode (3.20210608.2) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Setting up firmware-misc-nonfree (20210315-3) ...
Setting up amd64-microcode (3.20191218.1) ...
update-initramfs: deferring update (trigger activated)
amd64-microcode: microcode will be updated at next boot
Setting up firmware-amd-graphics (20210315-3) ...
Setting up firmware-linux-nonfree (20210315-3) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-11-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
This is my current dmesg --level err,warn log:

Code: Select all

chanrakrobin@joeDebian:~/debian_helpLog$ sudo dmesg --level err,warn
[    0.000000] secureboot: Secure boot could not be determined (mode 0)
[    4.149240] ACPI: Invalid passive threshold
[    4.149528] ACPI: Invalid passive threshold
[    4.326997] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    4.327891] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    4.330792] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    4.342519] nvme nvme0: missing or invalid SUBNQN field.
[    5.275095] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[    5.368500] resource sanity check: requesting [mem 0xfdffe800-0xfe0007ff], which spans more than pnp 00:06 [mem 0xfdb00000-0xfdffffff]
[    5.368503] caller pmc_core_probe+0x7e/0x410 [intel_pmc_core] mapping multiple BARs
[    5.726071] snd_hda_intel 0000:00:1f.3: CORB reset timeout#1, CORBRP = 0
[    5.728210] snd_hda_intel 0000:00:1f.3: no codecs found!
Here is my sources list

Code: Select all

chanrakrobin@joeDebian:~/debian_helpLog$ sudo cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

# realtek firmware
deb http://ftp.jp.debian.org/debian bullseye main non-free
deb-src  http://ftp.jp.debian.org/debian bullseye main non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

And oh yes, I forgot to mentioned this. I have been using Linux Mint 20 Cinnamon (Cinnamon Version 4.6.7) for about almost a year (without much system update), then one day I believed I updated my machine and then one day the sound is just gone and this "Dummy output" started. Sorry for the super vague information and I'm not sure if there's any correlation thing at all here.

chanrakrobin
Posts: 10
Joined: 2022-01-28 09:32
Has thanked: 6 times

Re: Fresh Debian 11 Install with glitchy "Dummy Output" No sound (snd_hda_intel no codecs found)

#4 Post by chanrakrobin »

Hello, I'd like to update my situation a bit. It works now. The sound works. Thank you so much.

/etc/modprobe.d now have 2 more files
alsa-base.conf.dpkg-new
amd64-microcode-blacklist.conf (new)
blacklist-modem.conf.dpkg-new
intel-microcode-blacklist.conf (new)

This is the current dmesg log.

Code: Select all

[    5.523910] snd_hda_intel 0000:00:1f.3: enabling device (0400 -> 0402)
[    5.524134] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.671819] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    5.673019] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    5.673021] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.673023] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    5.673024] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    5.673025] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    5.673026] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    5.673027] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    5.673028] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a

Code: Select all

chanrakrobin@joeDebian:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Post Reply