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=vesafbff,efifbff 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
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=vesafbff,efifbff 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