matthope Posted December 21, 2017 Share Posted December 21, 2017 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 8 3 Quote Link to comment
1812 Posted December 21, 2017 Share Posted December 21, 2017 in for no other reason than it could be fun to play a vGPU.. Quote Link to comment
matthope Posted June 8, 2018 Author Share Posted June 8, 2018 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. Quote Link to comment
Warrentheo Posted June 10, 2018 Share Posted June 10, 2018 May be relevant to this thread: https://wiki.qemu.org/ChangeLog/2.12#VFIO Quote Link to comment
GreenEyedMonster Posted June 15, 2018 Share Posted June 15, 2018 This!! As GPU prices drop this would be a ton of fun to have at home. Would really make UnRaid take off as well! Quote Link to comment
Fidelix Posted October 1, 2019 Share Posted October 1, 2019 Can you please get this implemented? It shouldn't be hard, just a couple of compile flags. Quote Link to comment
scorcho99 Posted December 5, 2019 Share Posted December 5, 2019 For the Intel GVT-g (mediated virtual GPUs) I think all that is needed is for these modules to be included: kvmgt vfio-iommu-type1 vfio-mdev I wouldn't ask for a whole web GUI, I'd be happy if I could play around with it editing XML and generating the mediated devices from the command line. Quote Link to comment
Fidelix Posted December 5, 2019 Share Posted December 5, 2019 Indeed, no need for a GUI as this is quite advanced, but please get virgl enabled Quote Link to comment
D'n'S137 Posted April 2, 2020 Share Posted April 2, 2020 I'm at a Point were i need VirtIO GPU otherwise i need new Hardware. Is there a way to activate it without waiting for implementation? Quote Link to comment
djrico20one1 Posted July 18, 2020 Share Posted July 18, 2020 Yes please!!! I'd really love this feature Quote Link to comment
TurkeyPerson Posted July 28, 2020 Share Posted July 28, 2020 Also think this is a great idea - I think a webgui option would be sweet though. By the way, is there some type of sound virtualization that's possible ? Quote Link to comment
ghost82 Posted July 28, 2020 Share Posted July 28, 2020 1 hour ago, TurkeyPerson said: By the way, is there some type of sound virtualization that's possible ? Read this: https://libvirt.org/formatdomain.html#elementsSound Quote Link to comment
mark seaton Posted August 13, 2020 Share Posted August 13, 2020 Better VM Graphics needs to be a priority, i have gone through 4 different computers and 3 different graphic cards all with mixed mostly failed results, and the videos by Spaceinvader and others are out of date and in those videos issues are pointed out that should have been addressed by now, and i have not found a updated list of supported tested hardware ether, the wiki by unraid is very out of date. Unraid is looking less and less of a option for me unless the whole VM issues get fixed/updated 2 Quote Link to comment
testdasi Posted August 13, 2020 Share Posted August 13, 2020 (edited) 5 hours ago, mark seaton said: Better VM Graphics needs to be a priority, i have gone through 4 different computers and 3 different graphic cards all with mixed mostly failed results, and the videos by Spaceinvader and others are out of date and in those videos issues are pointed out that should have been addressed by now, and i have not found a updated list of supported tested hardware ether, the wiki by unraid is very out of date. Unraid is looking less and less of a option for me unless the whole VM issues get fixed/updated This feature request has nothing to do with your problem. Based on your previous post, it's GPU pass-through, which isn't GPU virtualisation. Also, SIO tutorials with regards to pass through are very certainly NOT outdated. While I understand your plight of not being able to get PCIe pass-through to work, I don't think you appreciate the danger of having a "list of supported hardware" when it comes to PCIe pass-through. There are nuances that would be impossible to put in a generic list. For example (just to name some that I know of), Some cards work but only if it isn't initialised at boot Some motherboards don't allow you to change primary display Some motherboards disable onboard graphics if dedicated card is installed Some motherboards (BIOS) + CPU combo just downright don't cooperate with passthrough UEFI boot may or may not initialise display Motherboard BIOS e.g. different BIOS for different vendors may or may not work and there's no way to know in advance without someone actually testing it out Some cards work with quirks if already initialised at boot e.g. reset issue There are workarounds for reset issue but may or may not work Some cards work with special kernel patch e.g. Vega Kernel patch would break other working cards so can't be released with general Unraid release Dumping vbios User cannot dump own vbios and download wrong vbios from TechPowerup Dump vbios incorrectly New hardware / technology / kernel version breaking existing working hardware (or making previously-not-working-hardware work) Plenty of examples with Ryzen BIOS updates Threadripper "dirty patch", PCIe root port patch etc. 10th-gen iGPU can't be passed through but 8th-gen is ok So having a "list of supported hardware" would put the burden and responsibility on LT to provide support for things that would be virtually impossible to support without being physically at the site. A lot to ask for a small team with such cheap product (if you know how much Microsoft and the like charge for that kind of support). Edited August 13, 2020 by testdasi 3 Quote Link to comment
Lee Kim Tatt Posted December 24, 2020 Share Posted December 24, 2020 (edited) Used AMD s7150x2 fall into real deal now (approx CN Yuan$1k), nobody look into how get it done in Unraid? Edited December 24, 2020 by Lee Kim Tatt Quote Link to comment
methanoid Posted January 23, 2021 Share Posted January 23, 2021 Came across a video where a guy compiled QEMU to support Virgl... Didnt look at all complicated!? Would be nice as an option Quote Link to comment
scorcho99 Posted July 9, 2021 Share Posted July 9, 2021 Yeah, we have the GPU drivers built into unraid now so I think we just need QEMU compiled with the right flags? Quote Link to comment
crash987_9 Posted July 14, 2021 Share Posted July 14, 2021 i had made t thread about this here. it is referring to this video youtube - craft computing using proxmox to emulate a GTX9xx to RTX 30xx to visible as a nvidia tesla card. but as proxmox and unraid both use the same emulation software, surely there would be a way to getting unraid to do the same thing. it would be great being able to to have 2 gaming pcs using the same gpu Quote Link to comment
namtr0 Posted September 2, 2021 Share Posted September 2, 2021 This is really needed moving forward, Been a unraid fan for years back before Linus showed everyone the 2 gamers 1 cpu setup. Unfortunately many more application I'm running need gpu access and I don't need 2-8 gaming VMs I just need multiple VMs with GPU assist and compute help. Without making the change I'd have to have dedicated graphics for each, which is over kill. Hyper-v GPU-P is even looking like a solution at this point, but can't run unraid nested on it due to USB issues, so might just have to slowly start moving to proxmox and nest unraid if I decide to keep it. Love ya, but when needs are not being met relationships end PS Spent better part of 20 hours trying to work around to keep unraid with nested esxi or hyper-v but the shared gpu needs to be at host level and nested just doesn't work from what I've tried. Gonna give it some time as I've slowly been plinking away at the proxmox vgpu hack on unraid.... requires a lot more, but still only at the compile drivers part and I'm no expert. note for anyone trying the vgpu github has a 'merged' version of the hack for kernel 5.10 and up Quote Link to comment
tjb_altf4 Posted May 8, 2022 Share Posted May 8, 2022 Proxmox added support for virtio-gl / virGL display driver, results look promising. I saw in Unraid 6.10rc release notes QEMU has been compiled with OpenGL support, but not sure how to check compiled flags to confirm virGL support. 1 4 Quote Link to comment
J Dupont Posted July 25, 2022 Share Posted July 25, 2022 Hello there. I might be resurrecting some old thread, but do we have VGPU support on UnraidOs now ? 🙂 All the best Sincerely Quote Link to comment
Recommended Posts
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.