pass through audio - blacklisted driver on host but still access denied on vm

JimLS

New Member
Mar 20, 2025
15
0
1
Tried adding it to /etc/default/grub and update-grub and reboot. cat /proc/comdline doesn't show it. Read somewhere that proxmox had done away with update-grub (doubt that is true) and suggested proxmox-boot-tool refresh so I tried that even though I am pretty sure I am not using systemd-boot.

It's a dell optiplex 5040 and lspci -v shows the audio hardware. How do I get intel_iommu=on added?
 
Running 6.8.12-8-pve I have read conflicting statements on this so I was trying to add it. Here's what I get on the VM:
Code:
root@ZoneminderHost ~# lspci |grep Audio
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
root@ZoneminderHost ~# aplay -l
aplay: device_list:274: no soundcards found...

How do I enable passthrough for this?
 
Running 6.8.12-8-pve I have read conflicting statements on this so I was trying to add it. Here's what I get on the VM:
Code:
root@ZoneminderHost ~# lspci |grep Audio
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
root@ZoneminderHost ~# aplay -l
aplay: device_list:274: no soundcards found...

How do I enable passthrough for this?
If you see the device inside the VM then IOMMU and passthrough is (technically) working. It could be the device not resetting properly (try early binding to vfio-pci) or not working with passthrough or it could be the drivers inside the VM not working for the passed through device, or any other problem not related to passthrough. I have no experience with your device (or host platform) but maybe someone else knows the specific quirk or work-around that this device need. Don't limit your search to Proxmox as this is device and not Proxmox specific. Other QEMU/KVM and VFIO and Linux guides and troubleshooting on the internet applies.
 
sounds like blacklisting the driver on the host may resolve this. On the host with lspci -v I see:
Code:
o Controller (rev 31)
        Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 147, IOMMU group 8
        Memory at f7240000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7220000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_avs
On the VM I see:
Code:
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
        Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 147, IOMMU group 8
        Memory at f7240000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7220000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
 
Added blacklist o f snd_hda_intel to grub and it seems to be effective. But still have access denied on vm.
On host:
Code:
root@proxmox1:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.12-8-pve root=/dev/mapper/pve-root ro quiet blacklist snd_hda_intel
lspci -v shows no driver in use (it did previously):
Code:
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
        Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 5, IOMMU group 8
        Memory at f7240000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7220000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel modules: snd_hda_intel, snd_soc_avs
On vm lspci -v shows
Code:
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
        Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 5, IOMMU group 8
        Memory at f7240000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7220000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
Looks like I am missing a driver but haven't figured out how to load it.
Code:
root@ZoneminderHost ~# cat /proc/asound/cards                                       
--- no soundcards ---
root@ZoneminderHost ~# modinfo snd-hda-intel
modinfo: ERROR: Module snd-hda-intel not found.
The vm is setup following this:
https://www.xda-developers.com/proxmox-surveillance-system/
Is this a slimmed down system that doesn't include the sound support files? Have read a lot and pretty lost...