NewsCrawler.org

nvdriver: a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

nvdriver: a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs
Contribute to QuixiAI/nvdriver development by creating an account on GitHub.
nvdriver: a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs
Image: Reddit

Update · : The article reports that nvdriver v0.1 was created by Eric Hartford and was spotted by Phoronix, and that it has been tested only on headless datacenter compute and AI cards, not on display-attached or gaming GPUs.

nvdriver (nvidia_rs.ko) is an open-source Linux kernel driver for NVIDIA GPUs, written in #![no_std] Rust as a clean-room[1] drop-in replacement for NVIDIA's proprietary kernel driver. It works with unmodified NVIDIA userspace software such as CUDA, PyTorch, cuDNN, NCCL, llama.cpp and nvidia-smi, and with stock companion modules. The project says it removes restrictions that NVIDIA's closed driver applies in software, including PCIe P2P[2] transfers, Resizable BAR1 enabled by default, GPUDirect RDMA, unrestricted NVENC sessions and no vGPU allowlists. It supports pre-GSP GPUs (Maxwell, Pascal, Volta) as well as Turing through Blackwell and Rubin GSP-RM[3] GPUs.

On Tesla V100 (GV100) cards, the driver raises the HBM2[4] memory clock from the stock 877.5 MHz to 1107 MHz, which the project says gives +26.2% memory bandwidth, or 1,041.7 GB/s per card. The project reports testing on eight physical Tesla V100-SXM2-32GB GPUs against stock NVIDIA 580.178.04, passing 77/77 CUDA Parity Suite checks and reaching 59.71 GB/s BusBW in an 8-GPU PyTorch/NCCL AllReduce.

Installation requires Linux x86_64 or arm64 with kernel headers, a Rust toolchain with the matching target and existing NVIDIA userspace libraries. The README also lists tunable module parameters and a hwmon telemetry node named nvdriver.

Video from the post · Watch on X

Repository nvdriver github.com

Open-source, clean-room Rust Linux kernel driver for NVIDIA GPUs, a drop-in replacement for NVIDIA's proprietary kernel driver.

Stars: 460Forks: 40Updated:

Read the original github.comDiscussion

Discussion

Commenters mostly question whether a clean-room design is possible when LLMs were used, and some doubt the project's legal standing. Others ask how it differs from NVIDIA's open-gpu-kernel-modules, and one asks for support of older Curie-era GPUs. A V100 server owner says the clock unlock would help, and the author, Eric Hartford, answered questions in the thread.

Sources

  • GitHub

    Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

    410 comments

  • GitHub

    Author: @swarogan

    🚨 BOMB ON GITHUB! NVIDIA has a problem! nvdriver has appeared on GitHub, an alternative NVIDIA driver for Linux, written in Rust using AI agents and reverse engineering. The project aims to remove sof…

    2,400 likes2,100 bookmarks94 replies150,000 viewsReposts: 310

  • KRGeekNews KO

    nvdriver - Rust로 만든 NVIDIA GPU용 리눅스 커널 드라이버

    2 points1 comment

  • XDA new source ·

    Author: u/jacek2023

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

    120 comments

Published: First seen: Updated: Читать по-русски

Open as a page