Skip to content

fix(appimage): drop the bundled libwayland-client so EGL can start - #2

Merged
Lyrex merged 1 commit into
mainfrom
fix/appimage-libwayland
Jul 30, 2026
Merged

fix(appimage): drop the bundled libwayland-client so EGL can start#2
Lyrex merged 1 commit into
mainfrom
fix/appimage-libwayland

Conversation

@Lyrex

@Lyrex Lyrex commented Jul 30, 2026

Copy link
Copy Markdown
Owner

The released AppImage opens every window blank on hosts whose Mesa is built against wayland 1.23+ (Arch and friends, recent Fedora): Mesa binds to the bundled, older libwayland-client.so.0 and EGL display creation fails with EGL_BAD_PARAMETER, so WebKit's render process aborts before drawing.

Verified by bisection against the published artifact: deleting exactly this library fixes it; the sibling libwayland-* libs are innocent. Same measure the AppImage excludelist takes (mesa#11316, AppImageCommunity/pkg2appimage#559). Removed in the repack because Tauri's pinned linuxdeploy predates the excludelist ban and offers no hook.

Repacked the published v2.8.0+linux.1 AppImage with the patched script and ran it: no EGL errors, window renders, memory scan works.

The released AppImage opens every window blank on hosts whose Mesa is
built against wayland 1.23 or newer. Mesa resolves its
libwayland-client dependency to the copy linuxdeploy bundled from the
build distro, which predates the symbol Mesa needs, and EGL display
creation fails with EGL_BAD_PARAMETER — WebKit's render process
aborts before drawing anything. Deleting the one library during the
repack makes Mesa bind to the host's copy; this is the same measure
the AppImage excludelist takes (mesa#11316).

The library is removed in the repack rather than kept out of the
bundle because Tauri gives no hook into its pinned linuxdeploy, whose
excludelist predates the ban.
@Lyrex
Lyrex merged commit 4b0a12c into main Jul 30, 2026
4 checks passed
@Lyrex
Lyrex deleted the fix/appimage-libwayland branch July 30, 2026 19:10
@Lyrex Lyrex mentioned this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant