Repository navigation
fix: use ozone-platform-hint=auto to fix Linux white screen - #44
Conversation
Electron's GTK4 renderer paints the window white on many Arch-based distros (CachyOS reported in #43). The main process still starts, so Discord RPC connects, but the network service crashes and the renderer never shows content. The existing Vulkan/Ozone workarounds handle Wayland but not this GTK4 rendering bug. Force GTK3 via --gtk-version=3, following the fix confirmed in Arch BBS #306492. Sandbox stays enabled. Fixes #43 Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
this commit still gives me white scren when i build it D: |
The GTK3/Vulkan-disable fix got the app past init, but the network service still crashes ~20s after launch on Arch/CachyOS AppImages (works fine under yarn start). Root cause is the zygote-spawned GPU child not inheriting Wayland/DRM flags inside the AppImage squashfs mount (electron/electron#50462), which cascades into the net service dying. --disable-gpu-sandbox is the narrow fix: only the GPU process runs unsandboxed, renderer sandbox stays on. Safer than --no-sandbox and safer than --in-process-gpu (which is reported to break networking). Co-Authored-By: Claude Opus 4.7 <[email protected]>
try again, but you are right it seems to be an issue related to the chromium sandbox on linux |
|
still not fixed D:
|
|
it works with only |
Reporter on CachyOS AppImage confirmed the GTK3, Vulkan-disable, and GPU-sandbox flags don't resolve the white screen (and the extra flags broke in-game canvas rendering). Only ozone-platform-hint=auto is required. Co-Authored-By: Claude Opus 4.7 <[email protected]>

Summary
--ozone-platform-hint=autoon Linux so Chromium picks a working Ozone backend instead of the default that paints white on some distros.gtk-version=3,disable-features=Vulkan, anddisable-gpu-sandboxdon't fix the issue and break in-game canvas rendering.Why
Original theory (GTK4 paint failure / GPU zygote sandbox) didn't hold up in testing. The reporter (@jojo989) on CachyOS AppImage confirmed:
ozone-platform-hint=auto→ works, and the game canvas renders correctlySandbox stays fully enabled. See electron/electron#33690.
Test plan
Fixes #43
🤖 Generated with Claude Code