Skip to content

🩹 Codex VS Code Extension becomes all blank #9615

Open

Description

@tradingfuturo

What version of Codex is running?

v0.87.0

What subscription do you have?

Business

Which model were you using?

all of them

What platform is your computer?

Windows 11

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

Image

Activity

  1. added
    bug
    on Jan 21, 2026
  2. added
    extension
    windows-os
    on Jan 21, 2026
  3. github-actions commented on Jan 21, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. etraut-openai commented on Jan 21, 2026

    @etraut-openai
    Contributor

    Thanks for the bug report. When this happens, please do the following:

    1. Restart the extension
    2. Find the session that was running at the time you experienced the bug
    3. Use the /feedback slash command to upload logs and session details
    4. Copy the thread ID and post it to this issue

    This will allow us to diagnose the problem based on the session details.

  5. tradingfuturo commented on Jan 22, 2026

    @tradingfuturo
    Author

    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

  6. tradingfuturo commented on Jan 22, 2026

    @tradingfuturo
    Author

    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.

  7. WhammyLeaf commented on Feb 10, 2026

    @WhammyLeaf
    Contributor

    I am experiencing this as well quite often

  8. tiapac commented on Jun 9, 2026

    @tiapac

    I am also experiencing this in June. This is extremely frustrating and basically makes Codex unusable for an undefined time.

  9. 0009-0009-1013-986X commented on Jun 18, 2026

    @0009-0009-1013-986X

    @etraut-openai, is this an example of the same problem?

    Image

    I don't know where one would enter /feedback, to confirm. Regardless, this probably duplicates what issues/8197 describes.

    My Environment

    • Version: 26.5616.30709
      VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=openai.chatgpt
    • Version: 1.126.0-insider
      Commit: 226cd5d573076e1d3b260d21409538fbc67cb059
      Date: 2026-06-16T21:33:37-07:00
      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.12-201.fc44.x86_64
  10. danailvidev commented on Jul 2, 2026

    @danailvidev

    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

  11. yaronelh commented on Jul 2, 2026

    @yaronelh

    Same.. strange thing that for me it started appearing recently

  12. thinszx commented on Jul 3, 2026

    @thinszx

    same, i've tried to delete ~/.codex/logs_2.sqlite* and relaunch vscode, sometimes it works but soon it's gonna be blank again...

  13. timohuovinen commented on Jul 8, 2026

    @timohuovinen

    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:

    {
      "disable-hardware-acceleration": true,
      "ozone-platform": "x11",
      "enable-crash-reporter": true,
      "crash-reporter-id": "321b7146-3f89-42a7-97e2-25f1a4e35f72"
    }

    Then fully restart VS Code.

    The important setting was:

    "disable-hardware-acceleration": true

    "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:

    "disable-hardware-acceleration": true,
    "ozone-platform": "x11",

    Then restart VS Code.

  14. RolandGao commented on Jul 13, 2026

    @RolandGao

    this issue still happens after adding "disable-hardware-acceleration": true,

  15. RolandGao commented on Jul 13, 2026

    @RolandGao

    although clicking the codex icon and clicking "move to" secondary side bar worked for me

  16. howienguyen commented on Jul 15, 2026

    @howienguyen

    Same issue here

    Image
  17. timohuovinen commented on Jul 15, 2026

    @timohuovinen

    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.

  18. changed the title [-]Codex VS Code Extension becomes all blank[/-] [+][S] Codex VS Code Extension becomes all blank[/+] on Jul 31, 2026
  19. changed the title [-][S] Codex VS Code Extension becomes all blank[/-] [+]🩹 Codex VS Code Extension becomes all blank[/+] on Aug 3, 2026
  20. AmitTzah commented on Aug 4, 2026

    @AmitTzah

    Same issue here. Blank gray screen, and agent keeps running in the background. Windows 11.

  21. kartikeyporwal commented on Oct 30, 2026

    @kartikeyporwal

    Same issue in Oct 2026.

    Codex Version: 26.1007.21434
    VS Code Version:

    Version: 1.142.0
    Commit: 6d62b1d5dace93a33b3a6d3eca1317bd5e15bcb1
    Date: 2026-10-15T03:02:17Z
    Electron: 43.7.7
    ElectronBuildId: 15553055
    Chromium: 150.0.7871.250
    Node.js: 24.21.0
    V8: 15.0.245.31-electron.0
    @github/copilot: 1.0.95-0.unstable.r38345923974.g3754b70
    @github/copilot-sdk: 1.0.19.38345923974.g3754b70
    OS: Linux x64 6.8.0-147-generic
    

    OS:

    Distributor ID:	Ubuntu
    Description:	Ubuntu 24.04.5 LTS
    Release:	24.04
    Codename:	noble
    
    
    Image
  22. timohuovinen commented on Nov 16, 2026

    @timohuovinen

    Seems to be filewatch timeout

  23. timohuovinen commented on Nov 17, 2026

    @timohuovinen

    Specs

    • OS: Ubuntu 26.04, Linux x64
    • Hardware: 16 CPU threads, NVMe SSD
    • VS Code: 1.141.0
    • Codex extension: 26.1021.22027 and 26.1111.21308

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Papercuts 2026Papercuts: Source - SupportWindowsbugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions