Skip to content

fix: Linux WebKitGTK software-rendering fallback for EGL abort - #143

Merged
devlint merged 2 commits into
mainfrom
fix/135-139-linux-egl-fallback
Aug 10, 2026
Merged

fix: Linux WebKitGTK software-rendering fallback for EGL abort#143
devlint merged 2 commits into
mainfrom
fix/135-139-linux-egl-fallback

Conversation

@devlint

@devlint devlint commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • WebKitGTK aborts the whole process with 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 .deb install on Linux Mint 22 (Cannot open the App | deb | Linux Mint 22 x86_64 #139).
  • Set WEBKIT_DISABLE_COMPOSITING_MODE=1 and WEBKIT_DISABLE_DMABUF_RENDERER=1 on Linux, before the webview is created, so the app falls back to software rendering instead of aborting.
  • No-op on macOS/Windows (#[cfg(target_os = "linux")]).

Test plan

  • cargo check on apps/desktop/src-tauri passes (macOS worktree; the Linux-gated block is syntactically checked by rustc even off-target)
  • Manual verification on a Linux VM/machine that previously hit the EGL abort — please confirm the app now opens

Laurent Guitton 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
@devlint
devlint merged commit 3c88519 into main Aug 10, 2026
3 checks passed
@devlint
devlint deleted the fix/135-139-linux-egl-fallback branch August 10, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant