r/linux • u/WhitePeace36 • 1d ago
Software Release New Nvidia opensource kernel driver reimplementation
https://github.com/QuixiAI/nvdriver58
u/Pandoras_Fox 1d 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?
46
u/colapale4 1d 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 1d ago
So maybe sr-iov for all nvidia gpus?
6
u/ValorousGod 1d 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
22
u/funforgiven 1d 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
14
u/BigDenseHedge 1d 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)
8
4
u/kaplanfx 1d ago
Nova doesn’t support Pascal, so the OP project is actual useful for me with a Pascal GPU.
84
u/krumpfwylg 1d ago
Ah, yes, some AI made driver that intends to outsmart nvidia dev team...
50
u/FlukyS 1d ago
To be fair that worked kind of for the HDMI 2.1 support on Radeon cards
3
14
10
u/Netblock 1d ago
I think it's more about cracking open the closed-source proprietary drivers. It's an alternative to
nouveaunotnvidia.2
u/krumpfwylg 1d ago
There are no references to nouveau on that project git page, but comparisons to nvidia driver 😕
14
u/Netblock 1d 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 1d ago
...so really it's going to compete with
nova12
u/Netblock 1d 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.
0
u/Daell 13h ago
nvidia dev team
Are you talking about that smart dev team at still unable to provide shared VRAM support on Linux? Are we talking about the same brilliant team? I love when my 6gb fragmented VRAM fills up and apps are freezing. This is a non issue on AMD. And Dum Dum dooom: on Windows.
19
u/Rhed0x 1d ago
What's the point of some slop driver?
Nova is clearly the way forward and that's Rust and open source too.
8
-4
u/BubblyGin17 1d 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 1d ago
Sure but Nova will take years before it's ready and better than the closed source drivers.
-14
u/sunny0_0 1d ago
Human or AI slop is still slop
12
u/Rhed0x 1d ago
Okay? But Nova isn't slop.
-15
2
u/metux-its 15h ago
Now it would be cool if somebody reverse-engineered Nvidia's proprietary X11 extension, so we could replace the proprietary xorg/xf86 driver.
6
1
u/Numerous-Back5678 14h ago
Can
nvdrivercurrently run a pre-GSP (Pascal, e.g., Tesla P40) and a GSP (Blackwell, e.g., RTX 5060) GPU simultaneously on the same Linux host? Also, what is the current status of display output support and CUDA stability for these non-Volta architectures?
-4
-2
-4
12
u/fixedchance 1d ago
have you tried it?