No sound over HDMI after Nvidia driver update

No sound over HDMI after Nvidia driver update (450xx, installed by mhwd -a pci nonfree 0300 - as other ways did not work)
Pulseaudio configuration tool shows “hdmi output” as Unavailable (in the list of profiles)
(Can’t attach screenshots - the forum doesn’t allow me it)

Details:

$ inxi -GA
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
           Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] driver: nvidia v: 450.66
           Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
           Sound Server: ALSA v: k5.8.6-1-MANJARO

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3204 Analog [ALC3204 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Can you try:

pacmd list-sinks | grep -e ‘name:’ -e ‘index:’

and paste the output here?

If the previous command comes back with anything, you should be able to use the shell file I created here temporarily:

https://github.com/ldhacker/Shell-Scripts/blob/master/audiochanger.sh

This seems to be a very common issue at them moment, so I created this to help.

Sure, here it is:

$ pacmd list-sinks | grep -e 'name:' -e 'index:'
  * index: 6
        name: <alsa_output.pci-0000_00_1f.3.hdmi-stereo>

Okay. Now, type:

pacmd set-default-sink 6

and see if the audio works.

It does not work.

  • that is still in effect (It names it as “Digital stereo (HDMI) output + Analog stereo input (unavalable)”)

Try typing:

mhwd -lh -d --pci

and paste the output please.

It’s pretty lengthy:

$ mhwd -lh -d --pci
06: PCI 17.0: 0106 SATA controller (AHCI 1.0)
  SysFS ID: /devices/pci0000:00/0000:00:17.0
  SysFS BusID: 0000:00:17.0
  Hardware Class: storage
  Device Name: "Onboard - SATA"
  Model: "Intel Cannon Lake Mobile PCH SATA AHCI Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa353 "Cannon Lake Mobile PCH SATA AHCI Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "ahci"
  Driver Modules: "ahci"
  Memory Range: 0xed320000-0xed321fff (rw,non-prefetchable)
  Memory Range: 0xed326000-0xed3260ff (rw,non-prefetchable)
  I/O Ports: 0x5090-0x5097 (rw)
  I/O Ports: 0x5080-0x5083 (rw)
  I/O Ports: 0x5060-0x507f (rw)
  Memory Range: 0xed325000-0xed3257ff (rw,non-prefetchable)
  IRQ: 125 (85603 events)
  Module Alias: "pci:v00008086d0000A353sv00001028sd00000886bc01sc06i01"

07: PCI 3b00.0: 0200 Ethernet controller
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/0000:3b:00.0
  SysFS BusID: 0000:3b:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x15
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: enp59s0
  I/O Ports: 0x3000-0x30ff (rw)
  Memory Range: 0xed204000-0xed204fff (rw,non-prefetchable)
  Memory Range: 0xed200000-0xed203fff (rw,non-prefetchable)
  IRQ: 17 (581 events)
  HW Address: 3c:2c:30:99:09:d6
  Permanent HW Address: 3c:2c:30:99:09:d6
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001028sd00000886bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Attached to: #22 (PCI bridge)

08: PCI 08.0: 0880 System peripheral
  SysFS ID: /devices/pci0000:00/0000:00:08.0
  SysFS BusID: 0000:00:08.0
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1911 "Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Memory Range: 0xed32c000-0xed32cfff (rw,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v00008086d00001911sv00001028sd00000886bc08sc80i00"

09: PCI 15.1: 0c80 Serial bus controller
  SysFS ID: /devices/pci0000:00/0000:00:15.1
  SysFS BusID: 0000:00:15.1
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH Serial IO I2C Controller #1"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa369 "Cannon Lake PCH Serial IO I2C Controller #1"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "intel-lpss"
  Driver Modules: "intel_lpss_pci"
  Memory Range: 0x7f801000-0x7f801fff (rw,non-prefetchable)
  IRQ: 17 (581 events)
  Module Alias: "pci:v00008086d0000A369sv00001028sd00000886bc0Csc80i00"
  Driver Info #0:
    Driver Status: intel_lpss_pci is active
    Driver Activation Cmd: "modprobe intel_lpss_pci"

10: PCI 1f.0: 0601 ISA bridge
  SysFS ID: /devices/pci0000:00/0000:00:1f.0
  SysFS BusID: 0000:00:1f.0
  Hardware Class: bridge
  Device Name: "Onboard - Other"
  Model: "Intel HM470 Chipset LPC/eSPI Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa30d "HM470 Chipset LPC/eSPI Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Module Alias: "pci:v00008086d0000A30Dsv00001028sd00000886bc06sc01i00"

11: PCI 01.0: 0604 PCI bridge (Normal decode)
  SysFS ID: /devices/pci0000:00/0000:00:01.0
  SysFS BusID: 0000:00:01.0
  Hardware Class: bridge
  Model: "Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1901 "Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x07
  Driver: "pcieport"
  IRQ: 122 (no events)
  Module Alias: "pci:v00008086d00001901sv00001028sd00000886bc06sc04i00"

12: PCI 04.0: 1180 Signal processing controller
  SysFS ID: /devices/pci0000:00/0000:00:04.0
  SysFS BusID: 0000:00:04.0
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1903 "Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x07
  Memory Range: 0xed310000-0xed317fff (rw,non-prefetchable)
  IRQ: 16 (3 events)
  Module Alias: "pci:v00008086d00001903sv00001028sd00000886bc11sc80i00"
  Driver Info #0:
    Driver Status: processor_thermal_device is active
    Driver Activation Cmd: "modprobe processor_thermal_device"

13: PCI 14.3: 0200 Ethernet controller
  SysFS ID: /devices/pci0000:00/0000:00:14.3
  SysFS BusID: 0000:00:14.3
  Hardware Class: network
  Device Name: "Onboard - Ethernet"
  Model: "Intel Wireless-AC 9560 [Jefferson Peak]"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa370 "Wireless-AC 9560 [Jefferson Peak]"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x42a4 
  Revision: 0x10
  Driver: "iwlwifi"
  Driver Modules: "iwlwifi"
  Device File: wlo1
  Memory Range: 0xed31c000-0xed31ffff (rw,non-prefetchable)
  IRQ: 16 (3 events)
  HW Address: e6:4d:1f:49:df:ca
  Permanent HW Address: b4:69:21:52:16:d8
  Link detected: no
  Module Alias: "pci:v00008086d0000A370sv00008086sd000042A4bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlwifi is active
    Driver Activation Cmd: "modprobe iwlwifi"

14: PCI 16.0: 0780 Communication controller
  SysFS ID: /devices/pci0000:00/0000:00:16.0
  SysFS BusID: 0000:00:16.0
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH HECI Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa360 "Cannon Lake PCH HECI Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "mei_me"
  Driver Modules: "mei_me"
  Memory Range: 0xed327000-0xed327fff (rw,non-prefetchable)
  IRQ: 128 (39 events)
  Module Alias: "pci:v00008086d0000A360sv00001028sd00000886bc07sc80i00"
  Driver Info #0:
    Driver Status: mei_me is active
    Driver Activation Cmd: "modprobe mei_me"

15: PCI 100.0: 0302 3D controller
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GP106M [GeForce GTX 1060 Mobile]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1c20 "GP106M [GeForce GTX 1060 Mobile]"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xec000000-0xecffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x407f (rw)
  Memory Range: 0xed000000-0xed07ffff (ro,non-prefetchable,disabled)
  IRQ: 127 (458726 events)
  Module Alias: "pci:v000010DEd00001C20sv00001028sd00000886bc03sc02i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_drm is active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Attached to: #11 (PCI bridge)

16: PCI 1b.0: 0604 PCI bridge (Normal decode)
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: bridge
  Model: "Intel Cannon Lake PCH PCI Express Root Port #21"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa32c "Cannon Lake PCH PCI Express Root Port #21"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0xf0
  Driver: "pcieport"
  IRQ: 123 (no events)
  Module Alias: "pci:v00008086d0000A32Csv00001028sd00000886bc06sc04i00"

17: PCI 1f.5: 0c80 Serial bus controller
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH SPI Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa324 "Cannon Lake PCH SPI Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "intel-spi"
  Driver Modules: "intel_spi_pci"
  Memory Range: 0xfe010000-0xfe010fff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d0000A324sv00001028sd00000886bc0Csc80i00"
  Driver Info #0:
    Driver Status: intel_spi_pci is active
    Driver Activation Cmd: "modprobe intel_spi_pci"

18: PCI 1f.3: 0403 Audio device
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Device Name: "Onboard - Sound"
  Model: "Intel Cannon Lake PCH cAVS"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa348 "Cannon Lake PCH cAVS"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xed318000-0xed31bfff (rw,non-prefetchable)
  Memory Range: 0xed100000-0xed1fffff (rw,non-prefetchable)
  IRQ: 145 (879 events)
  Module Alias: "pci:v00008086d0000A348sv00001028sd00000886bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_soc_skl is active
    Driver Activation Cmd: "modprobe snd_soc_skl"
  Driver Info #2:
    Driver Status: snd_sof_pci is active
    Driver Activation Cmd: "modprobe snd_sof_pci"

19: PCI 00.0: 0600 Host bridge
  SysFS ID: /devices/pci0000:00/0000:00:00.0
  SysFS BusID: 0000:00:00.0
  Hardware Class: bridge
  Device Name: "Onboard - Other"
  Model: "Intel 8th Gen Core Processor Host Bridge/DRAM Registers"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3ec4 "8th Gen Core Processor Host Bridge/DRAM Registers"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x07
  Driver: "skl_uncore"
  Driver Modules: "intel_uncore"
  Module Alias: "pci:v00008086d00003EC4sv00001028sd00000886bc06sc00i00"

20: PCI 12.0: 1180 Signal processing controller
  SysFS ID: /devices/pci0000:00/0000:00:12.0
  SysFS BusID: 0000:00:12.0
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH Thermal Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa379 "Cannon Lake PCH Thermal Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "intel_pch_thermal"
  Driver Modules: "intel_pch_thermal"
  Memory Range: 0xed32b000-0xed32bfff (rw,non-prefetchable)
  IRQ: 16 (3 events)
  Module Alias: "pci:v00008086d0000A379sv00001028sd00000886bc11sc80i00"
  Driver Info #0:
    Driver Status: intel_pch_thermal is active
    Driver Activation Cmd: "modprobe intel_pch_thermal"

21: PCI 15.0: 0c80 Serial bus controller
  SysFS ID: /devices/pci0000:00/0000:00:15.0
  SysFS BusID: 0000:00:15.0
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH Serial IO I2C Controller #0"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa368 "Cannon Lake PCH Serial IO I2C Controller #0"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "intel-lpss"
  Driver Modules: "intel_lpss_pci"
  Memory Range: 0x7f800000-0x7f800fff (rw,non-prefetchable)
  IRQ: 16 (3 events)
  Module Alias: "pci:v00008086d0000A368sv00001028sd00000886bc0Csc80i00"
  Driver Info #0:
    Driver Status: intel_lpss_pci is active
    Driver Activation Cmd: "modprobe intel_lpss_pci"

22: PCI 1d.0: 0604 PCI bridge (Normal decode)
  SysFS ID: /devices/pci0000:00/0000:00:1d.0
  SysFS BusID: 0000:00:1d.0
  Hardware Class: bridge
  Model: "Intel Cannon Lake PCH PCI Express Root Port #14"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa335 "Cannon Lake PCH PCI Express Root Port #14"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0xf0
  Driver: "pcieport"
  IRQ: 124 (no events)
  Module Alias: "pci:v00008086d0000A335sv00001028sd00000886bc06sc04i00"

23: PCI 14.2: 0500 RAM memory
  SysFS ID: /devices/pci0000:00/0000:00:14.2
  SysFS BusID: 0000:00:14.2
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH Shared SRAM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa36f "Cannon Lake PCH Shared SRAM"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Memory Range: 0xed322000-0xed323fff (rw,non-prefetchable,disabled)
  Memory Range: 0xed32a000-0xed32afff (rw,non-prefetchable,disabled)
  Module Alias: "pci:v00008086d0000A36Fsv00001028sd00000886bc05sc00i00"

24: PCI 02.0: 0300 VGA compatible controller (VGA)
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard - Video"
  Model: "Intel UHD Graphics 630 (Mobile)"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3e9b "UHD Graphics 630 (Mobile)"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xeb000000-0xebffffff (rw,non-prefetchable)
  Memory Range: 0x80000000-0x8fffffff (ro,non-prefetchable)
  I/O Ports: 0x5000-0x503f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 129 (795 events)
  Module Alias: "pci:v00008086d00003E9Bsv00001028sd00000886bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"

25: PCI 14.0: 0c03 USB Controller (XHCI)
  SysFS ID: /devices/pci0000:00/0000:00:14.0
  SysFS BusID: 0000:00:14.0
  Hardware Class: usb controller
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH USB 3.1 xHCI Host Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa36d "Cannon Lake PCH USB 3.1 xHCI Host Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886
  Revision: 0x10
  Driver: "xhci_hcd"
  Driver Modules: "xhci_pci"
  Memory Range: 0xed300000-0xed30ffff (rw,non-prefetchable)
  IRQ: 126 (268093 events)
  Module Alias: "pci:v00008086d0000A36Dsv00001028sd00000886bc0Csc03i30"
  Driver Info #0:
    Driver Status: xhci_pci is active
    Driver Activation Cmd: "modprobe xhci_pci"

26: PCI 1f.4: 0c05 SMBus
  SysFS ID: /devices/pci0000:00/0000:00:1f.4
  SysFS BusID: 0000:00:1f.4
  Hardware Class: unknown
  Device Name: "Onboard - Other"
  Model: "Intel Cannon Lake PCH SMBus Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa323 "Cannon Lake PCH SMBus Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886
  Revision: 0x10
  Driver: "i801_smbus"
  Driver Modules: "i2c_i801"
  Memory Range: 0xed324000-0xed3240ff (rw,non-prefetchable)
  I/O Ports: 0xefa0-0xefbf (rw)
  IRQ: 16 (3 events)
  Module Alias: "pci:v00008086d0000A323sv00001028sd00000886bc0Csc05i00"
  Driver Info #0:
    Driver Status: i2c_i801 is active
    Driver Activation Cmd: "modprobe i2c_i801"

18: PCI 1f.3: 0403 Audio device
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Device Name: "Onboard - Sound"
  Model: "Intel Cannon Lake PCH cAVS"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa348 "Cannon Lake PCH cAVS"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0x10
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xed318000-0xed31bfff (rw,non-prefetchable)
  Memory Range: 0xed100000-0xed1fffff (rw,non-prefetchable)
  IRQ: 145 (879 events)
  Module Alias: "pci:v00008086d0000A348sv00001028sd00000886bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_soc_skl is active
    Driver Activation Cmd: "modprobe snd_soc_skl"
  Driver Info #2:
    Driver Status: snd_sof_pci is active
    Driver Activation Cmd: "modprobe snd_sof_pci"
15: PCI 100.0: 0302 3D controller
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GP106M [GeForce GTX 1060 Mobile]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1c20 "GP106M [GeForce GTX 1060 Mobile]"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0886 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xec000000-0xecffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x407f (rw)
  Memory Range: 0xed000000-0xed07ffff (ro,non-prefetchable,disabled)
  IRQ: 127 (458726 events)
  Module Alias: "pci:v000010DEd00001C20sv00001028sd00000886bc03sc02i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_drm is active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Attached to: #11 (PCI bridge)

It normally is lol.

One of those is probably the problem.

Try these commands:

modprobe -r snd_hda_intel

and

modprobe -r snd_soc_skl

and see if you can see the audio device.

If not, restart your system to reload the modules.

Results:

$ sudo modprobe -r snd_soc_intel
modprobe: FATAL: Module snd_soc_intel not found.
$ sudo modprobe -r snd_soc_skl
$

Sorry, the first one should have been:

modprobe -r snd_hda_intel
$ sudo modprobe -r snd_hda_intel
modprobe: FATAL: Module snd_hda_intel is in use.

Whenever I run systemctl --user restart pulseaudio.service it always falls back to laptop speakers.

If you have the hybrid config installed in mhwd: open /etc/udev/rules.d/90-mhwd-prime-powermanagement.rules and put # in front of this line:

ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

and then reboot.

4 Likes

Bingo, that was it. )
thanks!

1 Like

If you don’t mind me asking, what does this do? I am trying to learn as much as I can about linux.

1 Like

@ldhacker, thanks for trying help, appreciate it.

1 Like

That udev rule removes the nvidia audio device from the PCI bus. This rule is there because it is a suggested workaround by NVIDIA itself because that audio device (or rather, the driver in the kernel) may prevent the nvidia gpu from going to sleep.

There is a known issue with the audio driver due to which the audio PCI function remains in an active state from the kernel version 4.19 and up. (from commit id: 37a3a98ef601f89100e3bb657fb0e190b857028c ). Upstream kernel changes are being done to fix the issue. In the interim, the Audio PCI function needs to be disabled by using the following command.

https://download.nvidia.com/XFree86/Linux-x86_64/450.66/README/dynamicpowermanagement.html

1 Like

Thank you!