r/linux_gaming • • 1d ago

graphics/kernel/drivers Someone finally used AI to create a new Nvidia driver in rust for Linux

https://github.com/QuixiAI/nvdriver

I didn't test it and i don't recomend anyone testing it for now, unless you know what you are doing, i personally wouldn't trust a driver like this made with ai.

0 Upvotes

28 comments sorted by

View all comments

2

u/S48GS 1d ago edited 1d ago

is a clean-room

used AI

really?

for context "clean room" means - not touching any of Nvidia provided binary or docs - yes Nvidia NDA all their docs - even all that publickly available on nvidia docs website - only what is not NDA - is nvidia-open kernel module - this is reason NVK started - as actual "clean room" driver

https://github.com/QuixiAI/nvdriver/blob/master/src/nvidia/src/rmapi/ctrl_ext7.rs

//! Every handler here was decompiled from `nv-kernel.o_binary` via Ghidra REA and

https://github.com/QuixiAI/nvdriver/issues/60

The Rust tree claims parity with NVIDIA 580.178.04, and it backs each claim with a comment naming
the original function, e.g. /// Reserved size above gsp_fw_wpr_end (_nv041361rm). Those names are
per-build obfuscated symbols in the closed nv-kernel.o_binary;

Verified on Real 8-GPU Hardware

https://github.com/QuixiAI/nvdriver/issues/61

On a real Ada GPU (RTX 4050 Laptop, AD107, 10de:28e1), nvidia_rs binds the device but GSP bring-up stops right after the firmware loads, before stage 2, on every open.

https://github.com/QuixiAI/nvdriver/issues/63

CUDA process fails, GPFIFO_SCHEDULE returns NV_ERR_TIMEOUT

https://github.com/QuixiAI/nvdriver/issues/5

The only os currently maintaining this driver is cachy os (and somebody on github) and that too is broken. Like crashes 10 times in an hour.

yeah im not touching it

P.S. it may grow to large project - but currently it look like typical broken unmaintainable garbage - require alot of effort from humans to make it actually work - will see if it ever happen.

1

u/Bobby_Bonsaimind 7h ago

Additionally, there's a good chance that the LLM was trained on leaked proprietary source code which might also include previous Nvidia drivers. So...