Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How I lost my mental integrity about code 43 gpu passthrough

Featured Replies

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

  • 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

  • 5 months later...

In the same boat, absolutely tried everything and nothing is working. The passthrough was working for years and all of a sudden it's no longer working. Absolutely terrible.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.