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.

Struggling with GPU Passthrough - stuck at Tianocore

Featured Replies

33 minutes ago, J89eu said:

I use UEFI for booting, I was having some issues with legacy so switch to UEFI and haven't looked back. Can't do much for a few hours as I'm not at home!

I posted this on another topic also about being stuck at Tiano core. With cards that don't like being passed through, the following seem to help:

  • Boot Unraid in legacy mode - I purposely disabled UEFI when building my USB stick to ensure if it boots, it 100% boots in legacy mode.
  • Set primary GPU as something other than the to-be-passed-through card in the motherboard BIOS
  • Use Q35 machine type (I recommend starting a new template from scratch AND use Unraid 6.8, save you the trouble of needing the root port patch)
  • Dump your own vbios and use it
  • Author

I didn't think the VBIOS was required for AMD GPU's? I only have the Vega in the system, no onboard graphics either since the Ryzen's don't have it on most CPUs

32 minutes ago, J89eu said:

I didn't think the VBIOS was required for AMD GPU's? I only have the Vega in the system, no onboard graphics either since the Ryzen's don't have it on most CPUs

vbios is never a "required" thing. It's a "fix" thing i.e. if you have problems passing through a GPU (regardless of brand), that is a fix that you can attempt. It is particularly relevant to passing through a primary GPU.

 

In fact, my general recommendation is, where possible, dump your own vbios regardless. It can only help with stability.

Edited by testdasi

  • Author

OK, my issue then is that I don't have another GPU to use... I'll look into borrowing one for now. 

 

Still not home yet to look at why the server has gone down but hopefully I can get that working and with the properly stubbed soundcard I will hopefully get some sound!

43 minutes ago, J89eu said:

OK, my issue then is that I don't have another GPU to use... I'll look into borrowing one for now. 

 

Still not home yet to look at why the server has gone down but hopefully I can get that working and with the properly stubbed soundcard I will hopefully get some sound!

It's just one of the potential fixes you can try. Personally, I have found vbios is less useful without booting Unraid in Legacy mode. There's something about UEFI that prevents a GPU from resetting properly.

5 hours ago, testdasi said:

It's just one of the potential fixes you can try. Personally, I have found vbios is less useful without booting Unraid in Legacy mode. There's something about UEFI that prevents a GPU from resetting properly.

I'm also using Legacy Mode, because with the UEFI it never worked properly. Also the vbios is required for me to actually show the image before fully loading the OS...

  • Author

Not had chance to do this yet but hopefully tonight, I started to mess around with another VM as a test to rule out any OS issues from the previous hardware but it locked up and I had to fat finger the server which then resulted in my cache pool sh*tting the bed so I've been rebuilding that today!

  • Author

OK now booting up in legacy mode.

Cannot attach a second GPU to my system without removing the RAID card so I ran through the steps from Spaceinvaderone's video and managed to dump the VBIOS but when I use that file I just get a black screen or nothing at all on the VM, using one I grabbed from Techpowerup ages ago and have been using until I dumped the VBIOS for this test works fine but still no sound passing through from either the GPU or the dedicated... I then moved the dedicated sound card to another PCIe port and still the same, I cannot seem to get any sound at all to work..

  • Author

Oddly spinning up a new VM the sound works fine... I guess I just need to bite the bullet and reinstall the OS on my NVMe drive and see how I get on with that. I just don't get why it would work in one and not the other

  • Author

OK I though I'd wrap this up as I'm now all working. Essentially I ended up having to create a whole new VM. It had the same settings yet the XML was totally different. This then got my soundcard working, for other parts I needed to switch to Q35 and also enable both on the ACS Override. 

 

Thanks everyone for your help

Edited by J89eu

  • 1 year later...
On 10/20/2019 at 8:52 PM, david279 said:

Stub the card from the system

What does that mean?  I can stub a toe.  Or a cigarette.  But stub a card?

17 hours ago, oh-tomo said:

I can stub a toe.  Or a cigarette.  But stub a card?

Means attaching a device to a dummy driver.

You "stub" a device with boot args in your syslinux:

pci-stub.ids=aaaa:xxxx

where aaaa:xxxx are vendor/product ids.

Similar to:

vfio-pci.ids=aaaa:xxxx

 

For difference between the two have a read here:

https://unix.stackexchange.com/questions/328422/pci-stub-vs-vfio-pci

 

In my opinion, better vfio-pci.ids

Edited by ghost82

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.