by RamRodification · 5y ago · 0 comments
Hasn't this been solved for some time now? Or am I misunderstanding what you want? I remember seeing a few articles about using this for gaming on Windows VMs on Linux hosts. I haven't jumped in though so maybe it's not what I think it is.
https://wiki.gentoo.org/wiki/GPU_passthrough_with_libvirt_qe...
I think it's also definitely in use for compute stuff on VMs in professional environments.
https://docs.microsoft.com/en-us/windows-server/virtualizati...
Edit: Ah, maybe sharing a GPU between a host and VMs isn't possible at the moment. Only pass-through and maybe sharing between the VMs?
Sharing a used GPU, in the same way we can share a CPU with no performance loss via Intel Hyper v, is not possible.
Running it in Windows (host) I have a lower score than I get in VMWare running Ubuntu (guest).
And for PCIe VFs for virtualized GPUs, AMD does _not_ provide it either outside of their datacenter line.
Note that if you just passthrough the whole GPU, that works out of the box on NVIDIA cards.
(btw, for some NV cards, there is: https://github.com/DualCoder/vgpu_unlock to crack that protection)
Which AMD GPUs support VFs? Which ones support ROCm? The older AMD consumer GPUs did, but the newer ones don't. They prefer to charge extra for the data center GPUs just like Nvidia.