Onboard sound not detected for Zenith ROG after upgrade to 20.04

Bug #1881490 reported by sohail
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrading to 20.04, my onboard sound no longer seems to work. The motherboard is ROG Zenith. dmesg shows the following:

[ 9.266092] snd_hda_intel 0000:09:00.1: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
[ 9.266556] snd_hda_intel 0000:09:00.1: Disabling MSI
[ 9.266586] snd_hda_intel 0000:09:00.1: Handle vga_switcheroo audio client
[ 9.267181] snd_hda_intel 0000:0b:00.3: Skipping the blacklisted device

After searching for this message in kernel source, I happened upon this line:

https://github.com/torvalds/linux/blob/052c467cb58748e302a95546925928e637025acc/sound/pci/hda/hda_intel.c#L2082

static const struct pci_device_id driver_blacklist[] = {
 { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1043, 0x874f) }, /* ASUS ROG Zenith II / Strix */
 { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb59) }, /* MSI TRX40 Creator */
 { PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb60) }, /* MSI TRX40 */
 {}
};

Which led me to this bug report:

https://<email address hidden>/

I confirmed that the PCI device that is not working appears to match the vendor ID:

$ lspci | grep 0b:00.3
0b:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller

$ lspci -n | grep 0b:00.3
0b:00.3 0403: 1022:1457

Unfortunately, I am unsure how to test a Ubuntu compatible kernel with these changes but it appears there has been some jiggery pokery in Linux kernel land in this regard.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
Uname: Linux 5.4.0-31-generic x86_64
NonfreeKernelModules: wl nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sohail 4693 F.... pulseaudio
 /dev/snd/pcmC1D0p: sohail 4693 F...m pulseaudio
 /dev/snd/controlC0: sohail 4693 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun May 31 11:14:39 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-07-16 (1049 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Title: PCI/internal sound card not detected
UpgradeStatus: Upgraded to focal on 2020-05-24 (6 days ago)
dmi.bios.date: 07/16/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1304
dmi.board.asset.tag: Default string
dmi.board.name: ROG ZENITH EXTREME
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1304:bd07/16/2018:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGZENITHEXTREME:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
sohail (launchpad-taggedtype) wrote :
Revision history for this message
sohail (launchpad-taggedtype) wrote :

Upgrading to Linux kernel 5.6.15 via the script here does the job:

https://github.com/pimlie/ubuntu-mainline-kernel.sh

Is there a way to find out which kernel has the above bug fix and the least diffs from the Ubuntu 20.04 kernel?

affects: ubuntu → alsa-driver (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.