Top Tags

Install NVIDIA Driver on Fedora

A step-by-step guide to installing the NVIDIA proprietary driver on Fedora systems.

Enable RPM Fusion Repositories

bash
1sudo dnf install \
2https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
3https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Update System

bash
1sudo dnf update -y

Install NVIDIA Driver

bash
1sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

Install NVIDIA VA-API Driver

bash
1sudo dnf install nvidia-vaapi-driver

Then build the kernel modules:

bash
1sudo akmods --force
2sudo dracut --force

Enable NVIDIA Dynamic Power Management

bash
1sudo nano /etc/modprobe.d/nvidia-power-management.conf

with

bash
1options nvidia NVreg_DynamicPowerManagement=0x02

Save and reboot