No luck so far. At boot the device reads:
# cat /proc/acpi/nvhda
0000:01:00.0 OFF
So I toggle it on manually:
# echo ON > /proc/acpi/nvhda
This shows up in the kernel log:
[ 540.350761] nvhda: enabling audio
[ 540.350800] pci 0000:01:00.1: [10de:10f9] type 00 class 0x040300
[ 540.350841] pci 0000:01:00.1: reg 0x10: [mem 0xad080000-0xad083fff]
[ 540.351172] pci 0000:01:00.1: Adding to iommu group 1
[ 540.351236] nvhda: Audio found, adding
[ 540.351246] pci 0000:01:00.1: BAR 0: assigned [mem 0xad080000-0xad083fff]
[ 540.351777] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 540.351789] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 542.144313] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input31
[ 542.144562] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input32
[ 543.388411] pci 0000:01:00.1: Removing from iommu group 1
Except neither alsa nor lspci see it:
# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xad410000 irq 148
# lspci -v | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile] (rev a1) (prog-if 00 [VGA controller])
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
(Note nouveau is blacklisted and not loaded. Not sure why it’s showing up there)
If I check the device again:
# cat /proc/acpi/nvhda
0000:01:00.0 OFF
Note it’s OFF. But, this shows up in the kernel log when I do the above:
[ 7714.160081] nvhda: No audio device found, unsetting config bit.
But only the first time I cat the device after having manually set it! Subsequent times don’t do anything. I’ve waited for many minutes to see if this log entry will eventually show up and it does not. It only appears when catting the device after setting it. Not sure how significant this is.
I’ve tested the machine in windows and all works as expected. Thoughts?