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.

6.11 GPU Passthrough working with issues

Featured Replies

I’m having an issue that’s stumping unraid support and myself. 

I can only do a GPU passthrough when there is no VFIO bind and no amdgpu blacklist. But when I shutdown the VM I will receive these errors:

 

Sep 28 17:06:29 Tower kernel: amdgpu

0000:03:00.0: amogpu: failed to read ip discovery binary from file

 

Sep 28 17:06:29 Tower kernel:

[drm:amdgpu_discovery_set_ip_blocks [amdgpu]]

*ERROR* amdgpu_discovery_init failed

 

Sep 28 17:06:29 Tower kernel: amdgpu

0000:03:00.0: amdgpu: Fatal error during GPU init

 

Sep 28 17:06:29 Tower kernel: amdgpu: probe of

0000:03:00.0 failed with error -22

 

if I did bind the VFIO or do the blacklist, I will get just a black screen. When I shutdown the VM no errors. 
 

I‘ll also get the header 127 reset bug.
 

Troubleshooting:

- VFIO GPU Bind

- PCI ACS Override - all the modes 

- Vbios in the vm settings. I was unable to do the Vbios Dump script. 
- blacklist AmdGPU



Passthrough only works with no VFIO bind and no blacklists 

 

Setup:

i5 12600k

Gigabyte z690 Elite AX DDR5

AMD 6600 XT

 

 

Diagnostic:


tower-diagnostics-20221002-1522-beforeVmStart 2.zip

tower-diagnostics-20221002-1524-VMShutdown 2.zip

 

System Devices:

EAFE27FB-FC81-4DDD-93E4-91D7D5D38FDE.thumb.png.82667bd5aed345caffa95d460d6ea665.png

Edited by sterling90

Can you check the link? Cannot find anything.

yes, it could be a private ticket which only you and the official support can see.

  • Author
10 minutes ago, ghost82 said:

yes, it could be a private ticket which only you and the official support can see.

Ah thanks for pointing that out. I’ve updated the entire post. 

  • Author

Bump for help 

16 hours ago, sterling90 said:

I can only do a GPU passthrough when there is no VFIO bind and no amdgpu blacklist

Do it the right way:

1. bind audio and video to vfio

2. set gpu as multifunction and pass a rom file, your settings are wrong, change from this:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
    </hostdev>

 

to this:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <rom file='/path/to/Powercolor.RX6600XT.8192.210701.rom'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
    </hostdev>

 

Replace /path/to/Powercolor.RX6600XT.8192.210701.rom with the correct path. Check that your rx6600xt is the red devil version.

3. Reboot and try

----

If you still get errors like:

Refused to change power state from D0 to D3hot

Unable to change power state from D3cold to D0

 

you have something wrong in your bios configuration, or the bios is simply bugged: in this case I suggest to check the vfio group on reddit to see if anyone else has this issue for that motherboard and to contact Gigabyte directly, since your motherboard is still supported and you run the latest F7 available bios.

Powercolor.RX6600XT.8192.210701.rom

Edited by ghost82

  • Author

I will try this step. 
 

I have the fighter. But I’ll try the red devil. 
 

Also, I receive sound without multifunction. Adding multifunction is interesting. I will either have sound or not have sound. 
 

Edit:

 

I found the group and there was one post with my motherboard and they happened to have the close to the same setup. 
 

 

Looks like it’s the 12th gen intel cpu and the Amd gpus not playing together 

 

Edited by sterling90

Use the attached vbios for the fighter version.

It seems another issue on that reddit post, yours seems like the reset bug, but it shouldn't be, never found a 6000 series gpu with that bug, and my concern is about the mb bios...

Powercolor.RX6600XT.8192.210701_1.rom

Edited by ghost82

  • Author

If is from TechPower Up. I’ve been using this rom. It works with it and without it. 
 

Also, same for the multifunction xml change. Actually works better without it. 
 

so the first time I got the motherboard I tried the Q-Flash with the F7 Bios.  
 

I’ve also tried it with the the normal way of using a USB and going through the bios motion. 
 

What I’ve been told is that the reset bug is not present within the 6000 series. 
 

But a person(s) has seen an issue with the 6000 Series and the intel 12 motherboard. 
 

if it’s a bios issue. Are you thinking it could be a bios issue or a motherboard issue?

Edited by sterling90

  • Author

Just tried a 6800XT and it’s not working either. I don’t know what to do.

 

Feels like I’m forced to use an Nivida card and I don’t know if that will work. 

9 hours ago, sterling90 said:

Are you thinking it could be a bios issue or a motherboard issue?

Bios config or bugged bios.

  • Author
10 hours ago, ghost82 said:

Bios config or bugged bios.

I feel like I can make the assumption that my motherboard is too new for virtualization and gigabyte has not made an update to

handle it. 
 

For the configurations 

 

VT-d - enabled 

internal graphics - enabled 

Graphics - I set it to the iGPU

Resizable Bar - disabled 

Above 4k Decoding - enabled 

CSM - disabled 

C state - disabled 

 

 

The system time is finally right. I I accidentally figured out how to lock the time and date. 
 

did I miss anythin?

 

Edited by sterling90

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.