Sway fails to start

  • Done
  • quality assurance status badge
Details
2 participants
  • Jack Hill
  • Simon Streit
Owner
unassigned
Submitted by
Simon Streit
Severity
normal
Merged with
S
S
Simon Streit wrote on 2 May 2023 21:33
(address . bug-guix@gnu.org)
ygujzxq5xzw.fsf@netpanic.org
Since checkout 5bfce83dc4cddfdbb9f4bef06a26dbfe525c2838 sway at version
1.8 fails to start. GDM's log says:

Toggle snippet (12 lines)
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

Anyone else run into this yet?


Kind regards
Simon
S
S
Simon Streit wrote on 2 May 2023 22:18
(address . bug-guix@gnu.org)
ygulei6a3m9.fsf@netpanic.org
Simon Streit <simon@netpanic.org> writes:

Toggle quote (3 lines)
> Since checkout 5bfce83dc4cddfdbb9f4bef06a26dbfe525c2838 sway at version
> 1.8 fails to start. GDM's log says:

The previous error message is not quite right. I still had
LIBGL_ALWAYS_SOFTWARE enabled. The log file now has:

Toggle snippet (13 lines)
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"
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.032 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.032 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.032 [ERROR] [wlr] [render/egl.c:264] Failed to initialize EGL
00:00:00.032 [ERROR] [wlr] [render/egl.c:554] Failed to initialize EGL context
00:00:00.032 [ERROR] [wlr] [render/gles2/renderer.c:679] Could not initialize EGL
00:00:00.032 [ERROR] [wlr] [render/wlr_renderer.c:333] Could not initialize renderer
00:00:00.032 [ERROR] [sway/server.c:79] Failed to create renderer
J
J
Jack Hill wrote on 2 May 2023 22:26
Re: bug#63237: Sway fails to start
(name . Simon Streit)(address . simon@netpanic.org)(address . 63237@debbugs.gnu.org)
alpine.DEB.2.21.2305021623190.331@marsh.hcoop.net
On Tue, 2 May 2023, Simon Streit wrote:

Toggle quote (11 lines)
> Simon Streit <simon@netpanic.org> writes:
>
>> Since checkout 5bfce83dc4cddfdbb9f4bef06a26dbfe525c2838 sway at version
>> 1.8 fails to start. GDM's log says:
>
> The previous error message is not quite right. I still had
> LIBGL_ALWAYS_SOFTWARE enabled. The log file now has:
>
> --8<---------------cut here---------------start------------->8---
> 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)

Simon,

Yikes, that sounds like an annoying problem.

Based on the crocus_dri name, I think you might be experiencing a known
problem. Fortunately, there is a fix [0] awaiting review.


Best,
Jack
J
J
Jack Hill wrote on 2 May 2023 22:28
Missing crocus driver duplicate
(address . control@debbugs.gnu.org)
alpine.DEB.2.21.2305021627310.331@marsh.hcoop.net
reassign 63237 guix-patches
merge 63237 63128

Thanks
S
S
Simon Streit wrote on 8 May 2023 20:45
Re: bug#63237: Sway fails to start
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 63237@debbugs.gnu.org)
yguednqek6n.fsf@netpanic.org
Jack Hill <jackhill@jackhill.us> writes:

Toggle quote (13 lines)
> On Tue, 2 May 2023, Simon Streit wrote:
>
>> Simon Streit <simon@netpanic.org> writes:
>>
>>> Since checkout 5bfce83dc4cddfdbb9f4bef06a26dbfe525c2838 sway at version
>>> 1.8 fails to start. GDM's log says:
>>
>> The previous error message is not quite right. I still had
>> LIBGL_ALWAYS_SOFTWARE enabled. The log file now has:
>>
>
> Yikes, that sounds like an annoying problem.

Thanks to roll backs and generations it can't be that bad when things
don't work out as expected. Commit
0be7838105806819f4586ec9130382a66a22880e fixes this. Sway's back and
finally I can use Gnome too with proper rendering.

This bug can be closed.

Cheers
Simon
S
S
Simon Streit wrote on 8 May 2023 20:55
control message for bug #63237
(address . control@debbugs.gnu.org)
ygupm7aejql.fsf@netpanic.org
close 63237
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 63237@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63237
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch