From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nvidia: update to 495.46.
Date: Thu, 30 Dec 2021 11:56:44 +0100 [thread overview]
Message-ID: <20211230105644.ukVTcAspsVc0zltAvEZeO8d5bYzvR0p2vZqEU06kUoM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34664@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
There is an updated pull request by motorto against master on the void-packages repository
https://github.com/motorto/void-packages nvidiaDrivers
https://github.com/void-linux/void-packages/pull/34664
nvidia: update to 495.46.
#### Testing the changes
- I tested the changes in this PR: **NO**
- I built this PR locally for my native architecture, x86_64
Still haven't got the time to test on hardware, but it builds and installs fine .
Testers are welcome, hope I didn't miss anything ...
@abenson how does it look for you ?
A patch file from https://github.com/void-linux/void-packages/pull/34664.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvidiaDrivers-34664.patch --]
[-- Type: text/x-diff, Size: 3175 bytes --]
From 3a3f51918e4c2ac97ce155e8e3133540722cc599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 22 Dec 2021 18:08:55 +0000
Subject: [PATCH] nvidia: update to 495.46.
---
srcpkgs/nvidia/template | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index d64cc8019c86..04b884b6744b 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
-version=470.94
+version=495.46
revision=1
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
@@ -19,7 +19,7 @@ conflicts="xserver-abi-video>24_1"
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=9585aa29330ebad9bdf22ce3ca2bac2026c85a9a32f03d7c59f714a7798500eb
+checksum=d83b77d17da0c54667aa5b13d6ea95a5c51304257b1ecf2f8d4a3b5ae31c62f5
# 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}
@@ -69,10 +69,6 @@ _install_libs() {
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-ifr.so.${version} 755 ${libdir}
- ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/${libdir}/libnvidia-ifr.so
- ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/${libdir}/libnvidia-ifr.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
@@ -128,9 +124,20 @@ do_install() {
ln -sf libglxserver_nvidia.so.${version} \
${DESTDIR}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1
- vinstall libnvidia-egl-wayland.so.1.1.7 755 usr/lib
- ln -sf libnvidia-egl-wayland.so.1.1.7 \
+ # 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 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 \
@@ -204,7 +211,12 @@ do_install() {
# vulkan real-time ray tracing extensions
vinstall libnvidia-rtcore.so.${version} 755 usr/lib
- vinstall libnvidia-cbl.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
next prev parent reply other threads:[~2021-12-30 10:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 18:14 [PR PATCH] " motorto
2021-12-23 0:27 ` abenson
2021-12-23 8:47 ` [PR PATCH] [Updated] " motorto
2021-12-23 8:54 ` motorto
2021-12-27 4:57 ` abenson
2021-12-30 10:56 ` motorto [this message]
2021-12-30 11:10 ` motorto
2022-01-04 17:03 ` abenson
2022-01-04 18:23 ` [PR PATCH] [Updated] " motorto
2022-01-04 18:26 ` motorto
2022-01-04 18:33 ` [PR PATCH] [Updated] " motorto
2022-01-05 0:58 ` [PR REVIEW] " abenson
2022-01-05 1:00 ` abenson
2022-01-05 8:21 ` [PR PATCH] [Updated] " motorto
2022-01-06 18:14 ` [PR PATCH] [Closed]: " motorto
2022-01-25 18:03 ` KSPAtlas
2022-01-28 16:42 ` wael444
2022-01-28 16:45 ` wael444
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211230105644.ukVTcAspsVc0zltAvEZeO8d5bYzvR0p2vZqEU06kUoM@z \
--to=motorto@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).