SteamVR

SteamVR

Vive USB passthrough to Windows 10 virtual machine
(Before anyone tells me i can't play video games in a virtual machine: I am using IOMMU to assign a PCIe video card to the virtual machine so that i get native performance).

These are the USB devices that appear when i plug in the Vive:

http://i.imgur.com/MvsVy3H.png

For unknown reasons, there seems to be a limit of 6 USB devices i can assign to a virtual machine. I don't know if this is the problem or not, as more USB devices appear from the Vive than i can actually passthrough at once.

What combination of USB devices do i need to pass through to get everything working? Or is it impossible with the 6 device limit?
< >
Showing 1-3 of 3 comments
WEEB NATION 420 Dec 15, 2016 @ 1:22pm 
Speculation, but the problem might be that because the Vive is effectively a USB hub, the way to get it working would be to passthrough the Vive USB hub before the host OS (Arch Gnu/Linux) grabs any of the attached devices?

I have no idea how to do that, however.
Last edited by WEEB NATION 420; Dec 15, 2016 @ 1:23pm
Skatardude10 Dec 15, 2016 @ 3:03pm 
Hey hit me up on Steam later tonight... I've been running Arch host +Win10 VM + Vive since July and all is gravy. I hit the same 6 device limit. Short answer to your problem though, don't assign USB devices individually in virt manager, assign a spare USB controller from your motherboard or add-in card and you will be able to attach and detach any / all USB devices at will without needing to restart or make specific assignments. I found out my Mobo has a USB 2.0/3.0 controller AND a USB 3.1 controller. So I attached my Linux peripherals to my single 3.1 port, and all other devices pass to Windows VM on boot, including Vive, and they pass back to Linux on shutdown automatically as the VM takes/releases the 2.0/3.0 controller. Unfortunately all of Vives USB devices total around 6 or so leaving no room for m/kB/webcam/peripherals... But assigning devices rather than controllers is a huge pita... So being forced to assign a controller (even if you have to buy a $10 PCI USB hub ) is actually quite a blessing, no limitation on adding or removing additional USB devices once inside the VM.
Last edited by Skatardude10; Dec 15, 2016 @ 3:11pm
WEEB NATION 420 Dec 15, 2016 @ 3:23pm 
Oh wow! Thank you so much!

I never expected such a quick reply, or even a reply at all! There really aren't many people who use GPU Passthrough to play games, and then the number gets even smaller if it's restricted to those who also use the Vive in the VM.

Looks like my motherboard has a single USB controller, but i have been (and can continue) to use Synergy to share my mouse and keyboard between the host and VM, so it's still fine.

Everything is working perfectly now. Thank you again!

Audioshield time :)
Last edited by WEEB NATION 420; Dec 15, 2016 @ 3:25pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 15, 2016 @ 1:20pm
Posts: 3