Live data from Hacker News

Nvidia releases open-source GPU kernel modules

developer.nvidia.com

61–70 of 415 posts

Re: Nvidia releases open-source GPU kernel modules

#61
post #8

Had to do a few doubletakes on this, but even with the recent hacks and progress on NVIDIA releasing Tegra source code, I didn't expect this for another few years. Holy shit. It's even licensed as MIT. Even OpenBSD could conceivably port this with enough manpower. Adding enough just emulation for the userspace driver would be a lot easier than maintaining a complete linux emulator. This is one of the biggest things t…

[deleted]

Re: Nvidia releases open-source GPU kernel modules

#62

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…

Definitely. There are no coincidences in Nvidia strategy.

Re: Nvidia releases open-source GPU kernel modules

#63

Earlier quoted context omitted.

Quoted post unavailable.

Nvidia have always shipped closed-source drivers, despite AMD and Intel providing open source drivers for their GPUs. This made the experience on Linux second class to Windows, where while also closed source, at least you knew that bugs would probably get fixed. Various non-core features simply wouldn't have support on Linux, e.g. Optimus. Also, shipping closed source binaries would limit which kernel you could run t…

This is a good technical summary of the impact but I think misses the somewhat emotive history here.

See things like this infamous clip from Torvalds[0] for more context on the community sentiment around nvidia in general.

[0] https://www.youtube.com/watch?v=IVpOyKCNZYw

Re: Nvidia releases open-source GPU kernel modules

#64
post #51
post #8

Had to do a few doubletakes on this, but even with the recent hacks and progress on NVIDIA releasing Tegra source code, I didn't expect this for another few years. Holy shit. It's even licensed as MIT. Even OpenBSD could conceivably port this with enough manpower. Adding enough just emulation for the userspace driver would be a lot easier than maintaining a complete linux emulator. This is one of the biggest things t…

If the module can use MESA, good. If not, meh. >. Adding enough just emulation for the userspace driver would be a lot easier than maintaining a complete linux emulator. OpenBSD it's the best BSD on support for free (Intel) and semi free drivers such as the ones from AMD, they already adapted all the src from Linux, KMS included.

That's very different. The source code for the userspace portions of the MESA drivers for AMD/Intel are released under a permissive licenses, so OpenBSD (and other BSDs) have been able to modify them to compile under their OS (and get those changes committed to the original tree). With NVIDIA, the userspace portions don't use MESA, so would need some form of translation layer to work on an OS other than Linux.

But, said translation layer would have limited scope; so is a lot more feasible than maintaining a general purpose translation layer indefinitely.

Re: Nvidia releases open-source GPU kernel modules

#69
post #60

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…

I remember using that for a Geforce2 MX and the installer. People has no idea on what FREEDOM do you have if you aren't bound to crappy licenses with Nvidia and CUDA for serious computing where you can be limited per core.

Those were simpler times

Re: Nvidia releases open-source GPU kernel modules

#70
post #59

Earlier quoted context omitted.

No way they're releasing CUDA or Nvidia RTX code. That'll stay closed source (and I respect that)

Well, the libre GNU world world will be able to use OpenCL with even more performance.

They may be limiting that stuff on the closed source parts or at the firmware level. Nvidia no way will allow full blown OpenCL/Vulkan performance and support on their cards.
Post reply on HN