Skip to content

AppImage fails to start: "Could not create GBM EGL display: EGL_SUCCESS. Aborting... #10

@yan-pi

Description

@yan-pi

When running the Raycast Linux AppImage (raycast-linux_0.1.0_amd64.AppImage), the application crashes immediately and cannot start.


Steps to Reproduce

  1. Download raycast-linux_0.1.0_amd64.AppImage.

  2. Make it executable:

    chmod +x raycast-linux_0.1.0_amd64.AppImage
  3. Run:

    ./raycast-linux_0.1.0_amd64.AppImage

Expected Behavior

Raycast should open normally without crashing.


Actual Behavior

It fails to start and prints:

Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    IOT instruction (core dumped)

System Information

OS:       CachyOS x86_64
Kernel:   Linux 6.15.6-2-cachyos
Shell:    zsh 5.9
WM:       Hyprland 0.49.0 (Wayland)
Terminal: kitty 0.42.1
CPU:      Intel Core i5-13420H (8 cores) @ 4.60 GHz
GPU 1:    NVIDIA GeForce RTX 3050 6GB Laptop GPU
GPU 2:    Intel UHD Graphics
Memory:   15.34 GiB (8.92 GiB in use)
Disk:     Btrfs, 160.83 GiB / 420.00 GiB
Display:  2560x1600 @ 165 Hz + 1920x1080 @ 75 Hz
OpenGL:   NVIDIA GeForce RTX 3050 6GB Laptop GPU/PCIe/SSE2

Tests & Logs

Default run

./raycast-linux_0.1.0_amd64.AppImage
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    46329 IOT instruction (core dumped)

Tried forcing software rendering

LIBGL_ALWAYS_SOFTWARE=1 ./raycast-linux_0.1.0_amd64.AppImage
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    25644 IOT instruction (core dumped)

Tried disabling GPU acceleration

./raycast-linux_0.1.0_amd64.AppImage --disable-gpu
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    25783 IOT instruction (core dumped)

Tried forcing X11

XDG_SESSION_TYPE=x11 ./raycast-linux_0.1.0_amd64.AppImage
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    25972 IOT instruction (core dumped)

Tried GDK_BACKEND=x11

GDK_BACKEND=x11 ./raycast-linux_0.1.0_amd64.AppImage
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    26889 IOT instruction (core dumped)

Tried GDK_BACKEND + software rendering

LIBGL_ALWAYS_SOFTWARE=1 GDK_BACKEND=x11 ./raycast-linux_0.1.0_amd64.AppImage
Could not create GBM EGL display: EGL_SUCCESS. Aborting...
[1]    27357 IOT instruction (core dumped)

Additional Notes

  • libgbm, mesa, libglvnd are installed and up to date.
  • Other Electron-based apps work fine on this system.
  • This seems related to GBM initialization when running on NVIDIA hardware under Wayland.
  • Tested multiple flags (--disable-gpu, LIBGL_ALWAYS_SOFTWARE, GDK_BACKEND) with no success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions