NVIDIA Adds Official Support for Virtualizing GeForce GPUs


17 posts in this topic Last Reply

Recommended Posts

Big News from NVIDIA

Just a few hours ago, NVIDIA added an article to its support knowledge base regarding GPU passthrough support for Windows VMs. While we've supported this functionality for some time, it was done without official support from the vendor themselves.

This move by NVIDIA to announce official support for this feature is a huge step in the right direction for all of our VM pass through users. This should also help instill confidence in users that wish to pass through these GPUs to virtual machines without the worry that a future driver update would break this functionality.

 

Let us know what you think about this announcement here!

 

  • Like 7
  • Thanks 2
Link to post
7 hours ago, tjb_altf4 said:

Hopefully this opens up the possibility of SR-IOV at a later date

 

I don't think so because they also said:

Quote

Do you need to have more than one GPU installed or can you leverage the same GPU being used by the host OS for virtualization?
One GPU is required for the Linux host OS and one GPU is required for the Windows virtual machine.

 

and also:

Quote

What class of virtualization is supported on GeForce GPUs?
GeForce GPU passthrough supports 1 virtual machine.  SR-IOV is not supported on GeForce.  If you want to enable multiple virtual machines to have direct access to a single GPU or want the GPU to be able to assign virtual functions to multiple virtual machines, you will need to use NVIDIA Tesla, Quadro, or RTX enterprise GPUs.

 

I think they will not support the feature anywhere in the near future... But this is the first step in the right direction sort of. :D

Link to post

Do I still have to pass the vBIOS to the VM?

 

I've been having issues with GPU pass-through and a 1050 Ti where restarting/shutting down a VM will kill the entire unRAID server requiring a restart and parity rebuild.  With 14TB drives that very frustrating.

 

I want to try with this new feature to see what happens as I'd love to have a stable VM with GPU pass-through. 

 

 

ETA: It appears you can leave off the vBIOS if you switch to VNC, start the VM, stop the VM, and then switch to GPU w/o specifying the vBIOS ROM.  I just got a black screen if I didn't start the VM in VNC mode first.  Now to see if my VM issue goes away.

Edited by jlficken
Link to post
16 hours ago, jlficken said:

Do I still have to pass the vBIOS to the VM?

 

I've been having issues with GPU pass-through and a 1050 Ti where restarting/shutting down a VM will kill the entire unRAID server requiring a restart and parity rebuild.  With 14TB drives that very frustrating.

 

I want to try with this new feature to see what happens as I'd love to have a stable VM with GPU pass-through. 

 

 

ETA: It appears you can leave off the vBIOS if you switch to VNC, start the VM, stop the VM, and then switch to GPU w/o specifying the vBIOS ROM.  I just got a black screen if I didn't start the VM in VNC mode first.  Now to see if my VM issue goes away.

I think we always need th vBIOS, just, it's not necessary to modify it with an HEX editor to use it. But I'm not sure of what I say.

Link to post

It seems like a big news, but I just wonder what exactly it changes since we could already use the passthrough before, like show in some many videos and like I did for a GTX 1060 and a 1070.

Is it a different way to setup now?
Or were there some older cards that couldn't be passthough no matter what?

Link to post
On 4/1/2021 at 5:44 PM, dada051 said:

Why "Now if only AMD would make the same gesture... 😉" ? I didn't know that AMD locked the use of pass-through

AMD fixed the reset bug on latest gen of GPUs, so no idea, what the author is talking about.

Link to post
On 4/1/2021 at 11:44 PM, dada051 said:

Why "Now if only AMD would make the same gesture... 😉" ? I didn't know that AMD locked the use of pass-through

They didn't lock it, they just refused to fix a bug (hardware reset) that made pass-through unusable.

As soon as the community started to build working fixes, AMD's next generation didn't have these issues, but the fixes weren't backported to previous gen.

 

I should also note these hardware reset problems have never appeared in AMD's professional GPU lineup (Quadro competitors), funny that.

 

Link to post

Does this mean I can now remove the vbios from my gaming VM? Is there a performance benefit? Does it perhaps pass the GPU "more directly" through or  something like that?

Link to post
  • 1 month later...
8 hours ago, Kosmos said:

This would actually be the thing I'm looking for.

I would like to assign one gpu to multiple VMs.

As @tjb_altf4 said, this thread has nothing to do with assigning one GPU to multiple VM's.

 

8 hours ago, Kosmos said:

Can we somehow make this work? Maybe as an Unraid plugin?

rel: https://github.com/DualCoder/vgpu_unlock

This violates the Nvidia EULA, I think you know what that means...

Also keep in mind you have to buy licenses from Nvidia for every VM that you want to run a vGPU on.

Link to post

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.