No Nvidia HDMI Audio on new laptop

Hello,

I’ve got a Legion Y530 with a 1060 GTX and there’s something quite annoying: HDMI audio is not detected (only intel).
On the same distro, same drivers, but desktop PC with GTX 1070 at home: the HDMI audio is detected.
I figure it has to do with my laptop or my configuration. I’m using prime to switch between the intel & nvidia graphics if that makes any difference.

I’ve found this thread which may point to my problem:
https://devtalk.nvidia.com/default/topic/1024022/linux/gtx-1060-no-audio-over-hdmi-only-hda-intel-detected-azalia/

But I was wondering if anybody had got any of these solutions working for opensuse.

Thanks

Hi
Have a read of this thread;
https://forums.opensuse.org/showthread.php/539075-YaST2-Sound-can-t-configure-HDMI-audio-device-Missing-snd-hda-intel

Thanks, but I don’t think this is related.

An Nvidia guy suggested this might be due to “For some reason, a lot of recent laptops are set up to boot with the GPU’s PCI audio function disabled. I haven’t done much investigation, but you can turn on the audio function and make the kernel see it by setting the appropriate PCI configuration bit and then telling the kernel to rescan the PCI bus on the PCI bridge the GPU is connected to”

Maybe somebody has run across the same problem on the forum?

Hi
I use bind/unbind to switch nvidia audio card for vfio-pci and gpu passthrough via, but if it’s visible it should be seen?


/sbin/lspci -nnk  | grep -A3 Audio

eg;
/sbin/lspci -nnk | grep -A3 Audio
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
    DeviceName:  AU1
    Subsystem: Intel Corporation Device [8086:2035]
    Kernel driver in use: snd_hda_intel
--
02:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
    Subsystem: ZOTAC International (MCO) Ltd. Device [19da:6326]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
--
05:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
    Subsystem: ZOTAC International (MCO) Ltd. Device [19da:5360]
    Kernel driver in use: vfio-pci
    Kernel modules: snd_hda_intel

It’s not visible, that’s the problem :frowning:

jean@linux-o7bf:~> /sbin/lspci -nnk | grep -A3 Audio
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
Subsystem: Lenovo Device [17aa:3814]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

Hi
Can you post the output from;


/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"

Need to see the bus id for the card…

I’m guessing you have checked the BIOS for any configuration possibilities?