Passthrough Audio PCI-e interface - audio stops within 2 seconds - Disabling IRQ #18

sanp

New Member
Apr 2, 2022
1
0
1
Hi,
I am trying to pass through an RME audio interface to a Mac OS 12 (Monterey).
I have successfully passed through an RX560 GPU.
I passed through the audio card but the problem is that the audio plays for 2 seconds and it stops.
The RME mixer and system utility software continue to work normally and the mixer even shows input signals, but there is no audio.
After a few seconds, on the shell dmesg it shows:
Message from syslogd@pve at Apr 2 13:55:23 ...
kernel:[ 125.843550] Disabling IRQ #18


On the host display
irq18: nobody cared (try booting with the irqpoll option)

The interface belongs to IOMMU group 11 and it is the only device in that group.

root@pve:~# lspci -nnks '02:00.0'
02:00.0 Multimedia audio controller [0401]: Xilinx Corporation RME Hammerfall DSP [10ee:3fc5] (rev 3c)
Subsystem: Xilinx Corporation RME Hammerfall DSP [10ee:0000]
Kernel driver in use: vfio-pci
Kernel modules: snd_hdsp

I added its ids to
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67ff,1002:aae0,10ee:3fc5,10ee:0000 disable_vga=1
softdep mpt3sas pre: vfio_pci
then did
update-initramfs -k all -u
shutdown -r now

Then i did
root@pve:~# lsmod | grep snd_hdsp
snd_hdsp 69632 0
snd_rawmidi 36864 2 snd_usbmidi_lib,snd_hdsp
snd_hwdep 16384 3 snd_usb_audio,snd_hda_codec,snd_hdsp
snd_pcm 118784 5 snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hdsp,snd_hda_core
snd 94208 10 snd_seq_device,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hdsp,snd_timer,snd_pcm,snd_rawmidi

so I blacklisted the above drivers
root@pve:~# lsmod | grep snd_hdsp
produces nothing

Rebooted PVE but the problem still persists

Then i added the irqpoll option in grub

nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt irqpoll video=vesafb:off,efifb:off pci=nommconf pcie_acs_override=downstream,mutifunction"

update-grub
shutdown -r now

Tried
echo "options snd-hda-intel enable_msi=1" >> /etc/modprobe.d/snd-hda-intel.conf
lspci -vv and i see on the device
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+

But the problem remains the same, no change. 2 seconds of sound and then it stops.

Any advice to the right direction will be greatly appreciated!
Many thanks
 
Have you found a solution to this yet? I'm trying PCI passthrough (unsuccessfully) with MOTU PCIe424 and UAD-2.
 
We found a solution for the RME Hammerfall HDSPe MADI:

/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on"

/etc/modprode.d/rme.conf
blacklist snd_hdspm
options vfio-pci ids=1d18:3fc6,10ee:3fc6 nointxmask=1

10ee is the old vid for that card for FW < 34, 1d18 is the new vid
We also needed to enable X2APIC in BIOS (Dell PowerEdge R730)

(for the rest, follow https://pve.proxmox.com/wiki/Pci_passthrough)
 
We found a solution for the RME Hammerfall HDSPe MADI:

/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on"

/etc/modprode.d/rme.conf
blacklist snd_hdspm
options vfio-pci ids=1d18:3fc6,10ee:3fc6 nointxmask=1

10ee is the old vid for that card for FW < 34, 1d18 is the new vid
We also needed to enable X2APIC in BIOS (Dell PowerEdge R730)

(for the rest, follow https://pve.proxmox.com/wiki/Pci_passthrough)
Hi! I'm trying to do the same thing with a HDSPe AES card.
I'm guessing in
Code:
options vfio-pci ids=1d18:3fc6,10ee:3fc6 nointxmask=1
, my card has another vid than yours since it's the MADI version and not the aes version? In which case my question is, where do I obtain the vid for my card?

Many thanks!
Alex