On Fri, 5 Jun 2026 at 17:21, Quan Sun via lists.openembedded.org
<[email protected]> wrote:
> I think I mentioned also in another email that this commit 52053b7e0a
> ("ui/sdl2: Implement dpy dmabuf functions") may have caused the issue,
> which added the sdl2_set_hint_x11_force_egl() function:
>
> static void sdl2_set_hint_x11_force_egl(void)
This is correct; I've confirmed it by adding a revert and re-running the test.
> The above function probes whether EGL is available on the X display. If
> eglGetDisplay() returns EGL_NO_DISPLAY (which can happen with llvmpipe on
> certain VNC configurations, for example), the hint is never set, and SDL
> falls back to GLX.
> GLX then tries DRI3, finds only the vgem driver (no real GPU), and crashes.
> In QEMU 10.2.0, this function didn't exist — SDL would use whatever GL
> backend
> was available (GLX with software rendering via llvmpipe worked fine because
> it didn't attempt DRI3).
> Possible Fixes could be: Setting the EGL hint unconditionally when on
> X11 (remove the probe):
>
> static void sdl2_set_hint_x11_force_egl(void)
> {
> #if defined(SDL_HINT_VIDEO_X11_FORCE_EGL) && defined(CONFIG_OPENGL) &&
> defined(CONFIG_X11)
> SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
> #endif
>
> }
All of this is yet more AI-generated nonsense, and none of it is true.
Quan, I appreciate you want to help, but please do not copy paste AI
slop without carefully checking its claims first. And if you do, make
it clear that you are providing 'AI advice'.
Otherwise it only multiplies confusion, and damages your own reputation.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238182):
https://lists.openembedded.org/g/openembedded-core/message/238182
Mute This Topic: https://lists.openembedded.org/mt/119658594/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-