Skip to content

Windows 10 Computer Use capture times out while standalone Windows.Graphics.Capture succeeds #51245

Open

Description

@mabareabattoir

Product and environment

Codex desktop Computer Use through the supported @oai/sky interface.

  • Affected: Windows 10 Enterprise 22H2, build 19045.6456; NVIDIA GTX 1080 Ti, driver 32.0.15.8157.
  • Latest tested desktop app: 26.930.51102, build 13100, production channel; Store package version 26.930.6422.0.
  • Working comparison: Windows 11 Pro 23H2, build 22631.6199; RTX 4090, driver 32.0.16.1692.
  • Before the affected PC's latest app update, both PCs reported matching app, Computer Use plugin and capture runtime versions. The update did not resolve the failure.

Reproduction

  1. Leave the desktop unlocked and open a new blank Notepad window.
  2. Import sky from @oai/sky in the supported Computer Use Node REPL.
  3. Select the blank Notepad window using sky.list_windows() and sky.get_window({id, app}) with returned values.
  4. Call sky.get_window_state({window, include_screenshot:false, include_text:true}): accessibility succeeds.
  5. Call sky.get_window_state({window, include_screenshot:true, include_text:false}): capture times out without an image.

Expected: a screenshot of the selected window.

Actual errors across attempts:

FrameArrived timed out: timed out waiting on channel
window capture timed out: timed out waiting on channel

Explorer, WhatsApp and After Effects also fail. Window enumeration and Notepad accessibility continue working. The comparison PC successfully captures WhatsApp.

Independent capture isolation

On 2026-10-06, a standalone C# diagnostic successfully acquired a frame from the exact same blank Notepad HWND with both D3D11 hardware and WARP devices. It used an MTA thread, Windows.Graphics.Capture CreateForWindow, CreateFreeThreaded, FrameArrived and TryGetNextFrame.

IsSupported was true, D3D feature level was 11.0, and the acquired frame was 735x383. Only frame metadata was recorded; no pixels were exported. Hardware succeeded at 02:17:34 UTC and WARP at 02:17:48 UTC. Immediately afterward, Computer Use capture on the same HWND still timed out (approximately 02:18 UTC).

This suggests an implementation or process-context difference; the exact cause is unknown. It does not establish the visual contents of the independently acquired frame.

Troubleshooting already performed

  • App update, Windows app Repair, runtime reset and Windows reboot.
  • Controlled restart of the per-user CaptureService; service remained running afterward.
  • Fresh standard Windows user profile: the user observed the same two timeout errors; temporary account/profile subsequently removed.
  • Confirmed app/capture processes share the active Windows session.
  • Tested normal topology with only physical monitors active.
  • Temporarily removed a custom display privacy agent and then its virtual display device/driver; capture still failed. Components were restored before reboot. These tests do not rule out every persistent graphics effect.
  • No relevant capture denial found in checked AppPrivacy policies or recent CodeIntegrity, AppLocker and Defender events.

Requested investigation

Please confirm whether this repository is the appropriate tracker for desktop Computer Use capture failures, and whether there are known Windows 10 compatibility limitations. A supported way to collect native capture initialization/HRESULT, device selection and frame-delivery diagnostics would help compare the failing path with the successful standalone WGC test.

