Subject: Sway fails to start

From: Simon Streit <[email-masked]>
Date: Tue, 02 May 2023 21:33:55 +0200

Since checkout 5bfce83dc4cddfdbb9f4bef06a26dbfe525c2838 sway at version
1.8 fails to start.  GDM's log says:

--8<---------------cut here---------------start------------->8---
libEGL warning: Not allowed to force software rendering when API explicitly selects a hardware device.
libEGL warning: MESA-LOADER: failed to open crocus: /gnu/store/9pypr3c3y379shbwm9ilb4pik9mkfd83-mesa-22.2.4/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /gnu/store/9pypr3c3y379shbwm9ilb4pik9mkfd83-mesa-22.2.4/lib/dri, suffix _dri)

00:00:00.029 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.029 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.029 [ERROR] [wlr] [render/egl.c:264] Failed to initialize EGL
00:00:00.029 [ERROR] [wlr] [render/egl.c:554] Failed to initialize EGL context
00:00:00.029 [ERROR] [wlr] [render/gles2/renderer.c:679] Could not initialize EGL
00:00:00.029 [ERROR] [wlr] [render/wlr_renderer.c:333] Could not initialize renderer
00:00:00.029 [ERROR] [sway/server.c:79] Failed to create renderer
--8<---------------cut here---------------end--------------->8---

Anyone else run into this yet?

Kind regards
Simon