▲ 913 today6.4k starsRustNew · 7d old
Rust-based NVIDIA driver aims to replace proprietary kernel module
What is nvdriver?
nvdriver is a clean-room, open-source Linux kernel driver for NVIDIA GPUs written in Rust without the standard library. It works as a drop-in replacement for NVIDIA’s closed driver, supporting CUDA, Vulkan, OpenGL and desktop video output with existing user-space tools.
Who it is for
Linux developers and AI researchers who need a driver without vendor lock-in can use it to run CUDA workloads on Nvidia GPUs without the proprietary stack.
How nvdriver works
The driver is written in Rust without the standard library and linked to a tiny C shim that talks to the Linux kernel ABI.,It implements the same kernel interfaces that the proprietary NVIDIA driver uses, handling PCI, MMU, GSP RM boot and exposing NVML, UVM and DRM hooks.,Separate kernel modules provide modeset, DRM and peer memory support while version aware bridges let the existing NVIDIA user space libraries load unchanged.,The build targets both x86_64 and aarch64, inserting explicit DMA cache synchronisation for ARM boards.,All code is compiled with strict ABI hygiene: no GOT relocations, no SIMD, small stack frames and compatibility flags for recent kernels.
What you can do with it
- Run the stock nvidia-smi tool to monitor temperature, power and clocks.
- Execute PyTorch or cuDNN workloads without modifying the CUDA libraries.
- Use Vulkan or OpenGL applications for hardware accelerated rendering.
- Enable live HBM2 overclocking on a Tesla V100 with a module parameter.
Good to know
- Only a subset of newer GPUs have full support; many series are marked as offline or partially implemented.
- Video output via KMS/DRM is not available on cards without physical connectors or where display scaffolding is still incomplete.
- The driver runs only on Linux kernels 5.15 to 7.0+ and supports x86_64 and aarch64, so it cannot be used on other operating systems.
Written from the project's own README.
Try it in 60 seconds
You need: Linux system with a supported NVIDIA GPU and kernel headers
No one-line install. The README has the setup steps.
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted nvdriver/nvdriver on December 4, 2026, when it had 6.4k GitHub stars. It now has 6.4k. On its busiest day it gained 913 stars. The project is 7 days old and written mainly in Rust. Early Signal files it under Inference, Video, LLMs.
Questions about nvdriver
- What do I need to run nvdriver?
- Linux system with a supported NVIDIA GPU and kernel headers