From 153367194a0cbacdcb70c4c25a8bc351e1c3d29e Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 21 Jul 2021 14:42:12 -0400 Subject: x11-drivers/nvidia-drivers: extend USE=wayland warnings a bit Can't test this myself, but adding the warning for Reverse PRIME to be on the safe side, plus a note about gdm. Closes: https://bugs.gentoo.org/803209 Signed-off-by: Ionen Wolkens --- x11-drivers/nvidia-drivers/files/nvidia-450.conf | 2 +- x11-drivers/nvidia-drivers/files/nvidia-470.conf | 2 +- x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'x11-drivers/nvidia-drivers') diff --git a/x11-drivers/nvidia-drivers/files/nvidia-450.conf b/x11-drivers/nvidia-drivers/files/nvidia-450.conf index fe162045a132..d9b1e7d70106 100644 --- a/x11-drivers/nvidia-drivers/files/nvidia-450.conf +++ b/x11-drivers/nvidia-drivers/files/nvidia-450.conf @@ -6,7 +6,7 @@ blacklist nouveau # Kernel Mode Setting (needed for PRIME offloading, and EGLStream/Wayland) -# This may need to be disabled if using SLI (Scalable Link Interface). +# Enabling may possibly cause issues with SLI and Reverse PRIME. #options nvidia-drm modeset=1 # Suspend options. diff --git a/x11-drivers/nvidia-drivers/files/nvidia-470.conf b/x11-drivers/nvidia-drivers/files/nvidia-470.conf index 2c1ffd715f02..51127be44e77 100644 --- a/x11-drivers/nvidia-drivers/files/nvidia-470.conf +++ b/x11-drivers/nvidia-drivers/files/nvidia-470.conf @@ -6,7 +6,7 @@ blacklist nouveau # Kernel Mode Setting (needed for PRIME offloading, and EGLStream/Wayland) -# This may need to be disabled if using SLI (Scalable Link Interface). +# Enabling may possibly cause issues with SLI and Reverse PRIME. #options nvidia-drm modeset=1 # Suspend options. Allocations=0 recommended over =1 unless enable nvidia's diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild index a972835bc8a1..78c29cdf3b6f 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild @@ -449,7 +449,12 @@ pkg_postinst() { elog "in compositors that support it) and PRIME offloading." elog elog "If you experience issues, please comment out the option from nvidia.conf." - elog "It is notably known to cause problems with SLI (Scalable Link Interface)." + elog "Of note, may possibly cause issues with SLI and Reverse PRIME." + if has_version "gnome-base/gdm[wayland]"; then + elog + elog "This also cause gnome-base/gdm to use a wayland session by default," + elog "select 'GNOME on Xorg' if you wish to continue using it." + fi fi # Try to show this message only to users that may really need it -- cgit v1.2.3-65-gdbad