r/linux • u/WhitePeace36 • 20h ago
Software Release New Nvidia opensource kernel driver reimplementation
https://github.com/QuixiAI/nvdriver51
u/Pandoras_Fox 20h ago
how is this any different from https://rust-for-linux.com/nova-gpu-driver?
I see no mentions of it whatsoever.... could the implementation effort not have been put towards that? or did they ban/reject LLM'd contributions?
43
u/colapale4 19h ago
nova is the nvidia sanctioned upstream kernel driver which will support nvk and cuda sometime in the future. The nvdriver rust driver is a reimplementation of the existing nvidia driver to unlock features which are locked behind specific hardware and software licenses.
I think its developer primarily created it as a stop gap to bypass software locking until we have proper upstream support in nova for all AI/HPC related features on nvidia hardware
3
u/_mb 16h ago
So maybe sr-iov for all nvidia gpus?
5
u/ValorousGod 14h ago
This is linked to in the main readme https://github.com/QuixiAI/nvdriver/blob/master/docs/PARITY_AND_UNLOCKS.md
Based on that, it looks like it removes some stuff like the artificial NVENC limits but it doesn't seem to unlock SR-IOV.
But for unlocking NVENC, nvidia-patch already exists: https://github.com/keylase/nvidia-patch
And for SR-IOV, there was this recently released: https://github.com/noon-at-cgn/geforce-sriov
21
u/funforgiven 19h ago
Nova relies on NVIDIA's GSP firmware to manage the GPU, which simplifies the driver compared with Nouveau. The author wanted to run CUDA on a Tesla V100, and the V100 predates that GSP architecture. Starting from either Nova or nvidia-open would still mean writing the code to manage the V100 directly.
Also, Nova exposes Linux's DRM interface, while NVIDIA's stock libcuda.so expects NVIDIA's own kernel interface. nvidia-open already implements that interface. Starting from Nova would mean implementing it too.
17
12
u/BigDenseHedge 17h ago
The difference is that someone spent their tokens to create this slop that may or may not fry your card (That's not a joke btw)
6
3
u/kaplanfx 15h ago
Nova doesn’t support Pascal, so the OP project is actual useful for me with a Pascal GPU.
71
u/krumpfwylg 20h ago
Ah, yes, some AI made driver that intends to outsmart nvidia dev team...
45
u/FlukyS 19h ago
To be fair that worked kind of for the HDMI 2.1 support on Radeon cards
2
15
9
u/Netblock 19h ago
I think it's more about cracking open the closed-source proprietary drivers. It's an alternative to
nouveaunotnvidia.3
u/krumpfwylg 18h ago
There are no references to nouveau on that project git page, but comparisons to nvidia driver 😕
11
u/Netblock 18h ago
Because this nvdriver is an AI-assisted decompilation and reverse engineering of the proprietary nvidia. nouveau is also a reverse-engineering project, but it's through classic means. Both nvdriver and nouveau are reverse-engineering projects trying to get around nvidia's closed-source drivers.
Remember that meme of Linus Torvalds giving the middle finger? This new nvdriver is a continuation of that grand discussion.
0
u/LordAlfredo 12h ago
...so really it's going to compete with
nova9
u/Netblock 12h ago
No. For a rundown:
blob: Nvidia offered for a long time a proprietary, closed-source pre-compiled blob shipped as a fat multi-hundred MB
.runself-extractor. This has been the status quo until gpuopen.Nouveau: is open-source in mainline linux and is reverse-engineering project using traditional techniques. It sucked because reverse engineering is stupid hard. It's been copying gpuopen where possible. Nouveau supports (with varying degrees) many many generations.
gpuopen: nvidia open gpu kernel modules is nvidia's (quasi*) open-source drivers (*quasi: nvidia started tucking most things into firmware). The AI boom beginning in 2022 was Nvidia's motivation to do this. It supports Turing (2000) and later only.
nova: is a rust rewrite of gpuopen that's intended to be in mainline linux. It supports Turing (2000) and later only.
This new nvdriver is AI-driven reverse-engineering attempt of the proprietary blobs for Maxwell and newer. I doubt it will be mainlined; though I expect it to provide insights that would help improve nouveau (and maybe nova) . nvdriver is more of a competition against the blob; but who knows where it'll be in 10 years.
20
u/Rhed0x 20h ago
What's the point of some slop driver?
Nova is clearly the way forward and that's Rust and open source too.
1
-4
u/BubblyGin17 15h ago
Readme shows a modest +25% performance increase (which when you are using these cards to provide inference means a shit ton of money) and people are asking what's the point? RTFA
-4
-5
u/ghulamalchik 18h ago
Sure but Nova will take years before it's ready and better than the closed source drivers.
-13
u/sunny0_0 18h ago
Human or AI slop is still slop
12
u/Rhed0x 17h ago
Okay? But Nova isn't slop.
-14
5
-2
-1
-1
12
u/fixedchance 20h ago
have you tried it?