You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TROUBLESHOOTING.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,25 @@ Native modules (like node-pty) need to be rebuilt for your Electron version:
51
51
pnpm --filter twig exec electron-rebuild
52
52
```
53
53
54
+
## Codex agent crashes with GPU process errors
55
+
56
+
If you see repeated errors like:
57
+
58
+
```
59
+
[ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=5
60
+
[FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
61
+
```
62
+
63
+
The codex-acp binary hasn't been downloaded. When it's missing, the app falls back to `npx` which spawns inside Electron's environment and triggers Chromium GPU process crashes.
64
+
65
+
### Fix
66
+
67
+
```bash
68
+
node apps/twig/scripts/download-binaries.mjs
69
+
```
70
+
71
+
Then restart the app. This downloads the codex-acp binary to `apps/twig/resources/codex-acp/`, which gets copied to `.vite/build/codex-acp/` during build.
72
+
54
73
## `pnpm i` shows "Packages: -198"
55
74
56
75
You might see something like this every time you run `pnpm install`:
0 commit comments