On 11.06.2026 14:58, Akihiko Odaki wrote:
Mesa's eglGetDisplay() chooses the native EGL platform from
EGL_PLATFORM, limited autodetection, or the build-time default. If that
selects Wayland while SDL is using the X11 video backend, Mesa can treat
the X11 Display pointer as a wl_display and crash during eglInitialize().
Probe EGL with the X11 platform explicitly before enabling
SDL_HINT_VIDEO_X11_FORCE_EGL.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/3540
Signed-off-by: Akihiko Odaki <[email protected]>
---
Resolving the issue described in the GitLab work item also requires:
https://github.com/libsdl-org/SDL/pull/15806
This looks like a qemu-stable material (11.0.x only?).
I'm picking this up for qemu 11.0.x series.
Please let me know if I shouldn't.
include/ui/egl-helpers.h | 5 +++++
ui/egl-helpers.c | 4 ++--
ui/sdl2.c | 3 ++-
3 files changed, 9 insertions(+), 3 deletions(-)
Thanks,
/mjt
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239207):
https://lists.openembedded.org/g/openembedded-core/message/239207
Mute This Topic: https://lists.openembedded.org/mt/119755052/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-