← Saturday, September 26, 2026Performance & OSDeep dive

Virtio-nvgpu gives KVM guests near-native NVIDIA GPU access

github.com 12 min read Editor score 8/10

Preview image for Virtio-nvgpu gives KVM guests near-native NVIDIA GPU access

Virtio-nvgpu forwards NVIDIA driver ioctls across the VM boundary, letting a guest use the unmodified user-mode drivers; reported rendering is within 2% of bare metal. This is a useful design for GPU-backed workloads that need isolation without paying much virtualization overhead.

What
- virtio-nvgpu forwards NVIDIA kernel-driver ioctls between a Linux guest and host at the driver ABI level for near-native GPU access.
How
- The guest runs unmodified NVIDIA user-mode drivers, which submit through mapped host memory without forwarding each render-loop operation.
Why it matters
- It enables GPU rendering and encoding inside headless VMs, with frame times within 2% of bare metal above about 2 ms per frame.
submits renders frames encodes Linux guest NVIDIA user-modedrivers GPU capture layer compressed video
A guest's rendering path uses the GPU to produce encoded video for streaming. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.