Install and activate Nvidia X11 driver
This commit is contained in:
parent
eec40b87ab
commit
eeeb67f066
4 changed files with 69 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue