Dual GPU (Nvidia/AMD) - no HDMI audio on main gpu (video-hybrid-amd-nvidia-prime)

I added a 2nd graphics card (ATI HD 5450). After installing video-hybrid-amd-nvidia-prime driver both gpu outputs are working. But I only have HDMI audio on the second (ATI) card and need it on the RTX 2060, too like it was working before.

inxi -G

Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon v: kernel 
           Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] driver: nvidia v: 460.56 
           Device-3: Trust WB-6250X Webcam type: USB driver: snd-usb-audio,uvcvideo 
           Display: x11 server: X.Org 1.20.10 driver: loaded: ati,nvidia,radeon unloaded: modesetting,nouveau resolution: 
           1: 1920x1080 2: 1920x1080~60Hz 
           OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56

inxi -A

Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio driver: snd_hda_intel 
           Device-3: SteelSeries ApS SteelSeries H Wireless type: USB driver: hid-generic,snd-usb-audio,usbhid 
           Device-4: Texas Instruments PCM2902 Audio Codec type: USB driver: hid-generic,snd-usb-audio,usbhid 
           Device-5: Trust WB-6250X Webcam type: USB driver: snd-usb-audio,uvcvideo 
           Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
           Sound Server-3: PipeWire v: 0.3.23 running: yes 

inxi --admin --verbosity=7 --filter --no-host --width (found in another, similar topic)

System:
  Kernel: 5.10.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=f287e81c-8f24-4060-925a-089777c6ad04 ro udev.log_priority=3 
  amd_iommu=on amd_iommu=pt hugepages=8192 
  Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: Gigabyte model: AX370-Gaming K3 serial: <filter> 
  UEFI: American Megatrends v: F50d date: 07/02/2020 
