Heya,
I've recently moved my main host from ESXi to Proxmox (homelab) and the dreaded "Code 43" error for my NVidia Quadro P2000 returned, the driver refuses to load once again. I already fought this error relentlessly on ESXi back then and after hours of trial and error got rid of it, but on Proxmox it returned with no end in sight It's most likely due to NVidia's VM detection, which should not be an issue anymore for quite a while now as "recent" drivers (like, 2 years by now?) should have removed it, but even the latest one from March 2024 still seems to detect things.
Already Google'd around quite a bit but so far haven't really found any solution other than people editing their GPU BIOS (which if possible I want to avoid, but if not I'll try my best to not screw the card up )
I already tried the following (most according to this guide: https://pve.proxmox.com/wiki/PCI_Passthrough#Nvidia_Tips):
Does anyone have another possible solution for this?
My current VM settings are as follows:
I've recently moved my main host from ESXi to Proxmox (homelab) and the dreaded "Code 43" error for my NVidia Quadro P2000 returned, the driver refuses to load once again. I already fought this error relentlessly on ESXi back then and after hours of trial and error got rid of it, but on Proxmox it returned with no end in sight It's most likely due to NVidia's VM detection, which should not be an issue anymore for quite a while now as "recent" drivers (like, 2 years by now?) should have removed it, but even the latest one from March 2024 still seems to detect things.
Already Google'd around quite a bit but so far haven't really found any solution other than people editing their GPU BIOS (which if possible I want to avoid, but if not I'll try my best to not screw the card up )
I already tried the following (most according to this guide: https://pve.proxmox.com/wiki/PCI_Passthrough#Nvidia_Tips):
- disabled CSM in my host's BIOS which did seem to break console output, but that's a worry for later and is most likely just cause the GPU isn't properly working yet
- tried adding the Vendor and Device ID
- blacklisted Nouveau and Nvidia driver
- Un- and Reinstalled the latest driver after removing it with DDU first
Does anyone have another possible solution for this?
My current VM settings are as follows:
/usr/bin/kvm -id 100 -name 'WinServer2022-1,debug-threads=on' -no-shutdown -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server=on,wait=off' -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/100.pid -daemonize -smbios 'type=1,uuid=XXXXXX' -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,id=drive-efidisk0,format=raw,file=/dev/pve/vm-100-disk-1,size=131072' -smp '8,sockets=1,cores=8,maxcpus=8' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -cpu 'host,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=proxmox,hv_vpindex,kvm=off,+kvm_pv_eoi,+kvm_pv_unhalt' -m 20480 -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'vmgenid,guid=XXXXXXX' -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=0000:02:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on' -device 'vfio-pci,host=0000:02:00.1,id=hostpci0.1,bus=pci.0,addr=0x10.1' -chardev 'socket,path=/var/run/qemu-server/100.qga,server=on,wait=off,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,free-page-reporting=on' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:4b76a06fbecb' -drive 'file=/var/lib/vz/template/iso/virtio-win.iso,if=none,id=drive-ide2,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101' -device 'pvscsi,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/dev/pve/vm-100-disk-0,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=io_uring,detect-zeroes=unmap' -device 'scsi-hd,bus=scsihw0.0,scsi-id=0,drive=drive-scsi0,id=scsi0,rotation_rate=1,bootindex=100' -drive 'file=/dev/HDD1-4TB-thin/vm-100-disk-0,if=none,id=drive-scsi1,discard=on,format=raw,cache=none,aio=io_uring,detect-zeroes=unmap' -device 'scsi-hd,bus=scsihw0.0,scsi-id=1,drive=drive-scsi1,id=scsi1' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=XXXXXXX,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256' -rtc 'driftfix=slew,base=localtime' -machine 'hpet=off,type=pc-q35-8.1+pve0' -global 'kvm-pit.lost_tick_policy=discard'
Last edited: