commit:     15cc2dc545bd38be3d09a445b6a1a4759cdd5e9b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  6 02:22:59 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Mar  6 02:23:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15cc2dc5

x11-drivers/nvidia-drivers: add notes about suspend notifiers

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-595.45.04.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-595.45.04.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-595.45.04.ebuild
index 6958e01f387b..56f47c834a8f 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-595.45.04.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-595.45.04.ebuild
@@ -28,6 +28,9 @@ LICENSE="
 "
 SLOT="0/${PV%%.*}"
 # unkeyworded due to being a beta, feel free to opt-in if want to test
+# TODO: cleanup the suspend "Note:" in postinst elog when restore keywords,
+# albeit may be good to add the next version still unkeyworded until some
+# testing with this and consider going back to sleep services if needed
 #KEYWORDS="-* ~amd64 ~arm64"
 IUSE="+X abi_x86_32 abi_x86_64 persistenced powerd +static-libs +tools wayland"
 
@@ -563,6 +566,9 @@ pkg_postinst() {
                elog "   removed and replaced by setting 
NVreg_UseKernelSuspendNotifiers=1 in"
                elog "   ${EROOT}/etc/modprobe.d/nvidia.conf. If using a 
non-default custom"
                elog "   nvidia.conf, please ensure the option is set."
+               elog "   Note: considered experimental at the moment and may 
cause the"
+               elog "   kernel to crash on suspend, *could* be reverted by the 
time a"
+               elog "   non-beta 595.xx version is keyworded if has not 
improved yet."
                elog "3. nvidia-drm.modeset=1 was removed from nvidia.conf 
because it is now"
                elog "   default enabled regardless (new NVIDIA default)"
        fi

Reply via email to