RTX 3090 passthrough with Windows 10 VM


Juxsta

Recommended Posts

On 12/10/2020 at 6:32 PM, turnipisum said:

Try this one. I think it's correct.

windows-vm.xml 6.59 kB · 1 download

Hey turns out you can only move pci devices that are on bus 0x00 to a slot > 0x00. Otherwise if the bus is greater than 0x00 then the slot must be on 0x00. Here's my modified config that loads up but still gives me an error. Let me know if you noticed something is wrong

windows-vm-turnip.xml

Link to comment

Fwiw, I've had success passing through a 3090 to a windows vm without needing to dump the vbios. 

 

I originally had a single 2080 Ti and had various issues with setting up the windows vms. I ended up following various tutorials from SpaceInvaderOne and LinusTechTips, but that didn't fully solve the issue. For me, I also needed to try some of the recommendations in https://forums.unraid.net/topic/85374-gigabyte-x570-aorus-elite-pro-wifi-ultra-tips-tricks/page/2/ as well as https://forums.unraid.net/topic/77609-guide-pass-through-primary-gpu-headless-unraid-fix-usb-panic-problems-and-linux-guest-audiovideo-stutter/ and was eventually able to pass through the 2080 Ti to the windows vm. For the 2080 Ti, I did need to dump the vbios.

 

I then purchased the 3090, so I currently have both a 2080 Ti as well as a 3090 in my system. I'm stubbing both and passing both to separate vms (the 3090 to the windows vm and the 2080 Ti to an Ubuntu vm). Unraid doesn't have access to any GPU, which normally in my experience requires you to dump the vbios for the graphics cards, but for me I did not have to. The 3090 worked fine without it. Though it is being passed to a windows vm that was already setup with the 2080 Ti initially w/updated drivers. So that may have helped.

 

Also fwiw, whenever I update the nvidia drivers in the windows vm the screen will go black and stay that way (this is the case with both the 2080 Ti as well as the 3090 for me). I've found if I just wait 10-20 minutes (> the amount of time for the update to finish) and then restart the vm, it'll work again with the driver updated. Not sure why that happens, but everything seems to work correctly after the restart so I haven't looked much further into it.

Edited by chay
clarity
Link to comment

Also, have you tried an older version of Q35 for the machine type? For me it's working with Q35-4.2, and I see you're using Q35-5.1 from the initial screenshot. IIRC, earlier this year I tried creating a new windows vm with an updated version and had issues

Link to comment
  • 2 weeks later...

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.