Fedora Account System
Red Hat Associate
Red Hat Customer
After a recent update from 24.2.4-1 to 24.3.3-2 to the mesa drivers, Window Managers that depended on wayland wlroots failed to launch. Cosmic Alpha Desktop also failed to launch (I'm unsure if this uses wlroots) KDE Plasma works fine, which is why I'm thinking a possible link between wlroots and the mesa drivers. Error messages from Sway WM and Hyprland point to a problem with OpenGL / EGL & the dri2_create_context allocation. Sway: 00:00:00.040 [ERROR] [wlr] [EGL] command: eglCreateContext, error: EGL_BAD_ALLOC (0x3003), message: "dri2_create_context" 00:00:00.040 [ERROR] [wlr] [render/egl.c:424] Failed to create EGL context 00:00:00.040 [ERROR] [wlr] [render/egl.c:572] Failed to initialize EGL context 00:00:00.040 [ERROR] [wlr] [render/fx_renderer/fx_renderer.c:607] Could not initialize EGL 00:00:00.041 [ERROR] [sway/server.c:150] Failed to create fx_renderer Hyprland (end of log): [CRITICAL] [EGL] Command eglCreateContext errored out with EGL_BAD_ALLOC (0x12291): dri2_create_context [WARN] EGL: Failed to create a context with GLES3.2, retrying 3.0 [CRITICAL] [EGL] Command eglCreateContext errored out with EGL_BAD_ALLOC (0x12291): dri2_create_context [CRITICAL] ASSERTION FAILED! EGL: failed to create a context with either GLES3.2 or 3.0 The ultimate results are that the DE or WMs crash and return to the Display Manager. LightDM and SDDM are the same. If started from a tty, the crash still happens Graphics card is an AMD Radeon RX 6400, Fedora 41 Reproducible: Always Steps to Reproduce: 1. Install the latest mesa-dri-drivers (24.2.4-1 as of this report) 2. Run Sway WM or Hyprland Actual Results: The WM or DE fails to start, resulting in an error log in tty being created, or a crash back to the Display Manager for SDDM, LightDM and ly Expected Results: To start the DE or WM. Downgrading to 24.2.4-1 and excluding the packages from updates solves the problem.
*** This bug has been marked as a duplicate of bug 2337385 ***