I have recently decided to use proxmox ve 6 as my hypervisor for my desktop. I imported vm images and replicated the same setup as I've had in a test install of proxmox ve 5. My linux VM works normally with GPU passthrough (gtx 1060, extracted vBIOS, added x-vga=1). However when starting my windows VM the display cuts off after the nvidia drivers install. I tried setting hidden=1 in cpu, hv-vendor-id and also directly adding arguments with the "args:" option in the configuration. I then tried to reinstall windows and the same thing happens after installing nvidia drivers. I am using windows 1903 and proxmox ve 6.
ALSO NOTE:
I tried running the following command and the "hv_vendor_id" option seems to be missiong from "- cpu":
qm showcmd 200:
SOLUTION!!!!:
there seems to be a new problem introduced in qemu 4.0 and therefore proxmox ve 6!
Add this to config:
ALSO NOTE:
I tried running the following command and the "hv_vendor_id" option seems to be missiong from "- cpu":
qm showcmd 200:
Code:
/usr/bin/kvm -id 200 -name windows -chardev 'socket,id=qmp,path=/var/run/qemu-server/200.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/200.pid -daemonize -smbios 'type=1,uuid=571420a4-05a1-4c1b-b9a2-531c3d5dd031' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/dev/pve/vm-200-disk-1' -smp '12,sockets=1,cores=12,maxcpus=12' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,kvm=off' -m 14336 -device 'vmgenid,guid=1f6d644d-ef73-477d-b562-fe47c7ba4184' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=20:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,romfile=/usr/share/kvm/gtx1060.rom' -device 'vfio-pci,host=20:00.1,id=hostpci1,bus=pci.0,addr=0x11' -device 'vfio-pci,host=21:00.3,id=hostpci2,bus=pci.0,addr=0x1b' -chardev 'socket,path=/var/run/qemu-server/200.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:8789e9dee1db' -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1.171.iso,if=none,id=drive-ide0,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200' -drive 'file=/var/lib/vz/template/iso/Win10_1903_V1_English_x64.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=201' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/dev/pve/vm-200-disk-0,if=none,id=drive-sata0,discard=on,format=raw,cache=none,aio=native,detect-zeroes=unmap' -device 'ide-hd,bus=ahci0.0,drive=drive-sata0,id=sata0,rotation_rate=1,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap200i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=9A:76:74:14:CA:E5,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=q35'
SOLUTION!!!!:
there seems to be a new problem introduced in qemu 4.0 and therefore proxmox ve 6!
Add this to config:
Code:
args: -machine type=q35,kernel_irqchip=on
Last edited: