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