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
What terminal emulator and version are you using (if applicable)?
Visual Studio Code
What issue are you seeing?
Sometimes the extension becomes all blank. It keeps working on the background and even completes according to codex cli history. But becomes impossible to use the extension back again without restarting visual studio code.
What steps can reproduce the bug?
No idea, just working out of the blues it enters that broken state. check the attached screenshot.
What is the expected behavior?
Keep rendering the interface properly.
Additional information
Reacted by Arel Cordero, Mr Beedell, Roke Julian Lockhart, Mahdi Kazemi, xyfir, Hugo Fichter, Ann Cheng, Danail Videv, ledserver, Dayanne Fernandes, bhack and 4 more
I was not using it due to instability (went back to cli), but I switched to trigger the bug. The extension is far better to work than console. Here is the thread ID: 019be379-6935-76d2-abe1-8ab2826026f7
This appears to occur when some console command is executed by Codex. Just a hint. I have not tracked exactly when it happens, but the information could be of help to track the issue. Maybe some unhandled exception that happens and bubbles up manifesting in the GUI. Under the hood it keeps working and completes the task. Only VS extension gets trashed. What I am doing when it happens is that I check with CLI is the task completed and restart VS Code.
I was having that issue in linux ubunutu, but maybe applicable for windows.
After reinstalling vscode and all of codex with all cache clearing, it still didn't work, so after an hour of debugging with Fable and failing and then another hour of debugging with codex cli, I managed to fix it, quoting what it outputted:
Codex VS Code Blank Screen
Date: 2026-07-08
Symptom
The OpenAI Codex VS Code extension opened to a blank dark webview with only the OpenAI logo visible. The Codex panel also showed an odd horizontal scrollbar at the bottom. This happened on a fresh VS Code install with only [email protected] installed.
What Was Ruled Out
VS Code extension conflicts: code --list-extensions --show-versions showed only [email protected].
Codex CLI/auth failure: the bundled CLI at /home/th/.vscode/extensions/openai.chatgpt-26.623.141536-linux-x64/bin/linux-x86_64/codex started successfully outside the VS Code webview and reported idle.
Official Codex docs did not document this exact blank-logo webview state.
The extension host did start Codex successfully:
Activating Codex extension
[CodexMcpConnection] Spawning codex app-server
[CodexMcpConnection] Initialize received id=1
Root Cause
This was a VS Code/Electron rendering issue, not a Codex account or extension-state issue.
The running VS Code process was using the Wayland/Chromium GPU rendering path. After forcing software rendering, the Codex webview loaded normally. The key observed change after restart was that VS Code launched with flags like:
--use-gl=disabled
--disable-gpu-compositing
The warning about ~/.codex/.tmp/plugins/plugins/ngs-analysis/.codex-plugin/plugin.json was unrelated. It was only a plugin manifest validation warning and did not prevent the Codex app server from initializing.
Fix
Edit /home/th/.vscode/argv.json and enable hardware acceleration disablement:
"ozone-platform": "x11" was also added as a Wayland workaround attempt, but the process list still showed --ozone-platform=wayland; the confirmed effective part was GPU/software rendering disablement.
Verification
After restart, the Codex panel loaded instead of staying on the blank logo screen. Fresh logs still showed the extension and app-server initializing, but the webview rendered correctly.
Rollback
If this causes unrelated VS Code rendering or performance problems, revert /home/th/.vscode/argv.json by commenting out or removing:
Got the issue again, here's some more details for Ubuntu, hopefully it's helpful to someone
Add this to ~/.vscode/argv.json:
{
"disable-hardware-acceleration": true
}
Add this to VS Code’s settings.json:
{
"window.restoreWindows": "one"
}
Then fully quit all VS Code windows and reopen a single workspace.
The first setting avoids the Electron/Wayland GPU rendering issue. The second prevents multiple restored windows from initializing Codex concurrently after an extension update.
Reacted by Iván Amaury Sánchez Domínguez and Michael Abrams
Cause: the 30 s renderer watchdog in the extension host.
In out/extension.js, initializeWebview starts a 30,000 ms timer that only renderer_ready from the webview stops. On timeout it replaces webview.html with a static "Codex could not start" page and never retries. For me that page shows as a plain grey panel with no text.
The webview loads about 3,000 modules at startup, which does not reliably fit inside the timeout.
Workaround:Developer: Reload Window when the CPU is idle.
P.S. Developer: Reload Webviews does not help, because it reloads the replacement page.
Activity
github-actions commentedon Jan 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Jan 21, 2026
Thanks for the bug report. When this happens, please do the following:
/feedbackslash command to upload logs and session detailsThis will allow us to diagnose the problem based on the session details.
tradingfuturo commentedon Jan 22, 2026
I was not using it due to instability (went back to cli), but I switched to trigger the bug. The extension is far better to work than console. Here is the thread ID: 019be379-6935-76d2-abe1-8ab2826026f7
tradingfuturo commentedon Jan 22, 2026
This appears to occur when some console command is executed by Codex. Just a hint. I have not tracked exactly when it happens, but the information could be of help to track the issue. Maybe some unhandled exception that happens and bubbles up manifesting in the GUI. Under the hood it keeps working and completes the task. Only VS extension gets trashed. What I am doing when it happens is that I check with CLI is the task completed and restart VS Code.
WhammyLeaf commentedon Feb 10, 2026
I am experiencing this as well quite often
tiapac commentedon Jun 9, 2026
I am also experiencing this in June. This is extremely frustrating and basically makes Codex unusable for an undefined time.
0009-0009-1013-986X commentedon Jun 18, 2026
@etraut-openai, is this an example of the same problem?
I don't know where one would enter
/feedback, to confirm. Regardless, this probably duplicates whatissues/8197describes.My Environment
danailvidev commentedon Jul 2, 2026
I am also experiencing this in July!
Code:
Version: 1.126.0
Commit: 7e7950df89d055b5a378379db9ee14290772148a
Date: 2026-06-23T01:46:13Z
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Linux x64 7.0.0-27-generic
Codex:
Version
26.623.81905
EDIT:
clearing the extension/vs code cache fixed the issue
yaronelh commentedon Jul 2, 2026
Same.. strange thing that for me it started appearing recently
thinszx commentedon Jul 3, 2026
same, i've tried to delete
~/.codex/logs_2.sqlite*and relaunch vscode, sometimes it works but soon it's gonna be blank again...timohuovinen commentedon Jul 8, 2026
I was having that issue in linux ubunutu, but maybe applicable for windows.
After reinstalling vscode and all of codex with all cache clearing, it still didn't work, so after an hour of debugging with Fable and failing and then another hour of debugging with codex cli, I managed to fix it, quoting what it outputted:
RolandGao commentedon Jul 13, 2026
this issue still happens after adding "disable-hardware-acceleration": true,
RolandGao commentedon Jul 13, 2026
although clicking the codex icon and clicking "move to" secondary side bar worked for me
howienguyen commentedon Jul 15, 2026
Same issue here
timohuovinen commentedon Jul 15, 2026
Got the issue again, here's some more details for Ubuntu, hopefully it's helpful to someone
[-]Codex VS Code Extension becomes all blank[/-][+][S] Codex VS Code Extension becomes all blank[/+][-][S] Codex VS Code Extension becomes all blank[/-][+]🩹 Codex VS Code Extension becomes all blank[/+]AmitTzah commentedon Aug 4, 2026
Same issue here. Blank gray screen, and agent keeps running in the background. Windows 11.
kartikeyporwal commentedon Oct 30, 2026
Same issue in Oct 2026.
Codex Version: 26.1007.21434
VS Code Version:
OS:
timohuovinen commentedon Nov 16, 2026
Seems to be filewatch timeout
timohuovinen commentedon Nov 17, 2026
Specs
26.1021.22027and26.1111.21308Cause: the 30 s renderer watchdog in the extension host.
In
out/extension.js,initializeWebviewstarts a 30,000 ms timer that onlyrenderer_readyfrom the webview stops. On timeout it replaceswebview.htmlwith a static "Codex could not start" page and never retries. For me that page shows as a plain grey panel with no text.The webview loads about 3,000 modules at startup, which does not reliably fit inside the timeout.
Workaround:
Developer: Reload Windowwhen the CPU is idle.P.S.
Developer: Reload Webviewsdoes not help, because it reloads the replacement page.