this post was submitted on 28 Nov 2024
22 points (100.0% liked)

homelab

6668 readers
2 users here now

founded 4 years ago
MODERATORS
 

HyperV has GPU para virtualization

But for qemu,kvm,xen it seems like the best option is to passthrough a GPU to a single VM, unless the GPU supports srvio, which almost all of the retail cards don't.

I head about the woof and gaming on whales project, and they seem to get around this by using only containers for the subdivision.

What methods or options have you used to share a GPU with your VMs?

you are viewing a single comment's thread
view the rest of the comments
[–] spaghetti_carbanana@krabb.org 4 points 6 days ago

I'm looking into ways to get vGPU to work on VMware with the NVIDIA Tesla series, but as far as retail cards go, you will be hamstrung by the SR-IOV support and lack (or rarity) thereof.

For now I just use some low end Quadro GPUs passed through to VMs running docker, which then carves them up on a per-container basis.

Microsoft has GPU-P as you found, which is in Hyper-V on Windows 11 (maybe 10) and Windows Server 2025 and I believe works on retail cards.

For Proxmox, you have the vgpu-unlock script which will work for some consumer NVIDIA GPUs. I've heard of ways of getting this to work on xcp-ng as well.