Table of Contents

Information

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

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

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

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