Created
October 26, 2024 16:07
-
-
Save pendo324/aec6a945e515bf384c37a093fc5a62a6 to your computer and use it in GitHub Desktop.
nvidia-beta 565.57.01 updates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index fee7695..9cc5a46 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,27 +1,27 @@ | |
pkgbase = lib32-nvidia-utils-beta | |
pkgdesc = NVIDIA drivers utilities (32-bit, beta version) | |
- pkgver = 565.57.01 | |
+ pkgver = 560.35.03 | |
pkgrel = 1 | |
url = https://www.nvidia.com/ | |
arch = x86_64 | |
license = LicenseRef-custom | |
- makedepends = nvidia-utils-beta>=565.57.01 | |
+ makedepends = nvidia-utils-beta>=560.35.03 | |
options = !strip | |
options = !emptydirs | |
- source = https://us.download.nvidia.com/XFree86/Linux-x86_64/565.57.01/NVIDIA-Linux-x86_64-565.57.01.run | |
- sha256sums = 6eebe94e585e385e8804f5a74152df414887bf819cc21bd95b72acd0fb182c7a | |
+ source = https://us.download.nvidia.com/XFree86/Linux-x86_64/560.35.03/NVIDIA-Linux-x86_64-560.35.03.run | |
+ sha256sums = f2932c92fadd43c5b2341be453fc4f73f0ad7185c26bb7a43fbde81ae29f1fe3 | |
pkgname = lib32-nvidia-utils-beta | |
depends = lib32-zlib | |
depends = lib32-gcc-libs | |
depends = lib32-libglvnd | |
- depends = nvidia-utils-beta>=565.57.01 | |
+ depends = nvidia-utils-beta>=560.35.03 | |
optdepends = lib32-opencl-nvidia-beta: for OpenCL support | |
- provides = lib32-nvidia-utils=565.57.01 | |
+ provides = lib32-nvidia-utils=560.35.03 | |
provides = lib32-vulkan-driver | |
provides = lib32-opengl-driver | |
- provides = lib32-nvidia-libgl=565.57.01 | |
- provides = lib32-nvidia-libgl-beta=565.57.01 | |
+ provides = lib32-nvidia-libgl=560.35.03 | |
+ provides = lib32-nvidia-libgl-beta=560.35.03 | |
conflicts = lib32-nvidia-utils | |
conflicts = lib32-nvidia-libgl | |
replaces = lib32-nvidia-libgl | |
@@ -30,8 +30,8 @@ pkgname = lib32-opencl-nvidia-beta | |
pkgdesc = OpenCL implemention for NVIDIA (32-bit, beta version) | |
depends = lib32-zlib | |
depends = lib32-gcc-libs | |
- depends = lib32-nvidia-utils-beta>=565.57.01 | |
+ depends = lib32-nvidia-utils-beta>=560.35.03 | |
optdepends = opencl-headers: headers necessary for OpenCL development | |
- provides = lib32-opencl-nvidia=565.57.01 | |
+ provides = lib32-opencl-nvidia=560.35.03 | |
provides = lib32-opencl-driver | |
conflicts = lib32-opencl-nvidia | |
diff --git a/PKGBUILD b/PKGBUILD | |
index ae66b3b..6c8531a 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -8,7 +8,7 @@ | |
pkgbase=lib32-nvidia-utils-beta | |
pkgname=('lib32-nvidia-utils-beta' 'lib32-opencl-nvidia-beta') | |
-pkgver=565.57.01 | |
+pkgver=560.35.03 | |
pkgrel=1 | |
pkgdesc='NVIDIA drivers utilities (32-bit, beta version)' | |
arch=('x86_64') | |
@@ -18,7 +18,7 @@ makedepends=("nvidia-utils-beta>=${pkgver}") # to avoid conflict during installa | |
options=('!strip' '!emptydirs') | |
_pkg="NVIDIA-Linux-${CARCH}-${pkgver}" | |
source=("https://us.download.nvidia.com/XFree86/Linux-${CARCH}/${pkgver}/${_pkg}.run") | |
-sha256sums=('6eebe94e585e385e8804f5a74152df414887bf819cc21bd95b72acd0fb182c7a') | |
+sha256sums=('f2932c92fadd43c5b2341be453fc4f73f0ad7185c26bb7a43fbde81ae29f1fe3') | |
# create soname links | |
_create_links() { | |
@@ -111,4 +111,4 @@ package_lib32-nvidia-utils-beta() { | |
# license | |
install -D -m644 "${srcdir}/${_pkg}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" | |
-} | |
\ No newline at end of file | |
+} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index 2e3f674..0c32010 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -15,7 +15,7 @@ pkgbase = nvidia-beta-dkms | |
source = https://us.download.nvidia.com/XFree86/Linux-x86_64/565.57.01/NVIDIA-Linux-x86_64-565.57.01-no-compat32.run | |
source = 110-nvidia-change-dkms-conf.patch | |
source = 120-nvidia-linux-rt-gift.patch | |
- sha256sums = 9ec280cf6544b59d170064e00c365f329c6f28416eba1497c286f4e0295c27ce | |
+ sha256sums = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
sha256sums = c6f858e6fdfbc34acab35fbe206034ba3b15e62075b85e4b5807229deb90db24 | |
sha256sums = 291bc6568e18496a4c2e732fd8616f6d536d8e9f3ab51f1959e3fc08f0de126b | |
diff --git a/PKGBUILD b/PKGBUILD | |
index f455288..eaa1b53 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -23,7 +23,7 @@ _pkg="NVIDIA-Linux-${CARCH}-${pkgver}-no-compat32" | |
source=("https://us.download.nvidia.com/XFree86/Linux-${CARCH}/${pkgver}/${_pkg}.run" | |
'110-nvidia-change-dkms-conf.patch' | |
'120-nvidia-linux-rt-gift.patch') | |
-sha256sums=('9ec280cf6544b59d170064e00c365f329c6f28416eba1497c286f4e0295c27ce' | |
+sha256sums=('e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' | |
'c6f858e6fdfbc34acab35fbe206034ba3b15e62075b85e4b5807229deb90db24' | |
'291bc6568e18496a4c2e732fd8616f6d536d8e9f3ab51f1959e3fc08f0de126b') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index 47f8a47..27fb04e 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,26 +1,24 @@ | |
pkgbase = nvidia-utils-beta | |
pkgdesc = NVIDIA drivers utilities (beta version) | |
- pkgver = 565.57.01 | |
+ pkgver = 560.35.03 | |
pkgrel = 1 | |
url = https://www.nvidia.com/ | |
arch = x86_64 | |
license = LicenseRef-custom | |
options = !strip | |
- source = https://us.download.nvidia.com/XFree86/Linux-x86_64/565.57.01/NVIDIA-Linux-x86_64-565.57.01.run | |
+ source = https://us.download.nvidia.com/XFree86/Linux-x86_64/560.35.03/NVIDIA-Linux-x86_64-560.35.03.run | |
source = nvidia-drm-outputclass.conf | |
source = nvidia-utils.sysusers | |
source = nvidia.rules | |
source = systemd-homed-override.conf | |
source = systemd-suspend-override.conf | |
- source = nvidia-sleep.conf | |
source = 120-nvidia-settings-change-desktop-paths.patch | |
- sha256sums = 6eebe94e585e385e8804f5a74152df414887bf819cc21bd95b72acd0fb182c7a | |
+ sha256sums = f2932c92fadd43c5b2341be453fc4f73f0ad7185c26bb7a43fbde81ae29f1fe3 | |
sha256sums = be99ff3def641bb900c2486cce96530394c5dc60548fc4642f19d3a4c784134d | |
sha256sums = d8d1caa5d72c71c6430c2a0d9ce1a674787e9272ccce28b9d5898ca24e60a167 | |
sha256sums = 0e54249a7754b668b436f0f7aa7e95fff68edbb12a93dbee4660e09a8c695f84 | |
sha256sums = c5aa7b8abe69e72bfdc6b9ee8afbfd350bcc557e894558f2e6e4087fa9aa0dd8 | |
sha256sums = 1d053c5078387021338cfc3a732bed61be1a20a549775573788e9134775c8149 | |
- sha256sums = 9c60bfe357cd1faf20f9167a6d42bfa724747805c1f12a1b603eb5ff57a523df | |
sha256sums = 6f0f4a23706241e9e37e0fe30a09bd30ca29bb446d8fe7861cb4959f0a010ef4 | |
pkgname = nvidia-utils-beta | |
@@ -31,11 +29,11 @@ pkgname = nvidia-utils-beta | |
optdepends = nvidia-settings-beta: for the configuration tool | |
optdepends = xorg-server-devel: for nvidia-xconfig | |
optdepends = opencl-nvidia-beta: for OpenCL support | |
- provides = nvidia-utils=565.57.01 | |
+ provides = nvidia-utils=560.35.03 | |
provides = vulkan-driver | |
provides = opengl-driver | |
- provides = nvidia-libgl=565.57.01 | |
- provides = nvidia-libgl-beta=565.57.01 | |
+ provides = nvidia-libgl=560.35.03 | |
+ provides = nvidia-libgl-beta=560.35.03 | |
conflicts = nvidia-utils | |
conflicts = nvidia-libgl | |
replaces = nvidia-libgl | |
@@ -43,16 +41,16 @@ pkgname = nvidia-utils-beta | |
pkgname = opencl-nvidia-beta | |
pkgdesc = OpenCL implemention for NVIDIA (beta version) | |
depends = zlib | |
- depends = nvidia-utils-beta>=565.57.01 | |
+ depends = nvidia-utils-beta>=560.35.03 | |
optdepends = opencl-headers: headers necessary for OpenCL development | |
- provides = opencl-nvidia=565.57.01 | |
+ provides = opencl-nvidia=560.35.03 | |
provides = opencl-driver | |
conflicts = opencl-nvidia | |
pkgname = nvidia-settings-beta | |
pkgdesc = Tool for configuring the NVIDIA graphics driver (beta version) | |
- depends = nvidia-utils-beta>=565.57.01 | |
+ depends = nvidia-utils-beta>=560.35.03 | |
depends = gtk3 | |
- provides = nvidia-settings=565.57.01 | |
- provides = nvidia-settings-beta=565.57.01 | |
+ provides = nvidia-settings=560.35.03 | |
+ provides = nvidia-settings-beta=560.35.03 | |
conflicts = nvidia-settings | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 97a1f19..9dc4bde 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -5,7 +5,7 @@ | |
pkgbase=nvidia-utils-beta | |
pkgname=('nvidia-utils-beta' 'opencl-nvidia-beta' 'nvidia-settings-beta') | |
-pkgver=565.57.01 | |
+pkgver=560.35.03 | |
pkgrel=1 | |
pkgdesc='NVIDIA drivers utilities (beta version)' | |
arch=('x86_64') | |
@@ -19,15 +19,13 @@ source=("https://us.download.nvidia.com/XFree86/Linux-${CARCH}/${pkgver}/${_pkg} | |
'nvidia.rules' | |
'systemd-homed-override.conf' | |
'systemd-suspend-override.conf' | |
- 'nvidia-sleep.conf' | |
'120-nvidia-settings-change-desktop-paths.patch') | |
-sha256sums=('6eebe94e585e385e8804f5a74152df414887bf819cc21bd95b72acd0fb182c7a' | |
+sha256sums=('f2932c92fadd43c5b2341be453fc4f73f0ad7185c26bb7a43fbde81ae29f1fe3' | |
'be99ff3def641bb900c2486cce96530394c5dc60548fc4642f19d3a4c784134d' | |
'd8d1caa5d72c71c6430c2a0d9ce1a674787e9272ccce28b9d5898ca24e60a167' | |
'0e54249a7754b668b436f0f7aa7e95fff68edbb12a93dbee4660e09a8c695f84' | |
'c5aa7b8abe69e72bfdc6b9ee8afbfd350bcc557e894558f2e6e4087fa9aa0dd8' | |
'1d053c5078387021338cfc3a732bed61be1a20a549775573788e9134775c8149' | |
- '9c60bfe357cd1faf20f9167a6d42bfa724747805c1f12a1b603eb5ff57a523df' | |
'6f0f4a23706241e9e37e0fe30a09bd30ca29bb446d8fe7861cb4959f0a010ef4') | |
# create soname links | |
@@ -107,160 +105,157 @@ package_nvidia-utils-beta() { | |
cd "$_pkg" | |
# X driver | |
- install -Dm755 nvidia_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so" | |
- | |
- # Xorg | |
- install -D -m755 libnvidia-egl-xlib.so.1.0.0 -t "${pkgdir}/usr/lib/libnvidia-egl-xlib.so.1" | |
- install -D -m644 20_nvidia_xcb.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d" | |
- install -D -m644 20_nvidia_xlib.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d" | |
- | |
+ install -D -m755 nvidia_drv.so -t "${pkgdir}/usr/lib/xorg/modules/drivers" | |
+ | |
# Wayland/GBM | |
- mkdir -p "${pkgdir}/usr/lib/gbm" | |
- ln -sr "${pkgdir}/usr/lib/libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib/gbm/nvidia-drm_gbm.so" | |
- | |
+ install -D -m755 libnvidia-egl-gbm.so.1.1.1 -t "${pkgdir}/usr/lib" | |
+ install -D -m644 15_nvidia_gbm.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d" | |
+ install -d -m755 "${pkgdir}/usr/lib/gbm" | |
+ ln -s "../libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib/gbm/nvidia-drm_gbm.so" | |
+ | |
# firmware | |
- install -Dm644 -t "${pkgdir}/usr/lib/firmware/nvidia/${pkgver}/" firmware/*.bin | |
- | |
+ install -D -m644 firmware/*.bin -t "${pkgdir}/usr/lib/firmware/nvidia/${pkgver}" | |
+ | |
# GLX extension module for X | |
- install -Dm755 "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.${pkgver}" | |
+ install -D -m755 "libglxserver_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib/nvidia/xorg" | |
# Ensure that X finds glx | |
ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1" | |
ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so" | |
- | |
- install -Dm755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}" | |
- | |
+ | |
+ install -D -m755 "libGLX_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# OpenGL libraries | |
- install -Dm755 "libEGL_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libEGL_nvidia.so.${pkgver}" | |
- install -Dm755 "libGLESv1_CM_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM_nvidia.so.${pkgver}" | |
- install -Dm755 "libGLESv2_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2_nvidia.so.${pkgver}" | |
- install -Dm644 "10_nvidia.json" "${pkgdir}/usr/share/glvnd/egl_vendor.d/10_nvidia.json" | |
- | |
+ install -D -m755 "libEGL_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libGLESv2_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m644 10_nvidia.json -t "${pkgdir}/usr/share/glvnd/egl_vendor.d" | |
+ | |
# OpenGL core library | |
- install -Dm755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glcore.so.${pkgver}" | |
- install -Dm755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-eglcore.so.${pkgver}" | |
- install -Dm755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glsi.so.${pkgver}" | |
- | |
+ install -D -m755 "libnvidia-glcore.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-eglcore.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-glsi.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# misc | |
- install -Dm755 "libnvidia-api.so.1" "${pkgdir}/usr/lib/libnvidia-api.so.1" | |
- install -Dm755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-fbc.so.${pkgver}" | |
- install -Dm755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-encode.so.${pkgver}" | |
- install -Dm755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-cfg.so.${pkgver}" | |
- install -Dm755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ml.so.${pkgver}" | |
- install -Dm755 "libnvidia-glvkspirv.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glvkspirv.so.${pkgver}" | |
- install -Dm755 "libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-allocator.so.${pkgver}" | |
- install -Dm755 "libnvidia-gpucomp.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-gpucomp.so.${pkgver}" | |
- | |
+ install -D -m755 libnvidia-api.so.1 -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-fbc.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-encode.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-cfg.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-ml.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-glvkspirv.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-allocator.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-gpucomp.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# Vulkan ICD | |
- install -Dm644 "nvidia_icd.json" "${pkgdir}/usr/share/vulkan/icd.d/nvidia_icd.json" | |
- install -Dm644 "nvidia_layers.json" "${pkgdir}/usr/share/vulkan/implicit_layer.d/nvidia_layers.json" | |
- | |
+ install -D -m644 nvidia_icd.json -t "${pkgdir}/usr/share/vulkan/icd.d" | |
+ install -D -m644 nvidia_layers.json -t "${pkgdir}/usr/share/vulkan/implicit_layer.d" | |
+ | |
# VulkanSC | |
install -D -m755 nvidia-pcc -t "${pkgdir}/usr/bin" | |
install -D -m755 "libnvidia-vksc-core.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
install -D -m644 nvidia_icd_vksc.json -t "${pkgdir}/usr/share/vulkansc/icd.d" | |
- | |
+ | |
# VDPAU | |
- install -Dm755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/vdpau/libvdpau_nvidia.so.${pkgver}" | |
- | |
+ install -D -m755 "libvdpau_nvidia.so.${pkgver}" -t "${pkgdir}/usr/lib/vdpau" | |
+ | |
# nvidia-tls library | |
- install -Dm755 "libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-tls.so.${pkgver}" | |
- | |
+ install -D -m755 "libnvidia-tls.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# CUDA | |
- install -Dm755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib/libcuda.so.${pkgver}" | |
- install -Dm755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib/libnvcuvid.so.${pkgver}" | |
- install -Dm755 "libcudadebugger.so.${pkgver}" "${pkgdir}/usr/lib/libcudadebugger.so.${pkgver}" | |
- | |
- # NVVM Compiler library loaded by the CUDA driver to do JIT link-time-optimization | |
- install -Dm644 "libnvidia-nvvm.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-nvvm.so.${pkgver}" | |
- | |
+ install -D -m755 "libcuda.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvcuvid.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libcudadebugger.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
+ # NVVM Compiler (JIT link-time-optimization for CUDA) | |
+ install -D -m755 "libnvidia-nvvm.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# PTX JIT Compiler (Parallel Thread Execution (PTX) is a pseudo-assembly language for CUDA) | |
- install -Dm755 "libnvidia-ptxjitcompiler.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ptxjitcompiler.so.${pkgver}" | |
- | |
+ install -D -m755 "libnvidia-ptxjitcompiler.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# raytracing | |
- install -Dm755 "nvoptix.bin" "${pkgdir}/usr/share/nvidia/nvoptix.bin" | |
- install -Dm755 "libnvoptix.so.${pkgver}" "${pkgdir}/usr/lib/libnvoptix.so.${pkgver}" | |
- install -Dm755 "libnvidia-rtcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-rtcore.so.${pkgver}" | |
- | |
- # NGX | |
- install -Dm755 nvidia-ngx-updater "${pkgdir}/usr/bin/nvidia-ngx-updater" | |
- install -Dm755 "libnvidia-ngx.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ngx.so.${pkgver}" | |
- install -Dm755 _nvngx.dll "${pkgdir}/usr/lib/nvidia/wine/_nvngx.dll" | |
- install -Dm755 nvngx.dll "${pkgdir}/usr/lib/nvidia/wine/nvngx.dll" | |
- | |
+ install -D -m755 "libnvoptix.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-rtcore.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "nvoptix.bin" -t "${pkgdir}/usr/share/nvidia/nvoptix.bin" | |
+ | |
+ # NGX / DLSS | |
+ install -D -m755 nvidia-ngx-updater -t "${pkgdir}/usr/bin" | |
+ install -D -m755 "libnvidia-ngx.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m644 {,_}nvngx.dll -t "${pkgdir}/usr/lib/nvidia/wine" | |
+ | |
# Optical flow | |
- install -Dm755 "libnvidia-opticalflow.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opticalflow.so.${pkgver}" | |
- | |
+ install -D -m755 "libnvidia-opticalflow.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
# Cryptography library wrapper | |
- ls libnvidia-pkcs* | |
- ls *openssl* | |
- install -Dm755 "libnvidia-pkcs11.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-pkcs11.so.${pkgver}" | |
- install -Dm755 "libnvidia-pkcs11-openssl3.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-pkcs11-openssl3.so.${pkgver}" | |
- | |
+ install -D -m755 "libnvidia-pkcs11.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ install -D -m755 "libnvidia-pkcs11-openssl3.so.${pkgver}" -t "${pkgdir}/usr/lib" | |
+ | |
+ # Xorg | |
+ install -D -m755 libnvidia-egl-xcb.so.1 -t "${pkgdir}/usr/lib" | |
+ install -D -m755 libnvidia-egl-xlib.so.1 -t "${pkgdir}/usr/lib" | |
+ install -D -m644 20_nvidia_xcb.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d" | |
+ install -D -m644 20_nvidia_xlib.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d" | |
+ | |
# Debug | |
- install -Dm755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump" | |
- | |
+ install -D -m755 nvidia-debugdump -t "${pkgdir}/usr/bin" | |
+ | |
# nvidia-xconfig | |
install -D -m755 nvidia-xconfig -t "${pkgdir}/usr/bin" | |
install -D -m644 nvidia-xconfig.1 -t "${pkgdir}/usr/share/man/man1" | |
- | |
+ | |
# nvidia-bug-report | |
- install -Dm755 nvidia-bug-report.sh "${pkgdir}/usr/bin/nvidia-bug-report.sh" | |
- | |
+ install -D -m755 nvidia-bug-report.sh -t "${pkgdir}/usr/bin" | |
+ | |
# nvidia-smi | |
install -D -m755 nvidia-smi -t "${pkgdir}/usr/bin" | |
install -D -m644 nvidia-smi.1 -t "${pkgdir}/usr/share/man/man1" | |
- | |
+ | |
# nvidia-cuda-mps | |
install -D -m755 nvidia-cuda-mps-server -t "${pkgdir}/usr/bin" | |
install -D -m755 nvidia-cuda-mps-control -t "${pkgdir}/usr/bin" | |
install -D -m644 nvidia-cuda-mps-control.1 -t "${pkgdir}/usr/share/man/man1" | |
- | |
+ | |
# nvidia-modprobe | |
# This should be removed if nvidia fixed their uvm module! | |
- install -Dm4755 nvidia-modprobe "${pkgdir}/usr/bin/nvidia-modprobe" | |
+ install -D -m4755 nvidia-modprobe -t "${pkgdir}/usr/bin" | |
install -D -m644 nvidia-modprobe.1 -t "${pkgdir}/usr/share/man/man1" | |
- | |
+ | |
# nvidia-persistenced | |
- install -Dm755 nvidia-persistenced "${pkgdir}/usr/bin/nvidia-persistenced" | |
+ install -D -m755 nvidia-persistenced -t "${pkgdir}/usr/bin" | |
install -D -m644 nvidia-persistenced.1 -t "${pkgdir}/usr/share/man/man1" | |
- install -Dm644 nvidia-persistenced-init/systemd/nvidia-persistenced.service.template "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service" | |
+ install -D -m644 nvidia-persistenced-init/systemd/nvidia-persistenced.service.template "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service" | |
sed -i 's/__USER__/nvidia-persistenced/' "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service" | |
- | |
+ | |
# application profiles | |
- install -Dm644 nvidia-application-profiles-${pkgver}-rc "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-rc" | |
- install -Dm644 nvidia-application-profiles-${pkgver}-key-documentation "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-key-documentation" | |
- | |
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/nvidia-utils/LICENSE" | |
- install -Dm644 README.txt "${pkgdir}/usr/share/doc/nvidia/README" | |
- install -Dm644 NVIDIA_Changelog "${pkgdir}/usr/share/doc/nvidia/NVIDIA_Changelog" | |
- cp -r html "${pkgdir}/usr/share/doc/nvidia/" | |
- ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils" | |
- | |
+ install -D -m644 "nvidia-application-profiles-${pkgver}-rc" -t "${pkgdir}/usr/share/nvidia" | |
+ install -D -m644 "nvidia-application-profiles-${pkgver}-key-documentation" -t "${pkgdir}/usr/share/nvidia" | |
+ | |
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" | |
+ install -D -m644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README" | |
+ install -D -m644 NVIDIA_Changelog -t "${pkgdir}/usr/share/doc/${pkgname}" | |
+ install -D -m644 supported-gpus/supported-gpus.json -t "${pkgdir}/usr/share/doc/${pkgname}" | |
+ cp -dr --no-preserve='ownership' html "${pkgdir}/usr/share/doc/${pkgname}/" | |
+ #ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils" | |
+ | |
# new power management support | |
- install -Dm644 systemd/system/*.service -t "${pkgdir}/usr/lib/systemd/system" | |
- install -Dm755 systemd/system-sleep/nvidia "${pkgdir}/usr/lib/systemd/system-sleep/nvidia" | |
- install -Dm755 systemd/nvidia-sleep.sh "${pkgdir}/usr/bin/nvidia-sleep.sh" | |
- install -Dm755 nvidia-powerd "${pkgdir}/usr/bin/nvidia-powerd" | |
- install -Dm644 nvidia-dbus.conf "${pkgdir}"/usr/share/dbus-1/system.d/nvidia-dbus.conf | |
- install -Dm644 "${srcdir}"/systemd-homed-override.conf "${pkgdir}"/usr/lib/systemd/system/systemd-homed.service.d/10-nvidia-no-freeze-session.conf | |
- install -Dm644 "${srcdir}"/systemd-suspend-override.conf "${pkgdir}"/usr/lib/systemd/system/systemd-suspend.service.d/10-nvidia-no-freeze-session.conf | |
- install -Dm644 "${srcdir}"/systemd-suspend-override.conf "${pkgdir}"/usr/lib/systemd/system/systemd-suspend-then-hibernate.service.d/10-nvidia-no-freeze-session.conf | |
- install -Dm644 "${srcdir}"/systemd-suspend-override.conf "${pkgdir}"/usr/lib/systemd/system/systemd-hibernate.service.d/10-nvidia-no-freeze-session.conf | |
- install -Dm644 "${srcdir}"/systemd-suspend-override.conf "${pkgdir}"/usr/lib/systemd/system/systemd-hybrid-sleep.service.d/10-nvidia-no-freeze-session.conf | |
- | |
+ install -D -m644 systemd/system/*.service -t "${pkgdir}/usr/lib/systemd/system" | |
+ install -D -m755 systemd/system-sleep/nvidia -t "${pkgdir}/usr/lib/systemd/system-sleep" | |
+ install -D -m755 systemd/nvidia-sleep.sh -t "${pkgdir}/usr/bin" | |
+ install -D -m755 nvidia-powerd -t "${pkgdir}/usr/bin" | |
+ install -D -m644 nvidia-dbus.conf -t "${pkgdir}/usr/share/dbus-1/system.d" | |
+ install -D -m644 "${srcdir}/systemd-homed-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-homed.service.d/10-nvidia-no-freeze-session.conf" | |
+ local _dir | |
+ for _dir in systemd-{suspend{,-then-hibernate},hibernate,hybrid-sleep}.service.d | |
+ do | |
+ install -D -m644 "${srcdir}/systemd-suspend-override.conf" "${pkgdir}/usr/lib/systemd/system/${_dir}/10-nvidia-no-freeze-session.conf" | |
+ done | |
+ | |
# distro specific files must be installed in /usr/share/X11/xorg.conf.d | |
- install -Dm644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf" | |
- | |
- install -Dm644 "${srcdir}/nvidia-utils.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf" | |
- | |
- install -Dm644 "${srcdir}/nvidia.rules" "$pkgdir"/usr/lib/udev/rules.d/60-nvidia.rules | |
- | |
- echo "blacklist nouveau" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" | |
- echo "nvidia-uvm" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" | |
- | |
- # Enable PreserveVideoMemoryAllocations and TemporaryFilePath | |
- # Fixes Wayland Sleep, when restoring the session | |
- install -Dm644 "${srcdir}/nvidia-sleep.conf" "${pkgdir}/usr/lib/modprobe.d/nvidia-sleep.conf" | |
+ install -D -m644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf" | |
+ | |
+ install -D -m644 "${srcdir}/nvidia-utils.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf" | |
+ install -D -m644 "${srcdir}/nvidia.rules" "${pkgdir}/usr/lib/udev/rules.d/60-nvidia.rules" | |
+ | |
+ install -D -m644 <(printf '%s\n' 'blacklist nouveau') "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" | |
+ install -D -m644 <(printf '%s\n' 'nvidia-uvm') "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" | |
_create_links | |
} | |
diff --git a/nvidia-sleep.conf b/nvidia-sleep.conf | |
deleted file mode 100644 | |
index 5b0bad8..0000000 | |
--- a/nvidia-sleep.conf | |
+++ /dev/null | |
@@ -1,7 +0,0 @@ | |
-# https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/powermanagement.html#PreserveAllVide719f0 | |
-# Save and restore all video memory allocations. | |
-options nvidia NVreg_PreserveVideoMemoryAllocations=1 | |
-# | |
-# The destination should not be using tmpfs, so we prefer | |
-# /var/tmp instead of /tmp | |
-options nvidia NVreg_TemporaryFilePath=/var/tmp |
idk why, but nvidia-beta-dkms.patch
is bad:
should be something like:
diff --git a/.SRCINFO b/.SRCINFO
index 0288e0e..a53938e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,25 @@
pkgbase = nvidia-beta-dkms
pkgdesc = NVIDIA driver sources for linux (beta version)
- pkgver = 560.35.03
+ pkgver = 565.57.01
pkgrel = 1
url = https://www.nvidia.com/
arch = x86_64
license = LicenseRef-custom
- provides = nvidia=560.35.03
- provides = nvidia-dkms=560.35.03
- provides = nvidia-beta=560.35.03
+ provides = nvidia=565.57.01
+ provides = nvidia-dkms=565.57.01
+ provides = nvidia-beta=565.57.01
provides = NVIDIA-MODULE
conflicts = nvidia
conflicts = nvidia-dkms
options = !strip
- source = https://us.download.nvidia.com/XFree86/Linux-x86_64/560.35.03/NVIDIA-Linux-x86_64-560.35.03-no-compat32.run
+ source = https://us.download.nvidia.com/XFree86/Linux-x86_64/565.57.01/NVIDIA-Linux-x86_64-565.57.01-no-compat32.run
source = 110-nvidia-change-dkms-conf.patch
source = 120-nvidia-linux-rt-gift.patch
- sha256sums = 7ec3795748cd79ea6f553a6cc0a54385b3c6b9e9b9efdf008a0dbedd7b2471bd
- sha256sums = c6f858e6fdfbc34acab35fbe206034ba3b15e62075b85e4b5807229deb90db24
+ sha256sums = 9EC280CF6544B59D170064E00C365F329C6F28416EBA1497C286F4E0295C27CE
+ sha256sums = CEAB1D11891AF27FC63474CF9520C6E6CEC413E35D80B9032F3D7C7501A3C935
sha256sums = 291bc6568e18496a4c2e732fd8616f6d536d8e9f3ab51f1959e3fc08f0de126b
pkgname = nvidia-beta-dkms
depends = dkms
- depends = nvidia-utils-beta=560.35.03
+ depends = nvidia-utils-beta=565.57.01
depends = libglvnd
diff --git a/110-nvidia-change-dkms-conf.patch b/110-nvidia-change-dkms-conf.patch
index 0574eb3..de20126 100644
--- a/110-nvidia-change-dkms-conf.patch
+++ b/110-nvidia-change-dkms-conf.patch
@@ -3,7 +3,7 @@
@@ -1,12 +1,21 @@
PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
-+PACKAGE_VERSION="560.35.03"
++PACKAGE_VERSION="565.57.01"
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
diff --git a/PKGBUILD b/PKGBUILD
index b8470c4..1ed6b75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
# Contributor: sl1pkn07 <sl1pkn07 at gmail dot com>
pkgname=nvidia-beta-dkms
-pkgver=560.35.03
+pkgver=565.57.01
pkgrel=1
pkgdesc='NVIDIA driver sources for linux (beta version)'
arch=('x86_64')
@@ -23,8 +23,8 @@ _pkg="NVIDIA-Linux-${CARCH}-${pkgver}-no-compat32"
source=("https://us.download.nvidia.com/XFree86/Linux-${CARCH}/${pkgver}/${_pkg}.run"
'110-nvidia-change-dkms-conf.patch'
'120-nvidia-linux-rt-gift.patch')
-sha256sums=('7ec3795748cd79ea6f553a6cc0a54385b3c6b9e9b9efdf008a0dbedd7b2471bd'
- 'c6f858e6fdfbc34acab35fbe206034ba3b15e62075b85e4b5807229deb90db24'
+sha256sums=('9EC280CF6544B59D170064E00C365F329C6F28416EBA1497C286F4E0295C27CE'
+ 'CEAB1D11891AF27FC63474CF9520C6E6CEC413E35D80B9032F3D7C7501A3C935'
'291bc6568e18496a4c2e732fd8616f6d536d8e9f3ab51f1959e3fc08f0de126b')
prepare() {
but the rest works
EDIT: 565.57.01 is available as nvidia
/nvidia-dkms
package in Extra already.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case anyone wonders: the patches are reversed. If you want to update your PKBUILD etc. from version 560.35.03 use
patch -R
orgit apply -R
.