I have a motherboard Gigabyte B550M AORUS PRO-P that was running fine with BIOS version F2 and a CPU Ryzen 3700x on Ubuntu-20.04 with kernel 5.10.0-1008-oem This past weekend I upgraded the CPU to a Ryzen 5600x, and to do that I also had to upgrade the BIOS to F11 version (F10 is the minimum BIOS version supporting Ryzen 5600 series). The issue is that now I don't have sound working anymore. On the kernel log (dmesg) I get this: pci 0000:0a:00.4: [1022:1487] type 00 class 0x040300 pci 0000:0a:00.4: reg 0x10: [mem 0xfc400000-0xfc407fff] pci 0000:0a:00.4: enabling Extended Tags pci 0000:0a:00.4: PME# supported from D0 D3hot D3cold [...] pci 0000:0a:00.4: Adding to iommu group 21 [...] snd_hda_intel 0000:0a:00.4: enabling device (0000 -> 0002) snd_hda_intel 0000:0a:00.4: no codecs found! Previous to this upgrade (with BIOS F2) I was getting: pci 0000:0a:00.4: [1022:1487] type 00 class 0x040300 pci 0000:0a:00.4: reg 0x10: [mem 0xfc400000-0xfc407fff] pci 0000:0a:00.4: enabling Extended Tags pci 0000:0a:00.4: PME# supported from D0 D3hot D3cold [...] pci 0000:0a:00.4: Adding to iommu group 21 [...] snd_hda_intel 0000:0a:00.4: enabling device (0000 -> 0002) input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input13 input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input14 input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input15 input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input16 input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input17 input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input18 input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1/input19 The lspci info: 0a:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487] DeviceName: Realtek ALC1220 Subsystem: Gigabyte Technology Co., Ltd Starship/Matisse HD Audio Controller [1458:a0cf] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel It seems the error I get now is this snd_hda_intel 0000:0a:00.4: no codecs found! I tried different things to try to fix it, including forcing different codecs via the probe_mask parameter for the kernel driver snd_hda_intel as well as passing dmic_detect=0 So far, no luck. I'm stuck without sound. The card appears on /proc/asound/cards but neither pulseaudio nor alsa can recognize the card or output any sound. $ cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfc400000 irq 99 $ aplay -l aplay: device_list:274: no soundcards found... $ pacmd list-cards 0 card(s) available. I tried downgrading BIOS to F10 version, but the issue remains. With F10 I even get an extra error on the kernel log: snd_hda_intel 0000:0a:00.4: refused to change power state from D0 to D3hot I would try downgrading back to the BIOS F2 version which was working originally, but that version is not compatible with the CPU that I have now. I already triple-checked all the options on the BIOS and ensured the Audio card is enabled there. I also tried resetting the BIOS settings to the defaults. On the Ubuntu system I did no software upgrades or configuration changes compared to when it was working previously with the other BIOS version, so I'm certainly sure this has been caused somehow by this new BIOS. I tried passing to the driver snd-hda-intel things like "model=dual-codecs probe_mask=0x101" as well as other probe_mask values like 103 105, 107, etc. Any suggestion of which parameters I can pass or any idea of how I can debug this further?
I put back the old processor and installed back BIOS F2: same issue, sound still not working. I installed windows 10 with the official drivers from gigabyte: also sound not working. windows says it can't start the sound card or something like that in the device manager. The device doesn't appear in the sound settings. Conclusion: hardware is faulty. I will RMA the board. Closing the bug.
I'm reopening this. I got a new board and the same issue happens. I even got a third new one and also the same issue :( At this point I'm not sure what is going on because sound is also not working on Windows. The PCI device id is the same than on bug 211555
And for the record I also tested a MSI board with the same audio chipset and I got the same issue (no codecs found) and I tried booting with a live cd with the latest kernel (openSUSE-Tumbleweed-GNOME-Live) to discard any issue with my distro and same issue.
alsa-info http://alsa-project.org/db/?f=0032f3c87124673148ce7b2e527b6655880e209e