Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.21434 (build 13901)
What subscription do you have?
Plus
What platform is your computer?
Windows 10 Home 22H2, build 19045.6466, x64
What issue are you seeing?
Computer Use cannot capture screenshots of Notepad (notepad.exe) or Loxone Config. Window discovery, app launch and window activation work.
Screenshot capture fails with:
FrameArrived timed out: timed out waiting on channel
Retrying after refreshing the window reference and activating the window fails with:
window capture timed out: timed out waiting on channel
Reproduction:
- Import @oai/sky.
- Select a returned window using sky.list_windows().
- Bind it using sky.get_window({id, app}).
- Call sky.get_window_state({
window,
include_screenshot: true,
include_text: false
}).
Expected: a screenshot of the selected window.
Actual: timeout, with no screenshot returned.
The issue persists after graphics driver updates, a Windows restart, an app restart and a node_repl session reset. Windows' built-in screen capture works.
Hardware: Acer Aspire ES1-711G, Celeron N2940, Intel HD Graphics and NVIDIA GeForce 820M.
Intel graphics driver: 10.18.10.5161.
Computer Use plugin: 26.1007.21434.
App logs repeatedly show:
[windows-capture-native-bridge]
Windows Appshot hotkey registration failed
computer-use request timed out: service_info
It is not yet established whether this startup warning causes the screenshot timeouts.
Feedback was also submitted through the app.
Session ID: 01a126dc-94d4-7e51-bc22-7b6f4f635d29
What steps can reproduce the bug?
- Open Notepad or Loxone Config and keep its window visible.
- Initialize Computer Use by importing @oai/sky.
- Select the application's returned window with sky.list_windows().
- Bind it with sky.get_window({id, app}).
- Call sky.get_window_state({window, include_screenshot: true, include_text: false}).
- Capture fails with “FrameArrived timed out”.
- Refresh the window reference, activate the window and retry. Capture fails again with “window capture timed out”.
Reproduced after graphics driver updates, Windows restart, app restart and node_repl reset.
Session ID: 01a126dc-94d4-7e51-bc22-7b6f4f635d29
What is the expected behavior?
Computer Use should return a screenshot of the selected visible window without timing out. Windows' built-in screen capture works on this computer.
Additional information
No response
Activity
github-actions commentedon Oct 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
christianthoms-arch commentedon Oct 10, 2026
Update: the unofficial Windows 10 capture workaround fixed the issue on my machine, including after a full Windows reboot.
Environment: Codex App 26.1007.21434 (build 13901), @oai/sky 0.7.6, Windows 10 Home 22H2 x64 (19045.6466).
I used a locally adapted version of the community MTA-worker patch for
codex-computer-use.exe, discussed in #35446. Source: https://github.com/chen0416ccc-cpu/codex-windows-fast-patch-skill/blob/main/scripts/patch-computer-use-helper-win10.ps1The supplied profile did not match my complete binary fingerprint. The ten non-signature patch regions matched profile 63C98C4D, while checksum and certificate regions differed. A candidate was built and checked locally, including PE/import/instruction checks and the community unwind test, before replacing the helper. This was not a blind execution of the downloaded script.
Results:
FrameArrived timed out.Limitation: one capture while Loxone was obscured showed the foreground Codex window instead. Capture of obscured windows is therefore not confirmed; successful tests used an explicitly activated, visible Loxone window. Notepad was not separately retested after the patch.
For reproducibility:
58FFF5E2359AA09528F48EF37651B9013B204F99E2FD381F0D3D980CF9D2E88DA7EF05E4DABAD5E9ED22709C3A7928A21D40689DB274276206EF25E87456670CThis is an unofficial, machine-specific workaround, not an official fix or a claim that the patch is suitable for other binary versions. The original signed helper was backed up for rollback. The modification invalidates its Authenticode signature, and an app/runtime update may replace it. I am leaving the issue open to document the underlying problem until an official fix is available.
F21HGG commentedon Oct 11, 2026
Thank you @christianthoms-arch and the authors of the community MTA-worker fix for documenting this so carefully. Your report helped resolve the same screenshot timeout on my Windows 10 PC.
The original helper SHA-256 matched your
58FFF5E2…D2E88Dbuild exactly. After reviewing and adapting the patch, the candidate matched your full publishedA7EF05E4…56670Chash. The native unwind checks passed at 47 instruction boundaries and 10 live call frames.With the patch installed, Computer Use successfully captured Steam, clicked the Library tab, and captured the changed page. Capture also worked after resetting the JavaScript session and reconnecting. A full Windows reboot and long-term stability have not yet been tested on my machine.
Thanks again—this made Computer Use usable for me. I hope this additional confirmation helps with an official Windows 10 fix.
byronlai99 commentedon Oct 11, 2026
Confirmed fixed on Windows 10 IoT Enterprise LTSC 2021 (21H2, Build 19044.5737, x64).
26.1007.2314.026.1007.21434@oai/sky:0.7.6Previously,
get_window_state({window, include_screenshot: true})consistently failed with:After applying the experimental MTA-worker patch to
codex-computer-use.exe, the issue was resolved.Verified results:
Patched executable SHA-256:
A7EF05E4DABAD5E9ED22709C3A7928A21D40689DB274276206EF25E87456670CThe patch successfully restores screenshot capture and mouse interaction on Windows 10 LTSC Build 19044. Hopefully this helps with an official fix!
christianthoms-arch commentedon Oct 11, 2026
Closing this issue as the experimental MTA-worker patch has now been successfully reproduced on multiple Windows 10 systems and restores both screenshot capture and mouse interaction.
I’m glad the detailed troubleshooting and documentation here has already helped other users with the same issue.
The problem appears to be related to the current Windows capture/threading implementation rather than specific hardware.
Thanks to everyone who tested, compared builds, and contributed to the workaround. Hopefully this thread is also useful to the OpenAI team for an official fix in a future release.
shehabfares111-sys commentedon Oct 11, 2026
I have confirmed that my original
@oai/skyComputer Use helper matches SHA-256:58FFF5E2359AA09528F48EF37651B9013B204F99E2FD381F0D3D980CF9D2E88DEnvironment:
I have backed up the original executable and verified its digital signature.
Could you share the exact patch profile or reproducible build instructions used to produce the reported patched SHA-256
A7EF05E4DABAD5E9ED22709C3A7928A21D40689DB274276206EF25E87456670C?I'd like to validate the candidate independently before changing the installed helper.
christianthoms-arch commentedon Oct 12, 2026
Thanks for verifying the original SHA-256 — that matches my build exactly.
In my case, Codex adapted the community MTA-worker patch to this exact codex-computer-use.exe build rather than applying a generic binary patch blindly. It first worked on a copy, verified the relevant instruction boundaries / call targets, created a patch candidate, and only then tested it against the original timeout.
The resulting patched executable matched:
A7EF05E4DABAD5E9ED22709C3A7928A21D40689DB274276206EF25E87456670C
The important change was moving the frame-processing work out of the FrameArrived handler onto a separate MTA-initialized worker thread, which avoided the blocking path that caused FrameArrived timed out.
I would not recommend applying raw offsets to a different build without validation. Since your original SHA-256 is identical, the same patch profile should in principle be reproducible, but I’d still verify the candidate hash before replacing the installed helper.
If useful, I can also share the exact patch steps/profile that were generated on my system.
byronlai99 commentedon Oct 12, 2026
@shehabfares111-sys
I've published the reconstructed PowerShell patch script here:
https://github.com/byronlai99/codex-win10-computer-use-fix/blob/main/reproduce_cua_patch.ps1
It contains 33 byte-level patch entries and has been successfully tested with PowerShell 7.
Usage:
Expected patched SHA-256:
A7EF05E4DABAD5E9ED22709C3A7928A21D40689DB274276206EF25E87456670CThis is a reconstructed binary patch, not the original MTA-worker source code.
baitianyi123 commentedon Oct 15, 2026
Windows 10: callback blocks in an infinite wait with a D3D critical-section dependency on @oai/sky 0.7.7
I reproduced the timeout on Windows 10 Enterprise 22H2 / 19045.6456, using app version 26.1007.71326 (build 20398, prod) and @oai/sky 0.7.7. The installed helper is unmodified and its OpenAI Authenticode signature is valid.
Current helper SHA-256:
D36AE6626BDCED7AE07935D1A91BE14425E8F6CE7C9B5C69F2D8D7DF0C130D83Window enumeration, activation and UIA-only reads work. Screenshot requests against a visible blank Notepad window fail with
FrameArrived timed out: timed out waiting on channel. Refreshing the binding, reconnecting the JS session and restarting the capture subprocess have not restored screenshots. The configured update channel reports no eligible update.Observed stacks and dependency
Using Windows WCT and DbgHelp against the running original helper, I obtained nine sequential sampling rounds over approximately nine seconds, including before and after the screenshot request returned its roughly two-second timeout. Thread IDs are replaced with A/B here.
Thread A consistently showed:
The helper's PE exception directory places
+0x42C9Cinside the callback function at RVA0x42489..0x45B23. The direct call at RVA0x42C97targets0x123147. That routine sets EDX to0xFFFFFFFFand calls the thunk at0x1244A8, which resolves through the original IAT tokernel32!WaitForSingleObject; it closes the handle after the wait.Thread B consistently showed a
RTMediaFrame.dll -> d3d11.dll -> ntdll.dllstack. WCT reported:Thus a frame callback was reached and remained in an infinite wait even after the caller's screenshot request timed out. A media/D3D worker was blocked on a critical section owned by that callback thread.
WCT reported
cycle=false; it did not identify the producer of the event awaited by A. This is evidence of a persistent blocking dependency, not a complete proof of a wait cycle.Synthetic conversion comparison
An independent local diagnostic created a 16x16 BGRA texture and invoked
SoftwareBitmap.CreateCopyFromSurfaceAsyncfrom an MTA thread, without capturing any window:These checks establish that small ordinary conversions work. They do not validate WGC, actual window-sized surfaces, or the callback environment.
Working hypothesis and requested investigation
The evidence supports investigating synchronous waiting inside the FrameArrived callback while a downstream media conversion needs a D3D lock retained by the callback path. The exact asynchronous operation and full dependency cycle remain unconfirmed without source/private symbols. Relevant SoftwareBitmap conversion strings are present in the binary, but strings alone do not establish that mapping.
Please investigate moving the conversion/encoding and wait out of the frame callback, with explicit object-lifetime, COM-threading, initialization-failure, cancellation and shutdown handling. A supported fix for the current signed helper would avoid adapting raw binary offsets from earlier versions.
No community patch was generated, installed or executed during these tests. No full memory dump, account paths, user documents, screenshots or credentials are included in this report.
shiwandehongbai commentedon Oct 15, 2026
Still reproducible on 26.1007.71326 / @oai/sky 0.7.7; local workaround restores capture
Tested on October 16, 2026:
@oai/sky0.7.7.up_to_date.Before modifying the official helper
The installed helper had a valid OpenAI Authenticode signature. Window enumeration through the official
@oai/skyAPI worked, but capturing a Token Monitor window failed:After refreshing the window list and selecting a fresh returned window object, a second capture failed:
The failing request was
sky.get_window_state({window, include_screenshot: true, include_text: false}). Both attempts returned no screenshot.Official helper SHA-256:
D36AE6626BDCED7AE07935D1A91BE14425E8F6CE7C9B5C69F2D8D7DF0C130D83After applying the local MTA-worker workaround
I adapted the previously documented MTA-worker workaround to this exact fingerprint, working on a copy first. Compared with the earlier official
58FFF5E2…D2E88Dhelper, all ten PE sections were byte-identical; file differences were limited to the PE timestamp, checksum and certificate data. The resulting candidate's code and data matched the previously validated workaround.Patched helper SHA-256:
452E61A51C24273F22280ACA8A7216B26F077F1683D4A3D9F87487577DBC299BWith the patch installed:
@oai/skyagain and selecting a fresh window, capture succeeded again at 409 × 700.Separate offline checks passed for existing import/callback targets, native unwind behavior at 47 instruction boundaries and 10 live call frames, and install/rollback failure handling. These checks are separate from the two real screenshot results.
This is an unofficial, fingerprint-specific workaround. It invalidates the helper's Authenticode signature; the original signed binary was retained for rollback. Mouse input, obscured-window capture, a full Windows reboot and long-term stability were not tested in this run.
The signed 0.7.7 helper still reproduces the timeout on this machine. Please investigate a supported fix for the Windows 10 capture callback/threading path so updates do not require reapplying a binary workaround. The before/after results support that investigation but do not independently establish the complete root cause.
ghostbehindthemachine commentedon Oct 18, 2026
Confirmed on 2026-10-18: an exact-fingerprint local MTA-worker reconstruction restored Computer Use screenshots and coordinate click/refresh on Windows 10 Home 22H2 build 19045.6466, desktop/plugin 26.1013.40934 (build 20770), Store package 26.1013.4894.0,
@oai/sky0.7.8.B6B0E4979B89E5C22DAB866F0974BC817C0D08CB359E1C2DD7BE3DCCB9E181EB.6BA81674C1EDE62526AE8E0622B956DA96B188FFBE57CA2270D47E0B057F8109.Reproducible source, tests and guarded rollback — no executable is distributed. Detailed evidence and limitations on #35446.
This is a new fingerprint-specific reconstruction, not compatibility with the older hashes in this thread or every 0.7.8 build. It removes the invalid signature; the original signed executable is backed up. No protections were disabled. Reboot, obscured windows and long-term stability are untested. An official signed Windows 10 fix is still needed; please do not treat this as resolution of the underlying bug.
Navist commentedon Nov 8, 2026
Successful Windows 10 test with an additional hash-specific community patch profile
I reproduced the Windows Computer Use screenshot timeout problem on Windows 10 build 19045, Codex Desktop 26.1103.4239.0, with @oai/sky 0.7.17. Before patching, the helper reported
FrameArrived timed out: timed out waiting on channeland window capture timeouts.The public MTA-worker patch from chen0416ccc-cpu/codex-windows-fast-patch-skill initially classified my helper as unsupported. A tailored, exact-hash-locked profile was prepared and installed.
7F73CF564E1F7FF1CC6DFF117E2BAA6743BE2CB5423BDC0F50274FA0E9A4002C36A28644DEAF935CEFFAD9C8CCFFB04317CDE7466A860304B703ACBF50086201Computer Use patch test successful.and Codex captured the resulting on-screen window, rather than failing with the prior screenshot timeout.This is one successful local workflow, not evidence of a general fix on all Windows 10 systems. The workaround modifies an executable and invalidates its Authenticode signature; it is unofficial, should not be applied to mismatched hashes, and is not a substitute for an official fix.
I have also submitted the new profile for maintainer review in the community patch repository. No OpenAI executable is being distributed.
shiwandehongbai commentedon Nov 10, 2026
Still reproducible on November 10, 2026: signed helper in Codex package 26.1103.7773.0 / @oai/sky 0.7.17
Following up on my earlier report: the unmodified official helper still fails on this machine after another desktop update. A local workaround restores foreground capture, but the shipped version still needs an official fix.
Environment and reproduction
OpenAI.Codex_26.1103.7773.0_x64.@oai/sky:0.7.17.OpenAI OpCo, LLC.Before installing any workaround in this run, I used the bundled
@oai/skyAPI to list windows, bind the returned Notepad window withget_window({id, app}), activate it, then request a screenshot:The first attempt failed with:
After refreshing window selection, obtaining a fresh window binding and activating it again, a screenshot-only retry failed with:
Neither attempt returned a screenshot. Window discovery, binding and activation worked.
Original signed helper SHA-256:
0EBB47BFAAF729E22BCDB08DCFCE1419EEFEDA80AFAEFED3EDBC088C24A2E778Comparison and temporary recovery
Compared with the official helper tested on November 7 (
7F73CF564E1F7FF1CC6DFF117E2BAA6743BE2CB5423BDC0F50274FA0E9A4002C), all nine PE section headers and raw section contents are byte-identical. File differences are limited to the PE timestamp, checksum and certificate data. This comparison does not establish the complete root cause.I adapted the existing local MTA-worker and capture-release workaround to this exact fingerprint, retaining the original for rollback. After installing it and resetting the JavaScript session, the official sky API successfully:
Separate offline checks passed for callback/native unwind behavior at 47 instruction boundaries and 10 live call frames, 20 capture-release path invocations, and guarded install/rollback behavior. Both native test processes exited with code 0 after cleanup. These checks are separate from the live UI results.
Patched helper SHA-256:
4C41108C897F3A505E42CDCD0FCA564F4CF124222A7631A586CCDAE0263C3535The workaround invalidates the original Authenticode signature and may be overwritten by another update. It is fingerprint-specific; no patched executable is attached. Long-duration, concurrent-session and obscured-window behavior were not tested in this run.
Please investigate and ship a supported, signed fix for the Windows 10 capture/threading path. Reapplying an unofficial binary workaround after updates is not a durable resolution. If a fix is available in a particular supported build, please identify that build and the expected validation steps. The unmodified helper in the package above still reproduced both timeouts on November 10.
shiwandehongbai commentedon Nov 12, 2026
Follow-up on November 12: the existing local workaround remains usable in a basic foreground-window check. Screenshots, mouse clicks, Chinese text entry and readback, menu interaction, and keyboard shortcuts worked. The test window was closed and this check's capture session was released.
No additional patch was needed for this check. Because the test still used the existing local workaround, this is not evidence that a new official release fixes the original capture timeout. A supported, signed fix is still requested; please identify the build containing it when available.
Reboot, long-duration use, concurrent capture, and obscured-window capture were not tested.