Open-source Rust driver unlocks full potential of Nvidia GPUs

A transparent server rack with glowing GPU modules suspended in mid-air, connected by beams of light that bypass locked metal gates, symbolising unrestricted data flow and reclaimed control over hardw

The release of nvdriver, a clean-room open-source Linux kernel driver for NVIDIA GPUs developed by QuixiAI, marks a pivotal step toward user-controlled, high-performance GPU computing. Written in #![no_std] Rust, it replaces NVIDIA’s proprietary kernel driver while maintaining full compatibility with unmodified userspace tools — including CUDA, PyTorch, cuDNN, NCCL, llama.cpp, and nvidia-smi — and stock companion modules like nvidia-uvm.ko and nvidia-drm.ko. Built on reverse-engineering research by arikamidotnet and tools like FBR-ROM/FBR-RAM-Downloader, nvdriver removes artificial software restrictions and unlocks performance across a wide range of GPUs, from Maxwell to Rubin.

Unlocking performance and removing artificial limits

Nvdriver eliminates numerous software-enforced limitations in NVIDIA’s closed driver. It enables PCIe and Dynamic BAR1 peer-to-peer (P2P) access across consumer and datacentre GPUs, Resizable BAR1 by default, native GPUDirect RDMA via Linux dma-buf, and unrestricted NVENC encoding sessions with full telemetry. It removes vGPU, SR-IOV, and hypervisor licensing gates — operating without CPUID checks or GRID timers — and unlocks full compute capability on CMP mining cards (CMP 30HX–170HX, 100-210). On Ada Lovelace GPUs (RTX 40-series), the unlock_ada_tensor=1 parameter enables SM Speed-Select Tensor Core functionality.

It also allows unprivileged hardware profiling (unpriv_profiling=1), enabling non-root use of ncu, nsys, and CUPTI, and supports zero-reboot dynamic ECC toggling via disable_ecc=1. These capabilities give organisations greater control over GPU resources, reduce dependency on NVIDIA’s ecosystem, and improve flexibility in virtualised and multi-tenant environments.

+26.2% memory bandwidth on Tesla V100

On Tesla V100 (GV100) GPUs, nvdriver increases HBM2 memory clock speeds from the stock 877.5 MHz cap to 1107 MHz — matching the factory specification of the V100S — resulting in 1,041.7 GB/s per GPU and 8.33 TB/s aggregate bandwidth across 8× V100. This 26.2% gain is achieved safely through dynamic P0 boost (1290 MHz default for all bins, up to 1425 MHz on golden bins), a 1 Hz on-die thermal guard, automatic rollback on error, and clean module unload.

Clocks are runtime-writable via sysfs (e.g., /sys/module/nvidia_rs/parameters/v100_hbm_ndiv) without requiring a module reload. Benchmarks on physical 8-GPU systems show a 26.8% improvement in PyTorch STREAM Triad (1,041.72 vs 821.85 GB/s), a 12.3% increase in llama.cpp prompt evaluation (34,884 vs 31,067 tok/s), and 9.7% higher FP16 Tensor Core GEMM performance.

Verified on real multi-GPU systems

Nvdriver has been tested on real 8× Tesla V100-SXM2-32GB systems running alongside NVIDIA’s 580.178.04 driver. It passed 77/77 CUDA Parity Suite tests, achieved full numerical accuracy in 8-GPU PyTorch/NCCL AllReduce (max error = 0.0), and delivered 59.71 GB/s BusBW. It supports S3/S4 suspend/resume, automatic Xid 31 fault recovery, and live hardware telemetry via both NVML/RMAPI and native Linux /sys/class/hwmon.

The driver supports both x86_64 and ARM64 (aarch64), including PCIe on single-board computers like RK3588 and Ampere Altra, with explicit non-coherent DMA handling. It is built as a minimal C shim around a pure Rust core, passing strict kernel hygiene checks (no SIMD, no GOT relocations, stack frames ≤1KB).

What it means

For enterprises in the UK, UAE, US, and Kazakhstan using GPU infrastructure, nvdriver offers a path to reduce vendor lock-in, improve hardware utilisation, and gain performance without new investments. Organisations running V100 clusters can immediately benefit from higher memory bandwidth and unlocked features. The open, auditable codebase enhances security and transparency compared to proprietary drivers.

However, while V100 is fully verified on physical hardware, support for Turing, Ampere, Hopper, Blackwell, and Rubin GPUs remains offline-verified only. Businesses should conduct thorough testing before deployment. NVIDIA has not commented. The project’s clean-room design reduces legal risk, but long-term maintenance and upstream Linux integration remain uncertain.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *