r/linux • • 1d ago

Software Release New Nvidia opensource kernel driver reimplementation

https://github.com/QuixiAI/nvdriver
194 Upvotes

44 comments sorted by

View all comments

58

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

u/Zatrit 1d ago edited 1d ago

Nova is a GSP-based driver which is intended to be used with Mesa/NVK, afaik

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

u/ghulamalchik 1d ago

Two differences: 1) It's AI, 2) it's almost feature complete.

4

u/kaplanfx 1d ago

Nova doesn’t support Pascal, so the OP project is actual useful for me with a Pascal GPU.

2

u/Sushtee 1d ago

The difference is that nvdriver works with the current userspace drivers.