# A KVM guest runs NVIDIA GPUs within 2% of bare metal

Original title: Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest

> Hacker News story 49824864 · language: en · submitted 2026-09-24
> Web version: https://zeli.app/story/49824864
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 152 · by [WanjohiRyan](<https://news.ycombinator.com/user?id=WanjohiRyan>) · 💬 65
[original](<https://github.com/nestrilabs/virtio-nvgpu>) · [HN discussion](<https://news.ycombinator.com/item?id=49824864>)

## Summary

virtio-nvgpu forwards NVIDIA kernel driver ioctls between a Linux guest and host at the driver ABI level, letting the guest run NVIDIA's own user-mode drivers unmodified. Benchmarks on an RTX 3060 show a guest renders within 2% of bare metal for frames above 2 ms, uses the same CPU, and four guests share one card evenly at 103.7 fps combined. The target is headless streaming: render, composite, and encode entirely on the GPU inside the guest.

## Key quote

> A guest costs what the host costs.

## HN discussion (65 comments)

### [vsviridov](<https://news.ycombinator.com/item?id=49827341>)

> Can this be used with proxmox?

### [mjg59](<https://news.ycombinator.com/item?id=49826881>)

> Hrm, something of a lack of discussion about what level of access the card has to the host in the absence of IOMMU-restricted passthrough.

### [mcmatterson](<https://news.ycombinator.com/item?id=49825378>)

> Amazing project! But man, that README is just a textbook example of LLM word salad. It's wild how these tools are so incredibly capable at many things, but their writing sticks out like a sore thumb

### [orphereus](<https://news.ycombinator.com/item?id=49826534>)

> Why not use normal GPU passthrough? I don't see how you can use this to share a GPU between multiple VMs, so what is the benefit of using this software over normal GPU passthrough with vfio-pci drivers?

### [markasoftware](<https://news.ycombinator.com/item?id=49825552>)

> How is this different than gVisor's nvproxy? https://gvisor.dev/docs/user_guide/gpu/#compatibility
>
> Edit: nvproxy is mentioned as the "direct inspiration" in the readme without mention of how this is different or why it doesn't use nvproxy as a backend.

---

## Cite

- Page: https://zeli.app/story/49824864
- Date: 2026-09-24
- Source: github.com (https://github.com/nestrilabs/virtio-nvgpu)
- Hacker News: https://news.ycombinator.com/item?id=49824864

## Other languages

- zh: https://zeli.app/zh/story/49824864 · markdown: https://zeli.app/zh/story/49824864.md
- ja: https://zeli.app/ja/story/49824864 · markdown: https://zeli.app/ja/story/49824864.md
- ko: https://zeli.app/ko/story/49824864 · markdown: https://zeli.app/ko/story/49824864.md
- de: https://zeli.app/de/story/49824864 · markdown: https://zeli.app/de/story/49824864.md
- es: https://zeli.app/es/story/49824864 · markdown: https://zeli.app/es/story/49824864.md
- ru: https://zeli.app/ru/story/49824864 · markdown: https://zeli.app/ru/story/49824864.md
