Rolling back nvidia driver to 580 for the near future

This commit is contained in:
ben committed 2026-07-05 13:46:33 -04:00
1 parent 25a2463c23
commit 14eab6ee34
1 file changed
+5 -4
+5 -4
View File
@@ -49,14 +49,15 @@ RUN rpm --import \
dnf5 clean all
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
# FIXME: Sticking with the 580 driver because 595 does way too much thermal throttling on the Legion. Try the next major version (>595) when it's available to see if it's better.
RUN dnf5 install -y \
akmod-nvidia \
xorg-x11-drv-nvidia-cuda \
akmod-nvidia-580xx \
xorg-x11-drv-nvidia-580xx-cuda \
proton-vpn-gnome-desktop || true && \
dnf5 clean all
# TODO: Remove these unnecessary checks to make sure the packages above actually got installed. rpm exits non-zero if the package is not installed and aborts the Containerfile build
RUN rpm -q akmod-nvidia && \
rpm -q xorg-x11-drv-nvidia-cuda && \
RUN rpm -q akmod-nvidia-580xx && \
rpm -q xorg-x11-drv-nvidia-580xx-cuda && \
rpm -q proton-vpn-gnome-desktop
# The first check makes sure that we have exactly 11 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).