Install and activate Nvidia X11 driver

This commit is contained in:
Anders da Silva Rytter Hansen 2026-06-27 21:42:39 -03:00
commit eeeb67f066
4 changed files with 69 additions and 7 deletions

View file

@ -55,6 +55,9 @@ RUN dnf install -y ${KERNEL}-devel ${KERNEL}-devel-matched
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
# Install Nvidia X11 driver
RUN dnf install xorg-x11-nvidia --enablerepo=fc-nvidia -y
RUN dnf install -y waydroid scx-scheds
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day