summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Lenard Spencer <lenardrspencer@gmail.com>2024-04-23 06:19:31 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-23 09:40:36 +0700
commita6955c4f2b9dd1f87898bddd829a3a6863869581 (patch)
tree9525e3e1ef0f38a52684e6b4d822046a1f870a2e /system
parentb640568b3811a1aae103001e0c6a60d29e582838 (diff)
downloadslackbuilds-a6955c4f2b9dd1f87898bddd829a3a6863869581.tar.gz
slackbuilds-a6955c4f2b9dd1f87898bddd829a3a6863869581.tar.xz
system/nvidia-open-kernel: Updated for version 550.76.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/nvidia-open-kernel/README54
-rw-r--r--system/nvidia-open-kernel/geforce.conf1
-rw-r--r--system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild9
-rw-r--r--system/nvidia-open-kernel/nvidia-open-kernel.info6
4 files changed, 39 insertions, 31 deletions
diff --git a/system/nvidia-open-kernel/README b/system/nvidia-open-kernel/README
index 8812b2ea51..280c3d66f9 100644
--- a/system/nvidia-open-kernel/README
+++ b/system/nvidia-open-kernel/README
@@ -20,31 +20,47 @@ The xf86-video-nouveau-blacklist package from /extra is required.
NOTES (quoted from the Nvidia driver README)
-"The open flavor of kernel modules supports Turing, Ampere, and
-forward. The open kernel modules cannot support GPUs before Turing,
-because the open kernel modules depend on the GPU System Processor
-(GSP) first introduced in Turing.
+"The open flavor of kernel modules supports Turing and later GPUs. The
+open kernel modules cannot support GPUs before Turing, because the open
+kernel modules depend on the GPU System Processor (GSP) first
+introduced in Turing.
"Most features of the Linux GPU driver are supported with the open
flavor of kernel modules, including CUDA, Vulkan, OpenGL, OptiX, and
-X11. G-Sync with desktop GPUs is supported. Suspend, Hibernate,
-and Resume power management is supported, as is Run Time D3 (RTD3) on
-Ampere and later GPUs. However, in the current release, some display
-and graphics features (notably: SLI, G-Sync on notebooks, preserving
-video memory across power management events with
-NVreg_PreserveVideoMemoryAllocations set) and NVIDIA virtual GPU
-(vGPU), are not yet supported. These features will be added in
-upcoming driver releases.
+X11. We eventually intend for the open kernel modules to replace the
+proprietary kernel modules.
-"Use of the open kernel modules on GeForce and Workstation GPUs should
-be considered alpha-quality in this release due to the missing features
-listed above."
+"The following features will only work with the open kernel modules
+flavor of the driver:
-To use this module on these GPUs, pass GEFORCE=yes to the script.
+ o NVIDIA Confidential Computing
-PLEASE NOTE that ffmpeg hardware video encoding will NOT work with this
-module. If you need this functionality, you MUST use the nvidia-kernel
-script which builds from the proprietary release package.
+ o Magnum IO GPUDirect Storage (GDS)
+
+ o Heterogeneous Memory Management (HMM)
+
+ o CPU affinity for GPU fault handlers
+
+ o DMABUF support for CUDA allocations
+
+
+"The following features are not yet supported by the open kernel
+modules:
+
+ o G-Sync on notebooks
+
+ o Preserving video memory across power management events
+
+
+Use of the open kernel modules on GeForce and Workstation GPUs should
+be considered Beta quality in this release and no longer requires
+setting of the "NVreg_OpenRmEnableUnsupportedGpus" nvidia.ko kernel
+module parameter. The open kernel modules are suitable for broad
+usage, and NVIDIA requests feedback on any issues encountered that are
+specific to them."
After installation, you will need to reboot your computer for the
changes to take effect.
+
+I am happy to report that ffmpeg hardware video encoding via h264_nvenc
+and hevc_nvenc now WORKS with this module.
diff --git a/system/nvidia-open-kernel/geforce.conf b/system/nvidia-open-kernel/geforce.conf
deleted file mode 100644
index 9753fd91b4..0000000000
--- a/system/nvidia-open-kernel/geforce.conf
+++ /dev/null
@@ -1 +0,0 @@
-options nvidia NVreg_OpenRmEnableUnsupportedGpus=1
diff --git a/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild b/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild
index 90290c7438..fd6f73d27c 100644
--- a/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild
+++ b/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-open-kernel
-VERSION=${VERSION:-550.67}
+VERSION=${VERSION:-550.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -101,13 +101,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cp -a README.md CHANGELOG.md SECURITY.md $PKG/usr/doc/$PRGNAM-$PKGVER
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
-# Geforce and workstation GPUs are not yet fully supported,
-# so we need this if you are on those GPUs:
-if [ "${GEFORCE:-no}" = "yes" ]; then
- mkdir -p $PKG/etc/modprobe.d
- cat $CWD/geforce.conf > $PKG/etc/modprobe.d/geforce.conf
-fi
-
mkdir -p $PKG/install
sed "s%@VERSION@%$VERSION%" $CWD/slack-desc > $PKG/install/slack-desc
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/nvidia-open-kernel/nvidia-open-kernel.info b/system/nvidia-open-kernel/nvidia-open-kernel.info
index 17dbf177dd..b8d696e994 100644
--- a/system/nvidia-open-kernel/nvidia-open-kernel.info
+++ b/system/nvidia-open-kernel/nvidia-open-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="nvidia-open-kernel"
-VERSION="550.67"
+VERSION="550.76"
HOMEPAGE="https://github.com/NVIDIA/open-gpu-kernel-modules/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-550.67.tar.xz"
-MD5SUM_x86_64="044025c997205dc165e95084d40aa775"
+DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-550.76.tar.xz"
+MD5SUM_x86_64="e908e40e476d62d7bb85a22862302593"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"