mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 09:23:50 +00:00
* docs(research): add Snap + Wayland GPU init failure research Synthesizes root cause (Mesa ABI drift in gnome-42-2204), scope, peer-app consensus, and ranked options. Recommends widening the existing Snap-gated --ozone-platform=x11 guard in start-app.ts to cover Snap + Wayland sessions, with core24 + gpu-2404 migration as the long-term fix. https://claude.ai/code/session_01Hu6EP7Xux9JRvGGGKpBfwm * docs(research): correct electron timing and soften unverified peer claims * fix(electron): force X11 on Snap Wayland to avoid Mesa ABI drift The existing Snap-only X11 fallback triggered only when $SNAP/gnome-platform was empty. In practice gnome-platform is populated but its Mesa can drift out of ABI sync with Electron's bundled libgbm, producing "Failed to get system egl display" and a GPU process respawn loop on Wayland sessions. Widen the guard to also fire when the session is Wayland (XDG_SESSION_TYPE=wayland or WAYLAND_DISPLAY set). X11/GLX avoids the failing Wayland EGL init path entirely while preserving hardware acceleration. Refs: electron-builder#9452, super-productivity#5672, forum.snapcraft.io #40975, #49173 https://claude.ai/code/session_01JNxazJmDhpMp9UYV6SqnBG * refactor(electron): address review feedback on Snap X11 force - Handle space-separated `--ozone-platform wayland` override in addition to the `=` form; tighten the argv scan to reject accidental substring matches (e.g., arg values that happen to contain `--ozone-platform=`). - Enrich the log line with raw XDG_SESSION_TYPE and WAYLAND_DISPLAY values to make user-reported triage faster. - Tighten comment: correct "X11/GLX" to "X11 ozone backend" (modern Chromium uses EGL on X11), clarify the root cause as Mesa version drift rather than bundled-library ABI drift, broaden the loss list beyond fractional scaling, and move issue references to the commit body per CLAUDE.md guidance. Follow-ups flagged but not addressed here: possible interaction with `allowNativeWayland: true` in electron-builder.yaml, GPU cache keyed by effective ozone platform, and the longer-term core24 migration already in docs/long-term-plans/electron-upgrade-to-v40.md. Refs: electron-builder#9452, super-productivity#5672, forum.snapcraft.io #40975, #49173 https://claude.ai/code/session_01JNxazJmDhpMp9UYV6SqnBG * docs(research): verify peer-app claims, correct SP electron timing --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| long-term-plans | ||
| plans | ||
| promotion | ||
| research | ||
| screens | ||
| sync-and-op-log | ||
| wiki | ||
| add-new-integration.md | ||
| build-and-publish-notes.md | ||
| ENV_SETUP.md | ||
| github-access-token-instructions.md | ||
| gitlab-access-token-instructions.md | ||
| how-to-rate.md | ||
| howto-refresh-snap-credentials.md | ||
| i18n-script-usage.md | ||
| legacy-webview-analysis.md | ||
| mac-app-store-code-signing-guide.md | ||
| performance-project-tag-report.md | ||
| plugin-development.md | ||
| styling-guide.md | ||
| TRANSLATING.md | ||
| unused-translations-analysis.md | ||
| update-android-app.md | ||
| update-mac-certificates.md | ||