Jump to content
matthope

GPU virtualization (virtio-gpu, virGL, sr-iov, MxGPU, VDI, spice)

6 posts in this topic Last Reply

Recommended Posts

Hi,

 

The issue:

 

At the moment, there is two way to use a 3D application in a VM with unRAID. First way is to passtrough a GPU to it. While this solution is nice and work well if you have only 1 or 2 VM's that need GPU acceleration, it's not ideal when you need multiples accelerated VM's. The second way is to use the intel GVT capabilities, however, the UPT is not super well implemented yet and the graphical power of those IGD are not that great.

 

The solution:

 

It would be nice if you could include GPU virtualisation (vGPU) solution, there is more than one solution to achieve this, but I think virtio-gpu and virGL is our best shoot. There is also MxGPU with the AMD GIM driver or Nvidia GRID but it require expensive gpu card to work. 

 

If virtio-gpu is implemented, it would be nice to see spice implemented as well since its more efficient than a VNC.

 

Also I might dreaming here, but if there was a way to use one GPU to display more than one VM desktop. Example, if there 3 hdmi output on the card, display the desktop on the VM 1 on the HDM1 and the VM 2 on the HDMI2 and so on. 

 

Some interestings links :

 

https://www.spice-space.org/spice-user-manual.html 

https://www.kraxel.org/blog/2016/09/using-virtio-gpu-with-libvirt-and-spice/

https://www.kraxel.org/slides/qemu-gfx-2016/

 

Regards, Mathieu

Share this post


Link to post

in for no other reason than it could be fun to play a vGPU..

Share this post


Link to post

VirGL is now part of Mesa and work with QEMU/KVM. Also spice is already available in KVM with QXL, since it's way faster than VNC, I think it would be a nice feature to add to unRAID. 

Share this post


Link to post

This!!  As GPU prices drop this would be a ton of fun to have at home.  Would really make UnRaid take off as well!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now