Win 10 VM with GPU passthrough very laggy desktop

exup

Renowned Member
Mar 24, 2011
11
1
68
Australia
Hi, I have an old system running PVE for about 5 years now, with 5 containers and one Win10 VM. All have worked flawlessly. But recently I wanted to test GPU pass through and managed to get Windows to detect it as the primary graphics card. But its incredibly slow now EG click the start menu and takes 10 seconds to draw the menu. Let alone navigating windows. This is prior to using any apps. I know my RAM is probably too small, but seemed to work fine without the GPU.

Could someone advise why the bottleneck, is it my system is really to under specced for the GPU, as Win10 works fine without it.
I connect via Windows RDP or Linux KRDC over local LAN.
Attached is what Win10 VM and my PVE node is showing in terms of performance. (Yes RAM is maxed but everything else seems un taxed)
I also powered down all the other VM's to see if it made any difference it does not. Disconnect the GPU from the VM and it speeds back up to normal.
I am not using GRUB, so updated /etc/kernel/cmdline to be "root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt"

System
OS: Proxmox VE 7.4-17 x86_64
Kernel: 5.15.126-1-pve
Uptime: 18 hours, 13 mins
Packages: 838 (dpkg)
Shell: bash 5.1.4
Resolution: 1680x1050
Terminal: /dev/pts/0
CPU: Intel i7-3770 (8) @ 3.900GHz
GPU: Intel HD Graphics
GPU: NVIDIA GeForce GTX 1650 SUPER
Memory: 14941MiB / 15883MiB


VM Conf
#Win 10 with Fusion 360
agent: 1
bios: ovmf
boot: order=scsi0;net0
cores: 4
efidisk0: local-zfs:vm-105-disk-1,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:08:00,pcie=1
machine: pc-q35-6.1
memory: 8092
meta: creation-qemu=6.1.0,ctime=1639389574
name: WindowsProxmox
net0: e1000=7A:BE:A7:32:A8:1A,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: HDD-RAID:vm-105-disk-0,backup=0,size=200G
scsi0: local-zfs:vm-105-disk-0,cache=writeback,discard=on,size=64G
scsihw: virtio-scsi-pci
smbios1: uuid=b424157a-d617-44b3-80a4-371e74ccc9c4
sockets: 2
tpmstate0: local-zfs:vm-105-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 567fe49b-e8d5-4423-9f58-38d37eb1f2b2
 

Attachments

  • Screenshot_20240310_121952.jpeg
    Screenshot_20240310_121952.jpeg
    156.2 KB · Views: 2
  • Screenshot_20240310_122126.jpeg
    Screenshot_20240310_122126.jpeg
    172.1 KB · Views: 2
I assume I am using systemd for booting as the guide here confirms. White on black boot screen.
plus running efibootmgr -v gives a result and contains the following, assume Boot Current = 0001

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002,0004,0005,0006,0007,000A,0008,0009,0003
Boot0000 ubuntu HD(1,MBR,0xbe73a,0x3f,0xef00d0)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Linux Boot Manager HD(2,GPT,..........)/File(\EFI\systemd\systemd-bootx64.efi)

Also I pass through all four IDs for the card into vfio.conf or should I only include the first two and ignore the USB and Serial Bus controllers?

lspci -nn | grep -i nvidia
08:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] [10de:2187] (rev a1)
08:00.1 Audio device [0403]: NVIDIA Corporation TU116 High Definition Audio Controller [10de:1aeb] (rev a1)
08:00.2 USB controller [0c03]: NVIDIA Corporation TU116 USB 3.1 Host Controller [10de:1aec] (rev a1)
08:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller [10de:1aed] (rev a1)
 
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!