Skip to content

Commit

Permalink
feat: Use kernel-open Nvidia drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored Jul 26, 2024
1 parent a7027b9 commit 0c9f802
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-kmod-nvidia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ cp /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/negativo17-fedora-nvidia.repo /e
dnf install -y \
akmod-nvidia*.fc${RELEASE}

# Switch to the open source kernel module
sed -i -e 's/kernel$/kernel-open/g' /etc/nvidia/kernel.conf

# Either successfully build and install the kernel modules, or fail early with debug output
rpm -qa |grep nvidia
KERNEL_VERSION="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
Expand Down

0 comments on commit 0c9f802

Please sign in to comment.