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?

  • Sailing7@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    Currently I simply dont.

    On Xenn you should be capable with the correct drivers to put a couple of virtual GPU Profiles on your VMs to use.

    On Hyper-V there is a command out there, but I don’t know if its a dedicated access or if you are capable of sharing it across multiple instances.

    On Proxmox though? Not sure but i think it was possible to forward it to a VM but thats all. Just dedicated acces afaik.

  • spaghetti_carbanana@krabb.org
    link
    fedilink
    arrow-up
    4
    ·
    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.