Someone Rewrote the Nvidia GPU Driver in Rust and CUDA Still Runs. The Catch

5 min read

If you run Nvidia GPUs on Linux, you use Nvidia's closed kernel driver, or the open kernel modules Nvidia ships for newer cards. A new project called nvdriver says there is a third option: a kernel driver written from scratch in Rust that your existing CUDA, PyTorch and llama.cpp setup can run on without changes.

It hit the top of Hacker News on November 30, 2026 with over 600 points, and the GitHub repo passed 1,100 stars three days after it was created. The project is real and the engineering is serious. The headline speed numbers need one big asterisk, and we will get to it.

What nvdriver is

nvdriver is a Linux kernel module called nvidia_rs.ko. Its core is written in no_std Rust (Rust without the standard library, which is what kernel code needs) and linked into a small C shim that the Linux kernel loads.

It only replaces the kernel part of the Nvidia stack. Everything above it stays Nvidia's own code:

  • libcuda.so, the CUDA runtime your programs call
  • nvidia-smi and the NVML monitoring library
  • PyTorch, cuDNN, NCCL and llama.cpp

Think of the kernel driver as the translator between those libraries and the physical card. nvdriver swaps the translator and promises the libraries will not notice. It was tagged version 0.1.0 on November 29, 2026, under the QuixiAI GitHub account. News reports name Eric Hartford as the developer.

How it was built

The project describes itself as clean-room, meaning the authors say they did not copy Nvidia's source. That is the developer's own description, not a legal finding. Per Frandroid's account of the repo, its agent rules tell AI agents to disassemble each function of Nvidia's 580.178.04 driver with Ghidra, connected through MCP, then write a matching Rust version. The repo ships an AGENTS.md and a CLAUDE.md for exactly this kind of agent workflow.

So this is also a case study in using coding agents for reverse engineering at kernel scale, not just a driver.

What it claims to unlock

The README lists features Nvidia's closed driver limits by product tier. A few that matter for ML people:

  • PCIe peer-to-peer between GPUs on consumer cards, so two GeForce cards can copy memory directly instead of going through the CPU
  • Resizable BAR on by default, so the CPU can see all of the GPU's memory at once
  • Profiling without root, so tools like nsys and ncu run as a normal user
  • Full compute on CMP mining cards, which Nvidia sold with compute limits

The catch: what has actually been tested

Here is the part to read twice. The only hardware the project reports as verified is one machine with eight Tesla V100-SXM2-32GB cards. Maxwell, Pascal, Turing, Ampere, Hopper, Ada, Blackwell and Rubin support is implemented and checked offline only, and the README says so in its own limitations list. Nobody has run a display or a game on it yet, so for a GeForce owner it is still a curiosity.

On that V100 machine, the README reports these numbers against Nvidia's 580.178.04 driver:

TestNvidia drivernvdriver
PyTorch STREAM Triad (memory bandwidth)821.85 GB/s1,041.72 GB/s
FP16 Tensor Core matrix multiply97.69 TFLOPS107.17 TFLOPS
llama.cpp prompt processing31,067 tok/s34,884 tok/s

Now the asterisk. By default nvdriver raises the V100's memory clock from Nvidia's 877.5 MHz to 1,107 MHz, the speed the later V100S shipped with. Memory bandwidth goes up roughly in step with memory clock, so most of that 27% bandwidth gain is an overclock, not better driver code. Hardware Busters pointed out that the release does not include a run with the memory left at stock, and that is the comparison that would actually test the driver itself.

Things that look like true parity, where the clock does not help: PCIe transfers matched Nvidia exactly (12.40 vs 12.39 GB/s host to device), and CUDA graph replay came in at 95% of Nvidia's speed. The project also reports passing 77 of 77 checks in its CUDA parity suite.

Should you install it?

Not on a machine you care about, yet. It is v0.1, it changes clocks by default, and only one GPU family has touched real silicon. The project itself gives you a safe path: a VFIO test harness that runs the driver inside a throwaway virtual machine with a GPU passed through.

If you have old V100s, which were left out of Nvidia's open kernel modules, this is the group it helps first. If you have an RTX card, watch the repo for real hardware reports before trying it.

Why engineers should care anyway

Two reasons. First, it shows how much of what a GPU can do is decided in software, and it documents those locks in public. Second, it is one of the biggest public examples so far of agents doing reverse engineering plus systems code, with a test suite deciding what counts as working. Whether or not nvdriver becomes a daily driver, that workflow is going to show up in a lot more projects.

Sources