nvdriver Wants to Replace NVIDIA's Linux Driver. Its Defaults Are the Real Story.
A Rust kernel driver promises CUDA without NVIDIA's software locks. The interesting part is what it switches on before you ask.
Anyone who runs local models on NVIDIA cards has hit a wall that has nothing to do with the hardware. Two consumer GPUs in the same box that won't talk to each other directly. A video encoder capped at a few sessions. Profiling tools that refuse to run without root. The silicon can do more. The driver decides it won't.
So when a project shows up claiming to replace NVIDIA's Linux kernel driver with open Rust code that runs unmodified CUDA, PyTorch and llama.cpp while dropping those limits, it lands on the Hacker News front page and climbs GitHub's trending boards in a day. That happened this weekend with nvdriver.
The README is a long list of limits it removes. The more useful list is shorter: what it turns on by default, what it has actually been tested on, and what its own files say about where it came from. Read those three before you load it.
What nvdriver is
Every NVIDIA setup on Linux has two layers. Userspace is the libraries your code calls: libcuda.so, cuDNN, NCCL, nvidia-smi. The kernel driver is the module that sits inside the operating system and actually talks to the card. NVIDIA ships both, and the kernel part enforces many of the product rules (which cards get which features).
nvdriver replaces only the kernel part. Its README describes nvidia_rs.ko as a #![no_std] Rust driver (Rust without its standard library, as kernel code requires) meant to be "a drop-in replacement for NVIDIA's proprietary kernel driver," working with NVIDIA's own unmodified userspace libraries. On top of that, it removes what it calls artificial restrictions: PCIe peer-to-peer between GPUs (P2P, cards copying memory to each other without going through the CPU), Resizable BAR (letting the CPU address all of the GPU's memory at once) on by default, unrestricted NVENC sessions, and more.
The project tagged v0.1.0 late on November 28 (Eastern), titled "8x Tesla V100-SXM2-32GB Milestone." At about 15:20 ET on November 30 the GitHub API showed roughly 1.2k stars, and it sat at #3 on Trendshift, a live board of fast-rising repos (both figures move hourly). This article reviews commit 4472b75 on the master branch.
The one table to read before the benchmarks
The README opens with impressive numbers, for example llama.cpp prompt processing about 12% faster than NVIDIA's driver. Those are the project's own measurements, run on Tesla V100 cards inside identical VFIO virtual machines (VMs that get a real GPU passed through to them). Fine as far as they go.
The table that matters more is "Supported GPUs (At a Glance)." It has three rows:
- Volta (V100, Titan V, Quadro GV100): "Live physical silicon verified" on 8x V100-SXM2-32GB.
- Maxwell and Pascal (GTX 750 to 1080 Ti and friends): implemented and checked offline, "awaiting physical silicon test."
- Turing through Blackwell and Rubin (RTX 20, 30, 40 and 50 series, A100, H100 and the rest): "verified offline," also "awaiting physical silicon test."
The "Known Limitations" section repeats it: the non-Volta code paths "have not yet been validated on physical non-Volta or display-attached GPUs."
In plain words: if you own an RTX 4090 or a 5090, the project's own test matrix has not yet validated a card like yours on physical hardware. "Verified offline" means the code was checked against emulators and recorded driver behavior, not against your hardware. And "display-attached" means the GPU driving your monitor is also outside what was tested.
That doesn't make the work less impressive. It means the thing most local-AI builders want (P2P across consumer cards) is the part with the least evidence behind it.
The defaults are the real feature list
Here is the idea worth keeping: with a driver, the defaults are the product. Most people load a module and never touch its options, so whatever is on by default is what most machines will run.
nvdriver's module options are documented, and the C source confirms the defaults in gpu_owner.c. Three stand out.
A memory overclock is on by default on V100s. v100_hbm_ndiv=82 raises the V100's HBM2 memory clock from the stock 877.5 MHz to 1107 MHz, which the README frames as the V100S factory spec. Set it to 0 for stock. That 26% bandwidth gain is where much of the benchmark lead comes from, so part of "faster than NVIDIA" is "running the memory faster than NVIDIA ships it." The README describes rollback on error and a thermal guard. It is still an overclock.
Non-root GPU profiling is on by default. unpriv_profiling=1 lets ordinary users read hardware performance counters with tools like ncu and nsys. NVIDIA restricts that to admins on purpose. Its developer note on the ERR_NVGPUCTRPERM error says access was disabled for regular users in response to a November 2018 security notice about practical GPU side-channel attacks, starting with Linux driver 418.43. Side channels are ways for one program to infer what another is doing by watching shared hardware. On a single-user workstation, you may not care. On a shared box or a multi-tenant server, this default reverses a security fix without telling you. (The C source declares it with static bool unpriv_profiling = true; in the same file.)
P2P and Resizable BAR are on by default. dyn_bar1_p2p=1, force_p2p=0x11 and enable_resizable_bar=1 turn on the GPU-to-GPU paths that are the main draw. That is the point of the project, but it is also code that, outside V100, has only been checked offline.
None of these are hidden. They are all in the README. They are just easy to read past when the first screen is a benchmark table.
What its own files say about where it came from
The README calls nvdriver "clean-room." In software, a clean-room reimplementation traditionally means the people writing the new code never looked at the original's internals; they work only from specifications and observed behavior.
The repo's other files describe something more complicated. NOTICE.txt says the reconstruction "includes data derived from the supplied NVIDIA 580.178.04 package and interface definitions from its matching open-kernel source tag," and that the repo does not contain NVIDIA's proprietary binaries. The repo also ships an AGENTS.md, rules for "every agent and subagent working in this directory," whose first step tells those agents to "Decompile/disassemble the original 580.178.04 function and its callees completely" before reimplementing it.
So this is, by its own description, a driver rebuilt with reference to disassembly of NVIDIA's driver. Its development rules are written for agents and subagents, though the files alone don't show how much of the committed code an AI wrote. That is a legitimate engineering approach, and its legal status is not something a blog post can settle. But it is not what most readers will picture when they see "clean-room," and it is worth knowing before you put it on a work machine.
The licensing matches that uncertainty. There is no top-level LICENSE file. Individual C files carry their own headers (the modeset shim is GPL-2.0, the UVM bridge is MIT), and NOTICE says the kernel C shim "declares GPL licensing," but the Rust core, which is most of the project, has no stated license at the top of the repo. Without one, the default under copyright law is that you can read the code but have no clear permission to redistribute or modify it.
Put this into practice: try it without betting your workstation
If you have a spare Linux machine or a GPU you can pass through to a VM, nvdriver is genuinely interesting to try. Here is the lowest-risk way to do it.
1. Use the project's own VM path. The README includes a "Safe Live Testing in a Disposable VFIO VM" section. The GPU gets handed to a throwaway VM, so a crash takes down the VM, not your host:
git clone https://github.com/QuixiAI/nvdriver.git
cd nvdriver
git checkout 4472b75ccd698fb96b6a3077d283e5a18cd63610 # the commit reviewed here
sh tools/validate_all.sh # builds nvidia_rs.ko and runs the project's test gate
sudo python3 tools/vm/run_vfio_guest.py --bdf 0000:b3:00.0 --driver rust
Replace 0000:b3:00.0 with your GPU's PCI address, its bus/device/function number or BDF (lspci | grep -i nvidia shows it). VFIO passthrough needs IOMMU turned on in your BIOS and kernel, and it hands the card to the VM, so the host can't use that GPU while the test runs. If you have never bound a device to VFIO before, practice on a spare card first. You need kernel headers, a Rust toolchain with the x86_64-unknown-none target, and NVIDIA's userspace libraries already installed.
2. Turn the defaults off first, then turn on only what you need. Before loading the module, write /etc/modprobe.d/nvidia_rs.conf with stock memory clocks and admin-only profiling:
options nvidia_rs v100_hbm_ndiv=0 unpriv_profiling=0
Options in that file apply the next time the module loads, so reload it or reboot after editing. v100_hbm_ndiv=0 keeps V100 memory at stock. unpriv_profiling=0 keeps performance counters admin-only, which matches NVIDIA's behavior. Leave P2P on if that is what you are testing; that is the experiment.
3. Compare against your own baseline. Run the same llama.cpp or PyTorch job on NVIDIA's driver and on nvdriver, on your card, with stock clocks. If the lead disappears with the overclock off, you have learned what the benchmark was measuring.
4. Keep it off shared machines. Until non-Volta cards have physical validation and the license question has an answer, a multi-user server or a company laptop is the wrong place for it.
Expect rough edges. This is a v0.1.0 kernel module. On anything but a V100, you are one of the first physical tests.
Honest limitations of this review
I read the README, NOTICE, AGENTS.md and the C defaults at commit 4472b75. I did not run the driver, so I can't confirm or refute any benchmark. The performance numbers are the project's own, measured on V100s inside VMs.
The repo was moving fast on review day (its latest commit landed November 30), so defaults or docs may change. Check the current gpu_owner.c before relying on any value here.
And the legal questions (reverse engineering, redistribution, NVIDIA's terms) are real but outside what I can judge. If your employer cares, ask someone who can.
Should you try it?
The pull of nvdriver is real. A lot of local-AI hardware is held back by software rules, and an open driver that lifts them would matter. The project's own files are also unusually candid about what is and isn't tested, which is more than many drivers offer.
The way to respect that candor is to read it. Start in a VM, start with the defaults off, measure on your own card, and decide from there what you are willing to switch on.
Sources: QuixiAI/nvdriver at commit 4472b75 (README, NOTICE.txt, AGENTS.md, kernel-open/nvidia/gpu_owner.c); nvdriver releases (v0.1.0); NVIDIA ERR_NVGPUCTRPERM developer note; Trendshift, read about 15:20 ET November 30, 2026; Hacker News discussion. Star count from the GitHub API, November 30, 2026.