NVIDIA /open-gpu-kernel-modules

NVIDIA Linux open GPU kernel module source

★ 17,591⑂ 1,979👁 189⑃ 316● 878▤ 223
CNOASSERTIONCreated 2022-05-02
Download: 620.70.06620.70.06 ↓620.70.062026-11-05
+6
Daily
17,591
stars
1,979
forks
189
watchers
316
prs
878
issues
223
releases

README

NVIDIA Linux Open GPU Kernel Module Source

This is the source release of the NVIDIA Linux open GPU kernel modules,
version 620.70.06.


 How to Build

To build:

    make modules -j$(nproc)

To install, first uninstall any existing NVIDIA kernel modules.  Then,
as root:

    make modules_install -j$(nproc)

Note that the kernel modules built here must be used with GSP
firmware and user-space NVIDIA GPU driver components from a corresponding
620.70.06 driver release.  This can be achieved by installing
the NVIDIA GPU driver from the .run file using the --no-kernel-modules
option.  E.g.,

    sh ./NVIDIA-Linux-[...].run --no-kernel-modules


 Supported Target CPU Architectures

Currently, the kernel modules can be built for x86_64 or aarch64.
If cross-compiling, set these variables on the make command line:

    TARGET_ARCH=aarch64|x86_64
    CC
    LD
    AR
    CXX
    OBJCOPY

E.g.,

     compile on x86_64 for aarch64
    make modules -j$(nproc)         \
        TARGET_ARCH=aarch64         \
        ARCH=arm64                  \
        CC=aarch64-linux-gnu-gcc    \
        LD=aarch64-linux-gnu-ld     \
        AR=aarch64-linux-gnu-ar     \
        CXX=aarch64-linux-gnu-g++   \
        OBJCOPY=aarch64-linux-gnu-objcopy


 Other Build Knobs

NV_VERBOSE - Set this to "1" to print each complete command executed;
    otherwise, a succinct "CC" line is printed.

DEBUG - Set this to "1" to build the kernel modules as debug.  By default, the
    build compiles without debugging information.  This also enables
    various debug log messages in the kernel modules.

These variables can be set on the make command line.  E.g.,

    make modules -j$(nproc) NV_VERBOSE=1


 Supported Toolchains

Any reasonably modern version of GCC or Clang can be used to build the
kernel modules.  Note that the kernel interface layers of the kernel
modules must be built with the toolchain that was used to build the
kernel.


 Supported Linux Kernel Versions

The NVIDIA open kernel modules support the same range of Linux kernel
versions that are supported with the proprietary NVIDIA kernel modules.
This is currently Linux kernel 4.15 or newer.


 How to Contribute

Contributions can be made by creating a pull request on
https://github.com/NVIDIA/open-gpu-kernel-modules
We'll respond via GitHub.

Note that when submitting a pull request, you will be prompted to accept
a Contributor License Agreement.

This code base is shared with NVIDIA's proprietary drivers, and various
processing is performed on the shared code to produce the source code that is
published here.  This has several implications for the foreseeable future:

 The GitHub repository will function mostly as a snapshot of each driver
  release.

 We do not expect to be able to provide revision history for individual
  changes that were made to NVIDIA's shared code base.  There will likely
  only be one git commit per driver release.

 We may not be able to reflect individual contributions as separate
  git commits 

Top issues

Discussions

Latest release

620.70.06 620.70.06 2026-11-05
https://www.nvidia.com/en-us/drivers/details/283867/

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON