Skip to content

Let the AppImage run on native Wayland with STROKE_WAYLAND=1 - #270

Merged
broisnees merged 1 commit into
nightlyfrom
appimage-wayland-optin
Nov 17, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
appimage-wayland-optin

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Found while testing Nightly 2.16.8 on Arch (Omarchy, Hyprland, AMD): linuxdeploy's GTK hook hard-sets GDK_BACKEND=x11, so the AppImage always runs through XWayland and GDK_BACKEND=wayland on the command line is ignored. Native Wayland rendered fine on that machine once the hook let it.

X11 stays the default, since it is the fallback for the WebKit EGL_BAD_ALLOC crash some Wayland setups hit. The repack step in scripts/appimage-strip-host-libs.sh (already run for #112) now rewrites the hook line so STROKE_WAYLAND=1 selects GDK_BACKEND=wayland. The README says so.

Checked: the rewritten hook gives x11 by default, wayland with STROKE_WAYLAND=1, and x11 with only GDK_BACKEND=wayland set (so Hyprland's global GDK_BACKEND doesn't flip everyone). The full repack runs in the nightly build; I'll verify the AppImage on the Arch machine after it.

@broisnees
broisnees merged commit 270e28d into nightly Nov 17, 2026
1 check passed
@broisnees
broisnees deleted the appimage-wayland-optin branch November 17, 2026 04:18
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant