Nvidia GPU pass-through Win 8.1 works Win 10 not

Hello people
Someone has come up with this error
kvm: -drive if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/var/lib/vz/images/107/vm-107-disk-2.qcow2: PC system firmware (pflash) must be a multiple of 0x1000
TASK ERROR: start failed: command '/usr/bin/kvm -id 107 -chardev 'socket,id=qmp,path=/var/run/qemu-server/107.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/107.pid -daemonize -smbios 'type=1,uuid=3bced6bc-f1a0-4454-a7a2-18b314505727' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/kvm/OVMF_CODE-pure-efi.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/var/lib/vz/images/107/vm-107-disk-2.qcow2' -name WIN10PRO4 -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -no-hpet -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=proxmox,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,kvm=off' -m 6145 -k es -readconfig /usr/share/qemu-server/pve-q35.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=03:00.0,id=hostpci0,bus=pci.0,addr=0x10' -device 'vfio-pci,host=03:00.1,id=hostpci1,bus=pci.0,addr=0x11' -device 'vfio-pci,host=04:00.0,id=hostpci2,bus=pci.0,addr=0x1b' -device 'vfio-pci,host=04:00.1,id=hostpci3,bus=pci.0,addr=0x1c' -chardev 'socket,path=/var/run/qemu-server/107.qga,server,nowait,id=qga0' -device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:d99d8bd2022' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/var/lib/vz/images/107/vm-107-disk-1.qcow2,if=none,id=drive-scsi0,discard=on,format=qcow2,cache=none,aio=native,detect-zeroes=unmap' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap107i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=AA:52:25:9A:89:87,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -machine 'type=q35' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1
I had the best working two rx480 in a vm win 10 pro, but after the update of proxmox I get that error, someone will have some idea of how to solve it?
 
https://forum.proxmox.com/threads/nvidia-single-gpu-passthrough-with-ryzen.38798/
Here is my thread how I did get it to work. (substitude the amd stuff with intel if appropriate)
Configs are postet in the thread, no vbios used.
For me also seems to work, GPU passthrough tutorial/reference, excepting the case when the host refuse to boot completely when it seems to enter into an infinite loop.

Edit:
1.
If i boot the host with the monitor connected to GPU, even if the screen looks like in the picture and a small cursor is blinking in the left bottom corner, the system is completely booted.
The VM is working when is started and the monitor goes black when i shut down the VM.
This behavior made me think that the host didn't boot completely.
2.
If i boot the host with the monitor disconnected from GPU and later is reconnected back, the screen is black until the VM is started.

8 - Host - At reboot - Infinite loop.PNG
 
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!