What is QuixiAI/nvdriver?
nvdriver (nvidia_rs.ko) is a clean-room, open-source Linux kernel driver for NVIDIA GPUs written in Rust with no_std support. It aims to serve as a drop-in replacement for NVIDIA's proprietary kernel module so users can operate their GPU hardware with an open-source kernel layer.
Implemented in Rust, the driver is designed to work out of the box with unmodified NVIDIA userspace software, including CUDA, PyTorch, cuDNN, NCCL, llama.cpp, nvidia-smi, and NVENC/NVDEC video encoding and decoding libraries. The available README excerpt cuts off before detailing supported GPU generations, Linux kernel versions, or build and installation instructions.
Linux kernel developers, GPU infrastructure engineers, and open-source hardware advocates interested in an open Rust replacement for NVIDIA's kernel-space driver that preserves compatibility with standard CUDA and ML userspace stacks can examine or test nvdriver.
Before you startThe README says
- Runs on
- Linux on x86_64 and arm64 (aarch64)
- Needs
- Kernel headers, a Rust toolchain for x86_64-unknown-none or aarch64-unknown-none, and existing NVIDIA userspace libraries such as libcuda.so.
- How you get it
- Build from source with make and install with ./install.sh
- Asks for
- Root access through sudo for installing the module and changing clocks through sysfs.
- Not yet
- Maxwell and Pascal support is verified only offline, awaiting physical silicon tests; Turing to Rubin also awaiting silicon tests.