127
submitted 1 day ago by behuman@lemmy.ml to c/linux@lemmy.ml

https://news.ycombinator.com/item?id=50698903

https://github.com/QuixiAI/nvdriver

https://rust-for-linux.com/nova-gpu-driver

I'm also not fan of AI tools but... FCK Nvidia/adobe and other monster corporations by Reverse Engineering is okay for me!

you are viewing a single comment's thread
view the rest of the comments
[-] umbrella@lemmy.ml 17 points 1 day ago

i thought nvidia had already released source and documentation.

isn't that what's fueling the development of the new nvk and nouveau driver?

[-] Sickday@kbin.earth 23 points 1 day ago

sort of. nvidia open-sourced the kernel modules, so userspace libs like cuda, opengl, vulkan, etc. are all still closed. also nvidia's open sourced kernel modules only work on Turing+ chips. nvidia probably open sourced the kernel modules because all the juicy logic was moved to the GPU System Processor (closed sourced CPU built into the Turing+ cards).

The current nvk is mostly a small layer that can talk to the newer GSP. Older cards like Maxwell-era dont have a GSP so the nvk driver doesn't really apply to them. They still use the closed nvidia.ko blob. nvk itself is a userspace mesa driver though and it runs on nouveau and doesn't use even use nvidia's open modules.

this nvdriver is a ~~clearly reverse engineered~~ "clean room" rust impl of nvidia's closed kernel module (nvidia.ko). its able to run stuff like libcuda, nvidia-smi, probably even llama.cpp and PyTorch. it's also doing shit like removing product limits for crytpo miners and vgpu allow-lists. to me, it looks like they're trying to do this specifically for cuda stuff though. Will it work with nvk? not sure I haven't spent enough time looking at it to know.

also anyone more knowledgeable feel free to correct me. this is just cursory glance info so I could be off on my assessment of the repo

Edit: got a good look. How the fuck is this clean room?? they've got their agents using rea in almost every part of the first step lol.

[-] fhein@lemmy.world 4 points 9 hours ago

How the fuck is this clean room??

I don't know if this is how they actually do it, but AFAIK all that is needed to qualify as "clean room" is that the output of those tools is only used to write a specification of how the driver works. And then a different developer/agent, who has never seen Nvidia's copyrighted code, writes the new driver only based on that specification. The loophole being that the specification your first developer wrote is not copyrighted

this post was submitted on 02 Dec 2026
127 points (90.4% liked)

Linux

68994 readers
718 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS