USB 2.0 device passthrough is very slow. IOMMU: Disabled


Recommended Posts

Hello. I'm trying to connect USB web camera to my VM, and it does work, but looks like very slow since image lost every few seconds.

In the VM I can find that USB device and it says it is connected to USB 2.0, but it looks like speed of USB 1.1

I think if it would be possible to enable IOMMU it would fix problem, but I hope there is some another way.
In the VM settings I can find USB Devices: Logitech Webcam C170 (046d:082b). By enabling its checkbox I attach the web camera.

Other devices that don't need a high speed works fine this way.

Here is my System Devices info and I'm trying to passthrough Logitech, Inc. Webcam C170.

 

Is there any additional QEMU commands that would help me to fix performance issue? 

System Devices
PCI Devices and IOMMU Groups

[8086:2e20]	00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
[8086:3a37]	00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
[8086:3a38]	00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
[8086:3a39]	00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
[8086:3a3c]	00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
[8086:3a3e]	00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
[8086:3a40]	00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
[8086:3a4a]	00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
[8086:3a34]	00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
[8086:3a35]	00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
[8086:3a36]	00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
[8086:3a3a]	00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
[8086:244e]	00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
[8086:3a18]	00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
[8086:3a22]	00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
[8086:3a30]	00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
[10ec:8168]	02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)

USB Devices

Bus 001 Device 001:	ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002:	ID 046d:082b Logitech, Inc. Webcam C170
Bus 001 Device 004:	ID 13fe:5500 Kingston Technology Company Inc. Silicon-Power16G
Bus 001 Device 005:	ID 2040:0265 Hauppauge dualHD
Bus 002 Device 001:	ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002:	ID 0d9f:0002 Powercom Co., Ltd Black Knight PRO / WOW Uninterruptible Power Supply (Cypress HID->COM RS232)
Bus 004 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001:	ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 002:	ID 1130:f211 Tenx Technology, Inc. TP6911 Audio Headset

 

Edited by IGHOR
Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.