Jump to content

GPU passthrough not working on Win11


Go to solution Solved by ghost82,

Recommended Posts

Hi, 
I’m trying to pass through my RTX2060 to a Win11 VM, but getting a blank screen over HDMI after booting the VM. I’m trying to dual boot Windows (bare metal + VM) as demonstrated by Spaceinvader One on YouTube here. I don’t think how I installed Windows matters because the VM boots up. 


I believe I’ve done everything from setting up and separating the IOMMU groups (IOMMU is enabled in the BIOS and the selected groups are bound to VFIO at boot) to passing through the NVME drive, required USB controller, and GPU correctly. I even dumped my own VBIOS with GPUZ,  edited it as instructed at various places on the internet then passed it in. 


The VM boots fine despite not getting a video output over HDMI because I can remote into it via RDP. It also works fine when I set the graphics card to virtual. I’ve already installed virtio drivers by logging in this way. 

 

When I logged in via RDP for the first time with GPU passthrough, I could see my card appear as a “video controller” under “Other devices” in the Windows device manager. I then right clicked and updated the drivers; afterwards, it started showing up as an NVIDIA GeForce RTX2060 under display adaptors with the following error: Windows has stopped this device because it has reported problems. (Code 43)”. The vendor and Device ID of the cars shows up as 1DE and 1F08, which according to PCI lookup.com is a TU106 [GeForce RTX 2060 Rev. A]. The USB controller I passed in that has a wireless mouse and a keyboard connected works fine, and networking, including internet, works fine too. Its just that I can’t get a video output. 

 

Can someone help ? 
Thanks

 

P.S: I’m running Unraid Version: 6.11.5. Hardware: MSI Bazooka B550M / R7 5700x / 32GB 3200Mhz / MSI RTX 2060 Ventus OC 6GB

Edited by ofx
Link to comment

Thanks. That was the last piece of the puzzle !

I was getting a few different errors in the VM error log related to the GPU until I followed the instructions here and changed the PCI bus, slot and function addresses as instructed. While that fixed all the errors in the VM error log, the windows error remained. Then I saw your post and downloaded the latest drivers from NVIDIA, that fixed the windows error and now I get a display output ! :D

Thanks for the tip.

Edited by ofx
  • Like 1
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.

×
×
  • Create New...