Clean-room Rust driver unlocks 26% more bandwidth on Nvidia's Tesla V100

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs that runs unmodified CUDA, PyTorch, and nvidia-smi while stripping out the software locks in Nvidia's closed driver. It enables PCIe and BAR1 peer-to-peer, Resizable BAR, unrestricted NVENC, and vGPU without licensing gates. On eight Tesla V100 cards it raises HBM2 clocks to V100S spec, pushing aggregate bandwidth to 8.33 TB/s and beating the proprietary driver by roughly 26%.

It works out of the box with unmodified NVIDIA userspace and unmodified stock companion modules, without reproducing the artificial software locks NVIDIA ships in its closed driver.
  1. diydsp

    Having worked briefly on GPU drivers (amd ex-ati) I'm curious how this can be done. There were myriad details inside that code that related directly to particular controls deep in the basics (micro cache enables, chicken bits, N-1 toggles, memory access radices, etc). Many of them were set once, not dynamically. And clearly not documented anywhere outside HQ. And almost none had a visible effect...until a long chain of operations caused a fantastic crash, or trivial one. Experienced people spent months with the manual, fancy tooling, and the hdl and the designers downstairs to get it shippable and then time was spent after shipping.

    I would say you can scan 100s of games to see how they operate the hw...but many games have individual engs assigned to work w game devs to hash out configs down long trees of operations... this feels like learning Chinese with almost no feedback. There are so many parts/corners of the internals that get manipulated.

    I could see moving from "one clone of every apps' code" to "common parts distilled," but what are the chances it could be reliable with code it hasn't been trained on that uses a novel feature?

  2. mootothemax

    All of my Christmases have come at once!

    A while back I built up a 4u supermicro system with 8x GV100 32GB cards in it, plus a bunch of power, RAM and disk.

    It is the single noisiest server I've ever encountered. Even by server standards, it sounds monsterous, and I feel sorry for my neighbours sitting inside other buildings when it's first starting up.

    Noise aside, it's been an absolute blast to test and experiment with, but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear. I will report back... eventually.

  3. zokier

    We already had one 1st party nvidia kernel driver here: https://github.com/NVIDIA/open-gpu-kernel-modules

    Whats the difference? I thought the remaining proprietary bits were the userland part, not the kernel driver?

  4. faldore

    Eric Hartford (QuixiAI) here, author of nvdriver. Happy to answer any questions.

  5. ttul

    Frontier LLMs are extremely good at hill-climbing tasks like this, where the outcome is fully measurable (e.g. full parity with an existing kernel module’s behavior and interface).

    For the last week, I’ve had a swarm of agents working on a new Rust back-end for T3 Code. It reached full parity quite rapidly and the last ten days have been spent finishing off the edge cases that are encountered rarely in real use. The Rust version loads 22x faster, uses 11x less RAM, and blows away the Typescript original (already no slouch) on nearly every metric.

    But, toppling Nvidia’s ivory tower? That’s impressive AND useful!

  6. coldblues

    Lots of peeps in this thread talking about the legality of clean-room.

    I'm a proponent for abolishing intellectual property altogether.

    https://cdn.mises.org/Against%20Intellectual%20Property_2.pd...

  7. pak9rabid

    Ah man, I would absolutely love something like this that could power older nvidia GPUs as well (say the Curie architecture found in older models like the 7700 Go) so that I could have a driver available that could compile against modern Linux kernels. I know there's Nouveau, but that won't run the GPU at it's full potential unfortunately.

    As it is now I'm stuck running an ancient version of Kubuntu because I need the older kernel ABI that can interface with the legacy nvidia driver.

  8. mattr03

    Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?

  9. MitPitt

    Proprietary drivers were a problem for running consumer-tier Nvidia GPUs (like RTX series) in datacenters. Open-source drivers will make renting compute cheaper, hopefully.

  10. markhermeling

    Neat. Lots of 'unsafe' hardware access in this. Always makes me wonder if Rust should look into something like Representation Clauses like in Ada.

    https://learn.adacore.com/courses/advanced-ada/parts/data_ty...

    It would allow for compiler level protection from writing wrong data into a register.

    Anybody know if that is planned for Rust.

More from this day

2026-11-30