summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-07-21 14:42:12 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-07-21 15:42:51 -0400
commit153367194a0cbacdcb70c4c25a8bc351e1c3d29e (patch)
treeb0fd964d7466ad4d5a08f4dd3a8f0f03b6521f98 /x11-drivers/nvidia-drivers
parentx11-drivers/nvidia-drivers: warn about slub_debug issues (diff)
downloadgentoo-153367194a0cbacdcb70c4c25a8bc351e1c3d29e.tar.gz
gentoo-153367194a0cbacdcb70c4c25a8bc351e1c3d29e.tar.bz2
gentoo-153367194a0cbacdcb70c4c25a8bc351e1c3d29e.zip
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 <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-450.conf2
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-470.conf2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.57.02.ebuild7
3 files changed, 8 insertions, 3 deletions
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