Skip to content

GPU access blocked upon starting VSCode already having "Full access" given. A toggle of the permission is needed. #29209

Open

Description

@SandboChang

What version of the IDE extension are you using?

26.616.41845

What subscription do you have?

GPT Pro20x

Which IDE are you using?

VSCode

What platform is your computer?

Windows 11 with VSCode and Codex inside WSL

What issue are you seeing?

Before the update today (2026-06-20, JST around 1-6pm), restarting the VSCode with access already in Full access, the GPU can be accessed via WSL.

With the new update, the GPU access by the agent is blocked despite Full access is remained chosen. I checked on my own terminal WSL is working where nvidia-smi reported the GPU.

When the bug happens, the agent said:

The rerun is currently blocked by OS-level GPU access in this shell (nvidia-smi also says GPU access blocked).
In this sandbox, GPU is not exposed: /dev/dxg is missing and nvidia-smi returns “GPU access blocked by the operating system.”

Stopping the run and restarting does not solve the problem.
The solution is to toggle the access from Full access to something else, and then back. This will fix it.

What steps can reproduce the bug?

Set VSCode and Codex to be in Full access mode, confirms GPU is working.
Restart VSCode, open Codex and confirm the access is still Full access.
Ask the agent to check for GPU access, it will say it is blocked by the sandbox, even though Full access is chosen.

What is the expected behavior?

Upon restarting VSCode, the GPU should be accessible without toggling the permission option.

Additional information

No response

Activity

  1. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    sandboxIssues related to permissions or sandboxing
    on Jun 20, 2026
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

    bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions