sudo dnf install kernel-devel gcc-c++
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
cd ~/'Projects/nvidia-open/src' && make modules -j$(nproc) && sync
cd ~/'Projects/nvidia-open/src' && sudo make modules_install -j$(nproc) && sync
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
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'
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