GPU Passthough works great but USB passthough gives me a headache

Hey guys … im out of ideas … pls help me…

I have a working GPU passthough - here are my specs:

AMD Ryzen 3900X
x570 Aorus Pro - (F33h Bios version)
64GB Ram
GTX 970 (host - Pop Os)
GTX 1070 (guest - Win 10)

The thing that drives my crazy is that the vm sometimes just doesnt recognise my VR headset wich is connected to a USB controller (Renesas - uPD720202) wich i passthrough. And then sometime it works again like a charm till it doesnt again …

the iommu groups all seem fine and i cant nail down why sometime i cant start the valve index and sometimes i works again…

i tried the headset on a friends pc and no problem at all there …

any suggestions are welcome… i just want to play elite again … :frowning:

USB pass-through is a bit hit or miss, I haven’t had any real success with it, but everything works for me when passing it through with PCIe. Have you tried passing through the PCIe device that your usb card is connected to vs just the USB controller?

1 Like

no i havent … that sounds neat :smiley: how do i find that specific device?

seems like lshw did the trick ?

*-pci:1
Beschreibung: PCI bridge
Produkt: Matisse PCIe GPP Bridge
Hersteller: Advanced Micro Devices, Inc. [AMD]
Physische ID: 2
Bus-Informationen: pci@0000:03:02.0
Version: 00
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pci pm pciexpress msi ht normal_decode bus_master cap_list
Konfiguration: driver=pcieport
Ressourcen: irq:35 memory:fc700000-fc7fffff
*-usb
Beschreibung: USB controller
Produkt: uPD720202 USB 3.0 Host Controller
Hersteller: Renesas Technology Corp.
Physische ID: 0
Bus-Informationen: pci@0000:05:00.0
Version: 02
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi msix pciexpress xhci cap_list
Konfiguration: driver=vfio-pci latency=0
Ressourcen: irq:25 memory:fc700000-fc701fff

from my understanding i would bind this adress (1022:57a3) to vfio

but 3 devices have this adress o.0

03:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]

these are the other pcie ports where my two gpus are in … is there a way to bind the vfio to only one of these devices with the same 1022:57a3 ?

1 Like

lspci -nnv is what I generally use to find the pci-ids/device-ids

And then I just find the usb-controller that i want to pass through.

For me I was passing through a separate mouse / kb, so I’d try passing in different controllers till I found the one that they were connected to. So it’s a bit of trial and error till you find the right one.

1 Like