[H97M-HD3, Intel Haswell HDMI, Digital Out, HDMI] No sound at all because of upgrade from 20.04 LTS to 22.04

Bug #1970050 reported by Roey Farkash
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Undecided
Gabriele Lagana'

Bug Description

After upgrading today from 20.04 LTS to 22.04
HDMI Audio does not work at all.
Audio from speakers from a headphone jack works fine.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 23 21:13:23 2022
InstallationDate: Installed on 2020-04-24 (729 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:HDMI failed
Symptom_Card: Built-in Audio - HDA Intel HDMI
Symptom_Jack: Digital Out, HDMI
Symptom_Type: No sound at all
Title: [H97M-HD3, Intel Haswell HDMI, Digital Out, HDMI] No sound at all
UpgradeStatus: Upgraded to jammy on 2022-04-23 (0 days ago)
dmi.bios.date: 04/21/2015
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F7
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H97M-HD3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF7:bd04/21/2015:br4.6:svnGigabyteTechnologyCo.,Ltd.:pnH97M-HD3:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH97M-HD3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: H97M-HD3
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Roey Farkash (roeyfarkash) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Charles Wright (wrighrc) wrote :

I have an Intel Nuc, Product Name: D34010WYK, i3-4010U, its hooked up a Samsung TV via hdmi. The sound defaults to HDMI/DisplayPort - Built-in Audio, Digital Stereo (HDMI) Output but that doesn't work. If I flip it to Digital Surround it works but since the TV only has a left/right speaker I would think stereo should work and doesn't. I confirmed the issue is the same if I boot off the desktop ISO and "Try Ubuntu", since I upgraded my system I thought maybe something wasn't right because of that.

Changed in alsa-driver (Ubuntu):
assignee: nobody → Gabriele (eros23)
Revision history for this message
Gabriele Lagana' (eros23) wrote :

Edit /etc/default/grub and add

intel_iommu=on,igfx_off

in line:

GRUB_CMDLINE_LINUX="intel_iommu=on,igfx_off"

save file and update grub:

sudo update-grub

reboot

Revision history for this message
Roey Farkash (roeyfarkash) wrote :

Thank you!
this solved my issue

Revision history for this message
Tenho Vala (tvala) wrote (last edit ):

https://www.kernel.org/doc/Documentation/Intel-IOMMU.txt

>If you encounter issues with graphics devices, you can try adding
option intel_iommu=igfx_off to turn off the integrated graphics engine.
If this fixes anything, please ensure you file a bug reporting the problem.

So the underlying issue is not fixed.

On my system audio (and any associated video playing) stops when changing audio to integrated hdmi output, i7-4790s haswell cpu with ubuntu 22.04.

Revision history for this message
jojocw (ab-72) wrote (last edit ):

I also have the problem with the HDMI sound.

It is Xubuntu 22.04.
On an HP G2 800 DM Mini, the audio works fine. After connecting a monitor via DisplayPort+HDMI everything is ok. The HDMI port appears in the choices and works. (It ist HA Intel PCH and HDMI , via aplay -l) )

Transferring an image (True Image) to an HP G5 400 DM Mini causes problems with the HDMI audio.
Several "HDMI ...not plugged in" appears in the Output selection. (although it is plugged in).
You can select it, but it doesn't work. (Here only HDA INTEL PCH is shown)

Even if I use a live Xubuntu with a USB stick, the HDMI sound doesn't work.

Whether Vxd and Vtd (Virtualization) is activated in the bios or not makes no difference. It still doesn't work.

Revision history for this message
Tenho Vala (tvala) wrote :

Fixed on my system (i7-4790s haswell, ubuntu 22.04) with previous kernel update (uname -r -> kernel 5.15.0-40-generic). Before on my system HDMI output might produce little sound and then the audio seemed to stop buffering sound completely (resulting in output fail, stopped video or other weirdness).

intel_iommu=on,igfx_off grub-trick would fix the issue, now I've got GRUB_CMDLINE_DEFAULT="" in grub params and HDMI works; if I remember correctly the patch notes for the kernel said IOMMU is now disabled by default on some systems?

For me the problem was never an issue with recognizing connected HDMI audio outputs.

Revision history for this message
jojocw (ab-72) wrote :

On my system HP G5 400 with Intel Kabylake Intel HD 630
Xubuntu 22.04:

I found this solution:

I installed HDAJackRetask inside alsa-tools.

Then I choosed Kabylake Hdmi - show unconected pins - choose the first (or all 3)
- override with HDMI - applyed and Install Boot Override.

So my HDMI-Output was no longer shown as unplugged, and it works, I get sound over HDMI.

(But honest, this is not realy a solution. There must be another soluton in the Kernel I think)

Revision history for this message
Robert Pearson (rpearsonii) wrote :

This leaves those of us with AMD processors out in the cold. Should I roll back to Ubuntu MATE 18.04 for a working system until you fix your update bug?

Revision history for this message
Chao Yao (leonhartyao) wrote :

For those with AMD CPUs, rolling back to kernel 5.19.0-32-generic can bring my HDMI/DP audio device back. Sound is played properly.

Revision history for this message
James Appleby (dr-appleby) wrote :

Version - Ubuntu 22.04
Kernel - 5.19.0-38-generic
Processor - AMD Ryzen 7 6800U with Radeon Graphics x8
Graphics Card (onboard) - Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt
(Laptop is a GPD Win Max 2)

The TV being used is an older Samsung model.

This issue is still present for me. Sound works perfectly well with windows, so I am 99.9% certain the issue is something in ubuntu itself.

Ran MOC with a looping sound file and then opened Pulseaudio Volume Control.

Under output devices, with the default device selected, it plays perfectly well. The HDMI shows up correctly under audio devices [HDMI/DisplayPort 2 (plugged in)], but when selected no sound emerges.

The output bar is showing that sound is being routed through that port, but nothing emerges. Option selected under advanced is just PCM (not sure what these do but it's best to report everything).

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.