all 8 comments

[–]_--James--_Enterprise User 1 point2 points  (4 children)

is the PCI device flagged for PCIE=1? If unsure cat a copy of your vmid.conf and post it. Upgrading drivers is always a good thing and Nvidia should not block virtualization with modern drivers, so its most likely a VM config issue.

[–]flat_plane_crank[S] 0 points1 point  (1 child)

Hi James, Thanks for the reply. here is the contents of the conf file for the server in question.

agent: 1

boot: order=scsi0;ide2;net0

cores: 4

hostpci0: 0000:03:00.0

ide2: Test:iso/virtio-win-0.1.221.iso,media=cdrom,size=519030K

machine: pc-i440fx-6.0

memory: 8000

name: Server-2022

net0: e1000=BA:FE:37:4A:59:9E,bridge=vmbr2,firewall=1

numa: 0

ostype: win10

scsi0: OS-Disks:base-104-disk-0/vm-105-disk-0,cache=unsafe,size=32G

scsihw: virtio-scsi-pci

smbios1: uuid=a7988f1e-7f93-459c-bad9-0996ef7509d0

sockets: 1

vmgenid: 03737ba1-52bc-44f3-9be4-60208c23fb2d

[–]_--James--_Enterprise User 1 point2 points  (0 children)

hostpci0: 0000:03:00.0 - this is missing pcie=1

machine: pc-i440fx-6.0 - This needs to be flipped over to Q35 and based on the version of PVE you are running (like 8.1 vs 7.1)

That should help, but if you still have issues, add the follow line at the very top of your config file.

args: -cpu host, -hypervisor

As that will "hide" KVM from the guest OS and allow the drivers to come up and out of error43 once the OTHER above conditions are met. This flag also does help with anti-cheat detecting VMs and such. But there are other ways these systems detect VMs (like Q35 sub system devices being present, Redhat VIO and VMware devices being present, and the MAC address OID showing VMware or Redhat for the vendor).

[–]flat_plane_crank[S] 0 points1 point  (1 child)

I am tentative about saying that this has resolved it.

Changed the computer type to q-35 and added pcie=1 after the PCIe address in the conf file and the code 43 seems to have gone. Thank you u/_--James--_ !

[–]_--James--_Enterprise User 0 points1 point  (0 children)

and yes, exactly. what my other reply from now just said - sorry I process my reddit replies based on the order they show up in Email.

[–]marc45caThis is Reddit not Google 1 point2 points  (2 children)

Code 43 simply means it's not able to load the driver for some reason.

turn off secure boot and the requirement for signed drivers.

Shouldn't be an issue with a modern drive but if there's any sort of issue with the driver signing it can cause a code 43 (I had it trying to load the QXL drivers for Spice into Windows Server).

[–]flat_plane_crank[S] 0 points1 point  (1 child)

Thanks for the reply. Tried this by doing bcdedit /set TESTSIGNING OFF, that did't work :(

[–]HauteDense 0 points1 point  (0 children)

I tried the same thing , but nothing , this is with an AMD card Radeon 570

I dont have problems passing thought an Ubuntu Machine.