summaryrefslogtreecommitdiff
path: root/system/nvidia-driver
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2021-01-29 00:13:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-30 10:29:13 +0700
commit44d0ef25f6ce3e76b91192e0512354d238b9b949 (patch)
treed3e64fa86045f9b77a1c8c23ac7564bb04850bc5 /system/nvidia-driver
parent03b41da651dc3132ec854aeb6da034181a2168b7 (diff)
downloadslackbuilds-44d0ef25f6ce3e76b91192e0512354d238b9b949.tar.gz
system/nvidia-driver: Updated for version 460.39.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r--system/nvidia-driver/README10
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild4
-rw-r--r--system/nvidia-driver/nvidia-driver.info26
3 files changed, 23 insertions, 17 deletions
diff --git a/system/nvidia-driver/README b/system/nvidia-driver/README
index 02348377d2..9f87edbdff 100644
--- a/system/nvidia-driver/README
+++ b/system/nvidia-driver/README
@@ -3,15 +3,19 @@ X-server. This package does not include the kernel-module - it is
part of the nvidia-kernel package at SlackBuilds.org.
NOTE: This driver is ONLY for Slackware64. For x86 32-bit support, use
-nvidia-legacy390-{driver,kernel}
+nvidia-legacy390-{driver,kernel}.
Installing the 32-bit compatibility libraries is available:
if desired, do:
COMPAT32="yes" ./nvidia-driver.SlackBuild
-If you plan to test this buildscript on current (15.0 EXPERIMENTAL),
-to avoid stomping on the installed libglvnd, do:
+If you plan to test this buildscript on current/15.0, do:
+
CURRENT="yes" ./nvidia-driver.SlackBuild
+
+This avoids stomping on the libglvnd libraries, plus it forces the
+script to use the prebuilt nvidia-installer since it no longer builds
+in current. As a consequence, this script may no longer work in a VM.
This script now gives the option of installing the nvidia-persitenced
daemon. For details, see README.nvidia-persitenced.
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index f925be8f59..0824298417 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -27,7 +27,7 @@
# see changelog.txt
PRGNAM=nvidia-driver
-VERSION=${VERSION:-460.32.03}
+VERSION=${VERSION:-460.39}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -104,6 +104,7 @@ find -L . \
# Compiling the various open source apps instead of using the precompiled binaries
# Compiling nvidia-installer from source
+if [ "$CURRENT" = "no" ]; then
cd $TMP/nvidia-installer-$VERSION
# Let's try to remove the conflicting files and GPU detection
@@ -127,6 +128,7 @@ cd -
# to the driver source tree for use
mv -f $PKG/usr/bin/nvidia-installer $TMP/$SRCNAM
mv -f $PKG/usr/man/man1/nvidia-installer.1.gz $TMP/$SRCNAM
+fi
if [ "${COMPAT32}" = "yes" ]; then
COMP32="--install-compat32-libs --compat32-prefix=$PKG/usr"
diff --git a/system/nvidia-driver/nvidia-driver.info b/system/nvidia-driver/nvidia-driver.info
index 2266af69b0..60e7394416 100644
--- a/system/nvidia-driver/nvidia-driver.info
+++ b/system/nvidia-driver/nvidia-driver.info
@@ -1,20 +1,20 @@
PRGNAM="nvidia-driver"
-VERSION="460.32.03"
+VERSION="460.39"
HOMEPAGE="http://www.nvidia.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run \
- https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-460.32.03.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-460.32.03.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-460.32.03.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-460.32.03.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-460.32.03.tar.bz2"
-MD5SUM_x86_64="360228c8de0e47f4245c7e2b108ef6cd \
- b49d3db396b70c7f9efb596707eae596 \
- a53d339094601b8776c13ccf1bfe9b1f \
- 1b3662e88e888fd5bf5e305b12c40aab \
- 02ac51ba718be82f7ef24105420739cd \
- 1d85016033325f2e6e749dbf74dfbcca"
+DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run \
+ https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-460.39.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-460.39.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-460.39.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-460.39.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-460.39.tar.bz2"
+MD5SUM_x86_64="79365687506ff548f9504e9fe0e0bc03 \
+ 9e4997a15d1a706e233431638b3196bf \
+ 8fc729e47da47aacfd0ed19054d092d0 \
+ da967b3e119d34760d9b4c448c97d47f \
+ fdcdc9d1322c91aef187e1239238b319 \
+ 3697b05891f99f0882fd55eeb69eec41"
REQUIRES="nvidia-kernel"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"