https://bugs.kde.org/show_bug.cgi?id=521742
--- Comment #9 from Forsan <[email protected]> --- I dug a little deeper: I enabled deep EGL logging (EGL_LOG_LEVEL=debug), and the root cause becomes very clear. kwin_wayland fails during eglCreateContext because it passes an attribute that the driver rejects. Specifically, it fails with EGL_BAD_ATTRIBUTE on attribute 0x30fc (which maps to EGL_CONTEXT_FLAGS_KHR). It appears KWin is enforcing context flags (likely for robustness or debug access) that the older Gen7 Intel driver does not support or strictly rejects in this specific configuration, causing the fallback loop to fail with EGL_BAD_MATCH and ultimately bubble up as a fatal EGL_BAD_ALLOC. Relevant journalctl output with EGL_LOG_LEVEL=debug: > kwin_wayland_wrapper[913]: libEGL debug: bad context attribute 0x30fc > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3004 > (EGL_BAD_ATTRIBUTE) in eglCreateContext > kwin_wayland_wrapper[913]: libEGL debug: bad context attribute 0x30fc > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3004 > (EGL_BAD_ATTRIBUTE) in eglCreateContext > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3009 > (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3009 > (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context > kwin_wayland_wrapper[913]: libEGL debug: bad context attribute 0x30fc > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3004 > (EGL_BAD_ATTRIBUTE) in eglCreateContext > kwin_wayland_wrapper[913]: libEGL debug: bad context attribute 0x30fc > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3004 > (EGL_BAD_ATTRIBUTE) in eglCreateContext > kwin_wayland_wrapper[913]: libEGL debug: EGL user error 0x3003 > (EGL_BAD_ALLOC) in eglCreateContext: dri2_create_context > kwin_wayland[913]: Create Context failed "EGL_BAD_ALLOC" > kwin_wayland[913]: Could not initialize rendering context Although I'm not 100% sure about this, I hope this helps you understand the error a little. -- You are receiving this mail because: You are watching all bug changes.
