News 3 min read

Nvdriver: an open-source Rust Linux kernel driver for Nvidia GPUs


Nvdriver, an open-source Linux kernel driver for Nvidia GPUs written in Rust, drew more than 800 points on Hacker News on November 30, 2026. Published by the QuixiAI organisation on GitHub under the MIT license, it aims to be a drop-in replacement for Nvidia’s proprietary kernel module that runs Nvidia’s own CUDA libraries unchanged, while removing what it calls artificial software locks in Nvidia’s closed driver. So far its authors say it has been tested on real hardware only on Tesla V100 GPUs; every other generation is verified only in emulation.

What’s new

From the nvdriver README. The numbers below are the project’s own claims; nobody outside it has published independent tests yet.

  • A replacement kernel module: the driver builds as nvidia_rs.ko, with a #![no_std] Rust core linked into a small C shim. The project says it works with unmodified Nvidia userspace: libcuda.so, nvidia-smi, cuDNN, NCCL, PyTorch, llama.cpp and the NVENC/NVDEC video libraries.
  • Locks removed: the README lists PCIe peer-to-peer transfers across consumer and datacenter cards, Resizable BAR on by default, GPUDirect RDMA, unlimited NVENC sessions, full compute on Nvidia’s CMP mining cards, profiling without root, and vGPU/SR-IOV “without CPUID or GRID licensing timers”.
  • V100 memory overclock: on Tesla V100 cards it raises the HBM2 memory clock from 877.5 MHz to 1107 MHz, the factory clock of the V100S, which the authors credit to earlier hardware research by other developers. They report 1,041.7 GB/s of memory bandwidth per card in a STREAM Triad test, against 821.85 GB/s on Nvidia’s 580.178.04 driver.
  • Other V100 results it reports: 77 of 77 checks in its CUDA parity suite, 9.7% faster FP16 matrix multiplication and 12.3% faster llama.cpp prompt processing than the stock driver, plus NVLink, suspend and resume and recovery from GPU faults.
  • Platforms: x86_64 and ARM64 Linux with discrete PCIe GPUs. Tegra chips such as Jetson Orin and Thor are not supported.

Which GPUs work

Generation Example GPUs Status, per the README
Volta Tesla V100, Titan V Tested on 8× V100-SXM2-32GB
Maxwell, Pascal GTX 750 to 1080 Ti, Tesla P40 Verified offline, not on real cards
Turing to Rubin RTX 20 to 50 series, A100, H100, B200 Verified offline, not on real cards

The newer generations run Nvidia’s GSP firmware, and the driver talks to it the way Nvidia’s own driver does. “Verified offline” means the code was checked against emulated hardware, not run on a real card.

What it means for developers

  • Most people should wait. Unless you run V100s, nvdriver has not been tried on your GPU. Replacing a kernel driver can leave a machine without a working display or compute stack, so test it on a spare machine or in a VM with the GPU passed through, which is how the authors ran their own comparisons.
  • Trying it: you need kernel headers, a Rust toolchain with the x86_64-unknown-none (or aarch64-unknown-none) target and Nvidia’s userspace libraries already installed. The README builds and tests the driver with sh tools/validate_all.sh and installs it with ./install.sh, which supports Secure Boot signing.
  • Licensing questions: the repo calls the driver “clean-room”, but the first comment on the Hacker News thread asked how a project built with LLMs can claim that; the repository includes CLAUDE.md and AGENTS.md files for AI coding agents. The README says its unlocks come from reverse-engineering notes and disassembly. Turning on vGPU without Nvidia’s licensing, or running cards outside their tested clocks, may break the terms you bought the hardware or software under, and overclocking can void warranties. Check before using it on anything you depend on.

How it compares

Nvidia’s own open GPU kernel modules are open source too, but they work only on Turing and later GPUs. Nvdriver targets both the older Maxwell, Pascal and Volta cards and the newer ones, and drops the restrictions its README lists. It is also separate from the open-source drivers in the Linux kernel itself: the README doesn’t compare itself with them.

For more on Nvidia this month, see our posts on its Vera Rubin MLPerf results and its third-quarter earnings.

Sources