| |
@@ -86,16 +86,16 @@
|
| |
figure it out:
|
| |
|
| |
* Wayland session should have `WAYLAND_DISPLAY` variable set, X11
|
| |
- session should not have it:
|
| |
+ session should not have it:
|
| |
+
|
| |
....
|
| |
$ echo $WAYLAND_DISPLAY
|
| |
wayland-0
|
| |
....
|
| |
* `loginctl` can give you this information. First run `loginctl` and
|
| |
- find your session number (if should be an integer number, with your
|
| |
- username and seat assigned). Then look at the session type (`x11` or
|
| |
- `wayland`):
|
| |
+ find your session number (if should be an integer number, with your
|
| |
+ username and seat assigned). Then look at the session type (`x11` or
|
| |
+ `wayland`):
|
| |
+
|
| |
....
|
| |
$ loginctl show-session <YOUR_NUMBER> -p Type
|
| |
@@ -143,7 +143,7 @@
|
| |
However, this list of not always entirely reliable, some apps might be
|
| |
missing.
|
| |
* You can try to run the app while unsetting `DISPLAY` environment
|
| |
- variable:
|
| |
+ variable:
|
| |
+
|
| |
....
|
| |
$ DISPLAY='' command
|
| |
@@ -159,8 +159,8 @@
|
| |
If you see loads of output (when compared to a standard run), the app is
|
| |
using Wayland natively.
|
| |
* Under GNOME, you can determine this using
|
| |
- http://blog.bodhizazen.net/linux/how-to-determine-if-an-application-is-using-wayland-or-xwayland/[integrated
|
| |
- Looking Glass tool]. Hit `Alt+F2`, run:
|
| |
+ http://blog.bodhizazen.net/linux/how-to-determine-if-an-application-is-using-wayland-or-xwayland/[integrated
|
| |
+ Looking Glass tool]. Hit `Alt+F2`, run:
|
| |
+
|
| |
....
|
| |
lg
|
| |
@@ -190,21 +190,21 @@
|
| |
The most notable Wayland-ready toolkits are:
|
| |
|
| |
* https://en.wikipedia.org/wiki/GTK%2B[GTK+ 3] - default apps in GNOME
|
| |
- environment use almost exclusively this toolkit. Please note that apps
|
| |
- using older GTK+ 2 are not Wayland-ready.
|
| |
+ environment use almost exclusively this toolkit. Please note that apps
|
| |
+ using older GTK+ 2 are not Wayland-ready.
|
| |
* https://en.wikipedia.org/wiki/Qt_%28software%29[QT 5] - many apps in
|
| |
- KDE environment use this toolkit. Please note that apps using older QT 4
|
| |
- are not Wayland-ready.
|
| |
+ KDE environment use this toolkit. Please note that apps using older QT 4
|
| |
+ are not Wayland-ready.
|
| |
|
| |
The most notable Wayland compositors are:
|
| |
|
| |
* https://en.wikipedia.org/wiki/Wayland_%28display_server_protocol%29#Weston[Weston]
|
| |
- - the reference implementation of a Wayland compositor, maintained
|
| |
- directly by the Wayland project
|
| |
+ - the reference implementation of a Wayland compositor, maintained
|
| |
+ directly by the Wayland project
|
| |
* https://en.wikipedia.org/wiki/Mutter_%28software%29[Mutter] -
|
| |
- compositor in GNOME. If you run GNOME, it is using this compositor.
|
| |
+ compositor in GNOME. If you run GNOME, it is using this compositor.
|
| |
* https://community.kde.org/KWin/Wayland[Kwin] - compositor in KDE. If
|
| |
- you run KDE, it is using this compositor.
|
| |
+ you run KDE, it is using this compositor.
|
| |
|
| |
[id='testing-under-different-compositors']
|
| |
== Testing under different compositors
|
| |
@@ -241,7 +241,7 @@
|
| |
you can run apps and other commands using Weston. Exit the compositor by
|
| |
simply closing the window or killing the `weston` process.
|
| |
* To start a full Weston session (not nested inside another X11 or
|
| |
- Wayland session), switch to a free VT (Ctrl+Alt+Fx) and run:
|
| |
+ Wayland session), switch to a free VT (Ctrl+Alt+Fx) and run:
|
| |
+
|
| |
....
|
| |
$ weston-launch
|
| |
@@ -285,17 +285,17 @@
|
| |
most likely in here:
|
| |
|
| |
* [https://bugzilla.gnome.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&component=Backend%3A%20Wayland&component=wayland&list_id=74680&order=changeddate%20DESC%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&product=gtk%2B&product=mutter&query_based_on=&query_format=advanced
|
| |
- mutter/wayland and GTK+/wayland in GNOME Bugzilla]
|
| |
+ mutter/wayland and GTK+/wayland in GNOME Bugzilla]
|
| |
* https://bugzilla.gnome.org/showdependencytree.cgi?id=757579&hide_resolved=1[Wayland-related
|
| |
- issues tracker across GNOME Bugzilla]
|
| |
+ issues tracker across GNOME Bugzilla]
|
| |
* https://bugzilla.redhat.com/showdependencytree.cgi?id=WaylandRelated&hide_resolved=1[Wayland-related
|
| |
- issues tracker across Red Hat Bugzilla]
|
| |
- (https://bugzilla.redhat.com/showdependencytree.cgi?id=KDEWaylandRelated&hide_resolved=1[KDE
|
| |
- tracker])
|
| |
+ issues tracker across Red Hat Bugzilla]
|
| |
+ (https://bugzilla.redhat.com/showdependencytree.cgi?id=KDEWaylandRelated&hide_resolved=1[KDE
|
| |
+ tracker])
|
| |
* [https://bugzilla.redhat.com/buglist.cgi?classification=Fedora&component=wayland&list_id=4118943&order=changeddate%20DESC%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&product=Fedora&query_based_on=&query_format=advanced&resolution=---
|
| |
- Wayland in Red Hat Bugzilla]
|
| |
+ Wayland in Red Hat Bugzilla]
|
| |
* [https://bugs.freedesktop.org/buglist.cgi?list_id=561109&order=changeddate%20DESC%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&product=Wayland&query_based_on=&query_format=advanced&resolution=---
|
| |
- Wayland in Freedesktop Bugzilla]
|
| |
+ Wayland in Freedesktop Bugzilla]
|
| |
* Google search
|
| |
|
| |
[id='filing-a-bug']
|
| |
@@ -306,11 +306,11 @@
|
| |
places where to report it:
|
| |
|
| |
* https://bugzilla.redhat.com/[Red Hat Bugzilla] - recommended for
|
| |
- issues related to wayland itself, weston compositor, non-GNOME apps, KDE
|
| |
- project, QT toolkit
|
| |
+ issues related to wayland itself, weston compositor, non-GNOME apps, KDE
|
| |
+ project, QT toolkit
|
| |
* https://bugzilla.gnome.org/[GNOME Bugzilla] - recommended for issues
|
| |
- related to mutter compositor, GTK+ toolkit, applications under the GNOME
|
| |
- project (most of default apps in Fedora Workstation)
|
| |
+ related to mutter compositor, GTK+ toolkit, applications under the GNOME
|
| |
+ project (most of default apps in Fedora Workstation)
|
| |
|
| |
When reporting the issue, please make your report block our tracker, so
|
| |
that we have a good overall picture of what is broken across many
|
| |
@@ -320,18 +320,18 @@
|
| |
of these trackers, depending where you reported the bug:
|
| |
|
| |
* https://bugzilla.redhat.com/show_bug.cgi?id=1277927[Wayland Tracker in
|
| |
- Red Hat Bugzilla]
|
| |
- (https://bugzilla.redhat.com/show_bug.cgi?id=1298494[KDE tracker])
|
| |
+ Red Hat Bugzilla]
|
| |
+ (https://bugzilla.redhat.com/show_bug.cgi?id=1298494[KDE tracker])
|
| |
* https://bugzilla.gnome.org/show_bug.cgi?id=757579[Wayland Tracker in
|
| |
- GNOME Bugzilla]
|
| |
+ GNOME Bugzilla]
|
| |
|
| |
[id='information-to-include-in-your-bug-report']
|
| |
Information to include in your bug report
|
| |
|
| |
1. System journal. Since there is no unique server like the X11 server,
|
| |
- most of the important information will come from the the Wayland
|
| |
- compositor and the apps. All of that should be in system journal
|
| |
- nowadays. You can save a full journal since last boot like this:
|
| |
+ most of the important information will come from the the Wayland
|
| |
+ compositor and the apps. All of that should be in system journal
|
| |
+ nowadays. You can save a full journal since last boot like this:
|
| |
+
|
| |
....
|
| |
$ journalctl -ab > journal.log
|
| |
@@ -341,10 +341,10 @@
|
| |
everything long prior to when the issue occurred, in order to make the
|
| |
log more succinct.
|
| |
* If your system crashed or became unresponsive so that you had to
|
| |
- reboot it, you can see the journal from the previous boot using
|
| |
- `journalctl -a -b -1` instead.
|
| |
+ reboot it, you can see the journal from the previous boot using
|
| |
+ `journalctl -a -b -1` instead.
|
| |
2. Wayland debug output. If you can reproduce the issue, please run the
|
| |
- problematic app like this:
|
| |
+ problematic app like this:
|
| |
+
|
| |
....
|
| |
$ WAYLAND_DEBUG=1 command |& tee debug.out
|
| |
@@ -353,8 +353,8 @@
|
| |
You should see loads of output being printed out. It will involve all
|
| |
communication between the app and the compositor.
|
| |
3. Information whether the same problem occurs when you run the app
|
| |
- using XWayland instead of Wayland. For GTK+ 3 apps, you can force a
|
| |
- native Wayland app to run using XWayland like this:
|
| |
+ using XWayland instead of Wayland. For GTK+ 3 apps, you can force a
|
| |
+ native Wayland app to run using XWayland like this:
|
| |
+
|
| |
....
|
| |
$ GDK_BACKEND=x11 command
|
| |
@@ -380,14 +380,14 @@
|
| |
$ lspci -nn > lspci.out
|
| |
....
|
| |
5. Package versions. You can collect the list and versions of all your
|
| |
- packages installed using:
|
| |
+ packages installed using:
|
| |
+
|
| |
....
|
| |
$ rpm -qa | sort > packages.out
|
| |
....
|
| |
6. The
|
| |
- link:Bugs_and_feature_requests#Things_Every_Bug_Should_Have[usual
|
| |
- information] that every bug report should have.
|
| |
+ link:Bugs_and_feature_requests#Things_Every_Bug_Should_Have[usual
|
| |
+ information] that every bug report should have.
|
| |
|
| |
[id='debugging-gnome-shell']
|
| |
Debugging gnome-shell
|
| |