Nvdriver (nvidia_rs.ko) is an open-source, clean-room Linux kernel driver for Nvidia GPUs written in Rust, designed to serve as a drop-in replacement for Nvidia’s proprietary kernel driver. According to its GitHub repository, the driver maintains full compatibility with unmodified Nvidia userspace tools including CUDA, PyTorch, cuDNN, NCCL, llama.cpp, and nvidia-smi, while also working with unmodified companion kernel modules.

The driver removes artificial software restrictions present in Nvidia’s closed driver. This enables features that Nvidia typically gates behind product tiers or licensing: PCIe and Dynamic BAR1 peer-to-peer communication, Resizable BAR1 by default, GPUDirect RDMA, unrestricted NVENC sessions, vGPU and SR-IOV without licensing timers, and native support for older GPU architectures including Maxwell, Pascal, and Volta alongside modern Turing through Rubin generations.
On Tesla V100 (GV100) cards, nvdriver unlocks HBM2 memory clocks to 1107 MHz—the V100S factory specification—from the stock 877.5 MHz cap. According to benchmarks included in the repository, this yields a 26.2% increase in memory bandwidth, reaching 1,041.7 GB/s per card. Across eight V100 GPUs, this totals 8.33 TB/s aggregate bandwidth. The driver also enables dynamic P0 boost at 1290 MHz for all chips and up to 1425 MHz for select units, with live runtime-writable clock controls and automatic error rollback.
The driver exposes live hardware telemetry through Linux hwmon sensors and NVML interfaces, supporting tools like nvidia-smi, lm-sensors, and Prometheus exporters. It runs in “no_std” Rust with a minimal C kernel shim, passing a 10/10 kernel ABI audit with zero unwound sections and stack frames under 1,024 bytes.
According to the repository, the driver has been verified on physical hardware: eight Tesla V100-SXM2-32GB GPUs (256 GiB total VRAM). It passed 77 of 77 CUDA parity checks against Nvidia’s proprietary 580.178.04 driver, including PyTorch/NCCL AllReduce at 59.71 GB/s bus bandwidth with zero error, 8-GPU memory bandwidth tests at 8.33 TB/s, NVLink 2.0 at 25.781 Gbps, and H.264/HEVC encoding/decoding. Performance improvements over the proprietary driver include 12.3% faster llama.cpp prompt evaluation (34,884 vs 31,067 tokens/second) and 9.7% higher FP16 Tensor Core throughput.
The driver builds for both x86_64 and ARM64 architectures, with support for ARM64 PCIe boards including RK3588, Ampere Altra, and Apple Silicon Linux. Maxwell and Pascal GPU support is implemented and offline-verified; Turing, Ampere, Hopper, Ada, Blackwell, and Rubin support relies on GSP-RM firmware. The project is maintained on GitHub and includes installation scripts with Secure Boot support.
Key facts
- Nvdriver is a clean-room, open-source Rust kernel driver for Nvidia GPUs that removes artificial software restrictions from Nvidia’s proprietary driver
- The driver achieves 26.2% higher memory bandwidth on Tesla V100 cards by unlocking HBM2 clocks to 1107 MHz (1,041.7 GB/s per card, 8.33 TB/s across eight V100s)
- It maintains full compatibility with unmodified Nvidia userspace tools including CUDA, PyTorch, cuDNN, NCCL, and nvidia-smi
- The driver enables features typically restricted to specific product tiers: PCIe P2P, Resizable BAR1, GPUDirect RDMA, unrestricted NVENC, and vGPU without licensing
- Benchmarks show 12.3% faster llama.cpp performance and 9.7% higher FP16 Tensor throughput compared to Nvidia’s proprietary 580.178.04 driver
- It was verified on eight physical Tesla V100-SXM2-32GB GPUs, passing 77 of 77 CUDA parity tests
- The driver supports GPU architectures from Maxwell through Rubin and builds for both x86_64 and ARM64 architectures
