Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest
Unofficial Hacker News client; not affiliated with Y Combinator.
mjg59 · · focus · HN ↗
orphereus · · focus · HN ↗
WanjohiRyan · · focus · HN ↗
It works really well with a ~2% performance penalty. Nvproxy by google/gvisor has been doing this for years.
You should try running it yourself and see how it goes :D
rwmj · · focus · HN ↗
WanjohiRyan · · focus · HN ↗
However, nvgpu is meant to be used in PCI passthrough in scenarios where you would want to run and share your GPU across multiple KVM guests, or you don't want to detach the GPU from the host, and plug it into the VM you are running... you know, that little dance you do everytime you want to game inside a VM.
exceptione · · focus · HN ↗
halfcat · · focus · HN ↗
But the NVIDIA dGPU is muxless, so apparently all of the display outputs (laptop screen, HDMI outputs) are effectively hard wired to the iGPU. dGPU can render in a VM, it just has no where it can send it without trying to use Looking Glass or similar approach.