Hi Jaroslav,
thanks for the tip. I tried this (in my case echo on > /sys/bus/pci/devices/0000:09:00.1/power/control) but that didn't help.
If i comment out the line
spec->dyn_pcm_assign = true;
in patch_nvhdmi sound is working again.
Curiously nobody else seems to have this problem. This makes me think the problem lies elsewhere but i have no more ideas at the moment.
On 03.02.20 00:00, Jaroslav Kysela wrote:
Dne 02. 02. 20 v 15:18 Martin Regner napsal(a):
Hi Takashi,
thanks for your reply. I tried that with
cat /proc/asound/card0/codec#0
but that doesn't help. I'm digging me through the kernel config right now. May have to change something else.
I simply could create a patch on my gentoo system switching from patch_nvhdmi to patch_nvhdmi_legacy for every new kernel, but that won't work forever.
If you have other thinks i could try i'd appreciate to hear them.
You may try to disable PM:
echo on > /sys/bus/pci/devices/0000:01:00.1/power/control
Jaroslav
kind regards Martin
On 02.02.20 09:37, Takashi Iwai wrote:
On Sat, 01 Feb 2020 16:28:08 +0100, Martin Regner wrote:
Hi there,
since i updated to kernel 5.5 i have no sound over hdmi anymore (GeForce RTX 2070).
With the previous kernel 5.4.14 everything is fine.
Although i got sound with speaker-test -D hdmi:CARD=NVidia,DEV=2 -c 2 -r 44100, pavucontrol shows all hdmi sound devices as unplugged.
I bisected it down to this commit (5398e94fb753d022301825ebfa5f7cf8a660d8eb) and changed the line
HDA_CODEC_ENTRY(0x10de0093, "GPU 93 HDMI/DP", patch_nvhdmi)
to
HDA_CODEC_ENTRY(0x10de0093, "GPU 93 HDMI/DP", patch_nvhdmi_legacy)
Now it's working again. I'm not sure if this is a problem with pulseaudio or if the RTX 2070 does not support the mentioned codec.
The runtime PM turns off the link, so the hotplug notification won't be delivered as default. Please try reading the corresponding proc file, /proc/asound/card*/codec* file. This may power up the codec and trigger the hotplug detection if that's the cause.
Takashi
Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel