VMware Cloud Community
ltycomputer
Contributor
Contributor

I found clues about NVIDIA passthrough error code 43

In my ESXi server,I try to passthrough a 1050Ti to a Windows 10 VM. But after following steps,it often got error code 43.

The problem wasn't in ESXi 6.5,but it appear in ESXi 6.7.

After doing some test, I found the clue.

In my motherboard,there is an option to decide which GPU to use.(CPU or PCIE or Auto)

When there is an iGPU(like i9-9900k) and option choose “Auto

     after host reboot then start the VM,1050Ti works fine

     restart the VM,1050Ti got error code 43

     reboot host,everything work again

When there is an iGPU(like i9-9900k) and option choose “iGPU

     1050Ti got error code 43 all the time

When there is an iGPU(like i9-9900k) and option choose “PCIE

     1050Ti works fine no matter how many time reboot

When there isn't an iGPU(like i9-9900kf)

     1050Ti works fine no matter how many time reboot

It seems that you must disable iGPU totally or you can't get passthrough to work.

I add "hypervisor.cpuid.v0=false" only, and passthrough works fine.

By the way,if "d3d0" in passthrough.map doesn't work,try to enable all ASPM in BIOS.(PCI-E power status control)

0 Kudos
3 Replies
ltycomputer
Contributor
Contributor

OK,I found another simple way,just creating a new VM,and choose ESXi 6.5 compatibility.

Pollard
Enthusiast
Enthusiast

Just found this thanks been messing with this for dayssss

0 Kudos
jrivam
Contributor
Contributor

Hi, I have the same problem, but using an Esxi 6.5 VM didn't work for me. But, disabling the gpu before restarting the virtual machine worked for me. So, what I end up using is a powershell script that run in the Local Policy Group Editor and disables my gpu before shutdown and enables it at startup. Some reference using this links 

Assign Computer Shutdown Scripts | Microsoft Learn

Automatically Disable or Enable your GPU (or any other device) when your laptop power state changes ... 

0 Kudos