-
-
Notifications
You must be signed in to change notification settings - Fork 23
Description
The application fails to launch on a system with older Intel HD Graphics (from an Intel Core i7-640LM) under a Wayland session. It terminates immediately with the error: Failed to create Wayland window:failed to create EGL context.
To Reproduce
-
Build the application using go build on a supported Linux distribution.
go build -
Run the binary on hardware with 1st Gen Intel HD Graphics (e.g., a ThinkPad X201 Tablet).
./hexecute -
The application will crash with the EGL context error.
2025/10/19 14:28:31 Failed to create Wayland window:failed to create EGL context
System Information:
Hardware: Lenovo ThinkPad X201 Tablet
Graphics: Integrated Intel HD Graphics
Operating System: Arch Linux + Sway
Session: Wayland
Workoround: I have found a workaround that allows the application to run. By forcing software rendering, the application starts and works correctly:
> LIBGL_ALWAYS_SOFTWARE=1 ./hexecute
2025/10/19 14:31:27 Loaded 0 gesture(s)
2025/10/19 14:31:30 No confident match (best score: 0.000)
2025/10/19 14:31:33 No confident match (best score: 0.000)
2025/10/19 14:31:34 No confident match (best score: 0.000)
With software rendering hexecute works perfectly. Touch inputs are functional as well.