Live data from Hacker News

Nvidia releases open-source GPU kernel modules

developer.nvidia.com

71–80 of 415 posts

Re: Nvidia releases open-source GPU kernel modules

#71

I wonder if it is the result of the LAPSUS$ hack. This was their statement from early March: "After evaluating our position and Nvidia's, we decided to add one more requirement. " "We request that Nvidia commits to completely Open Source (an distribute under a FOSS License) ther GPU drivers for Windows, macOS and Linux, from now on and forever." "If this request is not met, on Friday we will release the complete Sili…

[deleted]

Re: Nvidia releases open-source GPU kernel modules

#72

I did a double take because the title is almost clickbait for us desktop Linux users, and immediately wondered "what's the catch?". It's a significant catch, but also a significant step in the right direction.

It sounds like this "GSP" lets them binary blob their "secret sauce" on the controller itself, so the rest of the driver can be open source now.

Re: Nvidia releases open-source GPU kernel modules

#75
> In this open-source release, support for GeForce and Workstation GPUs is alpha quality. GeForce and Workstation users can use this driver on Turing and NVIDIA Ampere architecture GPUs to run Linux desktops and use features such as multiple displays, G-SYNC, and NVIDIA RTX ray tracing in Vulkan and NVIDIA OptiX. Users can opt in using the kernel module parameter NVreg_EnableUnsupportedGpus as highlighted in the documentation. More robust and fully featured GeForce and Workstation support will follow in subsequent releases and the NVIDIA Open Kernel Modules will eventually supplant the closed-source driver. Customers with Turing and Ampere GPUs can choose which modules to install. Pre-Turing customers will continue to run the closed source modules.

Translating & simplifying the language here: sounds like GTX 10xx GPU users (Pascal architecture, e.g. 1070/1080) will stick with closed source for now, but RTX 20xx GPU users (Turing architecture, e.g. 2080) and RTX 30xx GPU users (Ampere architecture, e.g. 3080) will have the option to opt-in to the open source kernel module. Stable open source support for GTX 10xx GPU users may come later.

Re: Nvidia releases open-source GPU kernel modules

#76

For those who didn't use Nvidia on linux in the old times: The driver was a proprietary binary. Since a kernel module requires interfacing with the kernel API, it could be considered a derivative work and a breach of the GPL license. So, Nvidia provided a small open source shim which interfaced between the kernel and the proprietary module. You had to compile that shim yourself with the right arcane command line inca…

> The module was a proprietary binary. Since a kernel module requires interfacing with the kernel API, it could be considered a derivative work and a breach of the GPL license.

I never quite understood this logic: the same (?) binary blob is used for the FreeBSD and Solaris drivers.

* https://www.nvidia.com/en-us/drivers/unix/

So how can it be a 'derivative' of the GPL Linux if it it also used on non-GPL systems?

Re: Nvidia releases open-source GPU kernel modules

#78

For those who didn't use Nvidia on linux in the old times: The driver was a proprietary binary. Since a kernel module requires interfacing with the kernel API, it could be considered a derivative work and a breach of the GPL license. So, Nvidia provided a small open source shim which interfaced between the kernel and the proprietary module. You had to compile that shim yourself with the right arcane command line inca…

> The module was a proprietary binary. Since a kernel module requires interfacing with the kernel API, it could be considered a derivative work and a breach of the GPL license. I never quite understood this logic: the same (?) binary blob is used for the FreeBSD and Solaris drivers. * https://www.nvidia.com/en-us/drivers/unix/ So how can it be a 'derivative' of the GPL Linux if it it also used on non-GPL systems?

That's an interesting cognitive dissonance that I've always been fascinated by. I've heard people criticize developers who release proprietary drivers for the linux kernel, but never those who release something dual licensed as GPL2/MIT, or those who distribute a dual licensed GPL2/MIT module as if it were solely under the MIT license; surely that would violate the Linux kernel's GPL (in being a derivative work) as much a proprietary module would?

Re: Nvidia releases open-source GPU kernel modules

#79
post #7

I wonder if this has been in the works for years, or if this is a reaction to the recent Lapsus hack.

I'd be interested to know too. The hackers purportedly demanded release of the Nvidia drivers as open source:

> The LAPSUS$ hacking group, which has taken credit for the breach, had an unusually populist demand: it stated that it wants Nvidia to open source its GPU drivers forever and remove its Ethereum cryptocurrency mining nerf from all Nvidia 30-series GPUs (such as newer models of the RTX 3080) rather than directly asking for cash. [1]

[1] https://www.theverge.com/2022/3/4/22962217/nvidia-hack-lapsu...

Post reply on HN