Comment 0 for bug 1805444

Revision history for this message
Yogish Kulkarni (yogishk) wrote : Fail to launch gnome-wayland-shell on Ubuntu-18.04 with EGLDevice backend

Fail to launch gnome-wayland-shell on Ubuntu-18.04 with EGLDevice backend due to following missing changes in mutter 3.28.3-2~ubuntu18.04.2

commit 1bf2eb95b502ed0419b0fe8979c022cacaf79e84
Author: Miguel A. Vico <email address hidden>
Date: Thu Jun 7 16:29:44 2018 -0700

renderer/native: Choose first EGL config for non-GBM backends

Commit 712ec30cd9be1f180c3789e7e6a042c5f7b5781d added the logic to only
choose EGL configs that match the GBM_FORMAT_XRGB8888 pixel format.
However, there won't be any EGL config satisfying such criteria for
non-GBM backends, such as EGLDevice.

This change will let us choose the first EGL config for the EGLDevice
backend, while still forcing GBM_FORMAT_XRGB8888 configs for the GBM
one.

Related to: https://gitlab.gnome.org/GNOME/mutter/issues/2

commit 8ee14a7cb7e8f072d2731d59c7dc735f83a9bb0b
Author: Jonas Ådahl <email address hidden>
Date: Tue Nov 14 16:08:52 2017 +0800

renderer/native: Also wrap flip closures for EGLStreams

When using the EGLStream backend, the MetaRendererNative passed a
GClosure to KMS when using EGLStreams, but KMS flip callback event
handler in meta-gpu-kms.c expected a closure wrapped in a closure
container, meaning it'd instead crash when using EGLStreams. Make the
flip handler get what it expects also when using EGLStreams by wrapping
the flip closure in the container before handing it over to EGL.

https://bugzilla.gnome.org/show_bug.cgi?id=790316

apt-cache policy mutter
mutter:
Installed: 3.28.3-2~ubuntu18.04.2
Candidate: 3.28.3-2~ubuntu18.04.2
Version table:
*** 3.28.3-2~ubuntu18.04.2 500
500 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages
100 /var/lib/dpkg/status
3.28.1-1ubuntu1 500
500 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 Packages