Nvdriver: a Rust Nvidia driver with unlocked V100 memory clocks An open-source, clean-room Rust Linux kernel driver called nvdriver (nvidia_rs.ko) unlocks Tesla V100 HBM2 memory clocks from NVIDIA's stock 877.5 MHz cap to 1107.0 MHz, the V100S factory spec, raising memory bandwidth 26.2% to 1,041.7 GB/s per card and 8.33 TB/s across 8× V100. The driver runs unmodified NVIDIA userspace including CUDA, PyTorch, cuDNN, NCCL, llama.cpp and nvidia-smi, and was verified against stock NVIDIA 580.178.04 on 8× physical Tesla V100-SXM2-32GB (256 GiB VRAM), passing 77/77 CUDA Parity Suite checks with a PyTorch STREAM Triad result of 1,041.72 GB/s versus 821.85 GB/s. The project credits hardware research by arikamidotnet and FBR-ROM/FBR-RAM-Downloader and also removes NVIDIA's closed-driver product-tier gates for PCIe/BAR1 P2P, Resizable BAR1, GPUDirect RDMA and unrestricted NVENC sessions. nvdriver nvidia rs.ko is a clean-room, open-source no std Rust Linux kernel driver for NVIDIA GPUs — built to be a drop-in replacement for NVIDIA's proprietary kernel driver while giving you back full control of the hardware you own. It works out of the box with unmodified NVIDIA userspace CUDA , PyTorch , cuDNN , NCCL , llama.cpp , nvidia-smi , NVENC / NVDEC and unmodified stock companion modules nvidia-uvm.ko , nvidia-modeset.ko , nvidia-drm.ko , without reproducing the artificial software locks NVIDIA ships in its closed driver. That means PCIe & BAR1 P2P across consumer and datacenter GPUs, Resizable BAR1 enabled by default, GPUDirect RDMA, unlocked NVENC sessions, no vGPU/hypervisor/CSP allowlists, and native support for pre-GSP architectures Maxwell, Pascal, Volta alongside modern Turing–Blackwell–Rubin GSP-RM GPUs. On Tesla V100 GV100 cards, nvdriver also unlocks HBM2 memory clocks to 1107 MHz V100S factory spec, +26.2% memory bandwidth, 1,041.7 GB/s per card / 8.33 TB/s across 8× V100 alongside dynamic P0 boost 1425 MHz GPC / 1380 MHz XBAR with a 1 Hz on-die thermal guard by default — made possible by the pioneering hardware research of arikamidotnet https://github.com/arikamidotnet and FBR-ROM/FBR-RAM-Downloader https://github.com/FBR-ROM/FBR-RAM-Downloader . - Drop-In Compatibility: Runs unmodified libcuda.so , libnvidia-ml.so , nvidia-smi , libnvidia-encode.so , libnvcuvid.so , PyTorch, cuDNN, NCCL, and llama.cpp — plus unmodified stock nvidia-uvm.ko and nvidia-modeset.ko / nvidia-drm.ko via exact CONFIG MODVERSIONS bridges. - Unlocks Artificial Software Restrictions: Removes NVIDIA's closed-driver product-tier and chipset gates — enabling PCIe & BAR1 P2P including optional PCIe P2P Atomics , Resizable BAR1 by default, GPUDirect RDMA , unrestricted NVENC sessions/telemetry, vGPU / SR-IOV without CPUID or GRID licensing timers, and workstation/compute features on any silicon that supports them. - +26.2% Tesla V100 Memory Bandwidth Out of the Box 1,041.7 GB/s / 8.33 TB/s on 8× V100 : Safely raises GV100 HBM2 clocks from the stock 877.5 MHz cap to 1107.0 MHz v100 hbm ndiv=82 , V100S factory spec with dynamic P0 boost 1425 MHz GPC / 1380 MHz XBAR + 1 Hz thermal guard , per-partition lock verification, automatic rollback on error, and clean restore on unload — thanks to arikamidotnet https://github.com/arikamidotnet and FBR-ROM/FBR-RAM-Downloader https://github.com/FBR-ROM/FBR-RAM-Downloader . - Maxwell Through Blackwell & Rubin in One Driver: Supports pre-GSP GPUs Maxwell, Pascal, Volta natively in Rust alongside Turing, Ampere, Hopper, Ada Lovelace, Blackwell 620.70.06 GSP-RM default, 580 compat , and Rubin GR100 . - Built in no std Rust with Strict Kernel Hygiene: Pure no std Rust core statically linked into a minimal Linux C shim, passing a 10/10 kernel ABI audit zero GOT relocations, zero SIMD/x87, zero memcpy / memset / memmove , zero unwind sections, every stack frame <= 1,024 bytes . - Verified on Real 8-GPU Hardware: Battle-tested side-by-side against stock NVIDIA 580.178.04 on 8× physical Tesla V100-SXM2-32GB 256 GiB VRAM — passing 77/77 CUDA Parity Suite checks, 8-GPU PyTorch/NCCL AllReduce 59.71 GB/s BusBW, max err = 0.0 , 8-GPU 8.33 TB/s HBM2 STREAM Triad, multi-GPU FP16/FP32 GEMM & llama.cpp , 25.781 Gbps NVLink 2.0, live PROM BIT VBIOS telemetry 88.00.80.00.01 , H.264/HEVC NVENC & NVDEC, S3/S4 suspend/resume, and automatic Xid 31 fault recovery with clean module unload. | Benchmark | Proprietary 580.178.04 | nvdriver Default | Delta | |---|---|---|---| | PyTorch STREAM Triad 768 MiB | 821.85 GB/s | 1,041.72 GB/s | +26.8% 1 TB/s | | HBM2 D2D Copy 512 MiB | 819.01 GB/s | 1,013.65 GB/s | +23.8% | | FP16 Tensor Core GEMM 8192³ | 97.69 TFLOPS | 107.17 TFLOPS | +9.7% | | FP32 GEMM 8192³ | 14.18 TFLOPS | 14.37 TFLOPS | +1.3% | | Memory-Bound LayerNorm + GELU | 2.612 ms | 2.126 ms | 1.23× faster | | llama.cpp Prompt Eval pp512 | 31,067 tok/s | 34,884 tok/s | +12.3% | | Transformer Layer Fwd + Bwd | 13.245 ms | 12.885 ms | +2.7% faster | | CUDA Graph 50-op Replay | 76.17 µs | 80.20 µs | 95.0% parity | | PCIe Pinned H2D / D2H 256 MiB | 12.39 / 13.16 GB/s | 12.40 / 13.16 GB/s | 100% parity | | 2-GPU NVLink 2.0 NV2 Bidir / Unidir | 94.0 / 48.1 GB/s | 79.40 / 40.05 GB/s | 84.5% 25.781 Gbps | | Workload | Measured on nvidia rs.ko | |---|---| | 8× V100 HBM2 STREAM Triad 1107 MHz | 8,334.1 GB/s 8.33 TB/s aggregate 1,041.3–1,041.9 GB/s per GPU | | 8-GPU PyTorch/NCCL AllReduce FP16 256 MiB | 59.71 GB/s BusBW 34.12 GB/s AlgBW, max err = 0.0 | | Multi-GPU Simultaneous FP16 / FP32 GEMM 8192³ | 106.8 TFLOPS FP16 / 14.35 TFLOPS FP32 per card ~854.5 TFLOPS FP16 8-GPU eq. | | Multi-GPU Simultaneous llama.cpp SmolLM2-135M | 496.6–499.7 tok/s tg128 , 25.7k–36.8k tok/s pp512 per card | See docs/PARITY AND UNLOCKS.md https://github.com/QuixiAI/nvdriver/blob/master/docs/PARITY AND UNLOCKS.md for the complete 3-way benchmark breakdown including stock-clock 877.5 MHz vs. unlocked 1107 MHz HBM2 . | Family | Representative GPUs | Status | |---|---|---| | Volta GV100 | Tesla V100 PCIe / SXM2 16GB & 32GB, Quadro GV100, Titan V | Live physical silicon verified 0-diff on 8× V100-SXM2-32GB with default 1107 MHz HBM2 + dynamic P0 boost + 25.781 Gbps NVLink 2.0 | | Maxwell & Pascal | GTX 750–1080 Ti, Titan X, Tesla M40/M60/P4/P40/P100 | Native Rust HALs implemented & Unicorn-verified offline awaiting physical silicon test | | Turing, Ampere, Hopper, Ada, Blackwell, Rubin | RTX 20/30/40/50 series, T4, A100, H100/H200, L40S, B100/B200/GB200, GR100 | GSP-RM 620.70.06 / 580 + MMU V2/V3 HALs wired & verified offline awaiting physical silicon test | For the full 43-chip architecture matrix , verified workload parity table , and disassembly-backed table of unlocked NVIDIA restrictions , see docs/PARITY AND UNLOCKS.md https://github.com/QuixiAI/nvdriver/blob/master/docs/PARITY AND UNLOCKS.md . - Linux x86 64 with kernel headers /lib/modules/$ uname -r /build - Rust toolchain with x86 64-unknown-none target rustup target add x86 64-unknown-none - Existing NVIDIA userspace libraries libcuda.so , nvidia-smi , etc. Build nvidia rs.ko and run the 30-step unit, oracle, QEMU guest & kernel-hygiene gate sh tools/validate all.sh Optional: x86 64 Unicorn binary oracles & companion module bridges python3 tools/mock gv100 diff.py make uvm-bridge && python3 tools/check uvm symbol conformance.py make modeset-bridge && python3 tools/check modeset symbol conformance.py Use ./install.sh supports Secure Boot MOK signing or configure /etc/modprobe.d/nvidia rs.conf : options nvidia rs pci target= runtime engines=1 Key tunable parameters: - v100 hbm ndiv=82 default — GV100 HBM2 clock divider 82 = 1107 MHz V100S spec / +26.2%, 80 = 1080 MHz / +23%, 78 = 1053 MHz / +20%, 0 = stock 877.5 MHz . - v100 p0 gpc ndiv=190 default — GV100 dynamic P0 boost GPC NAFLL divider 190 = 1425 MHz with 1 Hz on-die thermal guard at 75 °C / 81 °C , 0 = VBIOS boot 555 MHz . - enable resizable bar=1 default — Automatically expands BAR1 to the largest supported ReBAR aperture. - force p2p=0x11 default — Enables PCIe P2P Read+Write 0x211 opts into PCIe P2P Atomics . - gsp abi=620 default — Selects GSP-RM 620.70.06 framing for Turing–Blackwell–Rubin 580 for 580.178.04 compat . - system memory pool retain mb=0 default — Trims cached system-memory pages on client close so MemAvailable stays accurate. Single-GPU CUDA Parity Suite v19 on a VFIO-bound Tesla V100 sudo python3 tools/vm/run vfio guest.py --bdf 0000:b3:00.0 --driver rust - docs/PARITY AND UNLOCKS.md https://github.com/QuixiAI/nvdriver/blob/master/docs/PARITY AND UNLOCKS.md — Full 43-GPU architecture matrix, verified workload & digest parity table, and complete NVIDIA artificial-restrictions unlock reference. - docs/blog-nvidia-artificial-restrictions.md https://github.com/QuixiAI/nvdriver/blob/master/docs/blog-nvidia-artificial-restrictions.md — Deep-dive write-up on the software locks discovered in NVIDIA's closed driver. - reports/nvidia-580-artificial-restrictions-rea.md https://github.com/QuixiAI/nvdriver/blob/master/reports/nvidia-580-artificial-restrictions-rea.md — Full reverse-engineering notes, disassembly, .rodata tables, and struct offsets. - HANDOFF.md https://github.com/QuixiAI/nvdriver/blob/master/HANDOFF.md — Detailed engineering log and verified artifact digests. . ├── src/nvidia/ │ ├── abi/ Stable C/Rust ABI definitions nv rs abi │ ├── src/ Core no std Rust driver nv rs core : gpu, mmu, fifo, rmapi, uvm │ └── kernel/ Linux kernel FFI & live GV100/GSP bring-up nv rs kernel ├── kernel-open/ │ ├── nvidia/ Minimal Linux PCI/chardev/DMA/mmap C shim - nvidia rs.ko │ ├── uvm bridge/ 76-symbol CONFIG MODVERSIONS bridge - nvidia rs uvm bridge.ko │ └── modeset bridge/ nvidia get rm ops bridge - nvidia rs modeset bridge.ko ├── docs/ Parity/unlock tables & technical write-ups ├── tools/ Validation gate, Unicorn binary oracles, VFIO VM harness & parity suites └── install.sh Installer with Secure Boot MOK signing support - Non-Volta & Display-Attached Silicon: Maxwell, Pascal, and Turing–Blackwell–Rubin GSP-RM/Display HALs are implemented and verified offline 119/119 mock gv100 diff.py + 19/19 oracle gsp 620.py , but have not yet been validated on physical non-Volta or display-attached GPUs. - x86 64 Discrete PCIe Only: Tegra SoCs Jetson Orin / Thor are not supported. - arikamidotnet https://github.com/arikamidotnet & FBR-ROM/FBR-RAM-Downloader https://github.com/FBR-ROM/FBR-RAM-Downloader MIT : Live GV100 / Tesla V100 HBM2 memory-clock unlock 0x98BC98 multicast HBMPLL coefficient programming, PMC BOOT 0 canary, PRI-ring write-only safety window, 16-partition lock + readback verification, and 36-bit hardware DRAM cycle-counter metering , along with the upstream research it credits cmpunlocker , 170tune , CMP100-210 .