Repository navigation
fix(ci): strip GPU/Wayland libs from AppImage for non-Ubuntu distros - #666
Merged
Merged
Conversation
…reen on non-Ubuntu distros Tauri's `bundleMediaFramework: true` causes linuxdeploy to bundle Ubuntu's Mesa libEGL, libGLESv2, libwayland-*, and DRI drivers. On Arch-based distros with NVIDIA GPUs on Wayland, these override the host GPU drivers via LD_LIBRARY_PATH, causing EGL_BAD_ALLOC / EGL_BAD_PARAMETER → black screen. Post-build step extracts the AppImage, strips 14 GPU/Wayland lib patterns plus Mesa DRI drivers (all on the official AppImage excludelist), repackages with appimagetool 1.9.1 (SHA256-verified), verifies no banned libs remain, and re-uploads the stripped AppImage to the GitHub Release.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
koala73
added a commit
that referenced
this pull request
Mar 1, 2026
…reen on non-Ubuntu distros (#666) Tauri's `bundleMediaFramework: true` causes linuxdeploy to bundle Ubuntu's Mesa libEGL, libGLESv2, libwayland-*, and DRI drivers. On Arch-based distros with NVIDIA GPUs on Wayland, these override the host GPU drivers via LD_LIBRARY_PATH, causing EGL_BAD_ALLOC / EGL_BAD_PARAMETER → black screen. Post-build step extracts the AppImage, strips 14 GPU/Wayland lib patterns plus Mesa DRI drivers (all on the official AppImage excludelist), repackages with appimagetool 1.9.1 (SHA256-verified), verifies no banned libs remain, and re-uploads the stripped AppImage to the GitHub Release.
matthewvecchione1-ops
pushed a commit
to matthewvecchione1-ops/worldmonitor
that referenced
this pull request
Mar 4, 2026
…reen on non-Ubuntu distros (koala73#666) Tauri's `bundleMediaFramework: true` causes linuxdeploy to bundle Ubuntu's Mesa libEGL, libGLESv2, libwayland-*, and DRI drivers. On Arch-based distros with NVIDIA GPUs on Wayland, these override the host GPU drivers via LD_LIBRARY_PATH, causing EGL_BAD_ALLOC / EGL_BAD_PARAMETER → black screen. Post-build step extracts the AppImage, strips 14 GPU/Wayland lib patterns plus Mesa DRI drivers (all on the official AppImage excludelist), repackages with appimagetool 1.9.1 (SHA256-verified), verifies no banned libs remain, and re-uploads the stripped AppImage to the GitHub Release.
10 tasks
This branch was successfully deployed
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.
Summary
bundleMediaFramework: truebundles Ubuntu's Mesa GPU libs which override host drivers viaLD_LIBRARY_PATH→EGL_BAD_ALLOC/EGL_BAD_PARAMETERDetails
Libraries stripped:
libEGL,libGLX,libGLdispatch,libGLESv2,libGL,libOpenGL,libglapi,libgbm,libEGL_mesa,libGLX_mesa,libwayland-{client,server,cursor,egl}, Mesa DRI drivers (*_dri.so)NOT stripped: GStreamer, WebKitGTK, GTK, GLib, Pango, Cairo — these stay bundled.
Safety measures:
1.9.1with SHA256 verificationTest plan