fix: Linux WebKitGTK software-rendering fallback for EGL abort - #143
Merged
Conversation
added 2 commits
August 10, 2026 14:25
WebKitGTK aborts the whole process with "Could not create default EGL display: EGL_BAD_PARAMETER. Aborting..." on systems without a working EGL/GPU context (VMs, older Mesa, no GPU passthrough) — visible as a terminal abort on Ubuntu 26.04 (#135) and as a silent "won't open" when launched from a .deb-installed GUI launcher on Linux Mint 22 (#139). Set WEBKIT_DISABLE_COMPOSITING_MODE and WEBKIT_DISABLE_DMABUF_RENDERER before the Tauri builder starts (Linux only) so WebKitGTK falls back to software rendering instead of aborting. disabled
# Conflicts: # CHANGELOG.md
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
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...on systems without a working hardware EGL/GPU context (VMs, older Mesa, missing GPU passthrough) — reported as a terminal-visible abort on Ubuntu 26.04 (GitWand starts and displays a blank window only! #135) and as a silent "app won't open" after a.debinstall on Linux Mint 22 (Cannot open the App | deb | Linux Mint 22 x86_64 #139).WEBKIT_DISABLE_COMPOSITING_MODE=1andWEBKIT_DISABLE_DMABUF_RENDERER=1on Linux, before the webview is created, so the app falls back to software rendering instead of aborting.#[cfg(target_os = "linux")]).Test plan
cargo checkonapps/desktop/src-tauripasses (macOS worktree; the Linux-gated block is syntactically checked by rustc even off-target)