Bug 211555 - MAG X570 TOMAHAWK WIFI - AMD HD Audio - no codecs found
Summary: MAG X570 TOMAHAWK WIFI - AMD HD Audio - no codecs found
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: x86-64 Linux
: P1 low
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 21:54 UTC by Stefan Schick
Modified: 2022-04-12 19:43 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.10.11-arch1-1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
ALC1200 (201.58 KB, image/jpeg)
2021-03-05 13:18 UTC, Stefan Schick
Details
Mainboard Diagram (103.23 KB, image/png)
2021-03-05 13:19 UTC, Stefan Schick
Details

Description Stefan Schick 2021-02-03 21:54:29 UTC
Hi, 

on my new MAG X570 TOMAHAWK WIFI Mainboard the sound isn't working. The card itself is detected:

2f:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:ec84]

But then it fails when it's looking for codecs:

[    1.964706] snd_hda_intel 0000:2f:00.4: enabling device (0000 -> 0002)
[    1.968675] snd_hda_intel 0000:2f:00.4: no codecs found!

alsa-info.sh:
https://alsa-project.org/db/?f=d52fc6b54745aa1143ec46d780ac58dccd31590b

My guess is, that it is similar to the folowing bug and patch, and thus needs one of these quirks.

https://bugzilla.kernel.org/show_bug.cgi?id=209347#c2
https://lkml.org/lkml/2020/8/28/1051
Comment 1 Stefan Schick 2021-02-05 01:15:39 UTC
THe chipset seems to be a Realtek ALC1200.
Comment 2 Takashi Iwai 2021-03-03 14:35:03 UTC
Do you get the hardware spec?  In the case of recent AMD mobos, it's often that HD-audio bus is empty while the actual hardware implementation is done in USB audio.
Comment 3 Stefan Schick 2021-03-04 09:08:11 UTC
Unfortunately I do not have anything remotely useful. I just sent a support request to the manufacturer with reference to this bug ticket. I hope they help us and provide the information.
Comment 4 Stefan Schick 2021-03-05 13:18:58 UTC
Created attachment 295671 [details]
ALC1200
Comment 5 Stefan Schick 2021-03-05 13:19:35 UTC
Created attachment 295673 [details]
Mainboard Diagram
Comment 6 Stefan Schick 2021-03-05 13:31:56 UTC
I attached what I got from the manufacturer support and what I found on the internet. I guess this is lacking the detail needed? The processor I use is an AMD Ryzen 7 5800X.
Comment 7 Takashi Iwai 2021-03-05 13:48:25 UTC
Well, many other recent AMD Ryzen mobos are with Realtek ALC12xx, but as already mentioned, the audio component is connected via USB while it provides a dummy HD-audio bus that results in the similar empty slot.  So the driver has a blacklist for such devices to ignore probing.  But, those must appear in USB-audio side, and that's missing in your case.

So, currently I'm not sure whether it's really an issue in HD-audio or rather some missing piece in USB-audio side.

In anyway, as of now, there is no many thing I can help; the driver couldn't get the codec on HD-audio bus and USB-audio didn't show up, either.  I recommend you to check the BIOS setup and/or BIOS update at first.
Comment 8 Stefan Schick 2021-03-07 06:46:19 UTC
So, I did a BIOS Update from Version E7C84AMS.153 to E7C84AMS.161 (with ComboAM4PIV2 1.2.0.1). 

Versions are documented here:
https://de.msi.com/Motherboard/support/MAG-X570-TOMAHAWK-WIFI#down-bios

AMD Microcode was already the current one at Version A201009. I also checked the BIOS in general, the "HD Audio"-Option is set to "Enabled".

Nonetheless, I can't find any difference when executing alsa-info.
https://alsa-project.org/db/?f=97623a4b342afdf028e81d738e15bfd3a4b1cdda
(Note: The M-Audio Device is an unrelated device connected as a workaround)
Comment 9 Carlos Alberto Lopez Perez 2021-04-10 13:04:53 UTC
The PCI device ID is the same than in bug 211273. Having the same issue.

Does sound work for you on windows?
Comment 10 marko-x 2021-06-06 08:36:43 UTC
Same issue here but with an AsRock B550 Taichi, I posted a thread here: https://bugzilla.kernel.org/show_bug.cgi?id=213291
Comment 11 Stefan Schick 2022-04-12 19:43:03 UTC
Retested with new BIOS (Version E7C84AMS.180, see https://de.msi.com/Motherboard/MAG-X570-TOMAHAWK-WIFI/support) and Linux Kernel 5.17.1-arch1-1. The problem still persists.

Note You need to log in before you can comment on or make changes to this bug.