Memory:
  RAM: total: 31.35 GiB used: 22.51 GiB (71.8%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021 cache: 
  L2: 6 MiB bogomips: 182479 
  Speed: 4210 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 
  1: 4210 2: 3608 3: 3951 4: 4237 5: 4063 6: 3968 7: 4199 8: 3429 9: 3604 
  10: 3569 11: 3752 12: 4250 13: 4270 14: 3921 15: 3456 16: 4161 17: 3603 
  18: 3533 19: 3808 20: 3503 21: 3906 22: 4270 23: 3584 24: 4270 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp 
  succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload 
  vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr 
  xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] 
  vendor: PC Partner Limited driver: radeon v: kernel bus-ID: 07:00.0 
  chip-ID: 1002:68f9 class-ID: 0300 
  Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Gigabyte 
  driver: nvidia v: 460.56 alternate: nouveau,nvidia_drm bus-ID: 08:00.0 
  chip-ID: 10de:1f08 class-ID: 0300 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: ati,nvidia,radeon unloaded: modesetting,nouveau 
  alternate: fbdev,nv,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x1080 s-dpi: 94 s-size: 1038x292mm (40.9x11.5") 
  s-diag: 1078mm (42.5") 
  Monitor-1: DP-4 res: 1920x1080 dpi: 94 size: 521x293mm (20.5x11.5") 
  diag: 598mm (23.5") 
  Monitor-2: DVI-1-0 res: 1920x1080 hz: 60 dpi: 103 
  size: 475x267mm (18.7x10.5") diag: 545mm (21.5") 
  OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56 
  direct render: Yes 
Audio:
  Device-1: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] 
  vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus-ID: 07:00.1 
  chip-ID: 1002:aa68 class-ID: 0403 
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus-ID: 0a:00.4 chip-ID: 1022:1487 
  class-ID: 0403 
  Device-3: SteelSeries ApS SteelSeries H Wireless type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-8.1.3:6 
  chip-ID: 1038:1220 class-ID: 0300 
  Device-4: Texas Instruments PCM2902 Audio Codec type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2 chip-ID: 08bb:2902 
  class-ID: 0300 
  Device-5: Trust WB-6250X Webcam type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 7-3:3 chip-ID: 145f:0142 class-ID: 0102 
  Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.23 running: yes 
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Gigabyte 
  driver: alx v: kernel port: e000 bus-ID: 05:00.0 chip-ID: 1969:e0b1 
  class-ID: 0200 
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Message: No Bluetooth data was found. 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 1.83 TiB used: 759.76 GiB (40.5%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP 
  size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 42B2S7JA temp: 38.9 C 
  scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT250MX500SSD1 
  size: 232.89 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 023 scheme: GPT 
  ID-3: /dev/sdb maj-min: 8:16 vendor: Transcend model: TS240GSSD220S 
  size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 0A0 scheme: GPT 
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: JMicron Tech model: Generic 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B 
  serial: <filter> rev: 0114 scheme: GPT 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw-size: 50 GiB size: 48.97 GiB (97.93%) used: 17.4 GiB (35.5%) 
  fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1 label: Manjaro root 
  uuid: f287e81c-8f24-4060-925a-089777c6ad04 
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) 
  used: 332 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A 
  uuid: 7623-9220 
  ID-3: /home raw-size: 50 GiB size: 48.97 GiB (97.93%) 
  used: 20.02 GiB (40.9%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: Manjaro home uuid: 9f5e8750-de07-402a-b2c4-661ed898ff6c 
  ID-4: /run/media/marco/Daten Transcend SSD raw-size: 223.57 GiB 
  size: 223.57 GiB (100.00%) used: 101.23 GiB (45.3%) fs: ntfs dev: /dev/sdb1 
  maj-min: 8:17 label: Daten Transcend SSD uuid: 44F65E1F0CC912B6 
  ID-5: /run/media/marco/NVMe Daten NTFS raw-size: 560.4 GiB 
  size: 560.4 GiB (100.00%) used: 384.53 GiB (68.6%) fs: ntfs 
  dev: /dev/nvme0n1p5 maj-min: 259:5 label: NVMe Daten NTFS 
  uuid: 719F0F0832D0A1FE 
  ID-6: /run/media/marco/NVMe Daten ext4 raw-size: 292.97 GiB 
  size: 287.37 GiB (98.09%) used: 204.52 GiB (71.2%) fs: ext4 
  dev: /dev/nvme0n1p4 maj-min: 259:4 label: NVMe Daten ext4 
  uuid: 4e4a8e69-6b9e-41e8-a317-dc721d01a7cd 
  ID-7: /run/media/marco/USB NTFS raw-size: 232.88 GiB 
  size: 232.88 GiB (100.00%) used: 5.93 GiB (2.5%) fs: ntfs dev: /dev/sdc2 
  maj-min: 8:34 label: USB NTFS uuid: 0B9A4B40379E66BA 
  ID-8: /run/timeshift/backup raw-size: 232.88 GiB size: 228.17 GiB (97.98%) 
  used: 26.13 GiB (11.5%) fs: ext4 dev: /dev/sdc1 maj-min: 8:33 
  label: USB Backup ext4 uuid: 734870a9-a75d-4d06-af93-5867112428c8 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/sda2 maj-min: 8:2 size: 512 MiB fs: vfat label: SYSTEM 
  uuid: E4ED-30BD 
  ID-3: /dev/sda3 maj-min: 8:3 size: 529 MiB fs: ntfs label: Wiederherstellung 
  uuid: B05E24135E23D140 
  ID-4: /dev/sda4 maj-min: 8:4 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-5: /dev/sda5 maj-min: 8:5 size: 97.66 GiB fs: ntfs label: Windows MX500 
  uuid: 9C2226D52226B464 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-7:2 info: Micro-Star INTL MSI GM60 Gaming Mouse 
  type: Mouse,Keyboard,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0 
  speed: 12 Mb/s power: 250mA chip-ID: 0d22:0d60 class-ID: 0300 
  Hub-2: 1-8:3 info: HP 4-port hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 2mA chip-ID: 03f0:2514 class-ID: 0900 
  Hub-3: 1-8.1:4 info: Texas Instruments TUSB2036 Hub ports: 3 rev: 1.1 
  speed: 12 Mb/s chip-ID: 0451:2036 class-ID: 0900 
  Device-1: 1-8.1.2:5 info: SteelSeries ApS SteelSeries H Wireless type: HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 500mA chip-ID: 1038:1212 class-ID: 0300 
  Device-2: 1-8.1.3:6 info: SteelSeries ApS SteelSeries H Wireless 
  type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 
  rev: 1.1 speed: 12 Mb/s power: 500mA chip-ID: 1038:1220 class-ID: 0300 
  Hub-4: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-1:2 info: Texas Instruments PCM2902 Audio Codec type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 
  speed: 12 Mb/s power: 100mA chip-ID: 08bb:2902 class-ID: 0300 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 7-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 7-1:2 info: Microdia USB Keyboard type: Keyboard 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s 
  power: 300mA chip-ID: 0c45:7603 class-ID: 0301 
  Device-2: 7-3:3 info: Trust WB-6250X Webcam type: Video,Audio 
  driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s 
  power: 168mA chip-ID: 145f:0142 class-ID: 0102 
  Hub-8: 7-4:4 info: HTC (High Tech ) CB USB2 ports: 4 rev: 2.1 
  speed: 480 Mb/s chip-ID: 0bb4:2210 class-ID: 0900 
  Device-1: 7-4.2:5 
  info: HTC (High Tech ) Vive Hub Bluetooth 4.1 (Broadcom BCM920703) type: Hub 
  driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 0bb4:0306 
  class-ID: fe01 serial: <filter> 
  Hub-9: 8-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 8-2:2 info: JMicron / JMicron USA JMS567 SATA 6Gb/s bridge 
  type: Mass Storage driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s 
  power: 8mA chip-ID: 152d:0567 class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 58.6 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: nvidia screen: :0.0 temp: 49 C fan: 0% device: radeon 
  temp: 51.0 C 
Info:
  Processes: 449 Uptime: 3h 14m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1354 lib: 386 
  Shell: Bash v: 5.1.0 running-in: yakuake inxi: 3.3.03

Try editing the file
/etc/udev/rules.d/90-mhwd-prime-powermanagement.rules
and put a # after the line where it says
# Remove NVIDIA Audio devices, if present
then reboot and test the hdmi audio.

2 Likes

THANKS!!!

I “knew” it must have something to do with prime drivers and “some config” file =)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.