Error 43 - GPU Passthrough - Bare metal Win 10 Pro uefi boot - Nvidia GTX 1060 6G - unraid 6.10.2


Go to solution Solved by ghost82,

Recommended Posts

Hello guys,

I have got a MSI GTX 1060 6g that I want to passthrough with bare metal Win 10 Pro.
Wathever I've tried, the graphic card returned the error 43. Win 10 works fine.

I've already follow this threads without success:


I've looked for some common problem and don't worked for me:
- I've looked for some virtualization problem in my BIOS.
- I've tried Q35 or i440fx machine.
- I've tried to disable Hyper-V
- I've followed the SpaceInvaderOne tutorial for GPU passthrough and edited my XML.
- I've tried dumping my vbios with SpaceInvaderOne script but it crashes with the 6.10.x unraid version. So I've tried to use a working Vbios I've allready done and tested.

 

Any help will be appreciated 🙂
 

183707.png

184633.png

VM WIN10Pro.txt Logs.txt

Link to comment
17 hours ago, HerrGeneral said:

I've tried dumping my vbios with SpaceInvaderOne script but it crashes with the 6.10.x unraid version

This should be the symptom that the gpu is in use by the host.

17 hours ago, HerrGeneral said:

So I've tried to use a working Vbios I've allready done and tested

Although the vbios is correct adding it with the gpu in use by the host will not solve the issue.

 

txt attachments are 99% of the time useless, full diagnostics saved after running the issues may help.

Link to comment

Hello ghost82,

thanks for the answer. I've attached the full diagnostics
 

8 hours ago, ghost82 said:
On 6/3/2022 at 6:47 PM, HerrGeneral said:

I've tried dumping my vbios with SpaceInvaderOne script but it crashes with the 6.10.x unraid version

This should be the symptom that the gpu is in use by the host.


Sorry for my lack of knowledge, but how can I find if the GPU is in use by the host and how can I fix it?
 

mydeedee-diagnostics-20220604-2007.zip

Link to comment
  • Solution
14 hours ago, HerrGeneral said:

but how can I find if the GPU is in use by the host

From the logs:

Jun  3 12:07:41 MYDEEDEE kernel: pci 0000:0a:00.0: vgaarb: setting as boot VGA device

The 1060 is choosen as boot vga by the host.

However, after this, it is successfully attached to vfio, so it should work.

The vm is correctly configured and also the vfio options.

I would try to add also allow unsafe interrupts in settings --> vm

 

Did you try to install the latest nvidia drivers with the gpu passed through connecting to it through remote desktop installed inside the vm?

If you have old nvidia drivers or no drivers installed there could be no output.

Are you 100% sure the vbios is working?

 

Even if the infamous nvidia error 43 could be caused by nvidia detecting the gpu running in a vm (only with old drivers), you may also change in the xml from this:

  <features>
    <acpi/>
    <apic/>
    <hyperv mode='custom'>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='1234567890ab'/>
    </hyperv>
    <ioapic driver='kvm'/>
  </features>

 

to this:

  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='1234567890ab'/>
    </hyperv>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <vmport state='off'/>
    <ioapic driver='kvm'/>
  </features>

 

 

Edited by ghost82
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.