What happens: Agent UI desktop app crashes on launch in GPU-less environments. After the hub fix (#1698) it gets past catalog load, shows "Loading ML libraries" / "Loading catalog…", then the Electron GPU child process crashes and the whole app exits:
GAIA crashed
Error: child-process-gone: type=GPU reason=crashed
at EventEmitter.<anonymous> (C:\Users\WDAGUtilityAccount\AppData\Local\Programs\gaia-desktop\resources\app...:11)
at EventEmitter.emit (node:events:509:28)
Environment: Windows Sandbox (path shows WDAGUtilityAccount) — no GPU / hardware acceleration. Repro class: any GPU-less env (Windows Sandbox, bare VM, some RDP sessions). Electron ^42.2.0.
Root cause: src/gaia/apps/webui/main.cjs handles only Linux/Wayland GPU quirks and backend crashes — there's no app.disableHardwareAcceleration(), no GPU child-process-gone handler, and no software-render fallback. So a GPU-process crash on Windows is fatal.
Fix options:
app.disableHardwareAcceleration() before app.whenReady() — one line, robust everywhere, negligible perf cost for a chat UI. Recommended.
- Handle GPU
child-process-gone and relaunch with --disable-gpu — keeps GPU accel for normal users, more code.
Tests: manual repro in Windows Sandbox (no GPU) → app launches and renders. Reporter (@PCAssistSoftware) can retest on real hardware tomorrow to confirm it's GPU-specific.
Split from #1697 (the hub-unreachable error there is fixed in v0.21.2). Reported by @PCAssistSoftware.
What happens: Agent UI desktop app crashes on launch in GPU-less environments. After the hub fix (#1698) it gets past catalog load, shows "Loading ML libraries" / "Loading catalog…", then the Electron GPU child process crashes and the whole app exits:
Environment: Windows Sandbox (path shows
WDAGUtilityAccount) — no GPU / hardware acceleration. Repro class: any GPU-less env (Windows Sandbox, bare VM, some RDP sessions). Electron^42.2.0.Root cause:
src/gaia/apps/webui/main.cjshandles only Linux/Wayland GPU quirks and backend crashes — there's noapp.disableHardwareAcceleration(), no GPUchild-process-gonehandler, and no software-render fallback. So a GPU-process crash on Windows is fatal.Fix options:
app.disableHardwareAcceleration()beforeapp.whenReady()— one line, robust everywhere, negligible perf cost for a chat UI. Recommended.child-process-goneand relaunch with--disable-gpu— keeps GPU accel for normal users, more code.Tests: manual repro in Windows Sandbox (no GPU) → app launches and renders. Reporter (@PCAssistSoftware) can retest on real hardware tomorrow to confirm it's GPU-specific.
Split from #1697 (the hub-unreachable error there is fixed in v0.21.2). Reported by @PCAssistSoftware.