wayfire: [render/gles2/renderer.c:679] Could not initialize EGL / Seg fault

Today,when I started again Wayland / wayfire , it didn’t work. I don’t remember that yesterday I’ve applied hard changes,so I’m not able to understand if and what changes can I revert to make it work again. The startup script that I use :

#!/usr/local/bin/zsh
# env WLR_DRM_NO_MODIFIERS=1
env WLR_NO_HARDWARE_CURSORS=1 LIBSEAT_BACKEND=consolekit2 ck-launch-session dbus-run-session wayfire

log of the error :

src/main.cpp:334] Starting wayfire version v0.8.0
[libseat] [libseat/libseat.c:66] Seat opened with backend 'consolekit2'
[libseat] [libseat/backend/consolekit2.c:92] Ping failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.9" (uid=1001 pid=25032 comm="") interface="org.freedesktop.DBus.Peer" member="Ping" error name="(unset)" requested_reply="0" destination="org.freedesktop.ConsoleKit" (uid=0 pid=90025 comm="")
[backend/session/session.c:109] Successfully loaded libseat session
[backend/backend.c:220] Found 1 GPUs
[backend/drm/backend.c:200] Initializing DRM backend for /dev/dri/card0 (nvidia-drm)
[backend/drm/drm.c:253] Found 4 DRM CRTCs
[backend/drm/drm.c:180] Found 12 DRM planes
[render/egl.c:201] Supported EGL client extensions: EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_MESA_platform_surfaceless EGL_EXT_explicit_device EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_xcb
EE 06-03-24 10:23:41.031 - [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available"
[EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In function eglQueryDeviceStringEXT(), string query failed at backend"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
[render/egl.c:264] Failed to initialize EGL
[render/egl.c:554] Failed to initialize EGL context
[render/gles2/renderer.c:679] Could not initialize EGL
[src/main.cpp:134] Fatal error: Segmentation fault
#1  0x363b40 <main+0x1580> at /usr/local/bin/wayfire
#2  0x82bdcb53f <pthread_sigmask+0x53f> at /lib/libthr.so.3
#3  0x82bdcaafb <pthread_setschedparam+0x83b> at /lib/libthr.so.3
#4  0x8215222d3 <???> at ???
#5  0x8223fb9c4 <wlr_renderer_get_render_formats+0x24> at /usr/local/wlroots016/lib/libwlroots.so.11
#6  0x82240af23 <wlr_allocator_init+0x83> at /usr/local/wlroots016/lib/libwlroots.so.11
#7  0x362a59 <main+0x499> at /usr/local/bin/wayfire
#8  0x82ae5dafa <__libc_start1+0x12a> at /lib/libc.so.7

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 35 (18 by maintainers)

Most upvoted comments

Or alternatively: open a GitHub discussion if none of the above are an option for you.

I’m not sure why you are getting these errors but the script is meant to run as user, not root. It will attempt to use sudo as needed.