fix(linux): isolate AppImage GStreamer plugins to prevent ABI mismatch#444
Merged
fix(linux): isolate AppImage GStreamer plugins to prevent ABI mismatch#444
Conversation
…plugins The AppImage bundles GStreamer from CI (Ubuntu 24.04, GStreamer 1.24). Previously, host plugin directories (/usr/lib/gstreamer-1.0/) were appended as fallback. This caused ABI version mismatches — host plugins compiled against a different GStreamer version fail with undefined symbol errors (gst_util_floor_log2, mpg123_open_handle64, etc.), leaving WebKit without usable codecs for YouTube playback. Since PR #434 installs the full GStreamer codec suite on CI, the AppImage is fully self-contained. Remove the host fallback and block host plugin scanning to prevent ABI conflicts across distro GStreamer versions.
|
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. |
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
GST_PLUGIN_SYSTEM_PATH_1_0as safety netProblem
Users on various Linux distros reported GStreamer errors and no YouTube playback:
Root cause: The AppImage bundles GStreamer 1.24 from CI (Ubuntu 24.04), but the code appended host plugin directories as fallback. Host plugins compiled against a different GStreamer version (older or newer) fail with undefined symbol errors due to ABI mismatch. This left WebKit with zero usable codec plugins.
Why this is safe now
PR #434 added the full GStreamer codec suite (base, good, bad, ugly, libav, gl) to CI. With
bundleMediaFramework: true, the AppImage bundles all necessary plugins. No host fallback needed.Separate issue: Exec format error (aarch64 on x86_64)
One user also reported
Exec format errorwhen running an aarch64 AppImage — this is an architecture mismatch (wrong download), not a code bug.Test plan
Failed to load pluginGStreamer warnings from host paths