CapFrameX's overlay hook in xcl.exe: the D3D12 device is removed (0x887a002b) within 9 s – 13 min; XCL_D3D12_DEBUG=1 crashes in D3D12Core.dll+0x606fb at start #933
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#933
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ateezie on GitHub · 2026-11-24 08:43 UTC · original
Setup: Windows 11 Pro 10.0.26200, NVIDIA GeForce RTX 5090 (32 GB), Rust 1.100.0, DXC 1.9.2602.17 (Windows SDK 10.0.26100), xcl
mainbeaa245, release build. Retail title (TitleID 7952987A,game_scarlett_master.exe).1. An injected OSD hook removes the device
With CapFrameX running (it injects
%LOCALAPPDATA%\CapFrameX\hook\x64\cfx_osd_hook_<hash>.dllinto D3D12 processes, and runsCX-PresentMon-2.6.1-x64.exe), 4 runs of 4 ended in:a texture at … lies in a GPU view of the title's CPU memory: kept in step with …(256–4096 so far).cfx_osd_hookmodule in xcl.exe, checked): no device removal in 2 runs(80 s and 137 s; those ended in the #751 detile AV and the
+0x23cf683watchdog, below).Not established: whether the hook causes the removal or only observes it first. Not tested: excluding xcl.exe in CapFrameX's settings; other overlays (RTSS, Steam, Discord, NVIDIA).
Suggestion: README note that OSD / capture overlays should be off for xcl.exe; maybe log injected non-system modules in report.json.
2.
XCL_D3D12_DEBUG=1crashes at startDebug layer from the inbox
d3d12SDKLayers.dll(System32). 2.2 s after launch, right after the first command allocator is wrapped:Not symbolised yet (the xcl.exe offsets are from the
beaa245release build; xcl.pdb is kept).XCL_DRED=1stalls the title at startup here as well (after the 3rd compute PSO, 3 of 3 runs;XCL_PSO_DISK_CACHE=0made no difference) – as already reported in #675.AI use: Claude Code (Claude Opus 5.5) ran the title, read the logs, found the hook module on the stacks and wrote this draft. The runs were on the reporter's machine.
@ivall on GitHub · 2026-11-24 10:52 UTC · original
Thanks for the careful runs. Part 1: the device removal comes only with CapFrameX's hook injected into
xcl.exe(4 of 4 runs with it, 0 of 2 without), so it is the overlay's doing or at least needs it; XCL does not support third-party overlay hooks in its process – please run without them. Part 2 (XCL_D3D12_DEBUG=1crashing inD3D12Core.dllat start): the debug layer was the inboxd3d12SDKLayers.dllfrom System32. WhenD3D12Core.dllcomes from an Agility SDK, the debug layer has to come from the same Agility package; mixed versions are known to crash. If it still crashes with matching DLLs, please open a separate issue for it. Closing this one.