Public bug reported:

Steps to Reproduce
Boot the system with the following changes:
Blacklisted snd_hda_codec_hdmi in /etc/modprobe.d/alsa-base.conf.
Set GRUB parameters to disable HDMI (snd_hda_codec_hdmi.enable=0).
Disabled ALSA power-saving features.
Verified that the HDMI modules (snd_hda_codec_hdmi, snd_hda_codec, etc.) still 
load during boot.
Created scripts to unload HDMI modules via initramfs and post-login, which only 
work temporarily or partially.
Expected Behavior
The HDMI audio modules should not load, allowing the Intel HDA driver to 
function without interference.
Observed Behavior
HDMI audio modules persistently load, overriding the Intel HDA driver, 
resulting in inconsistent or non-functional audio output.
System Information
OS Version: Ubuntu $(lsb_release -ds)
Kernel Version: Summary
HDMI audio modules (snd_hda_codec_hdmi) persistently load, causing conflicts 
with the Intel HDA audio driver on my Ubuntu system. Despite attempts to 
blacklist the HDMI modules and prioritize Intel HDA, the HDMI modules continue 
to load, disrupting sound functionality.

Steps to Reproduce
Boot the system with the following changes:
Blacklisted snd_hda_codec_hdmi in /etc/modprobe.d/alsa-base.conf.
Set GRUB parameters to disable HDMI (snd_hda_codec_hdmi.enable=0).
Disabled ALSA power-saving features.
Verified that the HDMI modules (snd_hda_codec_hdmi, snd_hda_codec, etc.) still 
load during boot.
Created scripts to unload HDMI modules via initramfs and post-login, which only 
work temporarily or partially.

Expected Behavior
The HDMI audio modules should not load, allowing the Intel HDA driver to 
function without interference.

Observed Behavior
HDMI audio modules persistently load, overriding the Intel HDA driver, 
resulting in inconsistent or non-functional audio output.
System Information
OS Version: Ubuntu 24.04.1 LTS
Kernel Version: 6.8.0-49-generic
Audio Hardware:

lspci -v | grep -A7 -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: ASUSTeK Computer Inc. Cannon Lake PCH cAVS
        Flags: fast devsel, IRQ 16, IOMMU group 9
        Memory at a4330000 (64-bit, non-prefetchable) [size=16K]
        Memory at a4100000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
--
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller 
(rev a1)
        Subsystem: Gigabyte Technology Co., Ltd GP108 High Definition Audio 
Controller
        Flags: bus master, fast devsel, latency 0, IRQ 145, IOMMU group 2
        Memory at a4080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

04:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D /
WD Blue SN550 NVMe SSD (rev 01) (prog-if 02 [NVM Express])


Logs and Diagnostics
Output of lsmod | grep snd_hda:

lsmod | grep snd_hda
snd_hda_ext_core       32768  4 
snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_hda_codec_hdmi     94208  1
snd_hda_intel          61440  1
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_hda_codec         204800  4 
snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          139264  7 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               192512  11 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
snd                   143360  13 
snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm

Kernel logs (dmesg relevant lines):

dmesg | grep -iE 'audio|snd|hdmi'

returns nothing

Copy code
(Paste relevant lines here)
Audio Hardware:

lspci -v | grep -A7 -i audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: ASUSTeK Computer Inc. Cannon Lake PCH cAVS
        Flags: fast devsel, IRQ 16, IOMMU group 9
        Memory at a4330000 (64-bit, non-prefetchable) [size=16K]
        Memory at a4100000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl
--
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller 
(rev a1)
        Subsystem: Gigabyte Technology Co., Ltd GP108 High Definition Audio 
Controller
        Flags: bus master, fast devsel, latency 0, IRQ 145, IOMMU group 2
        Memory at a4080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

04:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Ultra 3D /
WD Blue SN550 NVMe SSD (rev 01) (prog-if 02 [NVM Express])


Logs and Diagnostics

Output of lsmod | grep snd_hda:
lsmod | grep snd_hda
snd_hda_ext_core       32768  4 
snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_hda_codec_hdmi     94208  1
snd_hda_intel          61440  1
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_hda_codec         204800  4 
snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          139264  7 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               192512  11 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
snd                   143360  13 
snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm


Also:

http://alsa-project.org/db/?f=3f4250733fd78d98c4ca465d078c70b01c71c338

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 6.8.0-49.49-generic 6.8.12
Uname: Linux 6.8.0-49-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  steam      5259 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 25 18:37:14 2024
InstallationDate: Installed on 2020-06-02 (1637 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 
(20200203.1)
MachineType: System manufacturer System Product Name
PackageArchitecture: all
SourcePackage: alsa-driver
UpgradeStatus: Upgraded to noble on 2024-11-22 (3 days ago)
dmi.bios.date: 04/15/2020
dmi.bios.release: 5.13
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2804
dmi.board.asset.tag: Default string
dmi.board.name: TUF Z390-PRO GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2804:bd04/15/2020:br5.13:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnTUFZ390-PROGAMING:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuASUS_MB_CNL:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: ASUS_MB_CNL
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
mtime.conffile..etc.init.d.apport: 2024-07-22T10:59:07
mtime.conffile..etc.modprobe.d.alsa-base.conf: 2024-11-24T21:19:04.053865

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089612

Title:
  HDMI audio modules (snd_hda_codec_hdmi) persistently load, causing
  conflicts with the Intel HDA audio driver on my Ubuntu system. Despite
  attempts to blacklist the HDMI modules and prioritize Intel HDA, the
  HDMI modules continue to load, disrupting sound functionality.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2089612/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to