Show HN

nvkvm-pv

by @reindertpelsma

CUDA/graphics in QEMU-KVM VMs without passing the Nvidia card to them Hi HN. I built this because I wanted a VM with a real GeForce GPU without losing the card on my desktop. It allows you to run CUDA and graphics in VMs without VFIO/vGPU by forwarding the NVIDIA driver's own ioctl surface from the guest to the host. That means stock libcuda and real Vulkan ICD run in the guest - no CUDA/Vulkan API remoting or translation. Display, LLM, CUDA, headless supported. Your desktop keeps using the same card, multiple VMs supported. Happy to go into the details of the architecture.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app