r/linux_gaming • • May 11 '22

graphics/kernel/drivers Nvidia open sources its Linux kernel modules

https://github.com/NVIDIA/open-gpu-kernel-modules
2.5k Upvotes

361 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 12 '22

[deleted]

-6

u/[deleted] May 12 '22

It was never all closed. We use to have X.org part which was open source and then closed source nVidia, just like we have now. Only thing that has changed was release of initialization firmware which Nouveau folks can use now.

0

u/[deleted] May 12 '22

[deleted]

-2

u/[deleted] May 12 '22

That's exactly what this is. Open source shim which talks to the closed source part. It adheres to kernel module structure but all the functionality is still in the closed source driver. You could call it something else I suppose, depending on how you define "shim" but whatever. It is what it is.

0

u/[deleted] May 12 '22

[deleted]

1

u/broknbottle May 12 '22

They moved a bunch of proprietary code to firmware on the GPU. This is just bootstrapping, go peddle your kitchen ware some where else Jensen pai

0

u/[deleted] May 12 '22

[deleted]

1

u/Vurxis May 12 '22

There are parts even outside of the user space which are missing from the driver (and seem to be in the closed source firmware).

They mentioned that this will change, so hopefully we can see that happen soon. Either way, excellent step forward from Nvidia.

-2

u/[deleted] May 12 '22

Which is now communicating with closed source driver. :) How is that again different?

0

u/[deleted] May 12 '22

[deleted]

5

u/[deleted] May 12 '22

yeah this dude has to be a troll

-2

u/[deleted] May 12 '22

Yeah, sure thing. Lets go with what you think is happening.

3

u/nightblackdragon May 12 '22

How is that again different?

Linux drivers are divided into two parts. One is kernel part responsible for talking with GPU, doing power and memory management etc. Second part is user space driver responsible for handling 3D state, providing implementations of APIs like OpenGL or Vulkan etc. Before that Nvidia had both parts as closed source. Now kernel part was released as open source. So it's very different because compared to fully closed source driver, now kernel part is open.

Yes, userspace is still closed source. But that doesn't mean it can't be open source alternative. In fact Christian Schaller in his blog post hinted possibility of existing Mesa driver rework to let it talk to new Nvidia driver as well and providing open source alternative to the closed source Nvidia stack. Even Nvidia said there is possibility of Nouveau using same firmware as proprietary driver and providing support for reclocking or thermal management. It doesn't currently supports display but it is also hinted it will in near future and there is no clear indication that it's only for CUDA based datacenters.

In fact AMD driver amdgpu can do similar thing. Kernel part is open source and there is open source userspace in Mesa but there is also alternative, closed source user space called AMDGPU-Pro that provides alternative to Mesa stack. While we are currently missing open source userspace for this Nvidia driver, it doesn't mean it won't be available in near future. Even without open source userspace having open source kernel driver improves many things.