Sulat.com / Writing on AIWednesday, December 2, 2026
Enter →
Chips/2 December 2026

Nvdriver is an AI-built Rust Linux driver for Nvidia GPUs

QuixiAI's nvdriver is a Rust Linux kernel driver for Nvidia GPUs, built with AI coding agents. On a Tesla V100 it raises the memory clock and measures about 26 percent more bandwidth.

Glossy 3D Nvidia logo on a dark desk beside a datacenter GPU card, a glowing memory clock dial and two code editor windows
Illustration: Sulat, featuring the Nvidia logo

At a glance

  • nvdriver is an MIT-licensed Rust kernel driver that replaces nvidia.ko while Nvidia's userspace runs unchanged.
  • The 26 percent V100 gain is a memory clock raised from 877.5 to 1,107 MHz, and FP32 compute stays flat.
  • Only Tesla V100s have run it on real cards, and one V100-PCIE owner reports the default clock crashes their card.
  • The README calls it clean-room, but the agent rules have the agents decompile Nvidia's binaries.

Eric Hartford’s QuixiAI has released nvdriver, an MIT-licensed Linux kernel driver for Nvidia GPUs that’s written in Rust and was built with AI coding agents. It replaces Nvidia’s own kernel module while Nvidia’s CUDA software runs on top unchanged. On a Tesla V100 it raises the memory clock by about a quarter, and the project measures 26 to 27 percent more memory bandwidth than Nvidia’s driver.

The code is in the QuixiAI/nvdriver repository as version 0.1.0. Tesla V100s are the only hardware it has run on, and one owner has reported that the V100 clock setting it ships with crashes their card.

What it replaces

nvdriver builds as nvidia_rs.ko and takes the place of nvidia.ko, the kernel half of Nvidia’s Linux driver. The README says Nvidia’s userspace libraries run on it unmodified, including libcuda, PyTorch, cuDNN, NCCL, llama.cpp, nvidia-smi and the NVENC and NVDEC video libraries. Nvidia’s stock nvidia-uvm, nvidia-modeset and nvidia-drm modules still load beside it.

Nvidia already publishes the source of its own kernel modules under a dual MIT and GPLv2 licence. Those open modules only support Turing and later GPUs, because they depend on the GPU System Processor that first shipped with Turing. Nvidia’s driver documentation says Volta cards such as the V100, and the Maxwell and Pascal generations before them, stay on the proprietary flavour. nvdriver targets those older cards as well as the Turing-to-Rubin range, in one driver.

Nvidia’s own Rust effort is Nova, which is in the mainline kernel as nova-core and nova-drm. It covers GSP-based GPUs. Engineers from Red Hat and Nvidia described it at the Linux Plumbers Conference as a long-term replacement for Open RM, Nvidia’s open-source resource manager, but not a drop-in one.

The README also lists what it calls Nvidia’s artificial software locks, which nvdriver doesn’t reproduce. They include peer-to-peer transfers between consumer and datacenter cards, Resizable BAR on by default, no cap on concurrent NVENC sessions, no vGPU allowlists, full compute on CMP mining cards, profiling without root, and an opt-in tensor-core switch for RTX 40-series cards. The project describes the table behind that list as disassembly-backed.

Where the 26 percent comes from

The V100 number is a clock setting. Nvidia’s driver holds the V100’s HBM2 memory at 877.5 MHz. nvdriver raises it to 1,107 MHz, the speed Nvidia’s V100S model shipped with, and the README credits the hardware research behind that to arikamidotnet and the FBR-RAM-Downloader project. The ratio of the two clocks is 1.26, and the memory-bound rows in the project’s table land close to it.

BenchmarkNvidia 580.178.04nvdriverChange
STREAM Triad821.85 GB/s1,041.72 GB/s+26.8%
Device-to-device copy819.01 GB/s1,013.65 GB/s+23.8%
llama.cpp prompt processing (pp512)31,067 tok/s34,884 tok/s+12.3%
FP16 tensor-core GEMM97.69 TFLOPS107.17 TFLOPS+9.7%
FP32 GEMM14.18 TFLOPS14.37 TFLOPS+1.3%
The project’s figures from one Tesla V100-SXM2-32GB, with both drivers run in identical virtual machines.

nvdriver also applies a core-clock boost on the V100, up to 1,290 MHz by default, which is why the compute rows move at all. I redid the memory arithmetic. At 877.5 MHz on the V100’s 4,096-bit bus the theoretical bandwidth is 898.6 GB/s, and at 1,107 MHz it’s 1,133.6 GB/s. The measured 821.85 and 1,041.72 GB/s are 91.5 and 91.9 percent of those peaks. The driver isn’t moving data more efficiently. The memory is running faster.

Hand-drawn card: V100 memory clock 877.5 to 1,107 MHz, bandwidth 822 to 1,042 GB/s up 27 percent, FP32 compute up 1 percent
The bandwidth gain tracks the memory clock; FP32 compute stays flat.

Only V100s have run it

The README’s status table marks the Volta row as verified on physical silicon, on a host with eight V100-SXM2-32GB cards. Maxwell and Pascal are listed as awaiting a physical-silicon test. So are Turing, Ampere, Hopper, Ada, Blackwell and Rubin, which have been checked offline against Nvidia’s binaries in an emulator. The project’s known-limitations section says the same: it hasn’t validated any non-Volta or display-attached GPU on real hardware, and that includes gaming cards.

Hand-drawn checklist: Tesla V100 tested on real cards; Maxwell, Pascal, RTX 20 to 50 and A100, H100, Blackwell offline tests only
Only Tesla V100s have run it on real cards.

The default clock doesn’t hold on every V100

An owner of a V100-PCIE-32GB reported in issue 76 that the shipped 1,107 MHz setting gives NaN results and then a GPU hang on their card. At 1,053 MHz it passed a dozen requests and failed on the next one. At 904.5 MHz it ran clean, and at the stock 877.5 MHz it held for six hours. The reporter’s conclusion is that this card has about 3 percent of headroom, not 26. A live write to the clock parameter also left the module impossible to unload, so recovery took a reboot.

The README now carries that report as a note on the clock setting and says results vary by card. The default divider is still the 1,107 MHz one.

How the agents wrote it

The repository carries its agent instructions in AGENTS.md and CLAUDE.md. AGENTS.md sets a seven-step loop. The agents map a subsystem, decompile and disassemble the matching function in Nvidia’s 580.178.04 driver with reverse-engineering tools, write it in Rust, and check it bit for bit against the original code running in the Unicorn CPU emulator. They then record the real driver’s behaviour on a physical card and replay it against nvdriver in disposable VFIO virtual machines.

The README calls the result clean-room. The agent rules tell the agents to read Nvidia’s original binaries, and the build in issue 76 uses a firmware pack made from Nvidia’s nv-kernel.o_binary. Clean-room work normally keeps the people writing the new code away from the original, so the label and the method are two different things.

The repository also disagrees with itself on how finished the driver is. Its reports/parity-ledger.json still says completion_proven is false against an objective of proven full parity with the 580.178.04 driver, and a README.txt left in the tree says it isn’t yet a functional GPU or CUDA driver. The README and the v0.1.0 release notes report 77 of 77 CUDA parity checks and the eight-card V100 runs as passing.

What it means

The headline that an AI-written driver beats Nvidia’s holds for memory-bound work on one card model, where it runs a clock Nvidia’s driver doesn’t. V100 owners get a way to try faster memory today, and each card needs its own stability test before anything depends on it. For newer GPUs, Nvidia’s open modules and Nova remain the supported routes. Nvidia hasn’t commented on nvdriver in anything I found.

How I checked

I read the nvdriver README, AGENTS.md, parity documents, release notes and issue 76, along with Nvidia’s open kernel module documentation and the Nova talk and kernel pages. I redid the bandwidth arithmetic from the clocks and the bus width. I haven’t built or run nvdriver, because it needs a Tesla V100 and loads a kernel module.