From 39bd89cf018bdc385298c6dbe1b3a2204b7d09c7 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 16 Oct 2024 21:42:57 +0200 Subject: [PATCH] NVIDIA: Avoid install akmod-nvidia and akmod-nvidia-open --- scripts/nvidia/install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/nvidia/install.sh b/scripts/nvidia/install.sh index 7aa6511..19113cd 100755 --- a/scripts/nvidia/install.sh +++ b/scripts/nvidia/install.sh @@ -3,13 +3,14 @@ set -ouex pipefail +# Enabling custom repository rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$RELEASE.noarch.rpm \ https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$RELEASE.noarch.rpm -# see https://rpmfusion.org/Howto/NVIDIA#Kernel_Open -rpm-ostree install rpmfusion-nonfree-release-tainted +# See https://rpmfusion.org/Howto/NVIDIA#OSTree_.28Silverblue.2FKinoite.2Fetc.29 +curl -o /etc/yum.repos.d/kwizart-nvidia-driver-rawhide-fedora.repo https://copr.fedorainfracloud.org/coprs/kwizart/nvidia-driver-rawhide/repo/fedora-$RELEASE/kwizart-nvidia-driver-rawhide-fedora-$RELEASE.repo -rpm-ostree install akmod-nvidia-open xorg-x11-drv-nvidia-cuda libva-nvidia-driver \ - nvidia-vaapi-driver libva-utils vdpauinfo xorg-x11-drv-nvidia-cuda-libs +rpm-ostree install akmod-nvidia-default-open akmod-nvidia xorg-x11-drv-nvidia-cuda libva-nvidia-driver \ + nvidia-vaapi-driver libva-utils vdpauinfo cp /tmp/scripts/nvidia/modprobe.d/*.conf /etc/modprobe.d/ \ No newline at end of file