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
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.
]]>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.
]]>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!
]]>