NVDRIVER v0.1.0 Brings a Rust Driver to NVIDIA GPUs, With CUDA Compatibility Tested on Tesla V100
NVDRIVER analyzes NVIDIA's proprietary kernel driver and implements GPU control independently. The project released version 0.1.0 on November 29.
According to the developer's technical documentation, the core of the kernel driver is written in Rust without its standard library, with C code connecting it to the Linux kernel. The build produces the kernel module nvidia_rs.ko.
The design aims to keep the existing CUDA environment working. NVIDIA's CUDA libraries and the nvidia-smi management tool are meant to work unmodified, along with software such as PyTorch, cuDNN, NCCL, and llama.cpp.
The driver also interfaces with NVIDIA's companion kernel modules. It is designed to work with NVIDIA's unmodified nvidia-uvm.ko and other modules. The developer reports matching symbol version checksums (CRCs) for 76 symbols to interface with nvidia-uvm.ko.
The repository also contains instructions for coding agents referenced from CLAUDE.md. They describe analyzing the existing driver, implementing its behavior in Rust, and comparing the results offline, suggesting the project makes use of AI-assisted development.
Where compatibility holds, users can swap the code that controls the GPU without rewriting their applications. NVIDIA's libraries are still required. The value is in giving users another driver option while keeping the software they already have.
What ran on the Tesla V100?
The developer's hardware tests used eight Volta-generation Tesla V100-SXM2-32GB GPUs. NVIDIA's proprietary kernel driver 580.178.04 served as the baseline.
In the detailed test results accompanying the November 29 release, the developer reports that all 77 CUDA compatibility tests matched the NVIDIA driver. The tests covered matrix operations, Fourier transforms, and access from multiple processes, among other cases.
The developer also reports matching results in single-GPU PyTorch tests and NCCL collective communication across GPUs. In the llama.cpp inference test, the output checksum matched for SmolLM2-135M-Instruct-Q4_K_M.gguf.
Matching results under specific conditions matters as much as speed. GPU computing requires correct results as well as performance, and getting the same results is a meaningful milestone for a driver targeting compatibility with existing CUDA environments.
The project targets a wide range of GPU generations. According to the release documentation, the developer ran offline tests without hardware for the Rust hardware abstraction layers for Maxwell and Pascal. Turing, Ampere, Hopper, Ada Lovelace, Blackwell, and Rubin are also at the offline testing stage.
Hardware testing was done on the V100. GPUs connected to a display have yet to be tested on hardware. Whether the results extend to GeForce and other lines depends on tests with those GPUs.
GPU coverage in NVDRIVER v0.1.0 developer tests
| Test target | Results and coverage |
|---|---|
| Volta: Eight physical Tesla V100-SXM2-32GB GPUs | |
| CUDA compatibility | 77 matching results |
| PyTorch (one GPU) | Results matched |
| NCCL collective communication | Results matched |
| llama.cpp inference | Output checksum matched |
| Other GPU generations and configurations | |
| Maxwell・Pascal | Tested without hardware Model-specific control |
| Turing~Rubin | Tested without hardware GPU control and memory management |
| GPU connected to a display | Hardware testing pending |
What drove the memory bandwidth increase?
The v0.1.0 documentation includes Tesla V100 performance comparisons with the NVIDIA driver.
In the summary's single-GPU tests running in a virtual machine, half-precision (FP16) matrix operations on Tensor Cores rose from 97.69 to 107.17 TFLOPS. Single-precision (FP32) matrix operations rose from 14.18 to 14.37 TFLOPS, and llama.cpp prompt processing rose from 31,067 to 34,884 tokens per second.
Replaying 50 operations with CUDA Graph took 80.20 microseconds, up from 76.17. In the detailed results at higher clock speeds, FP32 matrix performance fell slightly from 14.45 to 14.30 TFLOPS. The direction of the FP32 change varies between the published tables.
PyTorch STREAM Triad, a memory bandwidth test, rose from 821.85 to 1,041.72 GB/s in the summary table. The detailed documentation reports three tests at different HBM2 clock settings on the V100.
The NVIDIA driver delivered 821.85 GB/s at 877.5 MHz. NVDRIVER delivered 831.78 GB/s with HBM2 also set to 877.5 MHz. With HBM2 at 1,107 MHz, it reached 1,040.75 GB/s.
Bandwidth rose about 1.2% at the same memory clock and about 26.6% at the higher clock compared with the NVIDIA baseline. The latter test raised the memory clock by about 26.2% and also set clocks for the GPU core and other components. A separate comparison would be needed to isolate the effect of the Rust rewrite from the changes to clock settings.
An independent implementation gives developers more ways to tune clock speeds and how the GPUs communicate. It lets them pursue performance improvements on their own.
In v0.1.0, bidirectional NVLink bandwidth between two GPUs was 79.40 GB/s versus 94.0 GB/s with NVIDIA's driver. A development branch change dated November 30 revised how the copy engines responsible for data movement are assigned, among other changes. The developer reported a new result of 96.98 GB/s, addressing a performance gap observed in the release.
Tesla V100 developer tests vs. NVIDIA driver 580.178.04
| Metric | NVIDIA driver | NVDRIVER(vs. NVIDIA driver) |
|---|---|---|
| Single GPU: v0.1.0 summary | ||
| FP16 matrix operations | 97.69TFLOPS | 107.17TFLOPS +9.7% |
| FP32 matrix operations | 14.18TFLOPS | 14.37TFLOPS +1.3% |
| llama.cpp Input tokens per second | 31,067 | 34,884 +12.3% |
| CUDA Graph Replay of 50 operations | 76.17μs | 80.20μs Time +5.3% |
| Memory bandwidth | 821.85GB/s | 1041.72GB/s +26.8% |
| Single GPU: Results by clock speed (NVIDIA HBM2: 877.5 MHz; higher-clock test also changes GPU core clocks) | ||
| Bandwidth at 877.5 MHz | 821.85GB/s | 831.78GB/s +1.2% |
| Bandwidth at 1,107 MHz | 821.85GB/s | 1040.75GB/s +26.6% |
| FP32 Higher clock | 14.45TFLOPS | 14.30TFLOPS −1.0% |
| Two GPUs: Bidirectional NVLink | ||
| v0.1.0 | 94.0GB/s | 79.40GB/s −15.5% |
| November 30 revision | 94.0GB/s | 96.98GB/s +3.2% |
Who decides what a GPU can do?
NVIDIA provides open-source kernel modules for Turing and later GPUs. The Volta-based V100 used in NVDRIVER's tests predates the hardware supported by those modules. Other projects include Nouveau, a Linux kernel driver with a Mesa graphics driver, and Nova, a Rust driver targeting GPUs with a GPU System Processor (GSP).
NVDRIVER focuses on replacing the proprietary driver and implementing GPU control independently. After analyzing NVIDIA driver 580.178.04, the developer identified software restrictions based on product tier, including limits on direct GPU-to-GPU communication over PCIe and the number of NVENC video encoding sessions. The independent implementation does not aim to reproduce those restrictions.
If these efforts work across more GPUs, owners could have an alternative to the drivers supplied by the manufacturer. The V100 compatibility tests are a concrete step toward that choice.
Installing the driver calls for care. NVDRIVER changes the V100's clock frequencies. The development documentation describes recovery after errors and restoration of settings when unloading the module. The developer also describes testing with a disposable virtual machine. Before moving a GPU that runs important jobs to NVDRIVER, verify compatibility and stability in an environment you can recover.
Keep the software built on CUDA and write the code that controls the GPU independently. That idea has reached real V100 hardware. The prospect of choosing how to use a GPU while keeping familiar software is worth looking forward to.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
