fix(linux): harden WebKitGTK media, audio and rendering - #41
Merged
Conversation
…ance fix(linux): harden WebKitGTK startup, media and rendering
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
Fix Linux/Tauri WebKitGTK compatibility issues observed on Arch/Omarchy without changing system drivers or global environment configuration.
Media and rendering policy
fetch()→blob:bridge because WebKitGTK/GStreamer cannot reliably playtauri:,themeprot:, orpacket:audio directly.Startup stability
DELTAMOD_LINUX_WEBKIT_RENDERER=native|shm|disable-dmabuf.UI compatibility
<select>rendering.Regression coverage
Validation
On head
559d323f35e17b674cf86def9e5629547f3b35c8:33026716443): Ubuntu ✅, Windows ✅, macOS ARM ✅, macOS Intel ✅.33026716464): ✅.33026716450): ✅.The matrix includes native and Tauri Rust formatting, Clippy with
-D warnings, Rust tests/builds,npm test, typecheck, security audit, G3MTool/UndertaleModTool manifest verification, applicable Electron/CSX smoke tests, and package smoke builds.Remaining release gate
CI cannot prove the original host-runtime symptoms. Before release, validate on a real Arch/Omarchy/Hyprland host:
paused === false,readyState >= 2, advancingcurrentTime, PipeWire stream visible);DELTAMOD_MEDIA_SOURCE_CHANGEDerrors;WebKitWebProcesscoredumps;No manual
WEBKIT_DISABLE_DMABUF_RENDERERworkaround is required by the application policy.