← Blog

NVIDIA Makes GPU Kernel Modules Open-Source

2 minEN

NVIDIA has been serving as a major player in the GPU industry for quite a while now, though they are relatively new to the open-source environment. Recently, NVIDIA released their open-source GPU kernel modules, allowing developers and enthusiasts to have an improved experience of using NVIDIA GPUs in Linux.

As expected, this initiative gives researchers and programmers the freedom to modify and customize the source code in useful ways – something they weren't allowed to do in the past. This opened a new door for the Linux community to utilize the NVIDIA graphics driver on more systems and to present users with an out-of-the-box experience.

NVIDIA is providing an open-source kernel driver under a dual MIT/GPL license, however, it is not open-sourcing elements of the driver that run in user space at the moment. This comprises still-closed-source OpenGL, Vulkan, OpenCL, and CUDA drivers, as well as firmware for the GPU System Processor (GSP). According to Nvidia, these drivers "will remain closed source and distributed with pre-built binaries," so open source versions are unlikely to be released soon.

The GeForce GTX 1600 series, the RTX 2000 and 3000 series, and Quadro workstation GPUs based on the same architecture are all supported by NVIDIA's open-source drivers. The company's proprietary drivers date back to the Kepler architecture from 2012.

The open-source drivers will also not be merged into the Linux kernel until the API, ABI, and the interface between the kernel driver and the GSP firmware interface are finalized, according to Phoronix. To work successfully, everything from the firmware to the kernel driver to the user space drivers must match versions (the current release is version R515.43.04).

R515 is the initial open GPU kernel module release. The drivers are offered as fully developed and packaged versions in addition to the source code. The said source code is production-ready that was made possible thru the rollout of the GSP driver architecture. However, support for GeForce, Quadro, and other consumer GPUs is "alpha quality". Do not be in a rush to install it, unless you want to try it out on a testbed system or contribute to the work.

The R515 development driver can be downloaded from this page, or as part of the CUDA Toolkit 11.7.