User Tools

Site Tools


linux:notes:nvidia_open_gpu_kernel_modules

Information

  • NVIDIA Linux Open GPU Kernel Module Source 1)
  • main 2)

Dependencies

sudo dnf install kernel-devel gcc-c++

Download/Update Source

cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/nvidia-open/src' && git clone --branch 'main' --depth '1' --recurse-submodules 'https://github.com/NVIDIA/open-gpu-kernel-modules.git' ~/'Projects/nvidia-open/src' && sync

Compile

cd ~/'Projects/nvidia-open/src' && make modules -j$(nproc) && sync

Install

cd ~/'Projects/nvidia-open/src' && sudo make modules_install -j$(nproc) && sync

GSP and Components

  • 520.56.06
wget -O '/tmp/nv.run' 'https://us.download.nvidia.com/XFree86/Linux-x86_64/520.56.06/NVIDIA-Linux-x86_64-520.56.06.run' && chmod +x '/tmp/nv.run' && sudo '/tmp/nv.run' --no-kernel-modules

Kernel Options

  • :!: nouveau blacklist, unsupported GPUs, and modeset are required

Verify

modinfo 'nvidia' | grep 'Dual MIT/GPL'
cat '/proc/driver/nvidia/version' | grep 'Open Kernel Module'
nvidia-smi -q | grep 'GSP Firmware Version'
ls '/lib/firmware/nvidia/'*'/gsp.bin'

Uninstall

  • 520.56.06
wget -O '/tmp/nv.run' 'https://us.download.nvidia.com/XFree86/Linux-x86_64/520.56.06/NVIDIA-Linux-x86_64-520.56.06.run' && chmod +x '/tmp/nv.run' && sudo '/tmp/nv.run' --uninstall
/usr/local/www/wiki/data/pages/linux/notes/nvidia_open_gpu_kernel_modules.txt · Last modified: by 127.0.0.1