How I lost my mental integrity about code 43 gpu passthrough


abra8c

Recommended Posts

Hi there,
i am trying to passthrough a gtx 680 for about 5 days now.

My mainboard is an Asrock x399 taichi.

What I have done so far(not necessary in this order):
Watched all spaceinvaderone's videos and tried everything he mentioned.
Extracted vbios in an other machine using gpuz. 
Removed vbios header with a hex editor.
Passed it trough as multifunction device.
Added a second gpu for Unraid.
Binded the gpu IOMMU group at startup.
Hided kvm in the xml with those lines: 

<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>
    <ioapic driver='kvm'/>
  </features>

Edited my syslinux config with those lines:

append amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction initrd=/bzroot vfio_iommu_type1.allow_unsafe_interrupts=1

Tweaked some Bios settings:
VM Mode -> Enable

IOMMU -> Enable

ACS -> Enable
SR-IOV -> Enable


Limited Unraid to boot only in legacy mode.
Rebooted Unraid multiple times.
Reinstalled windows multiple times with q35/i440fx OVMF/Seabios Hyper-V Yes/No


Maybe I've done more than that but I can't remember at this point.
Sometimes it shows up in Windows as gtx 680 with an code 43 error, sometimes it was just a basic display adapter.
Never got a display output signal from the gpu.
At this point it is just frustrating.

There are two things left that I have tried:
1. pasted this in the command line:
 

echo 0 > /sys/class/vtconsole/vtcon0/bind

seems to work
 

echo 0 > /sys/class/vtconsole/vtcon1/bind

I got this error: bash: /sys/class/vtconsole/vtcon1/bind: No such file or directory
 

echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

I got this error: bash: echo: write error: No such device

I don't even know what these commands should do.
How can I fix it?

2. followed this guide:

But sadly with the new cuda version the patcher.ps1 script mentioned in the guide does not work anymore.

My current xml file is attached.

Any advise on how I should proceed would be appreciated!
 

xml.txt

Edited by abra8c
spelling
Link to comment
  • 7 months later...

Hi!

 

I know this is an old post, but I have had the same issue for a couple of weeks now. I had also tried almost all of your aforementioned 'fixes' but none seemed to work.

I finally have fixed it by deleting the following hyper-v section in the xml:

 

    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>

 

So far running stable and reliable, hope it stays that way though...

 

Hope this can help you out too!

Edited by AezDropzz
Link to comment
  • 5 months later...

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.