Skip to content

Mitigate Fedora/Bazzite blank screen on Linux X11#347

Open
zortos293 wants to merge 1 commit intomainfrom
capy/mitigate-linux-fonts
Open

Mitigate Fedora/Bazzite blank screen on Linux X11#347
zortos293 wants to merge 1 commit intomainfrom
capy/mitigate-linux-fonts

Conversation

@zortos293
Copy link
Copy Markdown
Collaborator

@zortos293 zortos293 commented Apr 22, 2026

This PR mitigates the renderer crash reported on Fedora/Bazzite with NVIDIA proprietary drivers on X11 by disabling unstable Linux font backend features and removing external font dependencies.

Linux Electron Flags (src/main/index.ts):

  • Disable SkiaFontService and Fontations-related features (FontationBackend, FontationsFontBackend, FontationsLinuxSystemFonts) on Linux to avoid SkFontMgr_FontConfigInterface crashes.
  • Scope Linux x64 VA-API enablement to exclude systems with NVIDIA proprietary drivers detected via /proc or /sys, preventing potential instability on affected hardware.

Renderer Font Stack (src/renderer/index.html, src/renderer/src/styles.css, src/renderer/src/components/ControllerButtons.tsx):

  • Remove Google Fonts Inter dependency from startup to avoid remote font loading issues.
  • Replace global font-family and SVG button labels with a robust system-local stack (system-ui, Noto Sans, etc.) to ensure rendering reliability without remote assets.

Open OPE-075 OPE-075

@zortos293 zortos293 added the capy Generated by capy.ai label Apr 22, 2026 — with Capy AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capy Generated by capy.ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant