After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707704 - Prefer Wayland to X11
Prefer Wayland to X11
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-09-07 23:27 UTC by Bastien Nocera
Modified: 2013-09-16 13:12 UTC
See Also:
GNOME target: 3.10
GNOME version: ---


Attachments
gdk: Still prefer X11 to Wayland (1.15 KB, patch)
2013-09-07 23:27 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-09-07 23:27:20 UTC
.
Comment 1 Bastien Nocera 2013-09-07 23:27:22 UTC
Created attachment 254368 [details] [review]
gdk: Still prefer X11 to Wayland

Clutter and clutter-gtk's WIP code both prefer X11 to wayland, so
not specifying any backends, we'd get Wayland backend from GTK+ and
X11 from Clutter, making applications that use both simply crash.
Comment 2 Matthias Clasen 2013-09-08 19:34:54 UTC
Emmanuele, whats your thought on this ?
Should we revert to preferring X11 in gdk, or change clutter to prefer wayland ?
Comment 3 Emmanuele Bassi (:ebassi) 2013-09-08 21:26:53 UTC
I think that, if GDK is now preferring Wayland, Clutter should do the same. I'll fix up the backend discovery code.
Comment 4 Bastien Nocera 2013-09-09 15:04:33 UTC
Meaning that you want every app that wants to run on X11 to force X11 to start up?
There's no fallback from a failing backend...
Comment 5 Emmanuele Bassi (:ebassi) 2013-09-15 09:50:13 UTC
I honestly have no idea what behaviour is preferred, to be honest.

if we want Wayland to be the preferred backend in GDK 3.10, then Clutter should follow suit. the main issue that that Clutter does not have fallible backends, so we cannot just test for Wayland and fall back to X11.

if Wayland in 3.10 is a tech preview, then exposing CLUTTER_BACKEND=wayland in the session seems fine to me; then we can revisit this for 3.12, and make wayland the default.
Comment 6 Matthias Clasen 2013-09-16 12:23:23 UTC
ok, back to gtk then