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