Passthrough Audio - crashes network controller (Intel NUC 8)

mkriegl

New Member
Apr 5, 2020
17
0
1
45
I guys,

recently I managed to passthrough the GPU of an UBUNTU VM on my Intel NUC 8. Therefore I was also able to recognise the network controller seems to crash when I want to passthrough audio in addition. Every time I started the VM with audio passthrough the host and VM/containers where not accessible via Web or ssh. With the GPU passthrough I was able to see, that the boot process is stuck within the network controller for 2mins and than proceeds without network. I also see at lspci that audio is within the same group as network controller. Can anyone help out, as I really just add the audio controller and not the complete group. I checked with and without "pcie=1".
Without the audio passthrough everything keeps on running, but I guess I got some performance issues in the VM on the network side (online video hangs quite often or apt update hangs), but I guess this is not in relation to the issue I got with audio and network controller.

bios: ovmf
bootdisk: scsi0
cores: 6
efidisk0: local-lvm:vm-200-disk-1,size=4M
hostpci0: 00:02,pcie=1,x-vga=1
hostpci1: 00:1f.3
machine: q35
memory: 4096
name: KODI
net0: virtio=EA:2D:1B:7D:49:74,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-200-disk-0,size=10G
scsihw: virtio-scsi-pci
smbios1: uuid=ff262d0d-023e-4784-8ee5-4a0fc0069273
sockets: 1
usb0: host=045e:0717,usb3=1
vga: none
vmgenid: 96f1fecb-e4de-4071-9ebf-2162be6f0d0c

00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30) (prog-if 80)
Subsystem: Intel Corporation Cannon Point-LP High Definition Audio Controller
Flags: bus master, fast devsel, latency 32, IRQ 11
Memory at c0b20000 (64-bit, non-prefetchable) [size=16K]
Memory at 404ab00000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel, snd_sof_pci

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)
Subsystem: Intel Corporation Ethernet Connection (6) I219-V
Flags: bus master, fast devsel, latency 0, IRQ 137
Memory at c0b00000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: e1000e
Kernel modules: e1000e

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 655 (rev 01)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller (rev 30)
00:17.0 SATA controller: Intel Corporation Cannon Point-LP SATA Controller [AHCI Mode] (rev 30)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1c.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1d.6 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)
6d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
6e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
 
I also see at lspci that audio is within the same group as network controller. Can anyone help out, as I really just add the audio controller and not the complete group. I checked with and without "pcie=1".
this is a hardware limitation, you can only passthrough whole groups or don't use the rest, but not use one part on the host and one part in the vm...
 
this is a hardware limitation, you can only passthrough whole groups or don't use the rest, but not use one part on the host and one part in the vm...

Thanks Dominik, I read through a couple of post and found the "acs override patch". Might there be a chance to separate audio from the group with that patch - when finding a recent one for the kernel?
https://forum.proxmox.com/threads/p...ing_acs_capabilities-patch.23099/#post-116518

Everything is fine for me with the Proxmox solution, otherwise I need to find something different for my setup.
 
DId you success to manage it ?
Sorry, but I gave up, as I still need audio next to video. As Audio is within the same adress group as network, it is impossible to passthrough audio only. I tried to install KODI on the Host without success, either.
I was thinking about an Ubuntu Server with KODI running on the host and manual container set up on it. But I did not found the time to work on that as I got no test server to work with Ubuntu and container on it
 

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!