Unable to passthrough on board audio device to VM

PMVE-User

Member
Jan 12, 2023
32
5
8
Hi,

I am trying to passthrough my on board intel-hda audio inputs to my VM (macOS). I managed to get everything except the wifi and on board audio devices to pick up in the VM

What i have tried is to blacklist the intel-hda & snd_indel_hda. Then passthrough the device to the VM using PCI Device did not work. Then i tried to attach it using the audio device intel-hda and using the backend and none. That did not work.

What does work is passing through my GPU and outputting audio via HDMI.

Does anyone know how to correctly pass through onboard audio devices.

The audio device in question is : command output "lspci -nn"

  • 00:1b.0 Audio device [0403]: Intel Corporation C610/X99 series chipset HD Audio Controller [8086:8d20] (rev 05)
lspci -nnv: (output)
  • 00:1b.0 0403: 8086:8d20 (rev 05)
    Subsystem: 1043:86fe
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 22
    NUMA node: 0
    IOMMU group: 0
    Region 0: Memory at fa130000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
    Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
    Address: 0000000000000000 Data: 0000
    Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0
    ExtTag- RBE- FLReset+
    DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
    RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
    MaxPayload 128 bytes, MaxReadReq 128 bytes
    DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
    Capabilities: [100 v1] Virtual Channel
    Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
    Arb: Fixed- WRR32- WRR64- WRR128-
    Ctrl: ArbSelect=Fixed
    Status: InProgress-
    VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
    Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
    Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
    Status: NegoPending- InProgress-
    VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
    Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
    Ctrl: Enable- ID=0 ArbSelect=Fixed TC/VC=00
    Status: NegoPending- InProgress-
    Kernel driver in use: vfio-pci
    Kernel modules: snd_hda_intel
pve-blacklist.conf:

  • blacklist nvidiafb
  • blacklist nouveau
  • blacklist nvidia
  • blacklist snd_hda_codec_hdmi
  • blacklist snd_hda_intel
  • blacklist hda_intel
  • blacklist intel_hda
  • blacklist snd_hda_codec
  • blacklist snd_hda_core
  • blacklist radeon
  • blacklist amdgpu

Vfio.conf:

options vfio-pci ids=10de:128b,10de:0e0f # GPU
options vfio-pci ids=8086:8d20 # AUDIO DEVICE

Any assistance would be greatly appreciated!
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!