Someone used AI to rewrite Nvidia's Linux driver in Rust, and its unlocked clocks already beat the original

Someone used AI to rewrite Nvidia's Linux driver in Rust, and its unlocked clocks already beat the original

Published Nov 30, 2026, 3:56 AM EST Simon is a Computer Science BSc graduate who has been writing about technology since 2014, and using Windows machines since 3.1. After working for an indie game studio and acting as the family's go-to technician for all computer issues, he found his passion for writing and decided to use his skill set to write about all things tech. Since beginning his writing career, he has written for many different publications such as WorldStart, Listverse, and MakeTechEasier. However, after finding his home at MakeUseOf in February 2019, he would eventually move on to its sister site, XDA, to bring the latest and greatest in Windows, Linux, and DIY electronics. Summary nvdriver v0.1 is an AI-assisted, reverse-engineered Rust NVIDIA kernel driver. It shows major compute gains on Tesla V100 (up to ~27% memory bandwidth, faster ML ops) but is tested headless only. It's not ready for display/gaming GPUs yet; a promising path, but many may distrust AI-made drivers. Linux is becoming a real winner for gamers, but unfortunately, there's still trouble with Nvidia's drivers. While AMD users enjoy a fully open-source driver stack, Nvidia's have always been a bit more fickle and required extra work to get going. Now, someone has released nvdriver v0.1, created by using AI to reverse-engineer the Nvidia drivers and rewrite them in Rust. And while the GitHub page claims some pretty good performance gains, there's still a long way for it to go. nvdriver v0.1 is an AI-generated GPU driver for Linux It was just released, too As spotted by Phoronix, the project is called nvdriver and created by Eric Hartford. It's an AI-assisted, reverse-engineered Rust-based kernel driver for Nvidia cards, spanning from Maxwell to Rubin. It acts as a drop-in replacement, but it still relies on Nvidia's userspace libraries to work, like CUDA and nvidia-smi. Unfortunately, nvdriver hasn't been physically tested on display-attached or gaming GPUs just yet; it has only seen use on headless datacenter compute and AI cards. So, while you can't slap this on your RTX and game with it today, it could build into something bigger down the line. The creator has only tested it on Tesla V100-SXM2-32GB cards, but given that nvdriver automatically unlocks the GPU's memory clock from 877.5 MHz up to 1107 MHz, it outdoes the proprietary 580.178.04 driver in most of the project's own tests, largely thanks to that higher memory clock: Benchmark Proprietary 580.178.04 nvdriver (Default) Delta PyTorch STREAM Triad (768 MiB) 821.85 GB/s 1,041.72 GB/s +26.8% (>1 TB/s!) HBM2 D2D Copy (512 MiB) 819.01 GB/s 1,013.65 GB/s +23.8% FP16 Tensor Core GEMM (8192³) 97.69 TFLOPS 107.17 TFLOPS +9.7% FP32 GEMM (8192³) 14.18 TFLOPS 14.37 TFLOPS +1.3% Memory-Bound LayerNorm + GELU 2.612 ms 2.126 ms 1.23× faster llama.cpp Prompt Eval (pp512) 31,067 tok/s 34,884 tok/s +12.3% Transformer Layer Fwd + Bwd 13.245 ms 12.885 ms +2.7% faster CUDA Graph 50-op Replay 76.17 µs 80.20 µs 95.0% parity PCIe Pinned H2D / D2H (256 MiB) 12.39 / 13.16 GB/s 12.40 / 13.16 GB/s 100% parity 2-GPU NVLink 2.0 NV2 Bidir / Unidir 94.0 / 48.1 GB/s 96.98 / 48.49 GB/s +3.2% (25.781 Gbps) Of course, this begs the question: will people want to entrust their Nvidia drivers to an AI-generated project? On one hand, people may opt for human-made drivers to ensure nothing catastrophic happens to their PC; on the other, we've been seeing plenty of Linux projects adopt AI, including for the kernel itself. Regardless, if you want to check it out, or perhaps even give it a try if you happen to have a spare Tesla V100 lying around (check the attic), head over to the nvdriver GitHub page.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.