GPU Passtrough problems

50l3r

Active Member
Jun 22, 2018
16
0
41
33
Hi guys,

I follow this tutorial to enable GPU Passtrough with my Nvidia Asus GT710 to Windows10 VM: https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/

I follow all steps but when i try to run i get this error:

22cc0f081047706b3abd6704078c6b13.png


This is my VM config:

Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
bios: ovmf
boot: dcn
bootdisk: scsi0
cores: 6
cpu: host,hidden=1,flags=+pcid,hv-vendor-id=proxmox
efidisk0: HDD500GB:vm-103-disk-1,size=128K
hostpci0: 04:00,x-vga=1,pcie=1,romfile=Asus.GT710.2048.170525.rom
ide2: local:iso/Windows.iso,media=cdrom
machine: q35
memory: 8129
name: windows10
net0: e1000=96:9E:99:F0:7B:11,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: ISOS:iso/virtio-win.iso,media=cdrom,size=363020K
scsi0: HDD500GB:vm-103-disk-3,cache=writeback,size=100G
scsihw: virtio-scsi-single
smbios1: uuid=63ce1f03-c3b4-4161-96d9-b272eaa81964
sockets: 2
usb0: host=046d:c53f
usb1: host=04d9:0356
vga: none
vmgenid: cc134fcf-a938-4c91-b5da-291cecb1e878

Any ideas?
 
Last edited:
What CPU do you have? Does it support VT-d? That is a requirement for passthrough of any hardware to guest OSes
 
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
remove that line, those options are all taken care of with the other options and are probably missing some..
 
I removed the line. That's my actual config:

Code:
bios: ovmf
boot: dcn
bootdisk: scsi0
cores: 6
cpu: host,hidden=1,flags=+pcid,hv-vendor-id=proxmox
efidisk0: HDD500GB:vm-103-disk-1,size=128K
hostpci0: 04:00,x-vga=1,pcie=1,romfile=Asus.GT710.2048.170525.rom
hostpci1: 04:00.1,pcie=1
ide2: local:iso/Windows.iso,media=cdrom
machine: q35
memory: 8129
name: windows10
net0: e1000=96:9E:99:F0:7B:11,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: ISOS:iso/virtio-win.iso,media=cdrom,size=363020K
scsi0: HDD500GB:vm-103-disk-3,cache=writeback,size=100G
scsihw: virtio-scsi-single
smbios1: uuid=63ce1f03-c3b4-4161-96d9-b272eaa81964
sockets: 2
vga: none
vmgenid: cc134fcf-a938-4c91-b5da-291cecb1e878

I got install "Dispositivo PCI" drivers from virtio cdfrom but it remains the graphic card drivers. I got an error 43
 
hostpci0: 04:00,x-vga=1,pcie=1,romfile=Asus.GT710.2048.170525.rom
hostpci1: 04:00.1,pcie=1
this will probably not work, since using 04:00 is already using both functions, ... remove the hostpci1 line

also, code 43 is just a generic driver error, maybe the romfile is not correct or the hardware does not properly initialize or something else
can you post a dmesg after you started the vm?
 
this will probably not work, since using 04:00 is already using both functions, ... remove the hostpci1 line

also, code 43 is just a generic driver error, maybe the romfile is not correct or the hardware does not properly initialize or something else
can you post a dmesg after you started the vm?

The VM have Windows 10 Installed. I remove the hostpci1 line but problem persist.

I try tom change hostpci0 from "hostpci0: 04:00,x-vga=1,pcie=1,romfile=Asus.GT710.2048.170525.rom" to "hostpci0: 04:00,x-vga=1,pcie=1" but problem persist.

How can i view dmesg in a Windows 10 VM?
 
no i meant dmesg from the host after starting the vm