public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/, x11-drivers/nvidia-drivers/
Date: Mon,  8 Feb 2021 09:39:33 +0000 (UTC)	[thread overview]
Message-ID: <1612777160.3f48cdfdff62bdeb440900f04d7745dd08365eba.soap@gentoo> (raw)

commit:     3f48cdfdff62bdeb440900f04d7745dd08365eba
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 09:39:20 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 09:39:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f48cdfd

x11-drivers/nvidia-drivers: Default disable PreserveVideoMemoryAllocations

Bug: https://bugs.gentoo.org/763129
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-drivers/nvidia-drivers/files/nvidia-460.conf     | 20 ++++++++++++++++++++
 ...460.39.ebuild => nvidia-drivers-460.39-r1.ebuild} |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/x11-drivers/nvidia-drivers/files/nvidia-460.conf b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
new file mode 100644
index 00000000000..faf0243a823
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
@@ -0,0 +1,20 @@
+# Nvidia drivers support
+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
+#
+# !!! SECURITY WARNING !!!
+# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
+# WHAT YOU ARE DOING.
+# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
+# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
+options nvidia \
+	NVreg_DeviceFileGID=VIDEOGID \
+	NVreg_DeviceFileMode=432 \
+	NVreg_DeviceFileUID=0 \
+	NVreg_ModifyDeviceFiles=1 \
+	NVreg_PreserveVideoMemoryAllocations=0 \
+	NVreg_TemporaryFilePath=/tmp

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild
similarity index 99%
rename from x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild
rename to x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild
index 2c16377cf6e..87e315b2413 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild
@@ -214,7 +214,7 @@ src_install() {
 		# This file is tweaked with the appropriate video group in
 		# pkg_preinst, see bug #491414
 		insinto /etc/modprobe.d
-		newins "${FILESDIR}"/nvidia-430.conf nvidia.conf
+		newins "${FILESDIR}"/nvidia-460.conf nvidia.conf
 
 		if use uvm; then
 			doins "${FILESDIR}"/nvidia-rmmod.conf


             reply	other threads:[~2021-02-08  9:39 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08  9:39 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-18  9:06 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/, x11-drivers/nvidia-drivers/ Ionen Wolkens
2024-10-23 20:25 Ionen Wolkens
2024-09-18 22:43 Ionen Wolkens
2024-06-26  0:16 Ionen Wolkens
2024-01-28 16:34 Ionen Wolkens
2024-01-08 21:09 Ionen Wolkens
2023-10-17 17:52 Ionen Wolkens
2023-02-03 18:15 Ionen Wolkens
2022-12-11 19:12 Ionen Wolkens
2022-11-10 22:22 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-23  2:05 Ionen Wolkens
2022-09-19 11:36 Ionen Wolkens
2022-05-21  0:38 Ionen Wolkens
2021-12-14 15:56 Ionen Wolkens
2021-07-23 15:39 Ionen Wolkens
2021-07-22 15:08 Ionen Wolkens
2021-07-21 19:44 Ionen Wolkens
2021-07-21 19:44 Ionen Wolkens
2021-07-20  1:23 Ionen Wolkens
2021-04-21 12:22 David Seifert
2020-08-26 16:55 Matt Turner
2020-08-26  5:32 Matt Turner
2020-04-29  8:08 Jeroen Roovers
2020-01-27 19:55 Jeroen Roovers
2019-10-22  9:17 Jeroen Roovers
2019-01-16 10:32 Jeroen Roovers
2018-01-04 19:08 Jeroen Roovers
2017-11-27 23:31 Jeroen Roovers
2017-11-27 23:31 Jeroen Roovers
2017-11-22  9:55 Jeroen Roovers
2017-09-27 16:26 Jeroen Roovers
2017-04-11  7:07 Jeroen Roovers
2017-01-09  3:38 Richard Farina
2016-12-15 10:31 Jeroen Roovers
2016-11-21 19:10 Jeroen Roovers
2016-10-25 19:44 Richard Farina
2016-10-11  7:22 Jeroen Roovers
2016-09-10 12:33 Jeroen Roovers
2016-09-10 12:33 Jeroen Roovers
2016-08-28  8:14 Jeroen Roovers
2016-03-25  3:30 Jeroen Roovers
2016-03-24  5:05 Jeroen Roovers
2015-09-20 21:29 Richard Farina
2015-09-18 18:24 Richard Farina

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=1612777160.3f48cdfdff62bdeb440900f04d7745dd08365eba.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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