Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs g...
HN Best 200 @best
Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs github.com · 178 points · 142 comments · HN thread
TL;DR nvdriver is a new open-source Rust kernel driver (nvidia_rs.ko) for NVIDIA GPUs, presented as a drop-in replacement for NVIDIA's proprietary Linux kernel module that works with unmodified CUDA and other userspace. The author claims it removes artificial software locks, adds HBM2 clock and boost unlocks on Tesla V100 cards, and matches or beats stock 580.178.04 on an 8x V100 test rig, though most non-Volta GPU support is untested on hardware. The thread mostly disputes the 'clean-room' label, since the repo's own guidelines describe decompiling the original driver, and is skeptical of the LLM-written README and the unverified claims.
- Rust #![no_std] driver that claims compatibility with unmodified libcuda, nvidia-smi, PyTorch, NCCL, llama.cpp, and stock nvidia-uvm/nvidia-modeset/nvidia-drm modules via CONFIG_MODVERSIONS bridges.
- Claims to remove NVIDIA restrictions such as P2P/BAR1 gating, unrestricted NVENC sessions, CMP mining-card compute unlocks, and vGPU/SR-IOV licensing checks.
- On Tesla V100 (GV100), raises HBM2 clock from the stock 877.5 MHz to 1107 MHz, claiming about 1,041 GB/s per card and 8.33 TB/s across eight cards, with dynamic P0 boost to 1290 MHz by default.
- Benchmarks versus stock 580.178.04 on 8x V100-SXM2-32GB report up to +26.8% STREAM Triad and +12.3% llama.cpp prompt eval, with about 0.0 max error in an NCCL AllReduce test.
- Only Volta is verified on physical silicon; Maxwell, Pascal, Turing through Blackwell and Rubin are described as verified offline only, and Tegra/Jetson is not supported.
- The project is a single-author repo with about 40 commits, and the author invites issues and testing on other hardware.
Discussion The thread is split between technical interest in the V100 unlocks and skepticism about the project's legitimacy. Commenters with GPU driver experience question how a reimplementation could capture undocumented hardware tuning, and many dispute the 'clean-room' label because the repo's AGENTS.md describes decompiling the proprietary driver and turning it into Rust. A parallel debate covers whether LLM-assisted work can be clean-room at all and what copyright implies for AI training. The owner of an 8x V100 server and a Pascal-card user express real interest, while several others say the README reads like generated slop and want independent testing before trusting the numbers. The mood is mixed: curious and hopeful about old data-centre GPUs, but wary of the legal framing and the claims.
- 'Clean-room' label is wrong; decompiling and reimplementing is not clean-room (most): Many commenters argue the project's own guidelines call for decompiling and analyzing the proprietary driver before rewriting it, which is the opposite of clean-room separation. Some cite the original clean-room definition requiring separate teams.
- Interest in V100 memory and clock unlocks for existing hardware (many): Owners of V100 and GV100 cards welcome the HBM2 clock increase and boost unlock as a way to get more out of older data-centre GPUs, and are curious about NVLink bridge use.
- LLM-written README and unverified benchmarks are a red flag (many): Several readers find the README dense, generated-looking, and hard to read, and doubt the performance numbers until third parties reproduce them.
- Legal risk is real but the stakes are unclear, given AI training precedent (some): Commenters debate whether LLM training on NVIDIA code or binaries could expose the project to infringement claims, and note that the legal status of AI-generated code is unsettled.
- Open-source drivers could lower cloud compute costs for old GPUs (a few): A few expect the project to make datacenter and rental compute cheaper by removing proprietary-driver limits on consumer and older cards, though others expect consumer GPU prices to rise.
- Dismissive of the project as vibe-coded (a few): A minority dismisses the repo as obvious vibe-coded slop and says they would not read it, though others note this is a common way to start new projects.
Links from the comments
- AGENTS.md file that commenters cite as describing decompilation of the proprietary driver, central to the clean-room dispute.
- ReactOS IP guideline, cited as an example of a project that accepts reverse engineering in its contribution terms.
- Nouveau open-source NVIDIA driver project, suggested by a commenter as the place to contribute instead.