October 30, 20169 yr Hi all, I am installing a VM solution for my office and am wondering if unRAID supports multiple VMs per GPU. My system has a GTX1060 with 3 displayport outputs and 3 monitors attached. Is setting up one VM per monitor possible? Or would I be limited to only one VM per GPU. Thanks
October 30, 20169 yr Community Expert No - this would not work as if you want to use a GPU directly in a VM you have to pass the whole GPU though to the VM. You cannot split a GPU between VM's in the way you describe.
October 30, 20169 yr However... I have not tested this, so I don't know for sure if it will work, but theoretically you could have hardware passthrough with 1 VM controlling all 3 screens, then open up RDP sessions to two other VM's in the primary VM and full screen them to the other 2 monitors. Only the first VM would have the benefit of full GPU acceleration, but that might work if you don't use apps that need it. If, on the other hand, you expect to allow 3 people to access the single machine at once locally, I can't think of a way to do that. Your question was not clear to me what you expected, so the answer is both no and maybe, depending on your performance and usage requirements. I personally would find it useful to have a "host" VM with 1 OS and 2 full screen "guest" VM's with different OS's available. If that is not your requirement, then no, you can't do it, unless someone has a way to assign a local keyboard and mouse to exclusively control a VNC or RDP session without accessing the host VM.
October 31, 20169 yr Author Thanks for your prompt replies and suggestions. Sorry for not giving elaborate detail on my inquiry, however from your responses it seems clear that I cannot use unRAID as the OS for my configuration. Maybe it would be an idea to incorporate the support for having 3 localised VMs running simultaneously through one GPU somewhere in the future.
October 31, 20169 yr Thanks for your prompt replies and suggestions. Sorry for not giving elaborate detail on my inquiry, however from your responses it seems clear that I cannot use unRAID as the OS for my configuration. Maybe it would be an idea to incorporate the support for having 3 localised VMs running simultaneously through one GPU somewhere in the future. Unfortunately that's not under unraids control. The virtualization technology in use is not proprietary, it's open source KVM, with a very nice custom frontend. Your usage of splitting a single card to 3 different OSes isn't something I've even seen discussed, so it's unlikely to happen anytime soon.
October 31, 20169 yr Is this even possible with other hypervisors. I don't remember this possible with esxi. Sent from my Nexus 6 using Tapatalk
October 31, 20169 yr It's possible with XenDesktop and VMware Horizon. See NVIDIA GRID. Though it may only work with the Tesla line of addin cards ($$$$$), and probably not consumer grade cards.
November 1, 20169 yr At the very least, it works with those Tesla GPUs because they are multiple independent GPUs on a single card. The only way to do this with a single dedicated GPU is to virtualize the GPU the way a desktop VM application does, presenting a false GPU with virtual acceleration capability to the VM, and forwarding everything to the host. This also requires the hypervisor to have full GPU acceleration drivers. It would not require a full desktop environment, only full screen presentation on attached monitors, but it would still put a heavy burden on the hypervisor, though.
November 1, 20169 yr However... I have not tested this, so I don't know for sure if it will work, but theoretically you could have hardware passthrough with 1 VM controlling all 3 screens, then open up RDP sessions to two other VM's in the primary VM and full screen them to the other 2 monitors. Only the first VM would have the benefit of full GPU acceleration, but that might work if you don't use apps that need it. I do this all the time -- works fine but none of the stuff I'm using the other RDP VMs for is overly demanding. If, on the other hand, you expect to allow 3 people to access the single machine at once locally, I can't think of a way to do that. In theory this might be possible-- years back (pre-Windows 8 release)-- I was looking for the ability to have one computer with multiple independent input devices. I was able to find some buggy software that would do it but it was too unstable to use. There were a few people working on software for that and rumors that it would be part of Windows 8 -- which it wasn't. I gave up but now that it is several years later possibly it exists.
November 1, 20169 yr Though it may only work with the Tesla line of addin cards ($$$$$), and probably not consumer grade cards. So far as I am aware this is the case. Nvidia's Grid only works with certain datacenter GPUs and requires special software + licences to use (I think). At the very least, it works with those Tesla GPUs because they are multiple independent GPUs on a single card. The only way to do this with a single dedicated GPU is to virtualize the GPU the way a desktop VM application does, presenting a false GPU with virtual acceleration capability to the VM, and forwarding everything to the host. This also requires the hypervisor to have full GPU acceleration drivers. It would not require a full desktop environment, only full screen presentation on attached monitors, but it would still put a heavy burden on the hypervisor, though. I believe Nvidia Grid technology actually presents hardware accelerated virtual GPUs to VMs. I think they claim 16 users per physical GPU.
Archived
This topic is now archived and is closed to further replies.