FS#65361 - Upgrade to kernel 5.5.1-arch1-1 and Nvidia driver 440.48.02 removed audio over HDMI.

Attached to Project: Arch Linux
Opened by Peter Åberg (kvt2000) - Monday, 03 February 2020, 20:14 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 04 February 2020, 22:08 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description: Upgrade to kernel 5.5.1-arch1-1 and Nvidia driver 440.48.02 entirely removed audio over HDMI.


Additional info:
* package version(s)kernel 5.5.1-arch1-1 & Nvidia 440.48.02
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 04 February 2020, 22:08 GMT
Reason for closing:  Fixed
Comment by Peter Åberg (kvt2000) - Monday, 03 February 2020, 20:38 GMT
The obvious temporary fix: downgrade kernel, nvidia and nvidia-utils to previous versions.
Comment by Jouni Rinne (cyberpunkrocker) - Tuesday, 04 February 2020, 06:42 GMT
I can confirm the same issue, and fix.
Comment by Svenne Krap (svenne_k) - Tuesday, 04 February 2020, 11:01 GMT
I have the same issue too... In pulseaudio they are marked as "unavailable"
Comment by Thomas Kuschel (oe1tkt) - Tuesday, 04 February 2020, 13:00 GMT
I confirm issue, downgraded kernel to 5.4.15 fixed it. I did not change the Nvidia driver, it works with 440.48.02
Comment by loqs (loqs) - Tuesday, 04 February 2020, 13:50 GMT
Is the issue still present under nvidia 440.59-1?
Comment by Thomas Kuschel (oe1tkt) - Tuesday, 04 February 2020, 14:03 GMT
@loqs The problem does not seem to be the graphics driver NVIDIA, but the kernel 5.5.1-arch1-1 - Now, I've tried the nvidia 440.59-1 with that kernel, but it does not fix it.
Comment by loqs (loqs) - Tuesday, 04 February 2020, 14:10 GMT
What difference is there in the logs between 5.4 and 5.5 e.g. dmesg / journal
lsmod
sudo fuser -v /dev/snd/*
aplay -lL
pacmd list-cards
pacmd list-sinks
Comment by Peter Åberg (kvt2000) - Tuesday, 04 February 2020, 14:10 GMT
O yes, it seems to be a kernel- not nvidia issue. And unfortunately nvidia 440.59-1 does not resolve the problem.
Comment by Thomas Kuschel (oe1tkt) - Tuesday, 04 February 2020, 14:17 GMT
please edit the  FS#65361  to kernel issue only
Comment by Thomas Kuschel (oe1tkt) - Tuesday, 04 February 2020, 14:48 GMT
Maybe this is a help for debugging: differences b/w kernel 5.4.15 and 5.5.1
There are twice as much detections for inputs as in the former kernel, and it's mapped to card0 instead of card1:
journ_5.4.15__5.5.1 was generated with
journalctrl -b > journal_5.4.15 (under linux 5.4.15-arch1-1)
journalctrl -b > journal_5.5.1 (running linux 5.5.1-arch1-1)
cut -c23- journal_5.4.15 > journ_5.4.15
cut -c23- journal_5.5.1 > journ_5.5.1
diff journ_5.4.15 journ_5.5.1 > journ_5.4.15__5.5.1

1 tom@black ~ % cat journ_5.4.15__5.5.1| grep HDMI :(
< kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card1/input22
< kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card1/input23
< kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card1/input24
< kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card1/input25
> kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input22
> kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input23
> kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input24
> kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input25
> kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input26
> kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input27
> kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input28
tom@black ~ %
@ loqs, I sent commands' outputs to your e-mail account.
Comment by frost work (frostwork) - Tuesday, 04 February 2020, 15:55 GMT Comment by loqs (loqs) - Tuesday, 04 February 2020, 16:33 GMT
forstwork have you tried https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?h=for-next&id=c7e661a1c2ae98a4754db6a85fc686b4a89322ad
Edit:
PKGBUILD.diff for applying patch
src package with patch applied for easy build testing
Comment by frost work (frostwork) - Tuesday, 04 February 2020, 18:21 GMT
lqos, no I haven't.
looks like heftig is rolling a v5.5.1-arch2 with a fix: https://git.archlinux.org/linux.git/log/?h=v5.5.1-arch2
Comment by frost work (frostwork) - Tuesday, 04 February 2020, 18:39 GMT
linux-5.5.1.arch2-1 + nvidia-dkms-440.59-2 from testing fixed the issue.
thanks for the quick update!
Comment by Thomas Kuschel (oe1tkt) - Tuesday, 04 February 2020, 19:42 GMT
It works as usual again with linux-5.5.1.arch2-1-x86_64, thanks also for the quick repair!

Loading...