aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2022-04-01 19:31:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:06 +0700
commitc36cc2eeabbf75898c48e6a01e56e2617e0c1817 (patch)
tree50c2cce48316bbf15d3fe075d485d9c1a6c8d2d7 /system/nvidia-driver
parent22e93a278c13e0ef2fec3d316e51a1759abc80a0 (diff)
system/nvidia-driver: Updated for version 510.60.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r--system/nvidia-driver/README6
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild12
-rw-r--r--system/nvidia-driver/nvidia-driver.info26
3 files changed, 27 insertions, 17 deletions
diff --git a/system/nvidia-driver/README b/system/nvidia-driver/README
index fcfcc44a5102..326efcdaebc7 100644
--- a/system/nvidia-driver/README
+++ b/system/nvidia-driver/README
@@ -37,6 +37,10 @@ Notes:
3. With Slackware 15.0, nvidia-switch has been dropped once and for
all as there are no longer any conflicts.
+4. Beginning with the 495 series, support for Geforce 6xx/7xx GPUs
+ is dropped. For these GPUs, please use the nvidia-legacy470 or
+ nvidia-legacy390 SBo scripts.
+
CAUTION! Please DO NOT USE this script for Slackware(64) versions 14.2
or older as it WILL corrupt the mesa and xorg installations.
-Please use the script from those repos instead.
+Please use the scripts from those repos instead.
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index a1637dec87f9..363ac06ed060 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for nvidia-driver
# Copyright 2012-2019 Edward W. Koenig, Vancouver, WA, US
-# Copyright 2020, 2021 Lenard Spencer, Orlando, FL, USA
+# Copyright 2020, 2021, 2022 Lenard Spencer, Orlando, FL, USA
#
# All rights reserved.
#
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-driver
-VERSION=${VERSION:-470.63.01}
+VERSION=${VERSION:-510.60.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -162,6 +162,7 @@ cd $TMP/$SRCNAM
--egl-external-platform-config-path=$PKG/usr/share/egl/egl_external_platform.d \
--no-nvidia-modprobe \
--no-systemd \
+ --no-peermem \
$COMP32
# Starting with the 465 driver, the installer now places a version-specific
@@ -181,7 +182,12 @@ rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libOpenCL.so.1.0.0
if [ "${COMPAT32}" = "yes" ]; then
rm -f $PKG/usr/lib/libOpenCL.so.1.0.0
fi
-
+# Mitigate a bug in nvidia-installer that misplaces a symlink
+# (Thanks to marco70 on LQ for catching this:
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/gbm
+rm -f nvidia-drm_gbm.so
+ ln -sf ../libnvidia-allocator.so.1 nvidia-drm_gbm.so
+)
# Compile utilites from source, replacing the precompiled versions
#
# Compiling nvidia-settings
diff --git a/system/nvidia-driver/nvidia-driver.info b/system/nvidia-driver/nvidia-driver.info
index 5b5e90f9e3d9..983751d816ce 100644
--- a/system/nvidia-driver/nvidia-driver.info
+++ b/system/nvidia-driver/nvidia-driver.info
@@ -1,20 +1,20 @@
PRGNAM="nvidia-driver"
-VERSION="470.63.01"
+VERSION="510.60.02"
HOMEPAGE="http://www.nvidia.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run \
- https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-470.63.01.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-470.63.01.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-470.63.01.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-470.63.01.tar.bz2 \
- https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-470.63.01.tar.bz2"
-MD5SUM_x86_64="24ffc518e708addc9728f7f356f56ef7 \
- 9df0010aac5443f0523e271e35ea09ca \
- 59af33b68dfd336d58cd44bd746cd9d9 \
- 41a25fcc1ecd3d07cd731ac5adbe6055 \
- 5ef0d380f8a94019cf2250a6028afad9 \
- ce95b4773e8e46d7cb8bf481b656fef0"
+DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run \
+ https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-510.60.02.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-510.60.02.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-510.60.02.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-510.60.02.tar.bz2 \
+ https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-510.60.02.tar.bz2"
+MD5SUM_x86_64="2288e18f3b767e66d465fb4add1df080 \
+ ecfa5f75eb03a561e77094cd4740512c \
+ 8b8f2a8d7049f4f48456f83c313198ed \
+ 16a64c5c17d4ca50180bcbb3051bf5dd \
+ bf179231051fc7451601b21701b19590 \
+ 45eb454a5ca96d985f28f43db9e66b32"
REQUIRES="nvidia-kernel"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"