Assertion `wlr_renderer_is_gles2(wlr_renderer)' failed
System information
- OS: Arch Linux
- GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G7 [8086:8a52] (rev 07)
- Kernel version:
Linux pndell 5.15.5-arch1-1 #1 SMP PREEMPT Wed, 13 Oct 2021 16:58:16 +0000 x86_64 GNU/Linux
- Mesa version: 21.3.2-1
- Xserver version (if applicable):
- Desktop manager and compositor: Sway
If applicable
- DXVK version:
- Wine/Proton version:
Describe the issue
Cannot start applications that uses wlroots (such as sway, newm, river etc.) as they crash with this error from wlroots:
00:00:00.004 [INFO] [libseat] [libseat/libseat.c:62] Seat opened with backend 'logind'
00:00:00.004 [INFO] [backend/session/session.c:110] Successfully loaded libseat session
00:00:00.006 [INFO] [backend/backend.c:300] Found 1 GPUs
00:00:00.006 [INFO] [backend/drm/backend.c:174] Initializing DRM backend for /dev/dri/card0 (i915)
00:00:00.006 [INFO] [backend/drm/drm.c:260] Found 3 DRM CRTCs
00:00:00.006 [INFO] [backend/drm/drm.c:187] Found 24 DRM planes
00:00:00.007 [INFO] [render/egl.c:175] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libEGL warning: DRI2: failed to create dri screen
00:00:00.017 [ERROR] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libEGL warning: DRI2: failed to create dri screen
00:00:00.020 [ERROR] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
00:00:00.020 [ERROR] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.020 [ERROR] [render/egl.c:235] Failed to initialize EGL
00:00:00.020 [ERROR] [render/egl.c:497] Failed to initialize EGL context
00:00:00.020 [ERROR] [render/gles2/renderer.c:693] Could not initialize EGL
00:00:00.020 [INFO] [render/pixman/renderer.c:521] Creating pixman renderer
python3: render/gles2/renderer.c:37: gles2_get_renderer: Assertion `wlr_renderer_is_gles2(wlr_renderer)' failed.
Regression
It was working in previous version before 2021-10-18
Edited by Peter Nguyen