Linux - Codex VS code extension stuck in loading.
Open 💬 6 comments Opened Jul 16, 2026 by ae-buddy
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
openai.chatgpt Version 26.707.91948 Released 13 hours ago
What subscription do you have?
Business
Which IDE are you using?
VS Code
What platform is your computer?
Linux 6.17.0-1021-nvidia aarch64 aarch64
What issue are you seeing?
Similar issue to this but on Ubuntu Linux - https://github.com/openai/codex/issues/7082
Extension log:
2026-07-16 10:23:30.573 [info] Activating Codex extension
2026-07-16 10:23:30.573 [info] [CodexMcpConnection] Spawning codex app-server
2026-07-16 10:23:30.573 [info] [IpcRouter] I am the router
2026-07-16 10:23:30.573 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed
2026-07-16 10:23:30.725 [info] [CodexMcpConnection]
What steps can reproduce the bug?
- Install extension
- Click on openAI logo icon on open file.
- Codex sidebar opens, with openAi logo.
- Nothing loads.
What is the expected behavior?
- Install extension
- Click on openAI logo icon on open file.
- Codex sidebar opens,
- Codex asks for auth login
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
https://github.com/openai/codex/issues/30576#issuecomment-4940021663
Follow-up: I've found two reliable workarounds for my situation: link above.
code --disable-gpu, the Codex extension will reliably load and never hang.code --extensions-dir "$HOME/.vscode/extensions", then the freezing behaviour will be gone reliably.I have exactly same issue on Linux AMD64 env.
ae-buddy's solution worked for me.
set
ulimit -n 10000https://github.com/openai/codex/issues/32530#issuecomment-5012908167
This worked consistently for me
Codex help diagnose my VS Code extension issues as:
VS Code Version: 1.129.1
Commit: 8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8
Date: 2026-07-17T15:35:09Z
Electron: 42.6.0
ElectronBuildId: 14623276
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Linux x64 7.0.11-76070011-generic
NOTE - This doesn't allow you to run the latest version of Codex. I ended up not opting to run an old version and instead found success through issue #34308.
Additional data from an identical environment (NVIDIA ARM64 Linux), CDP-level root-cause evidence, and a workaround that fixes cold start persistently
Environment
6.14.0-1013-nvidiaaarch64, X118a7abeba), also reproduced on 1.128.xopenai.chatgptversions affected here: 26.707.31428, 26.707.41301, 26.715.61943 (pre-release line). Version 26.5623.141536 ran three days of clean cold starts on the same machine.Symptom — same as OP: after a cold start of VS Code the Codex sidebar stays on the static logo. The extension host is fully healthy the whole time (
Activating Codex extension→[CodexMcpConnection] Spawning codex app-server→Initialize received id=1, no errors,client-status-changedbroadcast warnings only). The webview iframe mounts, but the webview app's JS never runs.What CDP shows (attached via
--remote-debugging-port):React root renderlog line).Page.reload ignoreCache:true) makes the app mount instantly (React root render+app routes mountedappear immediately).Developer: Reload Webviewsalso recovers it every time once VS Code is up (warm path).What does NOT fix it — contrary to #32357:
"disable-hardware-acceleration": trueinargv.json. We ran 10 days with software rendering enabled; cold starts still stalled (three consecutive stuck cold starts re-verified on 2026-07-23 with the flag active). On this machine it is not a GPU-process race.What DOES fix cold start persistently: quit VS Code and delete the Chromium caches under
~/.config/Code—Cache,Code Cache,GPUCache,DawnCache,DawnGraphiteCache,DawnWebGPUCache,Service Worker— then start VS Code again. After this wipe, current 26.5715.61943 cold-starts and renders the sidebar normally on the same machine that was stuck the same morning.Pattern worth noting: the documented recurrences here began right after the extension auto-updated and swapped the bundled webview resources (26.5623 → 26.707, later 26.715). Together with the cache-bypass behavior above, the evidence points at stale/corrupted Chromium HTTP-cache / Service Worker state stalling the webview's resource pipeline — not at the extension backend, and (at least here) not at GPU rendering.
Happy to provide full CDP target dumps, renderer/exthost logs, or to test candidate builds.