Private session context was supplied through OpenAI support/in-app feedback and is omitted from this public report. This report contains no pairing keys, hostnames, network addresses or session transcripts.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 6, 2026
  2. mabareabattoir commented on Oct 6, 2026

    @mabareabattoir
    Author

    Update: a locally verified workaround restored capture on the affected Windows 10 PC.

    We adapted the community callback patch described in #46435 and https://github.com/chen0416ccc-cpu/codex-windows-fast-patch-skill/blob/main/references/win10-computer-use-screenshot-backend.md to the exact executable shipped with Store package 26.930.6422.0 / sky 0.7.5.

    Original executable SHA-256: D60DE520749C25A72594DE9E75C7D656693F509D526104C365FC8842F5E6809A.
    Patched executable SHA-256: 8325AB74F8703B82F14D7040EDAAE691C11D0215273ECFC73D040DEC78833471.

    The computed Authenticode content digest of our original was 0d930646b99b447ecf79c733feebd4435a92ea4f76b517f6831f9c4d48f6b3b0, matching the embedded signed-content digest in the supported ABDD75DF profile. All code/layout byte guards matched. Only the excluded checksum and certificate bytes needed different original-byte guards; code offsets and replacement code were unchanged. The adapted profile retained exact whole-file input/output hash checks.

    The patch redirects FrameArrived work to an MTA worker, allowing the callback to return before the surface-copy wait. Before live deployment, a separate copy passed native x64 unwind validation at 47 instruction boundaries and ten live stub caller frames, plus isolated install/rollback. Those checks validate the wrapper, not the full capture pipeline.

    After deployment and a fresh normal @oai/sky session:

    • Notepad capture returned a visually inspected 735x383 screenshot and accessibility.
    • A mouse click opened the Format menu, verified in the next screenshot.
    • Repeated capture succeeded.
    • WhatsApp capture returned a visually inspected screenshot.

    An original backup is retained. No OS privacy policy, graphics driver, privacy-agent or display configuration was changed for this fix.

    This is an unofficial, build-specific workaround that invalidates the executable signature. It is not an official fix, and app/runtime updates can replace it. Reboot behavior and long-duration stability remain untested. The result supports investigating the synchronous FrameArrived surface-copy path on Windows 10; please consider an upstream fix so binary modification is unnecessary. Related symptoms also appear in #50362 and #50749.

  3. afonseca08 commented on Oct 7, 2026

    @afonseca08

    Additional reproduction on Windows 10 Home 22H2, build 19045.7725, in Brave using Computer Use plugin 26.930.61225 and the supported @oai/sky Node REPL. In a fresh JavaScript session, enumeration and accessibility-only state succeeded, but screenshot-only capture failed with FrameArrived timed out: timed out waiting on channel. Rediscovery, window activation, reacquisition and one retry produced window capture timed out: timed out waiting on channel.

    An indexed click on an observed Google Analytics exploration also failed with coordinate input geometry is unavailable; accessibility verification showed it remained unopened. Earlier in the same investigation, capture also timed out in a separate Brave window displaying GitHub. See #49680 for the matching capture-plus-click symptoms. No standalone Windows.Graphics.Capture diagnostic or binary workaround was tested here.

  4. afonseca08 commented on Oct 8, 2026

    @afonseca08

    Retested on October 7, 2026, on Windows 10 Home 22H2, build 19045.7725. Computer Use plugin is now 26.1002.52244, newer than the 26.930.61225 in my previous comment. Codex desktop reports 26.1002.52244, build 13536, production channel, and is up to date according to its updater.

    A newly launched blank Notepad window was successfully enumerated through the supported @oai/sky interface. Capture with include_screenshot:true, include_text:true failed with FrameArrived timed out: timed out waiting on channel. Refreshing window discovery, reacquiring and activating Notepad, then retrying produced window capture timed out: timed out waiting on channel. No image was returned.

    This confirms the capture failure persists with the newer plugin and occurs in Notepad as well as the Brave windows previously reported. Accessibility-only reads and clicks were not retested. No standalone Windows.Graphics.Capture diagnostic or binary workaround was tested here. Related: #49680.

  5. dev2089 commented on Oct 16, 2026

    @dev2089

    I reproduced the capture failure on a newer build with the official helper unchanged.

    Environment:

    • Windows 10 Pro, build 19045
    • Installed package: OpenAI.Codex_26.1013.3656.0_x64
    • Desktop/plugin version: 26.1013.31256
    • @oai/sky: 0.7.8
    • Helper: codex-computer-use.exe
    • Helper SHA-256: 14D5E9C7336DD34AA8476F218DD45E033B8416BDAD6C58FA79C84169AE59F2F3
    • Authenticode signature: valid

    Using the supported @oai/sky Node API, I launched a fresh blank Notepad window, selected the returned window, activated it, and requested:

    sky.get_window_state({ window, include_screenshot: true, include_text: true })

    The first request failed with:

    FrameArrived timed out: timed out waiting on channel

    I refreshed the window list, reacquired the Notepad window, activated it again, and retried once. The retry failed with:

    window capture timed out: timed out waiting on channel

    Window discovery and app launch work. The failure is limited to the screenshot-backed capture path; it reproduces on a newly launched Notepad window and does not depend on the original application. No binary patch, driver change, ACL change, or security-setting change was applied.

  6. rami123 commented on Oct 16, 2026

    @rami123

    Update: I reproduced the screenshot failure on Windows 10 build 19045 with Codex Desktop 26.1013.3656.0, Computer Use runtime/plugin 26.1013.31256, and @oai/sky 0.7.8. The original helper SHA-256 was 14D5E9C7336DD34AA8476F218DD45E033B8416BDAD6C58FA79C84169AE59F2F3.

    I adapted the existing 0.7.6 MTA callback-wrapper workaround to this exact 0.7.8 helper, guarded by its full original hash. After applying it and restarting Codex, sky.get_window_state on a blank Notepad window returned one screenshot (screenshot-0). Copy-based install and rollback were verified on a disposable copy, and the live install retained an original backup.

    This is one successful capture on one machine and one app, not broad validation. The patched helper SHA-256 is E7D5E247B9744327DE677F7C9F04D7C3FBF3FE11E897B09F002ACFA2B4753BF3; Authenticode reports NotSigned after patching, and a runtime update may replace it. Below is the source-only profile diff (no executable) for review. Upstream basis: https://github.com/chen0416ccc-cpu/codex-windows-fast-patch-skill/blob/ae0c9fcc8338947c358b62fc326033dac867f0e1/scripts/patch-computer-use-helper-win10.ps1

    diff --git a/scripts/patch-computer-use-helper-win10.ps1 b/scripts/patch-computer-use-helper-win10.ps1
    index ca1d5cb..d29b791 100644
    --- a/scripts/patch-computer-use-helper-win10.ps1
    +++ b/scripts/patch-computer-use-helper-win10.ps1
    @@ -1888,6 +1888,93 @@ $PatchProfiles = @(
          }
        )
      },
    +  [ordered]@{
    +    Name = '@oai/sky 0.7.8 helper 14D5E9C7 / Windows 10 screenshot backend'
    +    ValidatedDesktopVersion = '26.1013.3656.0'
    +    SkyVersion = '0.7.8'
    +    OriginalSha256 = '14D5E9C7336DD34AA8476F218DD45E033B8416BDAD6C58FA79C84169AE59F2F3'
    +    PatchedSha256 = 'E7D5E247B9744327DE677F7C9F04D7C3FBF3FE11E897B09F002ACFA2B4753BF3'
    +    Regions = @(
    +      [ordered]@{
    +        Name = 'pe-section-count'
    +        Offset = 0x86
    +        OriginalHex = '0a00'
    +        PatchedHex = '0b00'
    +      },
    +      [ordered]@{
    +        Name = 'pe-size-of-code'
    +        Offset = 0x9c
    +        OriginalHex = '00681200'
    +        PatchedHex = '006a1200'
    +      },
    +      [ordered]@{
    +        Name = 'pe-size-of-image'
    +        Offset = 0xd0
    +        OriginalHex = '00e01700'
    +        PatchedHex = '00f01700'
    +      },
    +      [ordered]@{
    +        Name = 'pe-checksum'
    +        Offset = 0xd8
    +        OriginalHex = '9b501800'
    +        PatchedHex = '00000000'
    +      },
    +      [ordered]@{
    +        Name = 'pe-certificate-directory'
    +        Offset = 0x128
    +        OriginalHex = '006e1700303d0000'
    +        PatchedHex = '0000000000000000'
    +      },
    +      [ordered]@{
    +        Name = 'mta-section-header'
    +        Offset = 0x318
    +        OriginalHex = '00000000000000000000000000000000000000000000000000000000000000000000000000000000'
    +        PatchedHex = '2e63757531300000d000000000e0170000020000006e170000000000000000000000000020000060'
    +      },
    +      [ordered]@{
    +        Name = 'mta-wrapper-and-unwind'
    +        Offset = 0x176e00
    +        OriginalHex = '303d000000020200'
    +        PatchedHex = '534883ec304889cb488b5108f00fba6a1008723a488b01ff500831c931d24c8d055b0000004989d948c74424200000000048c744242800000000ff15d88fffff4885c074114889c1ff158a8fffff31c04883c4305bc3488b4308c64011004889d9488b01ff5010b8054000804883c4305bc3cccccccccccccccccccccccccccc534883ec204889cbb901000000ff159d8effff4889d9e8ee43ecffff15978effff4889d9488b01ff501031c04883c4205bc3cccccccccccccccccccccccccccc0105020005520130010502000532013000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    +      },
    +      [ordered]@{
    +        Name = 'frame-arrived-busy-return'
    +        Offset = 0x418be
    +        OriginalHex = '0f855b310000'
    +        PatchedHex = '0f853d310000'
    +      },
    +      [ordered]@{
    +        Name = 'frame-arrived-once-flag'
    +        Offset = 0x418cf
    +        OriginalHex = '740d'
    +        PatchedHex = 'eb0d'
    +      },
    +      [ordered]@{
    +        Name = 'frame-arrived-vtable'
    +        Offset = 0x12c8c8
    +        OriginalHex = '8924044001000000'
    +        PatchedHex = '00e0174001000000'
    +      },
    +      [ordered]@{
    +        Name = 'pe-exception-directory-size'
    +        Offset = 0x124
    +        OriginalHex = 'd8840000'
    +        PatchedHex = 'f0840000'
    +      },
    +      [ordered]@{
    +        Name = 'pdata-virtual-size'
    +        Offset = 0x208
    +        OriginalHex = 'd8840000'
    +        PatchedHex = 'f0840000'
    +      },
    +      [ordered]@{
    +        Name = 'mta-runtime-functions'
    +        Offset = 0x1574d8
    +        OriginalHex = '000000000000000000000000000000000000000000000000'
    +        PatchedHex = '00e0170072e01700c0e0170080e01700b2e01700c8e01700'
    +      }
    +    )
    +  },
      [ordered]@{
        Name = '@oai/sky 0.7.6 helper 63C98C4D / Windows 10 screenshot backend'
        ValidatedDesktopVersion = $null
  7. analitikkozub-ux commented on Oct 21, 2026

    @analitikkozub-ux

    Additional reproduction confirmed on October 21, 2026.

    Environment:

    • Windows 10 Pro 22H2, build 19045.6456.
    • Desktop app and Computer Use plugin: 26.1016.51333.
    • Desktop build: 21161, production channel; updater reports up_to_date.
    • Intel HD Graphics 4600, driver 20.19.15.5171 dated November 4, 2020.
    • dxdiag reports WDDM 2.0 and feature levels up to 11_1.

    Using the supported @oai/sky interface:

    • Window enumeration, application launch, activation, and accessibility-only requests work.
    • Screenshot capture fails on blank Notepad and the OBS application window.
    • Initial error: FrameArrived timed out: timed out waiting on channel.
    • After refreshing window discovery and retrying: window capture timed out: timed out waiting on channel.

    The failure persists after a Windows reboot, successful app update from 26.1013.40934 to 26.1016.51333, and testing in a new chat.

    Independent comparison:
    OBS Studio 32.2.2 successfully displays the same test Notepad window using Windows Graphics Capture. The OBS log confirms WGC was selected and used, D3D11 initialized on Intel HD Graphics 4600, and OBS was not running as administrator. GraphicsCaptureSession.IsSupported() returns true.

    Additional checks:

    • The desktop app, native Computer Use helpers, Notepad, and DWM share the same active Windows session.
    • No --disable-gpu launch flag was found; an Electron GPU process is running.
    • No binary patches, driver changes, security/privacy changes, or cache deletion were applied.

    Could maintainers identify a planned signed release containing a Windows 10 capture fix, or provide supported native diagnostics to distinguish frame-delivery failures from surface-copy/bitmap-conversion failures?

  8. ShaunMitchem commented on Nov 7, 2026

    @ShaunMitchem

    Additional reproduction on 7 November 2026, with the original signed helper unchanged.

    Environment:

    • Windows 10, build 19045, x64.
    • Computer Use plugin: 26.1103.32239.
    • Installed @oai/sky: 0.7.17.
    • codex-computer-use.exe SHA-256: 7F73CF564E1F7FF1CC6DFF117E2BAA6743BE2CB5423BDC0F50274FA0E9A4002C.
    • Authenticode signature reported Valid, signed by OpenAI OpCo, LLC.
    • Intel HD Graphics 530 (31.0.101.2111) and NVIDIA GeForce GTX 960M (32.0.15.6094); active display reported as 3840x2160.

    Using the supported @oai/sky Node interface, window enumeration and accessibility-only reads succeed for a freshly built .NET 10 WPF application. Screenshot requests fail with FrameArrived timed out: timed out waiting on channel or window capture timed out: timed out waiting on channel. File Explorer capture fails too. An indexed click on the observed WPF File menu fails with coordinate input geometry is unavailable.

    Rediscovery, activation, fresh application instances, a distinct-name copy of the same apphost, resetting the Node session, and restarting both native Computer Use helper processes did not restore capture/input. No standalone WGC probe was run on this machine, so these observations do not independently establish the deadlock mechanism.

    We also inspected the community patcher linked above (downloaded script SHA-256 DC6B4F9E48CEA97E02A921BE7EB95B12842D0A28FCC8E39D18CA38CF41671649). Its two 0.7.17 profiles are keyed to helpers beginning FC0447EF and 1F0DDEE3; neither matches this installed helper. A read-only comparison against the FC0447EF profile found the inspected code/layout guards matched, but the checksum and certificate-region guards differed. The installed certificate embeds signed-content digest FFF4A64DA8231A48E40A92732A14056C421C1E5B21A07E49EB1B832326B5E7E6, which also differs from both profiles. This is insufficient to establish whole-binary compatibility or that the difference is signing metadata alone.

    No binary patch was applied, and no graphics-driver, display, security, or privacy settings were changed. Is a signed Windows 10 capture fix planned, or is there a supported diagnostic path for this newer helper build?

  9. ShaunMitchem commented on Nov 7, 2026

    @ShaunMitchem

    Follow-up to my reproduction above: a locally adapted workaround now restores capture and input on this Windows 10 build 19045 machine with @oai/sky 0.7.17.

    Helper SHA-256 hashes:

    • Original: 7F73CF564E1F7FF1CC6DFF117E2BAA6743BE2CB5423BDC0F50274FA0E9A4002C
    • Patched: 36A28644DEAF935CEFFAD9C8CCFFB04317CDE7466A860304B703ACBF50086201

    Adaptation: we used the existing FC0447EF 0.7.17 profile as the basis. Eleven code/layout region guards matched the installed binary. We replaced the original-byte guards for the checksum and certificate region with the exact bytes from our installed helper, retaining the existing replacement code. This is a new build-specific adaptation, not a claim that the binaries have identical signed contents. The patch schedules the existing capture callback body on an MTA worker.

    Validation before live installation:

    • Constructed a candidate on a disposable copy with an exact full-file original-hash guard.
    • Verified all 552 changed bytes were confined to the 13 intended regions.
    • Inspected PE structure, x64 wrapper disassembly, original callback target, and unwind tables with MSVC dumpbin.
    • Parsed the PE import table and verified the wrapper targets resolve to CreateThread, CloseHandle, RoInitialize, and RoUninitialize.
    • Verified copy-based installation and rollback on a disposable file using complete hashes.
    • Retained and hash-verified the original live helper backup, stopped the native helpers, installed the candidate, and verified its full patched hash.

    Live validation used a fresh supported @oai/sky Node session. The freshly built Debug .NET 10 WPF Editor produced a visually inspected home-screen image, and an indexed File-menu click opened the menu. A new disposable map was then created entirely through computer use. The walkthrough successfully added a DateMark and initial slide, exercised Undo/Redo and zoom, opened and searched the Draw chooser, and saved the disposable map. Repeated screenshots, dialog interactions, text/value entry, clicks, and keyboard shortcuts worked. Existing maps were not opened or edited; their version counts and latest-version IDs remained unchanged.

    Scope/limitations: the original signature was Valid; the patched helper reports NotSigned. This is an unofficial local workaround and runtime updates may replace it. Validation covered structural inspection and the short live workflow, not a native unwind execution harness, reboot behavior, extended-duration stability, or every application. No graphics-driver, display, security, or privacy settings were changed.

    These results are consistent with the callback/surface-copy workaround helping this newer helper too, but do not independently prove the exact original deadlock mechanism. A signed upstream Windows 10 fix would remove the need for this binary adaptation.

  10. nanth23 commented on Nov 8, 2026

    @nanth23

    Hi @ShaunMitchem , I’m experiencing the same Computer Use screenshot timeout and would like to reproduce your workaround using the exact script/profile you validated.

    My environment:

    • Windows 10 Home Single Language 22H2, build 19045.6466, x64.
    • ChatGPT/Codex desktop version: 26.1103.32239.
    • Bundled @oai/sky: 0.7.17.
    • Original codex-computer-use.exe SHA-256:
      7F73CF564E1F7FF1CC6DFF117E2BAA6743BE2CB5423BDC0F50274FA0E9A4002C
      
    • Authenticode signature: Valid, signed by OpenAI OpCo, LLC.
    • Hardware: Intel Core i5-10210U, Intel UHD Graphics, 8 GB RAM.

    Computer Use can discover windows and read accessibility controls, but screenshots fail in both TubeDigger and a blank, visible, foreground Notepad window:

    FrameArrived timed out: timed out waiting on channel
    window capture timed out: timed out waiting on channel
    

    Restarting the desktop app and rebinding/activating the target window did not restore capture. “Any app” control is enabled.

    Your reported original helper hash matches mine exactly. Could you please share the adapted patch script and profile, or a reproducible source-only package, that produces your validated candidate?

    36A28644DEAF935CEFFAD9C8CCFFB04317CDE7466A860304B703ACBF50086201
    

    Ideally, the package would include:

    • The 13 exact patch regions, with expected original bytes and replacement bytes.
    • Strict original/candidate SHA-256 and Sky-version checks.
    • Read-only compatibility checking and preparation on a separate copy.
    • Backup, installation, and restoration instructions.
    • The structural validation steps and required tools.

    The older Sky 0.7.5 repair packages correctly reject my installation. I have not bypassed their checks or modified the installed helper. A hash-verified copy of my signed original has been preserved.

    I understand this is an experimental, unsigned workaround with limited validation. I’m requesting the exact implementation you tested rather than guessing offsets or forcing a profile intended for another executable.

    Thank you for documenting your investigation and results.

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

    appbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions