USB dropping/delaying packets

digitalgimpus

Member
Apr 14, 2017
3
0
21
82
I'm trying to run an ads-b receiver in a VM, but running into issue with USB support. Seems like USB packets are delayed/getting dropped resulting in inability to do things that require more precise timing.

I found a thread here of people who have had this issues with other virtualization environments, but not proxmox.

https://discussions.flightaware.com/t/server-status-clock-unstable/19482/23

Wanted to see if anyone encountered the same, or something similar in nature, and if there's any suggested things to try. As of yet I haven't found anything regarding prioritizing USB.
 
Yes. I have seen bandwidth and latency issues with USB passthrough on this forum. Enabled USB3 tends to help (also for 2.0 devices). Still my keyboard drops a keypress once in a while but a bluetooth receiver appears to work fine. I used to use it for a USB DVB-C tuner, but the CPU overhead was very high and it was unstable with HD-TV.
The alternative is PCI passthrough of a suitable USB controller, but this is also a bit of trial and error and much more technical.
 
I've already got USB3 enabled, so that's ruled out.

I've got limited PCI slots on this host, so a dedicated PCI card to passthrough a controller isn't really practical either :-/
 
Can you run the required software on Linux? Then you can pass the device to a (unprivileged) container via a bind mount (with some user and group mappings).
EDIT: The device drivers will need to run on the host though, and it is some work if kernel 5.11 does not already support the device out of the box.
 
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!