From 71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 31 May 2022 11:22:13 -0400 Subject: [PATCH] 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 --- 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 977ef80349294..912eb13928555 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