Clean-room Rust driver for Nvidia GPUs claims unlocked P2P and V100 bandwidth
QuixiAI has published nvdriver (nvidia_rs.ko) on GitHub, a clean-room, open-source Linux kernel driver for Nvidia GPUs written in Rust. The project says it works with unmodified Nvidia userspace — CUDA, PyTorch, cuDNN, NCCL, llama.cpp, nvidia-smi, NVENC/NVDEC — and with the stock companion modules, while removing restrictions the closed driver enforces: PCIe and BAR1 peer-to-peer transfers, Resizable BAR1 on by default, GPUDirect RDMA, unlimited NVENC sessions, and vGPU without licensing checks. On Tesla V100 cards it raises HBM2 memory clocks from 877.5 MHz to 1107 MHz, which the author measures as about 26% more memory bandwidth (1,041.7 GB/s per card) and a 9.7% gain on a large FP16 matrix multiply. The author reports testing on 8 physical V100-SXM2-32GB cards against Nvidia's 580.178.04 driver, passing 77 of 77 parity checks; Maxwell, Pascal and Turing-through-Rubin support is implemented but only verified offline, not on real hardware. It builds for x86_64 and ARM64, needs kernel headers and a Rust toolchain, and does not support Jetson integrated chips. The overclocking and unlock features carry stability and legal risk, and no independent party has reproduced the results.
Nvidia already publishes open-gpu-kernel-modules, but that code is built around the company's GSP firmware and still pairs with proprietary userspace; Nouveau, the long-standing community driver, was largely reverse-engineered. nvdriver takes a third route: a clean-room Rust kernel module that keeps Nvidia's own userspace libraries and companion modules unchanged, so CUDA and PyTorch run as-is while the driver itself is rewritten. The project says it has been tested on 8× Tesla V100 cards against Nvidia's 580.178.04 driver, but its Maxwell, Pascal and Turing-to-Blackwell support has only been verified offline, not on physical hardware.
Only the 8× Tesla V100-SXM2-32GB configuration has been run on physical silicon; the project itself says Maxwell, Pascal, and Turing-through-Rubin support is verified only offline and awaits real hardware. Anyone planning to deploy it should first confirm their exact card and kernel version, since the driver needs matching kernel headers, a Rust toolchain, and the existing NVIDIA userspace libraries. The HBM2 overclock and the removal of NVIDIA's product-tier gates (P2P, NVENC session limits, vGPU) are vendor claims with no independent reproduction yet, and they may conflict with NVIDIA's licensing terms, so treat them as experimental rather than production-ready.
A former AMD GPU driver engineer questioned how a clean-room driver could work at all, noting that closed drivers depend on undocumented per-chip settings whose effects only surface in long chains of operations. One commenter with an 8× GV100 server said the card's limitations had been painful and welcomed the release, while another argued the remaining proprietary part of Nvidia's stack is the userspace, not the kernel driver, and asked how this differs from Nvidia's own open kernel modules.