* [PR PATCH] nvidia: update to 515.76
@ 2022-10-02 23:36 migue07juegos
2022-10-02 23:46 ` abenson
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: migue07juegos @ 2022-10-02 23:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
There is a new pull request by migue07juegos against master on the void-packages repository
https://github.com/migue07juegos/void-packages master
https://github.com/void-linux/void-packages/pull/39643
nvidia: update to 515.76
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: briefly
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86-64
A patch file from https://github.com/void-linux/void-packages/pull/39643.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39643.patch --]
[-- Type: text/x-diff, Size: 1216 bytes --]
From 880869e908ebe61d4bf0bc4d340bc07fbd5135ca Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Sun, 2 Oct 2022 23:31:10 +0000
Subject: [PATCH] Update template
---
srcpkgs/nvidia/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index aa1e0ac8c209..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
-version=515.65.01
+version=515.76
revision=1
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0"
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=0492ddc5b5e65aa00cbc762e8d6680205c8d08e103b7131087a15126aee495e9
+checksum=c6a2a18ceb965f4980bce4e5cea36fd622cdc1a5f31a0eb1bbd359a9e9f6bf44
# subpackages need to be processed in this specific order
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nvidia: update to 515.76
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
@ 2022-10-02 23:46 ` abenson
2022-10-03 1:13 ` [PR PATCH] [Updated] " migue07juegos
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2022-10-02 23:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/39643#issuecomment-1264766318
Comment:
1. Fix your commit message. It should be 'nvidia: update to 515.76'.
2. This version seems to be having some issues, I've been seeing lots of reports: https://forums.developer.nvidia.com/t/bug-report-black-x11-screen-and-partial-lockup-when-upgraded-to-515-76-and-dual-rtx3060/228912
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] nvidia: update to 515.76
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
2022-10-02 23:46 ` abenson
@ 2022-10-03 1:13 ` migue07juegos
2022-10-03 1:14 ` migue07juegos
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: migue07juegos @ 2022-10-03 1:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
There is an updated pull request by migue07juegos against master on the void-packages repository
https://github.com/migue07juegos/void-packages master
https://github.com/void-linux/void-packages/pull/39643
nvidia: update to 515.76
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: briefly
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86-64
A patch file from https://github.com/void-linux/void-packages/pull/39643.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39643.patch --]
[-- Type: text/x-diff, Size: 1788 bytes --]
From 880869e908ebe61d4bf0bc4d340bc07fbd5135ca Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Sun, 2 Oct 2022 23:31:10 +0000
Subject: [PATCH 1/2] Update template
---
srcpkgs/nvidia/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index aa1e0ac8c209..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
-version=515.65.01
+version=515.76
revision=1
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0"
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=0492ddc5b5e65aa00cbc762e8d6680205c8d08e103b7131087a15126aee495e9
+checksum=c6a2a18ceb965f4980bce4e5cea36fd622cdc1a5f31a0eb1bbd359a9e9f6bf44
# subpackages need to be processed in this specific order
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
From e3a977af766a9b41ec2702546bfe4a6d44aacda5 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:13:35 +0000
Subject: [PATCH 2/2] Update template
---
srcpkgs/nvidia/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 391fa0c9d17c..797471430a1a 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -1,5 +1,5 @@
# Template file for 'nvidia'
-
+
_desc="NVIDIA drivers for linux"
pkgname=nvidia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] nvidia: update to 515.76
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
2022-10-02 23:46 ` abenson
2022-10-03 1:13 ` [PR PATCH] [Updated] " migue07juegos
@ 2022-10-03 1:14 ` migue07juegos
2022-10-03 1:14 ` migue07juegos
2022-10-03 1:16 ` [PR PATCH] [Closed]: " migue07juegos
4 siblings, 0 replies; 8+ messages in thread
From: migue07juegos @ 2022-10-03 1:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
There is an updated pull request by migue07juegos against master on the void-packages repository
https://github.com/migue07juegos/void-packages master
https://github.com/void-linux/void-packages/pull/39643
nvidia: update to 515.76
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: briefly
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86-64
A patch file from https://github.com/void-linux/void-packages/pull/39643.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39643.patch --]
[-- Type: text/x-diff, Size: 2365 bytes --]
From 880869e908ebe61d4bf0bc4d340bc07fbd5135ca Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Sun, 2 Oct 2022 23:31:10 +0000
Subject: [PATCH 1/3] Update template
---
srcpkgs/nvidia/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index aa1e0ac8c209..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
-version=515.65.01
+version=515.76
revision=1
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0"
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=0492ddc5b5e65aa00cbc762e8d6680205c8d08e103b7131087a15126aee495e9
+checksum=c6a2a18ceb965f4980bce4e5cea36fd622cdc1a5f31a0eb1bbd359a9e9f6bf44
# subpackages need to be processed in this specific order
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
From e3a977af766a9b41ec2702546bfe4a6d44aacda5 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:13:35 +0000
Subject: [PATCH 2/3] Update template
---
srcpkgs/nvidia/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 391fa0c9d17c..797471430a1a 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -1,5 +1,5 @@
# Template file for 'nvidia'
-
+
_desc="NVIDIA drivers for linux"
pkgname=nvidia
From 9bfe496fd254c8391a0a846c4ef3333ea1ac4c13 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:14:06 +0000
Subject: [PATCH 3/3] nvidia: update to 515.76
---
srcpkgs/nvidia/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 797471430a1a..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -1,5 +1,5 @@
# Template file for 'nvidia'
-
+
_desc="NVIDIA drivers for linux"
pkgname=nvidia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] nvidia: update to 515.76
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
` (2 preceding siblings ...)
2022-10-03 1:14 ` migue07juegos
@ 2022-10-03 1:14 ` migue07juegos
2022-10-03 1:16 ` [PR PATCH] [Closed]: " migue07juegos
4 siblings, 0 replies; 8+ messages in thread
From: migue07juegos @ 2022-10-03 1:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
There is an updated pull request by migue07juegos against master on the void-packages repository
https://github.com/migue07juegos/void-packages master
https://github.com/void-linux/void-packages/pull/39643
nvidia: update to 515.76
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: briefly
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86-64
A patch file from https://github.com/void-linux/void-packages/pull/39643.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39643.patch --]
[-- Type: text/x-diff, Size: 13534 bytes --]
From 880869e908ebe61d4bf0bc4d340bc07fbd5135ca Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Sun, 2 Oct 2022 23:31:10 +0000
Subject: [PATCH 1/4] Update template
---
srcpkgs/nvidia/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index aa1e0ac8c209..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
-version=515.65.01
+version=515.76
revision=1
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0"
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=0492ddc5b5e65aa00cbc762e8d6680205c8d08e103b7131087a15126aee495e9
+checksum=c6a2a18ceb965f4980bce4e5cea36fd622cdc1a5f31a0eb1bbd359a9e9f6bf44
# subpackages need to be processed in this specific order
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
depends="nvidia-libs-${version}_${revision}
From e3a977af766a9b41ec2702546bfe4a6d44aacda5 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:13:35 +0000
Subject: [PATCH 2/4] Update template
---
srcpkgs/nvidia/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 391fa0c9d17c..797471430a1a 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -1,5 +1,5 @@
# Template file for 'nvidia'
-
+
_desc="NVIDIA drivers for linux"
pkgname=nvidia
From 9bfe496fd254c8391a0a846c4ef3333ea1ac4c13 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:14:06 +0000
Subject: [PATCH 3/4] nvidia: update to 515.76
---
srcpkgs/nvidia/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 797471430a1a..391fa0c9d17c 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -1,5 +1,5 @@
# Template file for 'nvidia'
-
+
_desc="NVIDIA drivers for linux"
pkgname=nvidia
From 8498ac19a32fb694e73bb1f505595ba724862e85 Mon Sep 17 00:00:00 2001
From: migue07juegos <104018233+migue07juegos@users.noreply.github.com>
Date: Mon, 3 Oct 2022 01:14:41 +0000
Subject: [PATCH 4/4] Delete template
---
srcpkgs/nvidia/template | 328 ----------------------------------------
1 file changed, 328 deletions(-)
delete mode 100644 srcpkgs/nvidia/template
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
deleted file mode 100644
index 391fa0c9d17c..000000000000
--- a/srcpkgs/nvidia/template
+++ /dev/null
@@ -1,328 +0,0 @@
-# Template file for 'nvidia'
-
-_desc="NVIDIA drivers for linux"
-
-pkgname=nvidia
-version=515.76
-revision=1
-maintainer="Andrew Benson <abenson+void@gmail.com>"
-license="custom:NVIDIA Proprietary"
-homepage="https://www.nvidia.com/en-us/drivers/unix/"
-
-archs="x86_64"
-nopie=yes
-repository="nonfree"
-create_wrksrc=yes
-short_desc="${_desc} - Libraries and Utilities"
-hostmakedepends="tar"
-conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0"
-
-_pkg="NVIDIA-Linux-x86_64-${version}"
-distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=c6a2a18ceb965f4980bce4e5cea36fd622cdc1a5f31a0eb1bbd359a9e9f6bf44
-# subpackages need to be processed in this specific order
-subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
-depends="nvidia-libs-${version}_${revision}
- nvidia-gtklibs-${version}_${revision}
- nvidia-dkms-${version}_${revision}"
-
-_install_libs() {
- local libdir=$1
-
- # GLX client libs
- # Required for GLVND option
- vinstall libGLX_nvidia.so.${version} 755 ${libdir}
- ln -sf libGLX_nvidia.so.${version} ${DESTDIR}/${libdir}/libGLX_nvidia.so.0
- ln -sf libGLX_nvidia.so.${version} ${DESTDIR}/${libdir}/libGLX_indirect.so.0
-
- # OpenGL core library
- vinstall libnvidia-glcore.so.${version} 755 ${libdir}
- vinstall libnvidia-eglcore.so.${version} 755 ${libdir}
- vinstall libnvidia-glsi.so.${version} 755 ${libdir}
-
- # Vulkan core library
- vinstall libnvidia-glvkspirv.so.${version} 755 ${libdir}
-
- vinstall libEGL_nvidia.so.${version} 755 ${libdir}
- ln -sf libEGL_nvidia.so.${version} ${DESTDIR}/${libdir}/libEGL_nvidia.so.0
-
- vinstall libGLESv1_CM_nvidia.so.${version} 755 ${libdir}
- ln -sf libGLESv1_CM_nvidia.so.${version} \
- ${DESTDIR}/${libdir}/libGLESv1_CM_nvidia.so.1
-
- vinstall libGLESv2_nvidia.so.${version} 755 ${libdir}
- ln -sf libGLESv2_nvidia.so.${version} ${DESTDIR}/${libdir}/libGLESv2_nvidia.so.2
-
- # Thread Local Storage
- vinstall libnvidia-tls.so.${version} 755 ${libdir}
-
- # VDPAU
- vinstall libvdpau_nvidia.so.${version} 755 ${libdir}/vdpau
- ln -sf libvdpau_nvidia.so.${version} \
- ${DESTDIR}/${libdir}/vdpau/libvdpau_nvidia.so.1
-
- vinstall libnvidia-ml.so.${version} 755 ${libdir}
- ln -sf libnvidia-ml.so.${version} ${DESTDIR}/${libdir}/libnvidia-ml.so
- ln -sf libnvidia-ml.so.${version} ${DESTDIR}/${libdir}/libnvidia-ml.so.1
-
- vinstall libnvidia-encode.so.${version} 755 ${libdir}
- ln -sf libnvidia-encode.so.${version} ${DESTDIR}/${libdir}/libnvidia-encode.so
- ln -sf libnvidia-encode.so.${version} ${DESTDIR}/${libdir}/libnvidia-encode.so.1
-
- vinstall libnvidia-fbc.so.${version} 755 ${libdir}
- ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so
- ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so.1
-
- # CUDA
- vinstall libcuda.so.${version} 755 ${libdir}
- ln -sf libcuda.so.${version} ${DESTDIR}/${libdir}/libcuda.so
- ln -sf libcuda.so.${version} ${DESTDIR}/${libdir}/libcuda.so.1
-
- vinstall libnvcuvid.so.${version} 755 ${libdir}
- ln -sf libnvcuvid.so.${version} ${DESTDIR}/${libdir}/libnvcuvid.so
- ln -sf libnvcuvid.so.${version} ${DESTDIR}/${libdir}/libnvcuvid.so.1
-
- vinstall libnvidia-opticalflow.so.${version} 755 ${libdir}
- ln -sf libnvidia-opticalflow.so.${version} \
- ${DESTDIR}/${libdir}/libnvidia-opticalflow.so
- ln -sf libnvidia-opticalflow.so.${version} \
- ${DESTDIR}/${libdir}/libnvidia-opticalflow.so.1
-
- vinstall libnvidia-ptxjitcompiler.so.${version} 755 ${libdir}
- ln -sf libnvidia-ptxjitcompiler.so.${version} \
- ${DESTDIR}/${libdir}/libnvidia-ptxjitcompiler.so.1
- ln -sf libnvidia-ptxjitcompiler.so.1 \
- ${DESTDIR}/${libdir}/libnvidia-ptxjitcompiler.so
-
- vinstall libnvidia-allocator.so.${version} 755 ${libdir}
- ln -sf libnvidia-allocator.so.${version} \
- ${DESTDIR}/${libdir}/libnvidia-allocator.so.1
- ln -sf libnvidia-allocator.so.1 \
- ${DESTDIR}/${libdir}/libnvidia-allocator.so
-}
-
-do_extract() {
- install -m755 ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_pkg}.run ${wrksrc}
- cd ${wrksrc}
- ./${_pkg}.run --extract-only
- rm -f ${_pkg}.run
-}
-
-do_install() {
- cd ${_pkg}
-
- # X driver
- vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
-
- # firmware
- vinstall firmware/gsp.bin 644 usr/lib/firmware/nvidia/${version}
-
- # GLX extension module for X
- vinstall libglxserver_nvidia.so.${version} 755 usr/lib/nvidia/xorg
- ln -sf libglxserver_nvidia.so.${version} \
- ${DESTDIR}/usr/lib/nvidia/xorg/libglxserver_nvidia.so
- ln -sf libglxserver_nvidia.so.${version} \
- ${DESTDIR}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1
-
- # Wayland/GBM
- vinstall libnvidia-egl-wayland.so.1.1.9 755 usr/lib
- ln -sf libnvidia-egl-wayland.so.1.1.9 \
- ${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1
- vinstall libnvidia-egl-gbm.so.1.1.0 755 usr/lib
- ln -sf libnvidia-egl-gbm.so.1.1.0 \
- ${DESTDIR}/usr/lib/libnvidia-egl-gbm.so.1
-
- vmkdir usr/share/glvnd/egl_vendor.d
- vinstall 15_nvidia_gbm.json 755 usr/share/glvnd/egl_vendor.d
-
- vmkdir usr/lib/gbm
- ln -sf /usr/lib/libnvidia-allocator.so.${version} \
- ${DESTDIR}/usr/lib/gbm/nvidia-drm_gbm.so
-
- vinstall 10_nvidia.json 755 usr/share/glvnd/egl_vendor.d
- vinstall 10_nvidia_wayland.json \
- 755 usr/share/egl/egl_external_platform.d
-
- vinstall libnvidia-cfg.so.${version} 755 usr/lib
- ln -sf libnvidia-cfg.so.${version} ${DESTDIR}/usr/lib/libnvidia-cfg.so
- ln -sf libnvidia-cfg.so.${version} ${DESTDIR}/usr/lib/libnvidia-cfg.so.1
-
- vbin nvidia-cuda-mps-control
- vbin nvidia-cuda-mps-server
- gzip -d nvidia-cuda-mps-control.1.gz
- vman nvidia-cuda-mps-control.1
-
- # nvidia-xconfig
- vbin nvidia-xconfig
- gzip -d nvidia-xconfig.1.gz
- vman nvidia-xconfig.1
-
- # nvidia-settings
- vbin nvidia-settings
- gzip -d nvidia-settings.1.gz
- vman nvidia-settings.1
- vinstall nvidia-settings.desktop 644 usr/share/applications
- vinstall nvidia-settings.png 644 usr/share/pixmaps
- sed -e 's:__UTILS_PATH__:/usr/bin:' \
- -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' \
- -i ${DESTDIR}/usr/share/applications/nvidia-settings.desktop
-
- vinstall libnvidia-gtk3.so.${version} 755 usr/lib
- vinstall libnvidia-gtk2.so.${version} 755 usr/lib
-
- # application profiles (needed by nvidia-settings)
- vinstall nvidia-application-profiles-${version}-key-documentation \
- 644 usr/share/nvidia
- vinstall nvidia-application-profiles-${version}-rc 644 usr/share/nvidia
-
- # nvidia-bug-report
- vbin nvidia-bug-report.sh nvidia-bug-report
- vbin nvidia-debugdump
-
- # nvidia-smi
- vbin nvidia-smi
- gzip -d nvidia-smi.1.gz
- vman nvidia-smi.1
-
- # nvidia-modprobe
- vinstall nvidia-modprobe 4755 usr/bin
- gzip -d nvidia-modprobe.1.gz
- vman nvidia-modprobe.1
-
- # nvidia-persistenced
- vbin nvidia-persistenced
- gzip -d nvidia-persistenced.1.gz
- vman nvidia-persistenced.1
-
- # nvidia-powerd
- vbin nvidia-powerd
- vsv nvidia-powerd
-
- # opencl pkg
- vinstall nvidia.icd 644 etc/OpenCL/vendors
- vinstall nvidia_layers.json 644 usr/share/vulkan/implicit_layer.d
-
- vinstall libnvidia-compiler.so.${version} 755 usr/lib
-
- vinstall libnvidia-opencl.so.${version} 755 usr/lib
- ln -sf libnvidia-opencl.so.${version} \
- ${DESTDIR}/usr/lib/libnvidia-opencl.so
- ln -sf libnvidia-opencl.so.${version} \
- ${DESTDIR}/usr/lib/libnvidia-opencl.so.1
-
- # vulkan icd
- vinstall nvidia_icd.json 644 usr/share/vulkan/icd.d
-
- # vulkan real-time ray tracing extensions
- vinstall libnvidia-rtcore.so.${version} 755 usr/lib
-
- vinstall libnvidia-vulkan-producer.so.${version} 755 usr/lib
- ln -sf libnvidia-vulkan-producer.so.${version} \
- ${DESTDIR}/usr/lib/libnvidia-vulkan-producer.so
- ln -sf libnvidia-vulkan-producer.so.${version} \
- ${DESTDIR}/usr/lib/libnvidia-vulkan-producer.so.1
-
- # ngx
- vbin nvidia-ngx-updater
- vinstall libnvidia-ngx.so.${version} 755 usr/lib
- ln -sf libnvidia-ngx.so.${version} \
- ${DESTDIR}/usr/lib/libnvidia-ngx.so.1
- ln -sf libnvidia-ngx.so.1 \
- ${DESTDIR}/usr/lib/libnvidia-ngx.so
-
- vinstall _nvngx.dll 755 usr/lib/nvidia/wine
- vinstall nvngx.dll 755 usr/lib/nvidia/wine
-
- # optix ray racing engine
- vinstall libnvoptix.so.${version} 755 usr/lib
- ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so
- ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so.1
-
- # dkms pkg
- vmkdir usr/src/nvidia-${version}
- vcopy "kernel/*" usr/src/nvidia-${version}
- vcopy ${FILESDIR}/dkms.conf usr/src/nvidia-${version}
- sed -e "s/__PKGVER/${version}/g" \
- -e 's/__MAKEJOBS/-j$(nproc)/g' \
- -i ${DESTDIR}/usr/src/nvidia-${version}/dkms.conf
-
- # Xorg conf for PRIME
- vmkdir /usr/share/X11/xorg.conf.d/
- vinstall ${FILESDIR}/nvidia-drm-outputclass.conf 644 \
- /usr/share/X11/xorg.conf.d 10-nvidia-drm-outputclass.conf
-
- vbin ${FILESDIR}/prime-run
-
- # Blacklist nouveau
- vmkdir usr/lib/modprobe.d
- echo "blacklist nouveau" > ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
- chmod 644 ${DESTDIR}/usr/lib/modprobe.d/nvidia.conf
-
- # License and documentation
- vlicense LICENSE
- vdoc README.txt README
- vdoc NVIDIA_Changelog
-
- # nvvm compiler
- vinstall libnvidia-nvvm.so.${version} 755 usr/lib
-
- # Libraries (64bit)
- _install_libs usr/lib
- cd 32
- # Libraries (32bit)
- _install_libs usr/lib32
-}
-
-nvidia-gtklibs_package() {
- short_desc="${_desc} - GTK+ libraries"
- conflicts="nvidia470-gtklibs>=0 nvidia390-gtklibs>=0"
- pkg_install() {
- vmove "usr/lib/lib*gtk*.so*"
- }
-}
-
-nvidia-libs-32bit_package() {
- short_desc="${_desc} - common libraries (32bit)"
- # manually set 32bit depends for libglvnd
- depends="glibc-32bit>=0 libX11-32bit>=0 libXext-32bit>=0 libglvnd-32bit>=0"
- conflicts="nvidia470-libs-32bit>=0 nvidia390-libs-32bit>=0"
- repository="multilib/nonfree"
- pkg_install() {
- vmove usr/lib32
- }
-}
-
-nvidia-libs_package() {
- short_desc="${_desc} - common libraries"
- depends="libglvnd"
- nostrip_files="gsp.bin"
- conflicts="nvidia470-libs>=0 nvidia390-libs>=0"
- pkg_install() {
- vmove usr/lib
- }
-}
-
-nvidia-dkms_package() {
- short_desc="${_desc} - DKMS kernel module"
- depends="dkms xbps-triggers>=0.121_1"
- dkms_modules="nvidia ${version}"
- # dkms must be before initramfs-regenerate to build modules before images
- triggers="dkms initramfs-regenerate"
- conflicts="nvidia470-dkms>=0 nvidia390-dkms>=0"
-
- pkg_install() {
- vmove usr/src
- vmove usr/lib/modprobe.d
- }
-}
-
-nvidia-opencl_package() {
- short_desc="${_desc} - OpenCL implementation"
- depends="ocl-icd"
- conflicts="nvidia470-opencl>=0 nvidia390-opencl>=0"
- pkg_install() {
- vmove "usr/lib/libnvidia-compiler*"
- vmove "usr/lib/libnvidia-opencl*"
- vmove etc/OpenCL
- }
-}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: nvidia: update to 515.76
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
` (3 preceding siblings ...)
2022-10-03 1:14 ` migue07juegos
@ 2022-10-03 1:16 ` migue07juegos
4 siblings, 0 replies; 8+ messages in thread
From: migue07juegos @ 2022-10-03 1:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
There's a closed pull request on the void-packages repository
nvidia: update to 515.76
https://github.com/void-linux/void-packages/pull/39643
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: briefly
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86-64
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nvidia: update to 515.76.
2022-11-04 6:34 [PR PATCH] " dataCobra
2022-11-05 7:07 ` abenson
@ 2022-11-05 9:30 ` dataCobra
1 sibling, 0 replies; 8+ messages in thread
From: dataCobra @ 2022-11-05 9:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/40327#issuecomment-1304457808
Comment:
It seems like the [issues](https://forums.developer.nvidia.com/t/bug-report-black-x11-screen-and-partial-lockup-when-upgraded-to-515-76-and-dual-rtx3060/228912) are not fixed with the current release of 515.76.
I can update the package to [520.56.06](https://www.nvidia.com/Download/driverResults.aspx/193764/en-us), with this version the problem was fixed.
Currently, there do not seem to be any known critical bugs.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nvidia: update to 515.76.
2022-11-04 6:34 [PR PATCH] " dataCobra
@ 2022-11-05 7:07 ` abenson
2022-11-05 9:30 ` dataCobra
1 sibling, 0 replies; 8+ messages in thread
From: abenson @ 2022-11-05 7:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/40327#issuecomment-1304427874
Comment:
I've held off of this update because of [issues](https://forums.developer.nvidia.com/t/bug-report-black-x11-screen-and-partial-lockup-when-upgraded-to-515-76-and-dual-rtx3060/228912).
Unfortunately, it seems to only affect certain recent versions I can't test for multiple reasons.
I'm willing to merge if someone can verify the issue is fixed now.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-11-05 9:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-02 23:36 [PR PATCH] nvidia: update to 515.76 migue07juegos
2022-10-02 23:46 ` abenson
2022-10-03 1:13 ` [PR PATCH] [Updated] " migue07juegos
2022-10-03 1:14 ` migue07juegos
2022-10-03 1:14 ` migue07juegos
2022-10-03 1:16 ` [PR PATCH] [Closed]: " migue07juegos
2022-11-04 6:34 [PR PATCH] " dataCobra
2022-11-05 7:07 ` abenson
2022-11-05 9:30 ` dataCobra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).