fix(appimage): stop bundling libwayland-client to prevent EGL crash on Linux - #58
Open
DanielJohn17 wants to merge 1 commit into
Open
DanielJohn17 wants to merge 1 commit into
DanielJohn17 wants to merge 1 commit into
Conversation
…n Linux WebKitWebProcess aborts with "Could not create default EGL display: EGL_BAD_PARAMETER. Aborting..." because linuxdeploy bundles libwayland-client.so.0, which shadows the host library and breaks the host Mesa/EGL stack glvnd loads. Strip it from the AppImage after bundling on Linux CI builds. See veloxbase#47; tracked upstream at tauri-apps/tauri#16062.
DanielJohn17
force-pushed
the
fix/appimage-unbundle-host-graphics-libs
branch
from
September 24, 2026 22:01
8a11e65 to
a5447bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix AppImage webview crash: stop bundling
libwayland-client.so.0Closes #47. The AppImage bundled WebKit's
libwayland-client.so.0(shipped by tauri-bundler's linuxdeploy). It shadows the host library, so when glvnd loads the host Mesa stack,libEGL_mesacan't resolve the interface it needs andeglGetPlatformDisplayreturnsEGL_BAD_PARAMETER. WebKitWebProcess then aborts:This broke the AppImage on Fedora/GNOME (from #47) and reproduced identically on Arch/Hyprland, both direct launch and via the
org.freedesktop.FileManager1D-Bus activation.Fix: after
tauri build, unpack the AppImage in CI, dropusr/lib/libwayland-client.so.0, and repack. Verified A/B locally: removing just that one library turns an instant abort into a working webview. The.debis unaffected — it links host libraries.Tauri tracks this upstream in tauri-apps/tauri#16062 (update linuxdeploy); this step can be dropped once that ships in tauri-bundler.
Verification performed on an affected machine (Arch + Hyprland, Intel Ivy Bridge):
WebKitWebProcessstays alive, no EGL error.EGL_BAD_PARAMETERabort.