Skip to content

Default to X11 as GLFW_PLATFORM on Linux to avoid issues#74

Merged
jamylak merged 2 commits intomainfrom
glfw-platform
Jan 31, 2026
Merged

Default to X11 as GLFW_PLATFORM on Linux to avoid issues#74
jamylak merged 2 commits intomainfrom
glfw-platform

Conversation

@jamylak
Copy link
Owner

@jamylak jamylak commented Jan 31, 2026

Default to X11 as GLFW_PLATFORM on Linux to avoid Wayland related ASAN leak which causes unresponsiveness. See issue #68

Summary: ASAN reports leaks seemingly from the Wayland decoration stack (libdecor/GTK/Pango/Fontconfig via GLFW) that persist until process exit.

This does not seem to be related to render/present stalls; override with GLFW_PLATFORM if you explicitly want Wayland.

Maybe it can work with Wayland at some point

Workaround for #68 by using X11 instead of Wayland though it would be good to support Wayland

Also similar to #73 this will update the release workflow to use the update name of the vulkan ICD JSON file

Wayland/libdecor ASAN leak which causes
unresponsiveness. See issue #68
#68

Summary: ASAN reports leaks seemingly from the Wayland
decoration stack (libdecor/GTK/Pango/Fontconfig via GLFW)
that persist until process exit.

This does not seem to be related to render/present stalls;
override with GLFW_PLATFORM if you explicitly want Wayland.

Maybe it can work with Wayland at some point
@jamylak jamylak added bug Something isn't working enhancement New feature or request labels Jan 31, 2026
* `glfw` `3.4`

it is required for the window hints

* turn off wayland for now
@jamylak jamylak marked this pull request as ready for review January 31, 2026 10:55
@jamylak jamylak merged commit 1cfccc3 into main Jan 31, 2026
5 checks passed
@jamylak jamylak deleted the glfw-platform branch January 31, 2026 10:59
@jamylak jamylak changed the title Default to X11 as GLFW_PLATFORM on Linux to avoid Default to X11 as GLFW_PLATFORM on Linux to avoid issues Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant