GPU-Passthrough:


Recommended Posts

I tried setting up a Windows 10 VM with my GTX 660Ti on my Unraid server. I got it all running fine with VNC, but as soon as I select my GPU as passthrough I just get black screen. Both on my HDMI as well as my RealVNC server. I watched all the tutorials of SpaceInvaderOne, tried literally everything and searched in forums, but no success so far. What I tried is following:

  • Use vbios files, I tried: GTX 660 TI unedited from techpowerup.com, the same one with deleted NVIDIA Header (see attachment) and a 660 non Ti
  • Same with the GT 710 trying all possible combinations with/without Nvidia Header
  • Also tried a vbios from this thread as suggested by another user
  • Tried both Q35-4.2 and i440fx-4.2
  • Booted in Legacy Mode
  • Put GPU Soundcard on the same virtual pci lane as the GPU
  • Booting with no Sound Card selected or Booting without vbios file
  • Removing VirtIO drivers (Refrenced here)
  • Directly installing Windows with the GPU passed through
  • Selecting GPU as secondary GPU and VNC as primary > Result: Blackscreen through HDMI and Code 43
  • Turning off Hyper-V in XML
  • Setting KVM hidden in XML
  • Used different PCIe-Lane in combination with the Hacks SpaceInvaderOne suggests (ACS override, other methods didn't work)

 

Now just recently got this new message "Unknown PCI header type '127' for device '0000:05:00.0'" after I start up the VM the first time (and get black screen), I searched it online and tried following things:

  • Downgrading BIOS to F5 -> Still Same behavior (first time it does black screen then this message)
  • Trying different BIOSes (F5, F30, F32, F40, F42b, F50)
  • Turning off Hyper-V in XML
  • Tried both Q35-4.2 and i440fx-4.2

 

This has been really frustrating, I've been only getting error, I even bought a new GPU (GT 710) and both did not work, I tried all those things but none worked... Does anyone have an idea. I already asked about this problem on reddit, there you'll see some more attempts...

Log-Files and Attachments:

IOMMU Pastebin:

System Devices > IOMMU

VM Pastebins:

VM XML-File

VM Logs

vbios files:

GTX 660 Ti:

Original vbios-file from techpowerup

and all other versions

Edited vbios (Deleted NVIDIA Header)

Zotac GT 710:

Original vbios-file from techpowerup

and all other versions

Also tried a vbios from this thread as suggested by another user

 

As you can probably tell I have been pretty unlucky, since I got literally every error you can get, this is probably hardware related so therefore I listed my setup here:

  • Gigabyte Aorus B450 M (tried BIOS v. F5, F30, F32, F42b, F50)
  • Ryzen 5 1600
  • GTX 660 Ti / Zotac GT 710 (tried both, or just one at a time)
  • Rest is probably irrelevant (no other pcie devices)

 

 

Link to comment
3 minutes ago, rachid596 said:

Can you post your log of the vm ?
Try to enable acs patch in vm Settings because your gpu is not on it's own iommu group

Envoyé de mon HD1913 en utilisant Tapatalk
 

Yes, sry the IOMMU pastebin is old,

since I now changed my setup to another PCIe Slot I had to enable ACS override.
With ACS override I get this IOMMU setup.

The logs of the VM when started up the first time afert boot can be found here. I haven't seen this line before this is new the "Stuck in D3" might be somehting.

When starting up the second time after bootup I get these logs.

Link to comment
1 hour ago, rachid596 said:

Try reboot the server.
Do you test to dump your own gpu bios ?

You can install the 660 on first slot and gt710 on second pci and create a vm with gt710 with no Vbios passthrough

Envoyé de mon HD1913 en utilisant Tapatalk
 

I just tried dumping the vbios. I installed the 660 on first slot and gt710 on second. Then I followed the tutorial of spaceinvaderone and started up a VM on my gt710 (it obviously doesn't start but, just blackscreen). But then after running "lscpi -v" I got following error below audio and graphics of the gt710 "!!! Unknown header type 7f". Do you know what this means? Should I just continue with the tutorial?

Here is the full output of my ssh

Edited by xBotRaid
Link to comment
1 hour ago, rachid596 said:

Try reboot the server.
Do you test to dump your own gpu bios ?

You can install the 660 on first slot and gt710 on second pci and create a vm with gt710 with no Vbios passthrough

Envoyé de mon HD1913 en utilisant Tapatalk
 

Ok, when I continue I get following error when dumping the vbios:
cat: rom: Input/output error

Link to comment
11 minutes ago, rachid596 said:

You pass the Vbios ? If it's on second pci you dont need Vbios. Try to create à New vm template

Envoyé de mon HD1913 en utilisant Tapatalk
 

I did not pass a vbios and I insalled both like that, wilst passing the GT 710 through.

 

1 minute ago, rachid596 said:

You can boot on baremetal windows and dump with gpu z ?

Envoyé de mon HD1913 en utilisant Tapatalk
 

I don't have it set up like that now, but I can try.

Link to comment
3 minutes ago, rachid596 said:

You can boot on baremetal windows and dump with gpu z ?

Envoyé de mon HD1913 en utilisant Tapatalk
 

Can I run Windows baremetal somehow without having an extra empty HDD or SSD leftover?

Edited by xBotRaid
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.