From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C84D158091 for ; Tue, 31 May 2022 16:30:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D30AE0855; Tue, 31 May 2022 16:30:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6FCCCE0855 for ; Tue, 31 May 2022 16:30:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 516B534166A for ; Tue, 31 May 2022 16:30:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F981D3 for ; Tue, 31 May 2022 16:30:21 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1654014606.71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/nvidia-drivers/files/nvidia-470.conf X-VCS-Directories: x11-drivers/nvidia-drivers/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6 X-VCS-Branch: master Date: Tue, 31 May 2022 16:30:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc1945f0-9117-45e1-a659-8e6c5207e931 X-Archives-Hash: b20faa9b9c4162d97ca7ffd84278a578 commit: 71d04c6f1cc7b77ef00a93ebf28f796df0ef8be6 Author: Ionen Wolkens gentoo org> AuthorDate: Tue May 31 15:22:13 2022 +0000 Commit: Ionen Wolkens gentoo 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 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