(Linux) GPU passthrough issues

paradox55

Member
May 31, 2019
92
4
13
34
Using Q35 I am able to pass through my GPU to Linux successfully. And native games run flawlessly.

I am however running into issues with wine/dxvk games. The GPU on some/most wine games with DXVK stays under 30% with low framerates. Not too sure why - does not happen if running on bare hardware.
 
What's your GPU and what does your VM config file look like? I don't seem to be able to passthrough an Intel IGP to Ubuntu using Q35 (either q35 or pc-q35-3.1) but could using i440fx... Although do not run games...
 
Last edited:
What's your GPU and what does your VM config file look like? I don't seem to be able to passthrough an Intel IGP to Ubuntu using Q35 (either q35 or pc-q35-3.1) but could using i440fx... Although do not run games...

It's a turing 2000 series nvidia GPU. Works fine on Windows.

XML is more or less identical to this, without qxl/spice.

Code:
args: -machine q35,kernel_irqchip=on
balloon: 0
bios: ovmf
boot: dcn
bootdisk: sata3
cores: 10
cpu: host
efidisk0: local:102/vm-144442-disk-0.raw,size=128K
hostpci0: 01:00,pcie=1,x-vga=on
machine: q35
memory: 15800
name: win10
net0: virtio=EE:D7:CB35632623D:9D,bridge=vmbr0
net1: virtio=AE:9F236236bridge=vmbr1
numa: 0
ostype: win10
virtio0: /dev/pve/win2019,backup=0,cache=writeback,discard=on,replicate=0,size=71524M
scsihw: virtio-scsi-pci
smbios1: uuid=a4cbc309-d6bc-462362362363262346726733276272877f764a97e09
sockets: 1
usb0: host=04f2:0939
usb1: host=1a2c:4c5e
usb2: host=05c6:f006
vga: qxl
vmgenid: 2ac234b8-e1fc-15626126123q61269d3b4aaf7