Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created January 6, 2026 13:59
Show Gist options
  • Select an option

  • Save jkeam/d4641451b272d815c791e5a94e8e9698 to your computer and use it in GitHub Desktop.

Select an option

Save jkeam/d4641451b272d815c791e5a94e8e9698 to your computer and use it in GitHub Desktop.
In the GRUB bootmenu, I needed these options to make my NVIDIA card work.
rd.driver.blacklist=nouveau,nouveau.modeset=0,nvidia-drm.modeset=1
@jkeam
Copy link
Author

jkeam commented Jan 6, 2026

These options are basically:

  1. Doing everything we can do disable nouveau drivers
  2. Ensure NVIDIA drivers are used

@jkeam
Copy link
Author

jkeam commented Jan 6, 2026

This is also assuming I have the NVIDIA drivers installed.

Add the repo:

sudo cat /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
[sudo] password for jkeam:
[rpmfusion-nonfree-nvidia-driver]
name=RPM Fusion for Fedora $releasever - Nonfree - NVIDIA Driver
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/nvidia-driver/$releasever/$basearch/
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$basearch
enabled=1
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
skip_if_unavailable=True

What I installed:

~ sudo dnf repoquery --userinstalled | grep nvidia
akmod-nvidia-470xx-3:470.256.02-13.fc43.x86_64
kmod-nvidia-470xx-6.17.10-300.fc43.x86_64-3:470.256.02-13.fc43.x86_64
kmod-nvidia-470xx-6.17.11-300.fc43.x86_64-3:470.256.02-13.fc43.x86_64
kmod-nvidia-470xx-6.17.12-300.fc43.x86_64-3:470.256.02-13.fc43.x86_64
nvidia-gpu-firmware-0:20251125-1.fc43.noarch
xorg-x11-drv-nvidia-470xx-3:470.256.02-5.fc43.x86_64
xorg-x11-drv-nvidia-470xx-cuda-3:470.256.02-5.fc43.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment