1 |
commit: 71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 15:22:13 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 16:30:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d04c6f |
7 |
|
8 |
x11-drivers/nvidia-drivers: warn about modules .conf Allocations=1 |
9 |
|
10 |
Not something I experimented much with, but I've heard reports |
11 |
it can work badly even with systemd services. It may or may not |
12 |
work better, but avoid sounding like it's always recommended. |
13 |
|
14 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
15 |
|
16 |
x11-drivers/nvidia-drivers/files/nvidia-470.conf | 3 ++- |
17 |
1 file changed, 2 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-470.conf b/x11-drivers/nvidia-drivers/files/nvidia-470.conf |
20 |
index 977ef8034929..912eb1392855 100644 |
21 |
--- a/x11-drivers/nvidia-drivers/files/nvidia-470.conf |
22 |
+++ b/x11-drivers/nvidia-drivers/files/nvidia-470.conf |
23 |
@@ -10,7 +10,8 @@ blacklist nouveau |
24 |
#options nvidia-drm modeset=1 |
25 |
|
26 |
# Suspend options. Allocations=0 recommended over =1 unless enable nvidia's |
27 |
-# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend). |
28 |
+# systemd sleep services (nvidia-hibernate, nvidia-resume, nvidia-suspend), |
29 |
+# but even then may lead to issues on some setups (keep 0 if in doubt). |
30 |
options nvidia \ |
31 |
NVreg_PreserveVideoMemoryAllocations=0 \ |
32 |
NVreg_TemporaryFilePath=/var/tmp |