commit: a2835307739fd759f1342054736adba6e66dc314
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 23:08:32 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 23:23:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2835307
x11-drivers/nvidia-drivers: add greeting elog for new GBM support
Not going to do full troubleshooting in this elog, but lack
of cursor is the first thing that's going to be a bother.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-drivers/nvidia-drivers/nvidia-drivers-495.29.05-r1.ebuild | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.29.05-r1.ebuild
b/x11-drivers/nvidia-drivers/nvidia-drivers-495.29.05-r1.ebuild
index 13e0d7a0bdb..93f8cfebafd 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.29.05-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.29.05-r1.ebuild
@@ -469,6 +469,15 @@ pkg_postinst() {
fi
fi
+ if use wayland && [[ ${REPLACING_VERSIONS} ]] &&
+ ver_test ${REPLACING_VERSIONS} -lt 495.53.02; then
+ elog
+ elog "While this version of ${PN} adds GBM support (allowing a
wider"
+ elog "range of wayland compositors, such as sway), be warned it
is very"
+ elog "experimental."
+ elog "If lacking a cursor with wlroots, try
WLR_NO_HARDWARE_CURSORS=1"
+ fi
+
# Try to show this message only to users that may really need it
# given the workaround is discouraged and usage isn't widespread.
if use X && [[ ${REPLACING_VERSIONS} ]] &&