A new open-source project, nvdriver, is redefining how Linux systems interact with NVIDIA GPUs. Developed by QuixiAI, this #![no_std] Rust kernel driver aims to replace NVIDIA’s proprietary driver across compute, graphics, and display workloads—without requiring changes to existing userspace software like PyTorch, CUDA, or nvidia-smi.
The driver supports a wide range of NVIDIA architectures—from Maxwell (2014) to upcoming Rubin chips—unifying Pre-GSP and GSP-RM boot paths in a single codebase. It runs unmodified userspace libraries and tools, including libcuda.so, NVENC/NVDEC, Vulkan, OpenGL, and popular AI frameworks, while removing artificial restrictions enforced by NVIDIA’s closed driver.
Performance gains on Tesla V100
On Tesla V100 GPUs, nvdriver enables opt-in HBM2 overclocking to 1107 MHz (via v100_hbm_ndiv=82), achieving 1,041.7 GB/s memory bandwidth per card—a 26.2% increase over the stock 877.5 MHz. In real-world tests on 8x V100-SXM2-32GB systems, aggregate STREAM Triad bandwidth reached 8.33 TB/s.
Benchmarks show significant improvements: +26.8% in PyTorch STREAM Triad, +9.7% in FP16 Tensor Core GEMM, and +12.3% faster token generation in llama.cpp. Even PCIe transfers and NVLink performance saw parity or slight gains, with 2-GPU bidirectional bandwidth reaching 96.98 GB/s—3.2% above the proprietary driver.
These gains stem from removing software-enforced limits, not hardware modifications. The HBM2 tuning builds on prior work by arikamidotnet and FBR-ROM/FBR-RAM-Downloader, now integrated into a production-ready kernel module.
No artificial locks, full feature access
nvdriver eliminates multiple software restrictions imposed by NVIDIA:
- Enables full compute on mining cards (CMP 100-210, 170HX, 90HX, 70HX, 50HX, 40HX, 30HX, P102-100)
- Allows PCIe P2P with Dynamic BAR1 and optional atomics (via
RMDynBar1P2PEnable=1,RMDisableFeatureDisablement=1) - Supports unprivileged hardware profiling (enabling
ncu,nsys, CUPTI without root viaunpriv_profiling=1) - Offers zero-reboot ECC toggle (
disable_ecc=1) - Unlocks SM Speed-Select FP32-accumulate Tensor cores (
unlock_tensor_fp32_acc=1) - Enables vGPU/SR-IOV without CPUID checks or GRID licensing timers
Resizable BAR1 is enabled by default, and native dma-buf + P2PDMA / GPUDirect RDMA support ensures compatibility with modern datacenter workloads. The driver also supports live runtime tuning of HBM2/HBM2e clocks on P100 and A100 via p100_hbm_ndiv and ga100_hbm_ndiv, with automatic rollback on error.
Broad architecture support, strict kernel hygiene
The driver targets GPUs from Maxwell through Rubin, covering datacenter (V100, A100, H100), workstation (RTX 6000), and consumer (RTX 30/40 series) lines. Display output is supported via companion modules nvidia_rs_modeset.ko and nvidia_rs_drm.ko, enabling native KMS/DRM integration for Wayland and X11.
Built for both x86_64 and ARM64 (including RK3588, Ampere Altra, Apple Silicon Linux), the driver uses explicit non-coherent DMA cache sync for reliable PCIe operation. The core is written in Rust with strict #![no_std] constraints, ensuring zero GOT relocations, no SIMD/x87 usage, and stack frames under 1,024 bytes—meeting hardened kernel requirements like CONFIG_MITIGATION_RETHUNK and CONFIG_CALL_PADDING.
It also includes version-aware bridges to interoperate with stock nvidia-uvm.ko and nvidia-modeset.ko, allowing gradual adoption without full stack replacement.
What it means
For UK, UAE, US, and Kazakh organisations relying on NVIDIA GPUs, nvdriver offers a strategic alternative: reduced dependency on proprietary drivers, full control over hardware tuning, and measurable performance uplifts—especially in HPC and AI inference.
Businesses using V100 clusters could see immediate benefits in memory-bound workloads. Mining card owners regain full compute access, potentially repurposing locked-down hardware. Datacenters gain flexibility in ARM64 deployments and secure kernel environments.
However, adoption requires careful validation. While tested on 8x V100 systems with full parity in CUDA, PyTorch, and NCCL workloads, support for newer architectures like Blackwell or Hopper remains incomplete. The project’s roadmap shows these as not yet started or in early bring-up.
Organisations should assess risk vs. control: switching to an open driver improves transparency and long-term maintainability but currently lacks NVIDIA’s official support and warranty coverage.
The project welcomes co-maintainers—reach out to eric@quixi.ai if contributing.