Bug 1784839

Summary: HDMI audio problem with kernel 5.3.16 and nvidia
Product: [Fedora] Fedora Reporter: Tom Porter <tomporterjr>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: airlied, balleman-rh, belegdol, bskeggs, bugzilla, cschalle, customercare, hdegoede, home+fedora, hugh, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, labbott, linville, masami256, mchehab, mjg59, mwoodson, nao.uedder, nope1000000, rg4fedora, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-06 11:11:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Kernel patch to fix HDMI audio with kernel 5.3.16 none

Description Tom Porter 2019-12-18 12:39:44 UTC
Upon updating to kernel 5.3.16 audio over nvidia HDMI become distorted and unusable. Driver version in use is 440.40, the latest release from nvidia.

Booting to previous kernel (5.3.15) returns audio to a usable state.

Standard, analog audio is not effected.

Possibly related to?:
https://bugzilla.kernel.org/show_bug.cgi?id=205865

Comment 1 Hans de Goede 2019-12-18 13:01:01 UTC
It is probably best if you report this upstream to the alsa-devel list: alsa-devel there is not much we can do about this at the distro level.

Comment 2 Tom Porter 2019-12-18 17:55:58 UTC
Thanks for the tip and I have done so, referencing this report and the one from the link above.

Comment 3 Jerry 2019-12-19 13:26:33 UTC
Created attachment 1646509 [details]
Kernel patch to fix HDMI audio with kernel 5.3.16

This patch fixed the problem for me with version 5.3.16.

FYI to anyone who wants to try, I followed the steps on this webpage:

https://webby.land/2018/01/18/kernel-patch-and-compile-the-fedora-way/

The patch is here:

https://aur.archlinux.org/cgit/aur.git/tree/0007-ALSA-hda-Fix-regression-by-strip-mask-fix.patch?h=linux-ck

I hope this helps!

Comment 4 customercare 2019-12-19 15:53:54 UTC
Arch: x86_64
Release: 30

Bug confirmed for:

kernel 5.3.16.fc30 and NVIDIA kmod 440.44

But it's independent from the used Alsa lib/tools version. Alsa had an update today and I tested downgrading of it first,
but it does not matter. 

The only difference between working and not working is the choosen kernel version. 

As the mentioned Kernel Patch fixes the issue, a fast kernel rebuild and push would be a good idea.

Comment 5 Laura Abbott 2019-12-19 17:00:09 UTC
The 5.4.x rebase is going to be the next build, I've asked for it to be queued up for that.

Comment 6 Carlos 2019-12-19 21:20:23 UTC
With nouveau drivers it also happens

Comment 7 Julian Sikorski 2019-12-21 09:45:48 UTC
The issue appears to be fixed as of kernel-5.4.5-300.fc31.x86_64. Thank you!

Comment 8 Carlos 2019-12-22 08:03:53 UTC
I confirm that the problem is solved with the kernel from testing.

Comment 9 customercare 2020-01-06 11:08:24 UTC
with the push of kernel 5.4.7 to stable, this br can be closed now.

Comment 10 Hans de Goede 2020-01-06 11:11:04 UTC
Thank you for reporting that this is fixed now, closing.

Comment 11 nao 2020-04-29 01:19:24 UTC
This issue happens for me at 5.6.6-300.fc32.x86_64 again ... why?

Comment 12 nao 2020-04-29 01:38:04 UTC
Sorry for the brainless comment, I will report to the alsa-devel list referring follow comment:
> It is probably best if you report this upstream to the alsa-devel list: alsa-devel there is not much we can do about this at the distro level.

Thanks.