News › linux
By The Linux Camp News, December 1, 2026
A GitHub project describes a clean-room Rust kernel module that it says runs Nvidia's unmodified userspace and stock companion modules without the software locks in Nvidia's closed driver.
A GitHub project called nvdriver, as retrieved on 1 December 2026, presents a kernel module named nvidia_rs that its authors describe as a clean-room, open-source Rust driver for Nvidia GPUs. The project's stated aim is a drop-in replacement for Nvidia's proprietary kernel driver. It says unmodified Nvidia userspace, including CUDA, PyTorch, NCCL and nvidia-smi, works on top of it, as do Nvidia's stock nvidia-uvm, nvidia-modeset and nvidia-drm modules. It also says it does not reproduce what it calls artificial software locks in Nvidia's closed driver. The clean-room label and every compatibility claim here come from the project itself. 1
The README describes the architecture as a core written in no_std Rust, statically linked into a minimal Linux C shim. The project reports that the result passes what it calls a 10/10 kernel ABI audit. Its criteria are zero GOT relocations, no SIMD or x87 use, no memcpy, memset or memmove, no unwind sections, and no stack frame above 1,024 bytes. 1
Compatibility with Nvidia's own binary companion modules rests on what the project calls exact CONFIG_MODVERSIONS bridges. By its account, these bridges are what let the unmodified stock nvidia-uvm, nvidia-modeset and nvidia-drm modules run with the Rust driver, alongside unmodified libraries such as libcuda, libnvidia-ml and the NVENC and NVDEC libraries. 1
The project says it removes product-tier and chipset gates from Nvidia's closed driver. Its list covers PCIe and dynamic BAR1 peer-to-peer transfers, Resizable BAR1 enabled by default, dma-buf and P2PDMA support for GPUDirect RDMA, unrestricted NVENC sessions, full compute on CMP mining cards, and an Ada tensor-core unlock behind unlock_ada_tensor=1. One item matters on shared hosts: the README lists unpriv_profiling=1 as the default for non-root ncu, nsys and CUPTI users. Our inference, reading that description at face value, is that hardware profiling is open to unprivileged users by default under this driver. 1
The Tesla V100 memory-clock change builds on separate work that nvdriver credits to arikamidotnet and the FBR-RAM-Downloader project. Credited elements include HBM PLL coefficient programming through multicast register 0x98BC98, per-partition lock and readback checks, and metering with 36-bit DRAM cycle counters. FBR-RAM-Downloader's README describes the core step. A process with root access to PCI BAR0 makes one write of the PLL multiplier to that write-only multicast register, and all 16 memory partitions switch in about 0.1 ms. The resulting clock is 27 MHz times NDIV divided by two, so NDIV 82 gives 1107 MHz. 1 2
Nvdriver's own table compares it with proprietary driver 580.178.04 on Tesla V100-SXM2-32GB, running in identical VFIO VMs. PyTorch STREAM Triad rose from 821.85 to 1,041.72 GB/s (+26.8%), HBM2 device-to-device copy improved 23.8%, FP16 tensor-core GEMM gained 9.7% and FP32 GEMM gained 1.3%. Our inference is that the biggest gains appear in the memory-bandwidth tests, which fits a higher memory clock. All of these figures are self-reported by the project. 1
The two projects diverge on the default clock. Nvdriver reports its Volta support as verified on live silicon across 8× V100-SXM2-32GB, with a default HBM2 clock of 1107 MHz. FBR-RAM-Downloader, whose technique nvdriver credits, reports 1053 MHz as memtest-clean on 4× V100-SXM2-16GB and says 1107 MHz threw errors on those cards. The boards differ (32GB versus 16GB SXM2), so the results are not a direct contradiction. Our inference is that they leave the stability of 1107 MHz on V100 SXM2 cards an open question. 1 2
The relevant knob appears in nvdriver's README as v100_hbm_ndiv=82. The project also describes runtime-writable sysfs clocks, per-partition lock verification, automatic rollback on error and a clean restore on unload. FBR-RAM-Downloader states that only NDIV 78 (1053 MHz) is validated and that any other value should be memory-tested before anyone relies on it. Our inference from those two statements is practical: anyone evaluating nvdriver on a V100 should memory-test at the configured NDIV before trusting results. Choosing 78, if the parameter accepts it, would match the value FBR-RAM-Downloader validated. 1 2
Hardware coverage beyond Volta was unproven on real silicon by the project's own account, as of the README retrieved on 1 December 2026. It says its Maxwell, Pascal and Turing-through-Rubin GSP-RM and display code is implemented and verified offline against test scripts, but had not been validated on physical non-Volta or display-attached GPUs. Tegra SoCs such as Jetson Orin and Thor are not supported. Our inference is that anyone running it on non-V100 hardware would be among its first real-silicon testers. 1