You are not logged in.

#1 2017-09-21 05:24:26

fedev
Member
Registered: 2017-09-21
Posts: 15

[SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

Hello!

So I have what it seems the same issue as in this post . I have a GTX 1060 (discrete) on a laptop based on NL5A (Quanta), the model is Laguna but I don't think that is of much relevance, running on kernel 4.13 (from testing). So here is the thing, HDMI video works but I get no audio.

I believe there is no audio because there is no nvidia hda device:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC255 Analog [ALC255 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

and

lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Device a171 (rev 31)

I also get some weird ACPI issues but I can't tell if they are related:

kernel: ACPI Error: [PPMS] Namespace lookup failure, AE_ALREADY_EXISTS (20170531/dswload-378)
kernel: ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170531/psobject-252)
kernel: ACPI Exception: AE_ALREADY_EXISTS, (SSDT:  HdaDsp) while loading table (20170531/tbxfload-228)
kernel: ACPI Error: 1 table load failures, 14 successful (20170531/tbxfload-246)

Of course alsamixer shows reflects the same, one card only, no HDMI out.

What I have tried:

  • Upgrading from my old kernel 4.12 to 4.13.

  • Suspending and resuming while the HDMI connection is active.

  • Installing snd_hda_codec_hdmi as mentioned in the nvidia site.

  • Using nouveau and nvidia drivers, both have the same issue.

  • Patching the DSDT and loading it in GRUB (was not sure how to correctly patch the SSDT so have not done that yet).

  • Probing for hardware again after establishing the HDMI connection (echo 1 > /sys/bus/pci/rescan ).

  • Disabling the Azalia driver in UEFI. This left me with no audio devices at all.

  • Loading snd_hda_intel with different models.

  • Using the nvidia drivers loaded in kms mode.

  • Removing the Intel Hda device and probing for it again while the HDMI connection is active (echoing 1 to remove on /sys/.../).

  • Different combinations of acpi_osi (! !* "Windows 2012" "Windows 2015")

I hope I did not forget anything.

Any ideas? I filed a kernel bug for the ACPI issue, but I'm not sure it is related. I also posted on the nvidia devtalk forum. but so far nothing from them.

Thanks!

Last edited by fedev (2017-09-27 13:58:24)

Offline

#2 2017-09-21 06:34:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

That ACPI issue talks about failing to load a HDA DSP so might as well be related. If it really is, apart from being a kernel bug, you might also want to update your UEFI firmware, usually the vendor is at fault for ACPI issues.

Offline

#3 2017-09-21 07:50:32

fedev
Member
Registered: 2017-09-21
Posts: 15

Re: [SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

V1del wrote:

That ACPI issue talks about failing to load a HDA DSP so might as well be related. If it really is, apart from being a kernel bug, you might also want to update your UEFI firmware, usually the vendor is at fault for ACPI issues.

Thanks for answering. I'll follow up with the vendor once I get to know more about it the issue. If anyone is interested on this, they can see the bug report here.

Should I try to patch the SSDT? If so, any ideas on where to start? I've been following the guide here but if there is something else I'm willing to give that a try too.

Offline

#4 2017-09-21 08:02:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

Well you'd have to redo it anyway, if you aren't yet on the latest vendor provided firmware version I would try that first. If anything else you might get a newer DSDT (how exactly did you patch that anyway?) which might contain some additional hints.

Offline

#5 2017-09-21 13:19:33

fedev
Member
Registered: 2017-09-21
Posts: 15

Re: [SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

The complete steps are in this guide. In short, you use 'cat' to get the DSDT file, you then decompile it, try to recompile it (at this point it gives a bunch of errors). Once you fix the errors in the code you have to compile it again, then use 'cpio' to create a file with the new table. Then you get grub to load it by adding an extra /yourfile to the initrd entry.

But for SSDT I read it is slightly different as you need to pass another parameter to prevent the kernel from reloading the data from the BIOS/UEFI.

Offline

#6 2017-09-27 13:56:25

fedev
Member
Registered: 2017-09-21
Posts: 15

Re: [SOLVED] No HDMI Audio - No nvidia hda audio device either - GTX 1060

Just wanted to update this with what actually helped to get the sound card to be detected. The whole thread is here. I had tried something similar in the past without success but it worked this time. Make the below a script because the screen goes off as it runs.

    setpci -s 01:00.0 0x488.l=0x2000000:0x2000000
    rmmod nvidia-drm nvidia-modeset nvidia
    echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove
    echo 1 > /sys/bus/pci/devices/0000:00:01.0/rescan
    modprobe nvidia-drm
    xinit -- -retro

Offline

Board footer

Powered by FluxBB