* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2016-05-18 6:42 Austin English
0 siblings, 0 replies; 18+ messages in thread
From: Austin English @ 2016-05-18 6:42 UTC (permalink / raw
To: gentoo-commits
commit: fa658070e556467c326be76dd58f7b2db478d368
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 06:35:29 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May 18 06:38:34 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa658070
x11-drivers/nvidia-drivers: use #!/sbin/openrc-run instead of #!/sbin/runscript
x11-drivers/nvidia-drivers/files/nvidia-persistenced.init | 2 +-
x11-drivers/nvidia-drivers/files/nvidia-smi.init | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.init b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.init
index 07f6905..98a7cbe 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.init
+++ b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-smi.init b/x11-drivers/nvidia-drivers/files/nvidia-smi.init
index 6dce4e8..75aebb5 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-smi.init
+++ b/x11-drivers/nvidia-drivers/files/nvidia-smi.init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2017-01-20 8:07 Jeroen Roovers
0 siblings, 0 replies; 18+ messages in thread
From: Jeroen Roovers @ 2017-01-20 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 16e540e0af01953fae7fcddca7514320f3e28a42
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 08:06:18 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 08:07:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e540e0
x11-drivers/nvidia-drivers: Remove obsolete patches.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../files/nvidia-drivers-367.35-profiles-rc.patch | 11 -----------
.../files/nvidia-drivers-367.44-profiles-rc.patch | 11 -----------
.../files/nvidia-drivers-375.20-profiles-rc.patch | 11 -----------
3 files changed, 33 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.35-profiles-rc.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.35-profiles-rc.patch
deleted file mode 100644
index 77b676c..00000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.35-profiles-rc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nvidia-application-profiles-367.35-rc
-+++ b/nvidia-application-profiles-367.35-rc
-@@ -44,7 +44,7 @@
- {
- "name" : "NamedVertexAttributesApplyDivisor",
- "settings" : [ "GL23cd0e", 1 ]
-- },
-+ }
- ],
- "rules" : [
- {
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.44-profiles-rc.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.44-profiles-rc.patch
deleted file mode 100644
index 2eb14e9..00000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.44-profiles-rc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nvidia-application-profiles-367.44-rc
-+++ b/nvidia-application-profiles-367.44-rc
-@@ -44,7 +44,7 @@
- {
- "name" : "NamedVertexAttributesApplyDivisor",
- "settings" : [ "GL23cd0e", 1 ]
-- },
-+ }
- ],
- "rules" : [
- {
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.20-profiles-rc.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.20-profiles-rc.patch
deleted file mode 100644
index 49efc0e..00000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.20-profiles-rc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nvidia-application-profiles-375.20-rc
-+++ b/nvidia-application-profiles-375.20-rc
-@@ -48,7 +48,7 @@
- {
- "name" : "NoEnforceShaderInputOutputMatching",
- "settings" : [ "GLShaderPortabilityWarnings", false ]
-- },
-+ }
- ],
- "rules" : [
- {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2017-01-24 12:21 Jeroen Roovers
0 siblings, 0 replies; 18+ messages in thread
From: Jeroen Roovers @ 2017-01-24 12:21 UTC (permalink / raw
To: gentoo-commits
commit: f61fc1ef543e9b297f3783d8386213f6d4e69615
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 12:20:42 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 12:21:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61fc1ef
x11-drivers/nvidia-drivers: rmmod nvidia-drm, too by Pablo Cholaky (bug #606920).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf b/x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf
index 48a8273..618b9b3 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-rmmod.conf
@@ -1,3 +1,3 @@
# Nvidia UVM support
-remove nvidia modprobe -r --ignore-remove nvidia-modeset nvidia-uvm nvidia
+remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2017-05-06 11:48 Jeroen Roovers
0 siblings, 0 replies; 18+ messages in thread
From: Jeroen Roovers @ 2017-05-06 11:48 UTC (permalink / raw
To: gentoo-commits
commit: 7882ce6b89df045eba5657118e603544c05414b9
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat May 6 11:42:19 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat May 6 11:42:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7882ce6b
x11-drivers/nvidia-drivers: Remove obsolete patch.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
.../files/nvidia-drivers-375.26-profiles-rc.patch | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.26-profiles-rc.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.26-profiles-rc.patch
deleted file mode 100644
index 13acd042f94..00000000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-375.26-profiles-rc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nvidia-application-profiles-375.26-rc
-+++ b/nvidia-application-profiles-375.26-rc
-@@ -48,7 +48,7 @@
- {
- "name" : "NoEnforceShaderInputOutputMatching",
- "settings" : [ "GLShaderPortabilityWarnings", false ]
-- },
-+ }
- ],
- "rules" : [
- {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2020-09-17 20:29 Jeroen Roovers
0 siblings, 0 replies; 18+ messages in thread
From: Jeroen Roovers @ 2020-09-17 20:29 UTC (permalink / raw
To: gentoo-commits
commit: a5e2cb4da9f1e7b5cc537261ced9437792f15b5a
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 20:29:22 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 20:29:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e2cb4d
x11-drivers/nvidia-drivers: Drop obsolete file
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist | 1 -
1 file changed, 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist b/x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist
deleted file mode 100644
index 5e139de3321..00000000000
--- a/x11-drivers/nvidia-drivers/files/50nvidia-prelink-blacklist
+++ /dev/null
@@ -1 +0,0 @@
-PRELINK_PATH_MASK="/usr/lib{,64}/tls/libnvidia-tls*:/usr/lib{,64}/libnvidia*:/usr/lib{,64}/libGL*:/usr/lib{,64}/opengl/nvidia/*:/usr/lib{,64}/OpenCL/vendors/nvidia/*:/usr/lib{,64}/xorg/modules/drivers/nvidia*:/usr/lib{,64}/libvdpau_nvidia*:/usr/lib{,64}/libXvMCNVIDIA*:/usr/lib{,64}/libcuda*:/usr/lib{,64}/libnvcuvid*"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2021-02-27 15:38 Conrad Kostecki
0 siblings, 0 replies; 18+ messages in thread
From: Conrad Kostecki @ 2021-02-27 15:38 UTC (permalink / raw
To: gentoo-commits
commit: 7f6317d96ed9ef220eea6945d03fb77e1a29d197
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Feb 23 16:34:44 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 15:35:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6317d9
x11-drivers/nvidia-drivers: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/19617
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
...nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch
deleted file mode 100644
index c61033bf2a9..00000000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Patch taken from
- https://forums.developer.nvidia.com/t/455-23-04-page-allocation-failure-in-kernel-module-at-random-points/155250/55
-Bug: https://bugs.gentoo.org/755497
-Credits go to Gregory Beauregard for pointing this out
-
---- a/kernel/nvidia-modeset/nvidia-modeset-linux.c
-+++ b/kernel/nvidia-modeset/nvidia-modeset-linux.c
-@@ -282,8 +282,8 @@
- * are called while nvkms_lock is held.
- *************************************************************************/
-
--/* Don't use kmalloc for allocations larger than 128k */
--#define KMALLOC_LIMIT (128 * 1024)
-+/* Don't use kmalloc for allocations larger than one page */
-+#define KMALLOC_LIMIT PAGE_SIZE
-
- void* NVKMS_API_CALL nvkms_alloc(size_t size, NvBool zero)
- {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2021-03-21 15:53 David Seifert
0 siblings, 0 replies; 18+ messages in thread
From: David Seifert @ 2021-03-21 15:53 UTC (permalink / raw
To: gentoo-commits
commit: b96134374451d3def918ebb8d383615b73712b56
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 15:51:55 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 15:51:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9613437
x11-drivers/nvidia-drivers: change .conf tmp path to /var/tmp
Given space requirement and /tmp typically being tmpfs, /var/tmp
makes more sense. >430 ebuilds currently had to warn users to
change the path (no need for revbumps because of this).
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-430.conf | 6 +++---
x11-drivers/nvidia-drivers/files/nvidia-460.conf | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-430.conf b/x11-drivers/nvidia-drivers/files/nvidia-430.conf
index 173513777aa..edd957b58c4 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-430.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-430.conf
@@ -3,8 +3,8 @@ alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
-# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/PACKAGE/README
+# you should be careful, as it could cause instability!! For more
+# options see README.txt in /usr/share/doc/PACKAGE
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
@@ -17,4 +17,4 @@ options nvidia \
NVreg_DeviceFileUID=0 \
NVreg_ModifyDeviceFiles=1 \
NVreg_PreserveVideoMemoryAllocations=1 \
- NVreg_TemporaryFilePath=/tmp
+ NVreg_TemporaryFilePath=/var/tmp
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-460.conf b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
index faf0243a823..03967faa577 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-460.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
@@ -4,7 +4,7 @@ alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/PACKAGE/README
+# options see README.txt in /usr/share/doc/PACKAGE
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
@@ -17,4 +17,4 @@ options nvidia \
NVreg_DeviceFileUID=0 \
NVreg_ModifyDeviceFiles=1 \
NVreg_PreserveVideoMemoryAllocations=0 \
- NVreg_TemporaryFilePath=/tmp
+ NVreg_TemporaryFilePath=/var/tmp
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2021-03-21 15:53 David Seifert
0 siblings, 0 replies; 18+ messages in thread
From: David Seifert @ 2021-03-21 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 1d5d843771b4b7e53ed239aba2962094ac81623a
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 15:52:19 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 15:52:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5d8437
x11-drivers/nvidia-drivers: remove unused files
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/95-nvidia-settings | 2 --
x11-drivers/nvidia-drivers/files/nvidia-udev.sh | 17 -----------------
2 files changed, 19 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/95-nvidia-settings b/x11-drivers/nvidia-drivers/files/95-nvidia-settings
deleted file mode 100644
index e9d62742e1e..00000000000
--- a/x11-drivers/nvidia-drivers/files/95-nvidia-settings
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/opt/bin/nvidia-settings --load-config-only
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-udev.sh b/x11-drivers/nvidia-drivers/files/nvidia-udev.sh
deleted file mode 100644
index 9487b08e7a5..00000000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-udev.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-if [ $# -ne 1 ]; then
- echo "Invalid args" >&2
- exit 1
-fi
-
-case $1 in
- add|ADD)
- /opt/bin/nvidia-smi > /dev/null
- ;;
- remove|REMOVE)
- rm -f /dev/nvidia*
- ;;
-esac
-
-exit 0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2021-08-21 5:33 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2021-08-21 5:33 UTC (permalink / raw
To: gentoo-commits
commit: 75bbb00268a3e8bec8f41ee842298d0368b48646
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 21 05:30:46 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Aug 21 05:32:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bbb002
x11-drivers/nvidia-drivers: reword a nvidia-470.conf comment
Was missing a "for" there
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-470.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-470.conf b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
index f5b187ae530..977ef803492 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-470.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
@@ -5,7 +5,7 @@
# Comment out the following line if you wish to allow nouveau.
blacklist nouveau
-# Kernel Mode Setting (needed EGLStream/Wayland)
+# Kernel Mode Setting (notably needed for EGLStream/Wayland)
# Enabling may possibly cause issues with SLI and Reverse PRIME.
#options nvidia-drm modeset=1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2022-05-31 16:30 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2022-05-31 16:30 UTC (permalink / raw
To: gentoo-commits
commit: 71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 15:22:13 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue May 31 16:30:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d04c6f
x11-drivers/nvidia-drivers: warn about modules .conf Allocations=1
Not something I experimented much with, but I've heard reports
it can work badly even with systemd services. It may or may not
work better, but avoid sounding like it's always recommended.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-470.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-470.conf b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
index 977ef8034929..912eb1392855 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-470.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
@@ -10,7 +10,8 @@ blacklist nouveau
#options nvidia-drm modeset=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
-# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend).
+# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend),
+# but even then may lead to issues on some setups (keep 0 if in doubt).
options nvidia \
NVreg_PreserveVideoMemoryAllocations=0 \
NVreg_TemporaryFilePath=/var/tmp
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2022-09-19 11:36 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2022-09-19 11:36 UTC (permalink / raw
To: gentoo-commits
commit: 80a2da5a5eaad522ff3e8019d8584ed1e5420501
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 19 10:35:21 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 11:36:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a2da5a
x11-drivers/nvidia-drivers: clarify clang15 patch notes
That this still fails regardless of 15.0.0-r1/15.0.1 revert
may not have been clear, this is the makefiles requesting it.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch | 2 ++
.../nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch | 2 ++
2 files changed, 4 insertions(+)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
index 85d502ca662f..525631f36b3c 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
@@ -1,3 +1,5 @@
+Kernel's makefiles pass -Werror=strict-prototypes which
+trigger errors with clang15+
https://bugs.gentoo.org/870238
--- a/kernel/nvidia/nvlink_linux.c
+++ b/kernel/nvidia/nvlink_linux.c
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
index 71cb6cf7e980..ab88f2b997c3 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
@@ -1,3 +1,5 @@
+Kernel's makefiles pass -Werror=strict-prototypes which
+trigger errors with clang15+
https://bugs.gentoo.org/870238
--- a/kernel/nvidia/nvlink_linux.c
+++ b/kernel/nvidia/nvlink_linux.c
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2022-11-10 22:22 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2022-11-10 22:22 UTC (permalink / raw
To: gentoo-commits
commit: 821897e50ac7f350599b4dea684a2d1adc32607e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 21:03:38 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 22:21:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=821897e5
x11-drivers/nvidia-drivers: update clang15 patch comments
Reword a bit and add nvidia open issue link.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch | 3 ++-
x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch | 3 ++-
.../nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch
index 2038b3da157a..98eaee949074 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15-x86.patch
@@ -1,6 +1,7 @@
Kernel's makefiles pass -Werror=strict-prototypes which
-trigger errors with clang15+
+can trigger errors depending on compiler defaults.
https://bugs.gentoo.org/870238
+https://github.com/NVIDIA/open-gpu-kernel-modules/issues/377
--- a/kernel/nvidia/nvlink_linux.c
+++ b/kernel/nvidia/nvlink_linux.c
@@ -639 +639 @@
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
index 525631f36b3c..b08f35894fd4 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-390.154-clang15.patch
@@ -1,6 +1,7 @@
Kernel's makefiles pass -Werror=strict-prototypes which
-trigger errors with clang15+
+can trigger errors depending on compiler defaults.
https://bugs.gentoo.org/870238
+https://github.com/NVIDIA/open-gpu-kernel-modules/issues/377
--- a/kernel/nvidia/nvlink_linux.c
+++ b/kernel/nvidia/nvlink_linux.c
@@ -639 +639 @@
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
index ab88f2b997c3..334f0d1c9b13 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.141.03-clang15.patch
@@ -1,6 +1,7 @@
Kernel's makefiles pass -Werror=strict-prototypes which
-trigger errors with clang15+
+can trigger errors depending on compiler defaults.
https://bugs.gentoo.org/870238
+https://github.com/NVIDIA/open-gpu-kernel-modules/issues/377
--- a/kernel/nvidia/nvlink_linux.c
+++ b/kernel/nvidia/nvlink_linux.c
@@ -571 +571 @@
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2022-12-11 19:23 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2022-12-11 19:23 UTC (permalink / raw
To: gentoo-commits
commit: 7b1d7789c7ace95a6c6096c30aa971e3a87ad363
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 19:20:51 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 19:21:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1d7789
x11-drivers/nvidia-drivers: match paths in raw-ldflags patch
Oops, but doesn't impact anything.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../files/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch b/x11-drivers/nvidia-drivers/files/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch
index 0b0d2f1dcb48..9185ec0f33ce 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-kernel-module-source-515.86.01-raw-ldflags.patch
@@ -5,7 +5,7 @@ https://bugs.gentoo.org/885483
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/405
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/214
--- a/kernel-module-source/utils.mk
-+++ b/utils.mk
++++ b/kernel-module-source/utils.mk
@@ -556,3 +556,3 @@
$(at_if_quiet)cd $$(dir $(1)); \
- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2023-06-18 2:03 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2023-06-18 2:03 UTC (permalink / raw
To: gentoo-commits
commit: 5862bf58e8d32ae8f5a70779fba6559528d71aca
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 02:03:00 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 02:03:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5862bf58
x11-drivers/nvidia-drivers: fix comment typo
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../files/nvidia-drivers-525.116.04-clang-unused-option.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-525.116.04-clang-unused-option.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-525.116.04-clang-unused-option.patch
index 5842bdd2a757..692e1880489d 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-525.116.04-clang-unused-option.patch
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-525.116.04-clang-unused-option.patch
@@ -1,5 +1,5 @@
clang-15.0.7(?) or so may abort when the unused option -MD is passed,
-option removal is backported fro nvidia-535 branch
+option removal is backported from the nvidia:0/535 branch.
Note patch is kept without context given the lines below change constantly
(version) preventing from applying same patch to multiple versions.
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2023-10-20 1:15 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2023-10-20 1:15 UTC (permalink / raw
To: gentoo-commits
commit: 0e1b66032c97ecd84382d227382cbaf22ba99412
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 16:42:55 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 01:13:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1b6603
x11-drivers/nvidia-drivers: emphasise that fbdev=1 is experimental
Console works fine but personally had a poor experience where Xorg
applications were crashing (once) after a mode switch. Imagine
mileage may vary, but nvidia themselves call it experimental.
Untested, but I believe this actually works better with wayland.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-545.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-545.conf b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
index 9748d8312c66..6de5577d5bf9 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-545.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
@@ -11,7 +11,8 @@ blacklist nouveau
# Enable experimental framebuffer console support (^ requires modeset=1).
# Replaces efifb or similar once loaded. Note that unloading nvidia modules
-# to, e.g. load a new version, would result in losing console display.
+# to, e.g. load a new version, would result in losing console display
+# (emphasis on being experimental, mode switch could cause issues with X).
#options nvidia-drm fbdev=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2024-01-28 16:34 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2024-01-28 16:34 UTC (permalink / raw
To: gentoo-commits
commit: 3713becb072e05d999779852ce0789998cb9f0ba
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 12:08:04 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 16:32:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3713becb
x11-drivers/nvidia-drivers: relicense nvidia-persistenced.initd
Tiny script that was entirely written by me, and came to prefer
installed+redistributed simple scripts to not carry extra baggage.
(MIT is already in the ebuild's LICENSE)
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd
index e199efc1e54e..27d8bb37d98a 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd
+++ b/x11-drivers/nvidia-drivers/files/nvidia-persistenced.initd
@@ -1,6 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
+# SPDX-License-Identifier: MIT
description="Maintain persistent software state in the NVIDIA driver"
command="nvidia-persistenced"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2024-05-27 5:55 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2024-05-27 5:55 UTC (permalink / raw
To: gentoo-commits
commit: 59d7b4b1b1724b31d220e9388d9e6c9d118e0c74
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon May 27 05:53:28 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May 27 05:55:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d7b4b1
x11-drivers/nvidia-drivers: remove outdated warning from nvidia.conf
If anything it's recommended nowadays, but =0 is safer out-of-the-box
if things are not setup right (esp. with openrc, or without logind)
so not changing that.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-470.conf | 3 +--
x11-drivers/nvidia-drivers/files/nvidia-545.conf | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-470.conf b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
index 74126224c6ce..2b87b67602e0 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-470.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-470.conf
@@ -10,8 +10,7 @@ blacklist nouveau
#options nvidia-drm modeset=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
-# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend),
-# but even then may lead to issues on some setups (keep 0 if in doubt).
+# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend).
options nvidia \
NVreg_PreserveVideoMemoryAllocations=0 \
NVreg_TemporaryFilePath=/var/tmp
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-545.conf b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
index 6de5577d5bf9..d1d63ebbb197 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-545.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
@@ -16,8 +16,7 @@ blacklist nouveau
#options nvidia-drm fbdev=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
-# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend),
-# but even then may lead to issues on some setups (keep 0 if in doubt).
+# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend).
options nvidia \
NVreg_PreserveVideoMemoryAllocations=0 \
NVreg_TemporaryFilePath=/var/tmp
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
@ 2024-07-25 13:18 Ionen Wolkens
0 siblings, 0 replies; 18+ messages in thread
From: Ionen Wolkens @ 2024-07-25 13:18 UTC (permalink / raw
To: gentoo-commits
commit: 6bde3ffbd8fab038f4f33359a0bd0c0768d23a46
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 25 13:14:27 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jul 25 13:17:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bde3ffb
x11-drivers/nvidia-drivers: reword fbdev comment, mention sleep
And the module unload bit doesn't feel important enough to keep.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/files/nvidia-545.conf | 7 +++----
x11-drivers/nvidia-drivers/files/nvidia-555.conf | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-545.conf b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
index d1d63ebbb197..d5be9b654091 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-545.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-545.conf
@@ -9,10 +9,9 @@ blacklist nouveau
# Enabling may possibly cause issues with SLI and Reverse PRIME.
#options nvidia-drm modeset=1
-# Enable experimental framebuffer console support (^ requires modeset=1).
-# Replaces efifb or similar once loaded. Note that unloading nvidia modules
-# to, e.g. load a new version, would result in losing console display
-# (emphasis on being experimental, mode switch could cause issues with X).
+# Enable experimental framebuffer console support (requires modeset=1 above).
+# Replaces efifb, simpledrm, or similar once loaded (emphasis on being
+# experimental, "may" cause issues X mode switching, sleep, or more).
#options nvidia-drm fbdev=1
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-555.conf b/x11-drivers/nvidia-drivers/files/nvidia-555.conf
index e0c1b09808f8..98bd87c43080 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-555.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-555.conf
@@ -9,10 +9,9 @@ blacklist nouveau
# Enabling may possibly cause issues with SLI and Reverse PRIME.
#options nvidia-drm modeset=1
-# Enable experimental framebuffer console support (^ requires modeset=1).
-# Replaces efifb or similar once loaded. Note that unloading nvidia modules
-# to, e.g. load a new version, would result in losing console display
-# (emphasis on being experimental, mode switch could cause issues with X).
+# Enable experimental framebuffer console support (requires modeset=1 above).
+# Replaces efifb, simpledrm, or similar once loaded (emphasis on being
+# experimental, "may" cause issues X mode switching, sleep, or more).
#options nvidia-drm fbdev=1
# Disable use of the GSP firmware which has newly been enabled by default
^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-07-25 13:18 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-06 11:48 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/ Jeroen Roovers
-- strict thread matches above, loose matches on Subject: below --
2024-07-25 13:18 Ionen Wolkens
2024-05-27 5:55 Ionen Wolkens
2024-01-28 16:34 Ionen Wolkens
2023-10-20 1:15 Ionen Wolkens
2023-06-18 2:03 Ionen Wolkens
2022-12-11 19:23 Ionen Wolkens
2022-11-10 22:22 Ionen Wolkens
2022-09-19 11:36 Ionen Wolkens
2022-05-31 16:30 Ionen Wolkens
2021-08-21 5:33 Ionen Wolkens
2021-03-21 15:53 David Seifert
2021-03-21 15:53 David Seifert
2021-02-27 15:38 Conrad Kostecki
2020-09-17 20:29 Jeroen Roovers
2017-01-24 12:21 Jeroen Roovers
2017-01-20 8:07 Jeroen Roovers
2016-05-18 6:42 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox