Source of NVIDIA's open Linux GPU kernel modules for Turing and later GPUs
open sourceMIT OR GPL-2.0-onlyfree
NVIDIA's open GPU kernel modules are the open source Linux kernel modules of the NVIDIA GPU driver, released here in step with each driver version. You build them with make modules and install them with make modules_install, then pair them with the GSP firmware and user-space driver components from the matching NVIDIA driver release (for example by installing the driver's .run file with --no-kernel-modules). They work on any Turing or later GPU, build for x86_64 and aarch64 (including cross-compiling), and support the same Linux kernel range as the proprietary modules, currently Linux 4.15 or newer. The source files are MIT licensed, and a built kernel module is dual licensed MIT and GPLv2.
Problems it solves
- I want the open source NVIDIA kernel modules instead of the proprietary blob on my Linux box
- I need to build the NVIDIA GPU kernel module for an aarch64 server
- I want to patch or debug the NVIDIA kernel driver on Linux
Features
- Open source kernel modules of the NVIDIA GPU driver
- Turing and later GPUs
- x86_64 and aarch64, with cross-compiling
- Linux 4.15 or newer
- Released in step with each NVIDIA driver version
Limitations
- Works only on Turing or later NVIDIA GPUs, and must be paired with the GSP firmware and user-space driver from the same NVIDIA driver release.1
