Nvdriver: open-source Rust Linux kernel driver for Nvidia GPUs
QuixiAI
A clean-room, open-source Nvidia GPU driver for Linux written in Rust has been published on GitHub and drew strong attention on Hacker News.
Source: github.com ↗ · By CapyLaunch
Quick facts
| Maker | QuixiAI |
|---|---|
| Language | Rust (#![no_std] Linux kernel driver) |
| Stars on GitHub | 627 |
| Forks on GitHub | 49 |
| Module name | nvidia_rs.ko |
| Supported GPUs | Maxwell, Pascal, Volta, Turing through Blackwell and Rubin |
What is it
nvdriver is a clean-room, open-source Linux kernel driver for NVIDIA GPUs, written in Rust. It is published on GitHub as the repository QuixiAI/nvdriver and builds a module called nvidia_rs.ko. It is described as a drop-in replacement for NVIDIA's proprietary kernel driver.
How it works
The driver loads in place of NVIDIA's kernel module while using unmodified stock companion modules such as nvidia-uvm.ko, nvidia-modeset.ko and nvidia-drm.ko. It enables features such as PCIe and BAR1 peer-to-peer, Resizable BAR1 by default, and GPUDirect RDMA. It also exposes live hardware telemetry through nvidia-smi and Linux hwmon sensors.
Why it matters
It lets people run NVIDIA GPUs on Linux with an open driver instead of the closed one. The README says it avoids reproducing NVIDIA's artificial software locks and works with unmodified NVIDIA userspace such as CUDA, PyTorch, cuDNN, NCCL and llama.cpp. For builders running GPU workloads, it is an open alternative worth evaluating, though the project is early and should be tested carefully before production use.
For builders: If you run GPU workloads on Linux, this is an open alternative worth evaluating, though it is early and should be tested carefully before production use.
Who + how to try
For: Developers and makers who run GPU workloads on Linux and want an open-source NVIDIA driver.
Try:
FAQ
Does it work with existing NVIDIA software?
The README says it runs unmodified NVIDIA userspace, including libcuda.so, libnvidia-ml.so, nvidia-smi, PyTorch, cuDNN, NCCL and llama.cpp, plus unmodified stock nvidia-uvm.ko, nvidia-modeset.ko and nvidia-drm.ko.
Is it ready for production use?
The source describes it as early and says it should be tested carefully before production use.
What GPU generations does it support?
The README says it supports pre-GSP architectures (Maxwell, Pascal, Volta) alongside modern Turing through Blackwell and Rubin GSP-RM GPUs.
What does it change on Tesla V100 cards?
The README says it raises V100 HBM2 memory clocks from the stock 877.5 MHz cap to 1107.0 MHz, which it describes as +26.2% memory bandwidth.
Also new this week in Open source
All 4 Open source stories →AMD-specific patches for llama.cpp published
A set of patches targeting AMD hardware for llama.cpp, the open source library for running language models locally, was shared on Hacker News and drew moderate discussion.
Bare Metal Qwen: running an LLM directly on bare metal
A project called llm.asm shows the Qwen language model running on bare hardware with no operating system underneath. It drew 155 points on Hacker News.
Rockbox ported to an undocumented $9 MP3 player using LLMs
A developer ported the open-source Rockbox firmware to the YP3, a cheap undocumented MP3 player sold on AliExpress, with help from LLMs. The write-up drew 155 points on Hacker News.
Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.
