summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2022-04-01 19:17:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:06 +0700
commit22e93a278c13e0ef2fec3d316e51a1759abc80a0 (patch)
tree85bbc39e8bd08e3ecd9e1326b97ea69168a3ef01 /system/nvidia-kernel
parentce2ac85efe37512eaa5c8bedbb0b3037e9157828 (diff)
downloadslackbuilds-22e93a278c13e0ef2fec3d316e51a1759abc80a0.tar.gz
system/nvidia-kernel: Updated for version 510.60.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel')
-rw-r--r--system/nvidia-kernel/README4
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild14
-rw-r--r--system/nvidia-kernel/nvidia-kernel.info6
3 files changed, 14 insertions, 10 deletions
diff --git a/system/nvidia-kernel/README b/system/nvidia-kernel/README
index 2af2536f50..9f139e3319 100644
--- a/system/nvidia-kernel/README
+++ b/system/nvidia-kernel/README
@@ -13,3 +13,7 @@ You do not need this file at all if you have a proper and complete
xorg.conf.
The xf86-video-nouveau-blacklist package from /extra is required.
+
+NOTE: 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.
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index f9322379dc..18b7751efe 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2012-2019 Edward W. Koenig, Vancouver, WA, USA
-# Updates cpyright 2020-2021 Lenard Spencer, Orlando, FL, USA
+# Updates copyright 2020-2022 Lenard Spencer, Orlando, FL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-kernel
-VERSION=${VERSION:-470.63.01}
+VERSION=${VERSION:-510.60.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,17 +86,17 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
(cd kernel || exit 1
- make SYSSRC=$KERNELPATH module || exit 1
+# CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch"
+# message. If you custom-build your kernel with clang,
+# then pass CC=clang to this script.
+ CC=${CC:-gcc} make SYSSRC=$KERNELPATH module || exit 1
)
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video
install -m 0664 kernel/nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
install -m 0664 kernel/nvidia-modeset.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
install -m 0664 kernel/nvidia-drm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
-# 32-bit doesn't have nvidia-uvm
-if [ "$TARGET" = "x86_64" ]; then
- install -m 0664 kernel/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
-fi
+install -m 0664 kernel/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info
index e5cf0fe313..44274e9332 100644
--- a/system/nvidia-kernel/nvidia-kernel.info
+++ b/system/nvidia-kernel/nvidia-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="nvidia-kernel"
-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"
-MD5SUM_x86_64="24ffc518e708addc9728f7f356f56ef7"
+DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run"
+MD5SUM_x86_64="2288e18f3b767e66d465fb4add1df080"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"