A new project called nvdriver, written primarily in Rust and released under the MIT license, offers an unofficial, open-source alternative to NVIDIA’s Linux GPU kernel driver. Its goal is to remove software-imposed GPU restrictions while keeping compatibility with NVIDIA’s existing proprietary userspace components.
Developed using AI-assisted reverse engineering, nvdriver takes a different approach from community-led projects such as Nouveau and Nova. Instead of replacing NVIDIA’s entire software stack, it provides a drop-in replacement for the core nvidia.ko kernel module, allowing existing CUDA libraries and applications to work without modification.
According to the developers, the driver supports CUDA, PyTorch, cuDNN, NCCL, and llama.cpp, while removing restrictions on PCIe peer-to-peer communication between consumer GPUs, NVENC encoding sessions, and certain GPU virtualization capabilities.
The project also enables Resizable BAR1 by default and supports GPUDirect RDMA, allowing compatible devices to access GPU memory directly. These capabilities are particularly relevant to users running multi-GPU systems for AI workloads and high-performance computing.
On the hardware side, nvdriver targets nine generations of NVIDIA GPU architectures, from Maxwell and Pascal to the latest Blackwell and Rubin families. However, hardware validation varies considerably between generations, with Volta-based Tesla V100 cards receiving the most extensive testing.
The developers report performance improvements on the Tesla V100, partly by increasing HBM2 memory clock speeds. Their benchmarks show higher memory bandwidth and faster inference with llama.cpp compared to NVIDIA’s official driver.
The project’s latest release, nvdriver 0.2, published on December 1, expands GPU initialization support across multiple generations, simplifies installation, fixes hardware-specific stability issues, and moves more memory management code from C to Rust.
Despite its short history, the project has already accumulated over 5,800 stars and 740 forks on GitHub, with its creator actively seeking co-maintainers.
That said, nvdriver remains experimental, and its performance claims have yet to be independently verified. It also continues to rely on NVIDIA’s proprietary userspace components, meaning it is not a fully open-source alternative to the company’s graphics and compute stack.
For more information, including hardware compatibility, benchmarks, installation instructions, and known limitations, visit the project’s GitHub repository.
原文来源:linuxiac.com