Laggy VM when connecting USB devices

Mugga

Member
Sep 21, 2020
3
0
21
37
Hey guys,

A few months ago I switched my baremetal gaming pc into a proxmox vm. The performance so far is good, but I've got heavy issues with I think usb devices.
For example when I connecting a esp32 or when I'm programming it, I get heavy sound distortions, mouse and keyboard also doesnt work properly for a few seconds.
I've got that crackling noise when hearing music and laggy mouse also when not "working" with any usb devices, but irregular. I can just force it when connecting any usb device.

Normally I've got a usb soundcard but I get many cracks, distortions with that to i switched to the onboard one which isnt free of distortions but much better. I've searched the net for different solutions, changed cpu types, passtrough whole usb onboard controller or installed a dedicated pcie card. But nothing helped. IO delay for the proxmox node is around 0.005 - 0.01.

Do you guys have any idea what could be the problem?

This is the current hardware:
Intel i7 12700k
78GiB Ram (yeah strange amount ^^)
ASRock Intel 1700 B760 PRO RS/D4
Nvidia 2060 Super (VM1)
Nvidia T400 (VM2)

VM config:
Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0
cores: 8
cpu: host
efidisk0: win-gaming:300/vm-300-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:01:00,pcie=1,x-vga=1
hostpci1: 0000:00:1f.3
machine: pc-q35-8.1
memory: 22528
meta: creation-qemu=8.0.2,ctime=1698963324
name: Windows-Gaming
net0: virtio=0E:3A:28:7E:27:C2,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: win-gaming:300/vm-300-disk-0.raw,iothread=1,size=512G,ssd=1
scsi1: games:300/vm-300-disk-0.raw,backup=0,iothread=1,size=2T,ssd=1
scsi2: /dev/disk/by-id/ata-WDC_WD100EMAZ-00WJTA0_1EGP9KPZ,backup=0,size=9314G
scsihw: virtio-scsi-single
smbios1: uuid=a74c24dd-2d53-4b2f-84c6-7aadebe78e86
sockets: 1
tablet: 0
tpmstate0: win-gaming:300/vm-300-disk-1.raw,size=17K,version=v2.0
usb0: host=046d:c337
usb1: host=041e:3278
usb2: host=1532:0099
usb3: host=2e8a:000a
usb4: host=1-3
usb5: host=046d:c336
vga: none
vmgenid: 867af1f8-9174-4f56-aa21-bc00a7a75463

If you need more information please let me know.
And thanks in advance for your help.
 
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!