The retail title 1.0.2.1 (RTX 5070): reaches the end of the first-run setup, then deterministic 0xC0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683 #840
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?
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T06:40:55Z.
Game and package version
The retail title – Xbox Series build. Identity Name: Identity Version: 1.0.2.1 Publisher: CN=3164F9C2-2C28-4832-BBE3-A642A4EF0054 Executable: game_scarlett_master.exe (Id , TargetDeviceFamily Scarlett) Package unpacked and unmodified; all 108 files match the package manifest.
What happens
The game runs far enough to be walked through the whole first-run flow:
ACCOUNT PICKER -> PLAYER 1 -> licence -> minimap settings -> subtitles -> language
Then it crashes. About 7,000 frames presented, 22-27 fps at 1920x1080, 19,241 unique shaders,
0 skipped draws. Same crash on two different main builds from today (the second one release
[optimized + debuginfo]):
unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)
rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1 rbp=0x0
Same address, same rcx, same registers: deterministic, not timing-dependent.
Caller on the stack: game_scarlett_master.exe+0x4e4ba89
What I expected: after the language step the game continues to the character/world load.
XCL version
xcl 0.1.0 Built from a main zip snapshot downloaded 2026-11-24 ~13:15 UTC (cargo build --release --workspace, no local changes). A second build from an earlier snapshot of the same day (~10:50 UTC) gives the identical crash, so this is not commit-specific.
GPU and driver version
NVIDIA GeForce RTX 5070 Laptop, 7,891 MiB, driver 32.0.15.9197
Windows version
Windows 11 家庭中文版, version 10.0.26300, build 26300.9974 (26H2). The D3D12 Agility SDK question is for Windows 10; on Windows 11 the inbox D3D12Core is used (no D3D12Core.dll next to xcl.exe).
report.json and xcl.log
report.json
xcl.log
Console output
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T06:41:52Z.
AI-assisted, and declared here as the project's PRs do: the report text and the log analysis
were drafted with an AI assistant. Every run, every number and every log excerpt above comes
from my own machine.I am a beginner with XCL and D3D12 - I
collected the data, the analysis in it is not mine to defend.
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T06:42:40Z.
What I already tried (all negative, same package, same config unless noted)
XCL_ASYNC_PSO=0- worse: 0 presents, crashes earlier atgame_scarlett_master.exe+0x2215c35(write 0x0) while commit climbs to ~10.4 GB. So async PSO is masking it, not causing it.
XCL_DXC_THREADS=4- same crash address, same frame count.[stub_returns] = E_NOTIMPLfor all 9 stubbedd3d12_xsmethods(
ID3D12CommandAllocator::#9,ID3D12GraphicsCommandList10::#126/#142/#131/#132,#75 (console extension),ID3D12CommandQueue::#31) - same crash address, byte for byte.The null does not come from those stubs.
Two other observations
uma_mb = 8192in xcl.toml is not honoured: report.json still saysuma_mb: 4095, and it sits at3,998.6 MB (99.8%) right before the crash.
device_type = "lockhart"the pool drops to 72%, but the title then hits a fatalint3(
0x80000003) atgame_scarlett_master.exe+0xcc2834, withconsole_type_rawstill 6.XCL_TRACE_IMPORTS=d3d12_xs: the last 12 traced calls before the crash are allD3D12SerializeVersionedRootSignaturefrom+0x55ac80f, but they all succeed (17xconsole flags 0x3000000 dropped, 0 failures) - correlation with background pipeline work, notthe cause.
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T06:53:48Z.
Update: rebuilt from main after #792/#795/#797/#798 merged. The split-list path now runs
(
split command list (type 2) around mid-list Wait after Write64 (#1)) and the xcl-fencesthread is active, so those changes are live - but the crash is unchanged:
game_scarlett_master.exe+0x23cf683, write at 0x0, rax=0, rcx=0x70024c348. Frames went up
(7,792 vs 6,936 either side of it), fps 16.5-30.
That rules out the wait/fence/cycle family as the cause of this specific null write.
Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T06:56:55Z.
The game executable it self has an intentional write to zero, not sure if apart of tamper protection or not
Imported from ivall/xcl. Originally posted by jcjordyn130 on 2026-11-24T07:04:27Z.
I got farther into the game by patching them all out, it's only 3-4. There's also a few debugging breakpoints after the null writes if those don't break, and I patched those out. Now the blocker on my end is just how long it takes these shaders to compile
Imported from ivall/xcl. Originally posted by churchesyt on 2026-11-24T07:17:14Z.
Retail game!!
Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T07:34:13Z.
I knew it!, I figured simply patching them out and removing any jump to this write to zero would get us further, then just debug the issues remaining., I had attempted patching but I didn't get them all, can you please provide all of the offsets to patch here.
Imported from ivall/xcl. Originally posted by Voltingg on 2026-11-24T07:52:35Z.
@Coldtrain no, as far as I can tell this is not tamper protection. +0x23cf683 is inside the game's own fatal error routine (it starts at +0x23cf620). It writes 0x4d8bd421 to address 0 on purpose: a deliberate crash the game uses to stop itself once something has gone wrong, so it ends up in a crash report.
In my runs (RTX 3060 12 GB, same 1.0.2.1 build) that routine is called from the game's GPU hang watchdog thread (+0x2215a60), and the message it builds before crashing decodes to "GPU Loc Sig". The watchdog checks a table of timestamps that the game's threads keep refreshing. When one of them stops for too long, it assumes the GPU or that thread is hung and calls the fatal routine. In my case that happens during the world load, while the title threads are blocked waiting for the driver to build large compute pipelines. Nothing in it checks the exe or its files.
Several checks lead to the same routine, which is why patching out "the" write is not enough and why there are 3-4 of them. It also means patching them only hides the symptom: the game then keeps going in a state it considers broken, and the real blocker is still shader compile time, as jcjordyn130 found. @DUIBING818 your caller (+0x4e4ba89) is not the watchdog, so it is likely a different check. It would be worth finding out which one.
Imported from ivall/xcl. Originally posted by ShyVortex on 2026-11-24T08:00:09Z.
Same crash on 16 GB VRAM, so it isn't specific to 8 GB cards.
Setup: Intel i7-12700H + RTX 3080 Ti Laptop 16 GB, Windows 11 26300, unmodified
main1ec4c98(release),XCL_NETWORK=0, retail 1.0.2.1. Two runs:unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348, at 171 s and 177 s.This fits @Voltingg's reading: the frame rate collapses during world load, one thread misses its watchdog check-in, and the game crashes itself on purpose. Patching out the null write would only remove the symptom; the stall itself looks like the VRAM/BCPack side (#878, #781).
Imported from ivall/xcl. Originally posted by phantom54 on 2026-11-24T08:17:32Z.
09940bb13700F + 2070 Super
console_log.txt
report.json
xcl.log
Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T08:30:32Z.
Interesting stuff, I can confirm however patching out these calls using NOPs does allow us ingame, I get ingame audio followed by a new crash - DX12 related!!
Funny I came across the GPU Loc Sig string as well when translating the instructions, could not find anything on it or what it meant though.
So most likely I am circumventing the games built in crash protection when it detects an issue in runtime or rendering, this is still a step forward for us to run the game (Despite being in a buggier state)
Working patch is provided below
patch.py
Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T08:35:52Z.
Do you hear ingame audio? after patching I hear ingame audio, a few shaders begin to compile. but then game does crash with a new DX error
xcl: D3D12.X: compute PSO with the translated console CS (9344 B DXIL, 38 ms)
xcl: D3D12.X: compute PSO with the translated console CS (4240 B DXIL, 4 ms)
xcl: D3D12.X: compute PSO with the translated console CS (9928 B DXIL, 36 ms)
xcl: D3D12.X: compute PSO with the translated console CS (4760 B DXIL, 10 ms)
xcl: D3D12.X: compute PSO with the translated console CS (30892 B DXIL, 422 ms)
xcl: D3D12.X: compute PSO with the translated console CS (13600 B DXIL, 0 ms)
xcl: D3D12.X: compute PSO with the translated console CS (84980 B DXIL, 0 ms)
xcl: D3D12.X: compute PSO with the translated console CS (129352 B DXIL, 1 ms)
xcl: D3D12.X: compute PSO with the translated console CS (153840 B DXIL, 1 ms)
xcl: [debug]
xcl: [debug] D3D12 XDXR Error:
xcl: [debug] DestAccelerationStructureData can not have more than 40b of address set
xcl: [debug]
xcl: C++ exception .J "" thrown; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538
xcl: unhandled exception 0xe06d7363 in KERNELBASE.dll+0xc569a rax=0x0 rbx=0x3474f7408 rcx=0x0 rdx=0x7ff9b1bdf037 rsi=0x1 rdi=0xe06d7363 rbp=0x4 r8=0x7ff9b1bdef25 r9=0x3474f682f r10=0xffffffff r11=0x1 r12=0x0 r13=0x1d93ba43b20 r14=0x0 r15=0x18 rsp=0x3474f72e0; on the stack: xboxbvhbuilder.dll+0xd2538, xboxbvhbuilder.dll+0xd2538, vcruntime140.dll+0x6480, xcl.exe+0x25d0, xboxbvhbuilder.dll+0x20000, xboxbvhbuilder.dll+0xd2538
xcl: D3D12.X: Wait64BitValueX timed out after 2000 ms at 0x1c60a32ff68 (op 7, want 0xb33, mask 0xffffffffffffffff; memory holds Some(0))
xcl: [debug] BacktraceBreakpad:c:\code\xbox\breakpad\src\src\common\windows\backtrace.cc:99:XSystemGetConsoleId(): 00000000.00000000.00000000.00000000.00
Imported from ivall/xcl. Originally posted by AlexLopezDevelop on 2026-11-24T08:52:27Z.
Same stop on RTX 2080 Ti (Turing, driver 621.24) + Intel i9-9900K, Windows 11, 32 GB, own 1.0.2.1 package: walked through the first-run setup by hand, then
unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)at about 454 s.One thing this run rules out: it was built from #905 (
d19a3d3), so every BCPack request was served (report.json: BC1 2,104, BC5 107, BC6H 1, BC7 193 requests, 0 failed,bcpack_refusedempty). The fatal-error path is still taken, so missing BCPack textures are not what sends the title there.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by Creaa on 2026-11-24T09:03:00Z.
Reproduced on a desktop RTX 4070 (driver 617.14), Core i7-13700F, Windows build 26300, and DXC 1.9.2602.17. XCL was built with MSVC in release mode from PR #631 head
12be9306269772e1e24aa1e44219f2bce684c193. The run was offline.After a few minutes of loading and a black screen, the process crashed at 218.382 s with a write to address
0x0at game image offset+0x23cf683, exception0xc0000005. The caller+0x4e4ba89and register valuesrax=0x0 rcx=0x70024c348 rdx=0x1 r8=0x7074d8c40match this report. The run never reached controllable gameplay.AI use: Codex (GPT-6) ran XCL, extracted the log details, and drafted this report. The on-screen observations came from the user.
Imported from ivall/xcl. Originally posted by atk3001 on 2026-11-24T09:21:56Z.
Another data point, with where the main thread is before the null write.
Setup: RTX 5080 16 GB (driver 621.24), Ryzen 7 9800X3D, Windows 11 26300,
main077ce40(release),XCL_NETWORK=0, retail 1.0.2.1. A pressed by script (XCL_PRESS_A_AT=20,22,25,30,35,40,50,60), so every run gets the same input.Runs
scripts/smoke.ps1 -Seconds 180: no crash within 180 s, 1377 frames, 60 fps until ~50 s, then 0–3 presents per 2 s; peak commit 26.3 GB.XCL_THREAD_DUMP_AT=80,100,120: the null write at+0x23cf683comes at 95.6 s (GPU Loc Sig7333478d in the Breakpad parameters).crashcontext.log(written toT:\, i.e.<XCL data>\temp) shows that the world has loaded: player placed, 87 peds, 217 vehicles,Current SRL Name: fbk_stry000_FBK_STRY000_INTRO, statePrestream,Game State: Game Running.What the thread dump at 80 s shows
xcl-fences,xcl-pso-*andxcl-dxc-*are all idle.+0x23cf735. The stack is+0x23cf735 < +0x8126a7 < +0x53ec040 < +0x53ebf3a < ….+0x23cf6a0, called withcl=1from+0x8126a2, calls+0x4e4ba80and then sleeps in a loop.+0x812620is a state handler. It takes this branch when the byte at+0x7453ed4is 0 (read by+0x450920) or when[[+0xaae3b70]+0x1b3]is 0. Otherwise it continues with state 4.The watchdog at
+0x2215a60(disassembly)+0x4e4ba80and then writes 0 to address 0 (+0x2215c35).0x23cf683write is the same fatal path, reached from+0x4e4ba89.Not known yet: what clears
+0x7453ed4or the+0x1b3flag before ~56 s. The flag is set to 1 at+0x1c996b0(callers+0x21b745e,+0x21b8e02,+0x59965c8) and cleared at+0x2257734/+0x2258de7. One observation, not a cause: the same main thread queried XStore at 20.7 s, right after the first A press. XCL answers that as offline, and the title reportsXErrorReport 0x89240107.A second run on the same build crashed earlier, at 59.8 s, in
tiling::Chain::detile_level←title_textures::subresources(read AV inVCRUNTIME140memcpy). That is the race #751 fixes.Report and analysis written with Claude Code (Claude Opus 5.5) from my own runs. The disassembly was done with capstone on my copy of the exe. Nothing from the game is attached.
Imported from ivall/xcl. Originally posted by AlexLopezDevelop on 2026-11-24T09:36:54Z.
Follow-up to my run above: with #891 (
XCL_PSO_WAIT_MS=50) the same machine (RTX 2080 Ti + i9-9900K) goes past this stop into the world load, and ends later at #585 instead. Details: https://github.com/ivall/xcl/pull/891 (my comment there).AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T09:48:13Z.
comment-846-negative-results.txt
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T10:06:36Z.
Thanks for the detailed reports and the analysis - this is clear now.
+0x23cf683is the title's own fatal-error routine (Voltingg's and atk3001's findings): its watchdog ends the process on purpose when a thread stops checking in, mostly while a thread waits for a big pipeline build during the world load. Patching the writes out only hides that.02bfd1d): withXCL_PSO_WAIT_MS=50a bind waits at most that long for a pipeline being built, and runs on several machines go past this stop into the world load. It stays opt-in for now, because the dispatches skipped meanwhile leave their outputs unwritten.40b of address setin the BVH builder (#585), is fixed by #631, also merged.Please retest on current main with
XCL_PSO_WAIT_MS=50and post where it stops now.Imported from ivall/xcl. Originally posted by throny on 2026-11-24T10:23:49Z.
Retest on current
mainwithXCL_PSO_WAIT_MS=50, as asked: RTX 4080, two runs. It gets past the old stop into the world load, presents almost nothing there, and ends at the same watchdog routine about a minute later.Tested
stable-x86_64-pc-windows-msvc;cargo build --release -p xclonmain6efdabc, no local changes.xcl run <folder>withXCL_NETWORK=0,XCL_ACTIVITY=1,XCL_PSO_WAIT_MS=50,XCL_PRESS_ATfor the profile prompt, 420 s limit. First-run setup was done in earlier runs. DXIL cache warm; the driver-blob cache holds 651 blobs (part of them from an unfinishedxcl shaders --precompile --only cs --pipelineswith #744).mainwithout the variable (10 warm-cache runs,beaa245…1c87b1d)0xc0000005, write at 0, the #534 location)GPU queue.Wait … did not complete within 5000 mssparse: the queue has not reached fence valueXCL_FRAME_DUMP, frame 1820) is a uniform green picture with darker green bars above and below, not the loading art: a frame whose planes hold no data.I have not shown that this is the cause.It is not the cause here: with #640'sXCL_PAGE_BUDGET_MB=6144on top, video memory stays at 12.6–12.8 GB and the waits still time out in one of two runs (numbers in my #640 comment).Not tested
AI use
main, ran the title and wrote this report. Counts and XCL's own log text only; no game data attached.Update: the same two runs on
main384f7f7(after #905 and the allocator-pool merges; same machine, same settings and caches)0xc0000005, write at 0, at 170.0 s – this time at the #232 title's locationGPU queue.Wait … did not complete within 5000 mssparse: the queue has not reached fence valueSame picture as on
6efdabc: past the old stop, a few presents per ten seconds in the world load (about twice as many as before: 20 and 24 against 3 and 9), then GPU waits time out. No device removal. Run 3 is not a result for where the title stops, only for how far it got before my guard ended it.Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T10:59:35Z.
Merged your current build into my fork after this message as i noticed the fix for more than 40b of address set was mentioned!!
My fork has currently compiled up to 430 shaders and still going! Black screen after loading screen but no crash anymore (my exe is patched with the python script I included)
I patched alot of the DirectRoute errors in my fork as well, As of this moment i am technically ingame with no crashes (blackscreen though)
Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T11:02:08Z.
Should I expect video once shader compilation is completed? My fork additionally brought cutscreens up to solid 30fps on my system, main branch last gave me 5fps avg, will retest and confirm, for now allowing shaders to compile and will report what happens.
Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-24T10:54:38Z.
Retest on current
mainwithXCL_PSO_WAIT_MS=50, as asked, on AMD under Linux (RDNA4, RADV). Two runs. Neither gets into the world load: about 30 s after the first#101, the GPU takes a page fault from a shader's scalar data load, the driver resets the ring, D3D12 reports the device removed, and the run ends.Tested
experimental-11.0-20261112), vkd3d-proton v3.1 + #257's patch (-Db_ndebug=true, dxil-spirv53aac418), DXC 1.9.2609.5. Rust 1.96.0,x86_64-pc-windows-gnu, release, no local changes on the tree.xcl runwithXCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50 XCL_COHERENT_MB=512 VKD3D_CONFIG=ignore_shared_fence, 600 s limit. Run 5: one A press by hand. Run 6:XCL_PRESS_AT=30.6:A, no controller.main6efdabc+ #905 (44953c2, a fast-forward). Run 6:main384f7f7(#905 merged).XCL_PSO_WAIT_MS(077ce40+ #905, earlier today)#101journalctl -k)SQC (data),PERMISSION_FAULTS: 0x3,MAPPING_ERROR: 0, at0x00008000c39d80000x00008000befff000gfx_0.0.0ring timeout, ring reset failed → MODE1 GPU reset, "VRAM is lost"comp_1.1.0ring timeout, ring reset succeededGPU queue.Wait … did not complete within 5000 msD3D12 device removed: 0x887a00050x80000003at+0x2474606(the title's device-removed stop, as on #646 / #891)0x887a00050xc0000005write at 0 at+0x23cf683, 132.8 s#101in both runs (30.0 s and 29.6 s).SQC (data),PERMISSION_FAULTS: 0x3) and the same address range: RADV's 32-bit descriptor range, far past the end of XCL's shared view heap (1 000 000 × 32 B). @xstraok proved it there withRADV_DEBUG=bo_history: a console T# that never became an XCL view is used as a heap index. The fix is draft #610; I am testing it on this machine next.Not tested: more than two runs, other
XCL_PSO_WAIT_MSvalues,XCL_LIST_TRACEto find the faulting dispatch, Windows on this card, #867 / #871 on top.AI use: T3 Code (Claude Opus 5.5) built the trees, ran the title and wrote this comment from XCL's logs and the kernel log. The runs are real, on the hardware above, and I checked the report before posting.
Imported from ivall/xcl. Originally posted by garuspl on 2026-11-24T11:08:30Z.
Same crash on an RTX 4090 (24 GB), and what happens with
XCL_PSO_WAIT_MS=1: the watchdog no longer fires, presents still stop at the same point, and the run ends ~60 s later in a GPU device removal.Setup: Ryzen 7 7800X3D, 64 GB RAM, RTX 4090 (driver 32.0.16.1742), Windows 11 Pro 10.0.26300. Unmodified
main384f7f7, release build. DXC 1.9.2602.17 from the Windows SDK 10.0.26100.0. Title 1.0.2.1. Noxcl.tomlchanges.xcl run <folder>, no input during the runs.Runs
67a3735)+0x23cf683write at 0x0, about 3.5 min into the run384f7f7)+0x23cf683write at 0x0, 102.0 s384f7f7)XCL_PSO_WAIT_MS=1D3D12 device removed: 0x887a0006at 165.8 s, then0x80000003ingame+0x2474606Runs 1–3 were one after another on the same machine, so runs 2 and 3 started with the earlier runs' shader caches.
Run 2: the watchdog, after compute pipeline builds
GPU Loc Sigis logged at 102.8 s, right after the null write at 102.0 s. Registers match the ones above:rax=rbx=rbp=0,rcx=0x70024c348,rdx=0x1,r8=0x7074d8c40.+0x23cf620..+0x23cf692on this build too: it ends in an unconditionalmov dword ptr [0], 0x4D8BD421, as @Voltingg described.Run 3:
XCL_PSO_WAIT_MS=1GPU Loc Sig.a pipeline still being built after 1 msis logged from 72.3 s, past 1025 by 120.9 s.xapulines every 5 s up to 166 s), so the title is still running.Wait64BitValueXtimeouts in this run.split command list (type 2) around mid-list Wait after Write64reached #32 by 123.8 s.D3D12 device removed: 0x887a0006(DXGI_ERROR_DEVICE_HUNG), thenunhandled exception 0x80000003 in game_scarlett_master.exe+0x2474606, process status0x80000003.So on this card the cap gets the title past the watchdog, but not to new frames. I have not checked whether a skipped dispatch is what hangs the GPU.
Not tested: other
XCL_PSO_WAIT_MSvalues; #684; a run withXCL_D3D12_DEBUG=1or DRED to see which command list hung the GPU; more than one run per configuration.AI use: Claude Code (Claude Opus 5.5) built XCL, ran the title, read the logs, disassembled the crash site with
dumpbinand drafted this comment. The runs are on my machine, on the hardware above.Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T11:14:54Z.
xcl: D3D12.X: compute PSO with the translated console CS (207912 B DXIL, 4760 ms)
xcl: D3D12.X: compute PSO with the translated console CS (1295684 B DXIL, 28330 ms)
xcl: D3D12.X: compute PSO with the translated console CS (119996 B DXIL, 1641 ms)
xcl: D3D12.X: compute PSO with the translated console CS (204288 B DXIL, 3656 ms)
xcl: D3D12.X: compute PSO with the translated console CS (207156 B DXIL, 4669 ms)
What my logs look like essentially no errors, game is still running, 580 shaders compiled total, CPU usage for xcl is at 12%, looks promising, just not sure how long shader compilation takes, it appears to not utilize GPU for this stage?
Imported from ivall/xcl. Originally posted by sharkintosh on 2026-11-24T11:16:36Z.
Post 1 — issue #846 (primary)
URL: https://github.com/ivall/xcl/issues/846
Retest on
main384f7f7withXCL_PSO_WAIT_MS=50— Windows 11, RX 9070 XT (RDNA4, native D3D12)Tested
main384f7f7, release (cargo build --release --workspace), no local changes; Rust 1.98.110.0.26100.0) — older than the 1.8 the README recommends (#156), so compilation here is slower than it needs to beXCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1; DXIL cache warm (2,648 hits, 56 compilations this run)Result: the
+0x23cf683stop is gone; the run enters the world and ends at a different stopXCL_PSO_WAIT_MS(2 runs,6efdabcand384f7f7)XCL_PSO_WAIT_MS=50(384f7f7)0xC0000005, write at0x0,game_scarlett_master.exe+0x23cf683, identical registers in both runs0x80000003(STATUS_BREAKPOINT) atgame_scarlett_master.exe+0x2474606+0x4e4ba89,+0x2215c35,+0x71b9a20,+0x2215ecaxcl.exe+0x142302,+0x4daa2c8,+0x1f6503,+0x10a2b2,USER32.dll+0x4e170,+0x4fb0e29Game State: Game Running, camera in the world,Streaming Requests: 4021,TileHeap: used (4022Mb) - total (6236Mb)So the next stop looks like a cross-queue barrier that is never signalled (the #505 family), not the pipeline-wait watchdog.
Console slots still called a lot at that point:
GraphicsCommandList10::#1427,618;CommandAllocator::#97,376;CommandList10::#757,164;#1267,159;CommandQueue::#31386;#10138.Happy to rerun with other
XCL_PSO_WAIT_MSvalues (200 / 500) or with DXC 1.9 if that helps. No game data attached; the lines quoted above are the only title output used.Imported from ivall/xcl. Originally posted by Coldtrain on 2026-11-24T11:20:00Z.
I think anyone still experiencing crashes should try the patch.py as my build is compiling shaders with it, otherwise then test with my fork - https://github.com/Coldtrain/xcl/tree/bc7-rds5-runtime-worldload
For me with my .exe patched, and my fork i have up to 608 shaders compiled and game has no longer crashed. (Blackscreen most likely until shader compilation is completed)
Most likely either the offsets I patched in the EXE has allowed my game to keep running without errors, or some of my previous changes compared to the main branch, if confirmed ival can work on merging them.
Imported from ivall/xcl. Originally posted by CeeJaded on 2026-11-24T11:30:02Z.
What is gta 6? I only know of newer retail game
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-24T11:52:51Z.
RTX 5070 Ti datapoint for
XCL_PSO_WAIT_MS=50: on this card it moves the stop later but does not remove it.Setup: RTX 5070 Ti 16 GB (32-lane waves), driver 32.0.16.1742; Ryzen 7 9800X3D, 32 GB RAM; Windows 11 Pro 26300. Unmodified
main47efa2e, release. DXC 1.8.2502.11 (Windows SDK 10.0.26100.0). Title 1.0.2.1.XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=30:A XCL_RUN_SECONDS=300. Four runs one after another, so the DXIL and driver caches were warmer in each.XCL_PSO_WAIT_MS+0x23cf683write at 0x0, 121.2 s+0x23cf683, 117.9 s+0x2215c35write at 0x0, 177.4 s+0x23cf683, 198.9 sXCL_PSO_WAIT_MS=1).Not tested:
XCL_PSO_WAIT_MSvalues other than 50; a run with every compute pipeline built beforehand (the precompile below did not finish).Update (same machine, same
main47efa2e, after more runs):xcl shaders shaders.rpf --precompile --only cs --pipelinesran ~75 min and was stopped at 22,600 / 26,503: the first 22,200 go in seconds (cached or not compute), the last ~4,000 hold the programs that take minutes each.XCL_PSO_WAIT_MS) after it:+0x23cf683at 111.5 s. 294 compute PSO builds, 110 from XCL's kept driver blobs, 7 over 5 s (the longest 50.2 s, 287,640 B DXIL).XCL_PSO_WAIT_MS=50, back to back): presents end at 108, 112 and 110 s, and each run ends differently: 108.7 s0xc0000005inVCRUNTIME140.dll+0x1c45a(read at0x825210000; maybe #662's copy, not checked); 117.5 sD3D12 device removed: 0x887a0006, then0x80000003at+0x2474606(as in the 4090 run above); 165.6 s+0x23cf683. Compute builds 318 / 372 / 435, kept blobs used 129 / 168 / 165, builds over 5 s 11 / 7 / 10; kept blobs on disk 171 → 216.Update 2 – serialized submissions do not remove it. A local experiment on
main930e8b4(not for a PR): after everyExecuteCommandListschunk the CPU waits (up to 10 s) for that queue to finish, so no two queues' work overlaps, as in a runtime that runs each submission to completion. Same machine,XCL_PSO_WAIT_MS=50, runs alternated:main+0x23cf683, 238.6 s+0x23cf683, 251.6 smain+0x23cf683, 218.6 sNo serialized submission took longer than 10 s, and the stop still came. So here it is not GPU work of two queues overlapping; with #1123's lines ending at "no tracked wait in front of it", it looks like a signal that is never submitted at all.
Update 3 – with the title's watchdog skipped, the title just stays frozen. Local experiment on
main930e8b4(not for a PR): the two deliberate faults (+0x23cf683and the fallback after the handler call at+0x2215c27) skipped in memory at load,XCL_PSO_WAIT_MS=50,XCL_PSO_PRELOAD=0, one 600 s run: no crash, no device removal, process exit0x0at the limit, but presents end for good at 202 s (0 fps from there to 600 s), peak commit 61.7 GB. So the watchdog reports a real stall here; skipping it does not let the title go on.(
XCL_PSO_PRELOAD=0because after a run that gets further, the preload of #1035 pushed commit to 50–110 GB within a minute of the next start.)Run and written with Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by tatazildo on 2026-11-24T13:31:50Z.
Additional data point on NVIDIA Ampere with current main, following the BCPack merge.
Environment
47efa2ecea0a12934719ae69b81930cf02a4b1c3Comparison against previous run
508a0c747efa2eBCPack results
bcpack_refusedis empty.Remaining issues
The same fatal error persists:
The recorded stack also matches my previous run:
The report still contains 40 sampled mesh pipeline refusals (MS in the AS slot).
The background pipeline counters are
[72, 0, 58691].This provides another reproduction of the same fatal-error path despite successful BCPack decompression.
The higher cumulative presentation and compilation counts should not be interpreted as a measured performance improvement, since the runs were not duration-matched.
The full sequential library test suite also passed: 698 passed, 0 failed, 21 ignored.
AI disclosure: ChatGPT assisted with the testing procedure, interpretation of the diagnostic reports and preparation of this comment. All test results were generated on my own hardware.
Thanks for the continued work on XCL!
Imported from ivall/xcl. Originally posted by vladbondarenko97 on 2026-11-24T13:36:13Z.
RTX 3080 Ti datapoint for
XCL_PSO_WAIT_MS=50on currentmain. This PC has no active playback device, so the run also needs #887 (without it,maintraps at+0x4dcbc9dat 27.6 s; see #695 / #887).Setup: RTX 3080 Ti 12 GB (32-lane waves, driver 32.0.16.1060), i7-12700KF, 32 GB RAM, fixed 64 GB page file, Windows 11 Pro 26300, rustc 1.100.0, release, DXC 1.9.2602.17. Retail 1.0.2.1 (hashes verified).
main47efa2e+ #887 (a3b0ea0) merged locally (98fd0c8).XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_WAIT_MS=50, first-run menus walked withXCL_PRESS_AT, warm DXIL cache..ttpfstreaming from ~70 s, with BCPack unpacking and no refusals. Presents stop at ~120 s.0xc0000005ingame_scarlett_master.exe+0x2215c35(write at 0x0) at 188.5 s. That's the same stop @tiagonleal reported on a 5070 Ti withPSO_WAIT_MS=50, rather than+0x23cf683. No device removal in this run.process endswas never logged, and the process stayed alive (~20 GB working set) until I killed it 20 min later. That is what #967 addresses; I've queued a run of it here.Next on this machine: the journal +
xcl pipelinesroute from #505 (#688 #744 #759 #820 #684), withoutPSO_WAIT_MS.AI use: Claude Code (Claude Opus 5.5) ran the build/run on my machine, read the logs and drafted this; I reviewed it.
Imported from ivall/xcl. Originally posted by l0g3n on 2026-11-24T14:38:01Z.
I reproduced the same crash on an AMD Radeon RX 7600 with Adrenalin 26.11.2 and Windows 11 Pro 26H2 (build 26300.9974). I built XCL at
930e8b4and tested game version 1.0.2.1. The loading artwork appeared at about 30 FPS, then the window went black and the game exited before I saw gameplay.The log shows 0xc0000005 writing to 0x0 at game_scarlett_master.exe+0x23cf683, with +0x4e4ba89 and +0x2215c35 on the stack.
Imported from ivall/xcl. Originally posted by sernartar on 2026-11-24T14:47:37Z.
8 GB NVIDIA datapoint (RTX 4060 Ti 8 GB, Intel) on
930e8b4: same+0x23cf683end, 2 of 2 runs, after ~30 s of no presents while big compute PSOs buildSetup: Windows 11, Intel i5-12600KF, RTX 4060 Ti 8 GB, 32 GB RAM, DXC 1.9.2602 (SDK 10.0.26100),
main930e8b4,cargo build --release -p xcl,XCL_NETWORK=0 XCL_ACTIVITY=1, no other variables. Retail 1.0.2.1, 109/109 files unchanged after both runs. Second run had the DXIL/driver caches of the first.0xc0000005write at 0x0,+0x23cf683rax=rbx=rbp=0,rcx=0x70024c348)Game Running Time 0h:1m:39s,Frame 905, SRLfbk_stry000_FBK_STRY000_INTROinPrestream,Game Physical 2.21 / 2.31 GB,Pool 592 / 625 MB.CreateTicketXbl3, "no Xbox Live") happen a few log lines before the crash in both runs, but they repeat all through the run, so I read that as timing only.Next from me: one
xcl shaders shaders.rpf --precompile --only cs --pipelinespass on this 8 GB card (numbers for #1269), then the same run with warm caches, to see whether the watchdog still fires when the world-load compute PSOs are already built.AI use: Claude Code (Claude Opus 5.5) read the logs and wrote this; the runs were mine.
Imported from ivall/xcl. Originally posted by DUIBING818 on 2026-11-24T15:02:42Z.
comment-846-heap-windows.txt
Short version, so nobody has to open the attachment:
Imported from ivall/xcl. Originally posted by chenzhehao1129-eng on 2026-11-24T15:44:36Z.
Same stop on a desktop RTX 4070 Ti SUPER, with one difference worth adding: this machine gets through the whole first-run flow and into the intro, and the watchdog fires while the intro audio is playing, not at a menu.
Setup: NVIDIA GeForce RTX 4070 Ti SUPER 16 GB (driver 32.0.15.8097, i.e. 580.97), Ryzen 9 9900X, 64 GB, Windows 11 10.0.26100 build 26100, DXC 1.9.2602.17 from the SDK 10.0.26100.0,
xcl0.1.0 built frommain930e8b4(cargo build --release --workspace, no local changes). Retail 1.0.2.1 unpacked from my own copy (RockstarGamesInc.28872443D20A7, TitleId7952987A, 109 files). No game files attached.What happens
ACCOUNT PICKER → key art →
FINISH SETUP?→LEGAL NOTICES(Copyright / Photosensitivity) →ROCKSTAR GAMES LEGAL TERMS & POLICIES(Privacy + ToS, Confirm), all at a steady 30 fps with0 draws skipped, then a black screen with a spinner while the intro plays. At 11,915 presents (~6.5 min):exit code 3221225477. So
rcxis0x0c26c348here and not the0x70024c348others see, but the address and the write are the same.What the log says around it
The last 30 lines are not a picture, they are pipeline builds — the title is still bringing up compute PSOs while the intro plays, and some of them are big on this machine:
and just before that:
One thing I did not see in the other reports: there is no Xbox Live here, and the title keeps retrying the Rockstar auth endpoint through the whole intro —
XUser: token #5 … #12 for POST https://auth-arc-prod.ros.rockstargames.com/arc/11/gameservices/auth.asmx/CreateTicketXbl3 — none: no Xbox Live (0x80072EFD). If the sign-in path is what keeps a title thread waiting while frames are presented, this might be an extra variable worth excluding (I am retesting withXCL_NETWORK=0for exactly that reason).Report numbers (
report.prev.json):shaders.unique 19,211,submitted 274,780(ps 134,404 / vs 112,044 / as 25,479 / cs 2,742 / rootsig 111),xbox_errors 0,rdna2_undecoded_dwords 0,translated_pipelines 57,fallback_pipelines 0,failed_pipelines 0, 40 ×mesh pipeline with its MS <hash> in the AS slot — refused;xapu_packets_decoded 67,157,xapu_decode_errors 0;called_stubs:ID3D12CommandAllocator::#912,009,ID3D12GraphicsCommandList10::#126/#142/#7511,923 each,ID3D12CommandQueue::#31393; dxil cachehits 24 / misses 71 / compilations 71 / failures 0;uma_import_check: ok, 1 window(s), 31540 µs.Retest in progress
I only found this thread after drafting a separate report (the new-issue page flagged it as a potential duplicate — it is), so I am posting here instead. I am now running
main930e8b4withXCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1and will add where it stops.One cross-check that may be useful, from the same machine under a different compatibility layer (Victory): there the world-load submission on the real GPU takes 11–13 s and the driver removes the device with
0x887A0006(this machine hasTdrDelay=8, so anything over 8 s is fatal), whileXCL_PSO_WAIT_MS=1here turns the watchdog stop into0x887A0006for @garuspl. That is consistent with a single long stall in the world-load phase being the thing that both layers trip over.Imported from ivall/xcl. Originally posted by chenzhehao1129-eng on 2026-11-24T16:01:28Z.
Retest as asked, on the same machine as my report above: with
XCL_PSO_WAIT_MS=50the watchdog stop does not happen at all here.main930e8b4,XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1,xcl run <folder>(first-run flow already done in the previous run, so this one went straight to the intro).XCL_PSO_WAIT_MSXCL_PSO_WAIT_MS=500xc0000005write at 0x0,+0x23cf683, 11,915 presents (~6.5 min)No
0xc0000005, no device removal, no skipped draws or dispatches in the activity line, and the commit number does not move, so this is not the "load everything then die" pattern the others describe — on this machine the intro simply keeps going.Two things that may be worth knowing:
XCL_NETWORK=0does not stop the Xbox Live attempt: the log still showsXUser: token #8 for POST …CreateTicketXbl3 — none: no Xbox Live (0x80072EFD)while the intro plays. If a title thread is waiting on that call, the variable is not enough to exclude it.Logs and
report.jsonare available on request (I will strip the local paths first). I can run any instrumented build, and re-running from a cold cache takes ~2 minutes.Imported from ivall/xcl. Originally posted by Krashgamer on 2026-11-24T16:04:24Z.
A correction to the main-thread analysis above (the
+0x23cf735 < +0x8126a7stack), from IDA on my own copy of 1.0.2.1:+0x23cf6a0is not the title's fatal routine. It is the main thread's sync with the render thread:+0x4e4ba80there only reads a millisecond counter (start and end of the wait are timed), and the wait itself is an infiniteWaitForSingleObject(+0x569f0) on a semaphore the render thread releases after each frame.+0x812620that calls it withcl=1is its normal path, not an error path, so the+0x7453ed4/+0x1b3flags are probably not what to chase.+0x23cefb0) in turn waits at+0x43c3d5dfor its fiveSubrender:%02uthreads. In my dumps those were in XCL's compute bind wait (pso_async::resolve_within). The watchdog fires because that chain holds the main thread for 30 s.Details, with thread dumps from an RTX 3080, in https://github.com/ivall/xcl/pull/1273#issuecomment-7137064542.
AI use: Claude Code (Claude Opus 5.5) did the analysis and wrote this.
Imported from ivall/xcl. Originally posted by chenzhehao1129-eng on 2026-11-24T16:08:45Z.
Update: with
XCL_PSO_WAIT_MS=50this machine now reaches the world load, and the stop moves.Same run as my previous comment (
930e8b4,XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1). The dark screen with audio was not a hang after all - it was the intro waiting for input. It sat like that for ~19 minutes and 34,200 presents; anApress moved it on:6 done, 57,621 pipelines queued-> world load startsunhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rcx=0x70024c348, i.e. the watchdog stop again, at ~41,700 presentsSo on this machine the option gets us past the intro and into the world load, and the stop is no longer "the intro never ends"; it is the same
+0x23cf683stop roughly five minutes later. Two things that may be worth knowing:128 driver blobs kept on disk for the next run (16948 ms, 850 KB)- a warm run of the same build should compile faster.I can do the warm-cache run and report where it stops this time, if that is useful.
No game data included; program hashes and log lines only. AI-assisted (Claude Code).
Imported from ivall/xcl. Originally posted by AgneyaK on 2026-11-24T16:37:45Z.
The title's own crash context (
crash.login the data folder'stemp, written just before the stop)gives the same story state in every run of mine that reaches
+0x23cf683:Current SRL/ state930e8b4+ #640 (budget 3072), run 1fbk_stry000_FBK_STRY000_INTRO/Prestream0x98c85f2a/0xe9f5cf99ffe310e(independent runtime)RTX 3050 6 GB Laptop, Windows 11 26300, title 1.0.2.1, Series X profile. The
mainrun that ran out ofmemory (#333 assert, 192 s) had no mission yet and 3,169 streaming requests pending.
So the stop comes while the intro's SRL is prestreaming, with hundreds of streaming requests still
pending, in both runtimes. That fits the reading that this is the title's stall watchdog. I can't tell
from this whether the pending requests or the compute-pipeline backlog (#505) is what it waits on.
AI use: Claude Code (Claude Opus 5.5) ran the title and drafted this note; results are from the runs described.
Imported from ivall/xcl. Originally posted by JRamos1993 on 2026-11-24T18:01:09Z.
Edited three times. The first edit was right: the slow programs are separate variants, all created in every run. The second edit was wrong: I said no title thread was inside XCL. The dump lines of the threads in pipeline builds are cut at 14 frames, before any title frame, and my filter missed them. Everything below is now checked against the build's symbols.
Test report on an RTX 5090, without
XCL_PSO_WAIT_MS: a warm pipeline cache does not move the stop. In the ~29 s before it, title threads are building compute pipelines inside their binds, as in #924's chain. Every GPU completion the title armed had already been reached.Setup: RTX 5090 32 GB (32-lane waves), driver 621.24; i9-14900KF, 64 GB; Windows 11 Pro 26200; DXC 1.9.2609.5; release build of
main930e8b4. Retail 1.0.2.1, first-run setup already done in an earlier run. Every run:XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=25:A,xcl run <folder>. Between runs 1 and 2 I ranxcl shaders <pack>\shaders.rpf --precompile --only cs --pipelinesinto the same cache. I stopped it after 3 h at 22,600 of 26,503 programs. Every run adds its own kept blobs.+0x23cf683(rcx=0x70024c348)XCL_PSO_WAIT_MS=50No kept blob was refused. In every run without the option, the stop comes 28–30 s after the last presents.
Thread dumps, run A (
main930e8b4,XCL_THREAD_DUMP_AT=88,96,104; presents ended at 82 s, stop at 112.0 s):+0x23cf735.real::build_compute→translated_compute_pso→pso::console_to_dxil_in→dxc::compile, waiting for DXC;xcl-pso-*threads or on the title thread that binds the pipeline, which takes the job and builds it itself. So these three are title threads building in a bind.Run B (
930e8b4+ #924,XCL_TRACE_WAITS=1, dump at 92 s; presents ended at 78 s, stop at 108.0 s):+0x43c3d5dwaits on an event made at start that the title never sets.I also added local-only logging of the title's
ID3D12Fence::SetEventOnCompletioncalls (not for a PR). At 92 s, all 343 events the title had armed on its fences were reached, and no title fence was behind the values its queues were told to signal. So in this window the title is not waiting for the GPU.Reading: this matches the chain in #924 and the analysis above. The frame-loop thread waits for the ring, and the ring workers build compute pipelines in their binds, one after another. Even with most compute pipelines coming from the disk cache, the few new ones each run (5–10 s each) fill the window.
They are new each run because several slow programs come in near-identical variants (for example, two programs whose DXIL differs only in one multiply constant). Each run binds some variants no earlier run had bound.
With
XCL_PSO_WAIT_MS=50presents went on until 116 s and the stop came at 167 s. Builds took much longer: 17 over 5 s, the longest 55 s, with nine started at 74–81 s still running 31–55 s later.Also seen: in 4 of 16 runs the process did not end after the exception and stayed not responding until killed. That matches what #742 and #967 address; I did not test them.
Not tested:
XCL_HEAP_WINDOWS=1in a title run; #1273; thread dumps withXCL_PSO_WAIT_MS=50on this machine.AI use: Claude Code with Claude Opus 5.5 ran the builds and runs above, read the dumps and wrote this report.
Imported from ivall/xcl. Originally posted by LocranKing on 2026-11-24T18:50:56Z.
Retest on clean
main9e3831ewithXCL_PSO_WAIT_MS=50(and default /XCL_HEAP_WINDOWS=1comparisons) on an 8 GB NVIDIA desktop card.Setup
8024 MiB VRAM, wave32), driver32.0.16.210131.8 GBRAM26200main9e3831e1f570d3646e53ab753b19ec07eb8f1485,--release,rustc 1.100.0, DXC1.9.2602.17XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PSO_PRELOAD=0 XCL_RUN_SECONDS=300,XCL_PRESS_A_ATevery 4 s from 20 s to 80 s + 90, 100.skipped)>= 5 s)XCL_PSO_WAIT_MSunset)0/0)0x887a0006device removed at133.8 s(title0x80000003at+0x2474606)XCL_PSO_WAIT_MS=50(default switch form)12,389/18,750)+0x23cf683(0xc0000005) at204.8 sXCL_HEAP_WINDOWS=1(XCL_PSO_WAIT_MSunset, cold heap cache)0/0)+0x23cf683(0xc0000005) at195.8 sXCL_PSO_WAIT_MS=50+XCL_HEAP_WINDOWS=1(warm heap cache)0/0at 74.8 s; 2 binds skipped at 89.0 s)0x887a0006device removed at89.8 sWhat changed with
XCL_PSO_WAIT_MS=50(default switch form):65,536+textures kept in step,9,900 / 10,176 MBtarget pages,2,304 MBsparse pools,14,446 MBlocal VRAM,30,799 MBpeak commit) with0device removals and0xboxbvhbuilder40-bit errors.148.8 sand204.6 s, GPU wait timeouts began (pending title ID3D12Fences during GPU wait timeout), followed from179.6 sby repeatedsparse: the queue has not reached fence value ... after 5 s (at 39141)warnings (11 logged), while the background workers hit large switch-form compute builds (38,865 msfor829 KB DXIL,26,485 msfor610 KB,25,680 msfor494 KB,7builds>= 10 s).0xc0000005at+0x23cf683(204.8 s), after which the title's crash filter stayed wedged holding~30.4 GBcommit until terminated (matching #1498).Not tested:
XCL_PSO_PRELOADenabled, repeats per configuration, D3D12 debug layer (0x887A002Dunavailable).AI use: Antigravity (
Gemini 4 Neon) ran the builds and title tests on this machine and drafted this report from the captured logs; reviewed before posting. No game files attached.Imported from ivall/xcl. Originally posted by tatazildo on 2026-11-24T18:54:10Z.
Follow-up:
c160d86— substantial pipeline translation improvement, same crashTested current main again on the same hardware and driver configuration as my previous comment.
c160d86ef2efe3a07e4dfb473e4fa72eafb413c0XCL_DIRECT_DXILunsetXCL_PSO_WAIT_MSunsetRuntime comparison
47efa2ec160d86Approximately 15.6 times as many pipelines were successfully translated before the crash, despite fewer presents.
The runs were not duration-matched, so this is not a measured compilation speed multiplier.
Unfortunately, the same fatal-error signature persists:
The recorded stack matches my previous runs. The report also continues to contain mesh pipeline refusals (MS in the AS slot).
Synthetic validation
I also tested the newly merged direct DXIL implementation on my Ampere GPU:
Direct DXIL mesh rendering, vertex/pixel rendering, texture sampling, split-wave64 operations and sparse VRAM tests all passed.
The synthetic results are encouraging, although some hardware-specific and optional sample tests were skipped.
AI disclosure: ChatGPT assisted with test procedures, diagnostic analysis and preparation of this comment. All tests were performed on my own hardware.
Thanks again for the continued development!
[GH #846] GTA VI 1.0.2.1 (RTX 5070): reaches the end of the first-run setup, then deterministic 0xC0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683to [GH #846] The retail title 1.0.2.1 (RTX 5070): reaches the end of the first-run setup, then deterministic 0xC0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-24T19:32:03Z.
RTX 5060 Laptop 8 GB / 31 GB RAM datapoint on
c160d86— and a machine-side confounder worth excluding on small-RAM rigs.The stop reproduces exactly as reported:
unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0)at t+247.9 s, return addresses+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215ecaon the stack — byte-for-byte the same signature as the reports above. Before it: world setup ran,45006 draws with translated pipelines (512 skipped, 116 with PC pipelines), 12825 dispatches, DirectStorage streaming OK,XCL_PRESS_ATA-script running (the black-screen intro-with-audio is indeed input-gated — the internal press script moves it along).Confounder we hit first and should save someone a day: at story load the process commits ~124–127 GB (
memory:lines; video 11.5 GB local + 5 GB non-local, target pages ~8 GB, arenas, sparse pools). On a 31 GB RAM machine with the default auto pagefile (13 GB -> 44 GB commit cap) the first runs looked like "whole process deadlocks at story start, 0 CPU, 0-byte crash dump, evenpowershellrefuses to start with0x800705AF(paging file too small)". That was commit exhaustion, not a lock. Static pagefile122880 143360(commit cap now 151 GB) removed it; the runs now reach the real stop instead of thrashing. Anyone on <=32 GB RAM seeing "silent whole-process freeze at story load, logs stop mid-line" should checkWin32_OperatingSystem.TotalVirtualMemorySizevs the title'smemory:line before analyzing stacks.Setup: retail 1.0.2.1, Series X profile,
XCL_NETWORK=1(arcCreateTicketXblstill fails with0x80072EFD— no real XBL token exists offline — the title walks past it),XCL_PSO_WAIT_MS=50 XCL_ACTIVITY=1, warm DXIL cache, plus a local vendor shim inCheckFeatureSupport(features >= 0x20000000 answered supported with 0xFF data) that removes the older+0x2474606wall — with that,c160d86's direct DXIL path compiles 8760 shaders in the first 24 s on this laptop.Compute PSO build times seen in this window: several 5-17 s, consistent with the #924/#1273 chain analysis. Matches the 30 s watchdog reading; nothing here separates pending-streaming from pipeline-backlog as the trigger either.
Imported from ivall/xcl. Originally posted by rnold182 on 2026-11-24T21:23:13Z.
RX 9070 (AMD, RDNA4): the process's commit climbs ~1.5 GB/s from ~22 s until it runs out at ~65 GB, with video memory flat
Setup: AMD Radeon RX 9070 16 GB, Adrenalin 26.11.2; Ryzen 5 9600X, 32 GB RAM; Windows 11 Pro 26300. Commit limit 49 GB (system-managed page file at 17 GB at the start of the run). Release build of
main177cd40(cargo build --release --workspace, no local changes), DXC 1.9.2609.5. Retail 1.0.2.1, Series X profile.Settings:
XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_HUGE_PSO_CONCURRENCY=8,xcl run <folder>.What happens: the title presents at ~30 fps through the first screens, then the host aborts at ~53 s:
XCL_ACTIVITYmemory lines (process commit):From ~22 s the commit grows by 1.3–1.6 GB per second, steadily, while:
So the growth does not seem to come from XCL's GPU-side memory, DXC, or streaming. I can't tell from the log what is being committed.
The same machine on
e9e94ce(#1321 included) ended the same way at ~140 s (memory allocation of 934250 bytes failed), and on4178e88an earlier run reached 266 s / 6,600 frames at ~61 GB commit before a null read in the title (0xc0000005at+0x4b4c, read at0x3c); the process then hung holding the memory until killed.Also seen on this machine (same day's
main):XCL_DRED=1: four runs onb9b6ea6never got past the first presented frame (black screen, 1–2 presents). Without it the same build presents normally.Not tested: a larger fixed page file, NVIDIA,
XCL_DIRECT_DXILon the currentmain.AI use: Claude Code (Claude Opus 5.5) read the logs and drafted this comment; the runs and numbers are from my machine.
Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-24T21:56:31Z.
Follow-up datapoint from the same RTX 5060 Laptop 8 GB / 31 GB rig, now on
main1d027e5(includes the merged #605, #1791 and #1747 TilePool rewrite;XCL_PER_LANEleft off). The stop is unchanged:unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0),rax=0 rbx=0 rcx=0x70024c348 rdx=1, return addresses+0x4e4ba89, +0x2215c35, +0x71b9a20, +0x2215eca— identical to my earlier comment, only earlier in wall time: t+155.7 s (was t+247.9 s onc160d86).Three machine-side changes since that comment, which reshape the memory picture:
XCL_ADAPTER+ GPU preference; the earlier run's 11.5 GB "local" was the Intel iGPU) andTdrDelay=60+ reboot: this removed the0x887a0006device-removed class that previously killed the run before the stop under DirectStorage/compute bursts. The GPU stays healthy through the whole run now.XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1(local port of #1702 onto this tree) andXCL_HEAP_WINDOWS=1: at the stop, video memory is 4.3 GB local / 15.2 GB non-local, target pages 9,979 MB (pools 10,176 MB) — and process commit is only ~31 GB, not the ~124 GB of my first datapoint. So on this rig the 120 GB pagefile is no longer the binding constraint, and the stop happens with commit nowhere near the limit — unlike the AMD commit-climb pattern reported above, which we do not reproduce.UpdateTileMappingspath is confirmed active in the run (system-memory pool log line + new TilePool). It changes tile bookkeeping but does not move the stop; DirectStorage is still streaming in the final windows (531 requests / 61 MB in the last 2 s sample at t=178) when the title takes the null write.So on NVIDIA the stop is a clean, reproducible
0x23cf683null write at ~t+156 s with a healthy GPU, modest commit and active streaming — 60 MB crash dump retained locally if any stack detail would help.Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-24T22:22:59Z.
Retest from the RTX 5060 Laptop 8 GB / 31 GB rig above, now on
main689f2db(PR #1679 direct-DXIL follow-up merged into ourpr887tree), withXCL_PSO_WAIT_MS=50set from the start. The stop is unchanged:0xc0000005write at 0x0 atgame_scarlett_master.exe+0x23cf683,rax=0 rbx=0 rcx=0x70024c348, now at t+131.4 s (was 155.7 s on1d027e5). GPU stays healthy, commit flat ~31 GB, video 4.1 GB local / 15.2 GB non-local, DS streaming until the end.One measurement from this run that may matter for the watchdog story: the two compute PSOs built just before the stop are synchronous here, e.g.
plus a 501,444 B DXIL build at 28,895 ms ~19 s earlier. A
huge, wanted at once (no slot)build looks like it binds synchronously regardless ofXCL_PSO_WAIT_MS, and 47 s exceeds the ~30 s window the title watchdog allows - which fits @Krashgamer's render-thread chain: a thread pinned in such a bind stops checking in and the title ends itself. On this rigXCL_PSO_WAIT_MS=50therefore cannot be the cure while the driver needs longer than the watchdog on huge DXIL. Will try a precompile pass over the big CS pipelines next and report.(497 compute PSO builds in the run, max 47.4 s; DXIL cache warm;
XCL_HEAP_WINDOWS=1 XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1active.)Imported from ivall/xcl. Originally posted by Dezmonius on 2026-11-24T22:29:40Z.
Additional first-run data point for the desktop RTX 5070. Windows 10 22H2 (19045.6466), i7-7700K, 32 GiB RAM, NVIDIA 610.88, XCL
9039900built in release, local Agility SDK 1.618.5, DXC 1.8.2502.11,XCL_NETWORK=0, title 1.0.2.1. Both runs captured at a 3840×2160 source extent.On the same PC, I moved the package from a SATA HDD to an NVMe SSD. XCL and the shared DXIL cache were on the NVMe drive for both runs. The first sampled PLAYER1 screen was at 59.6 s from the HDD and 36.0 s from the SSD. A 60-frame interval bounded by identical captures of that screen averaged 7.83 and 7.25 FPS respectively. This was a sequential comparison with a reused cache, so it does not isolate the storage effect.
The HDD run reached first-run setup and ended at the 300 s timer with 2,125 displayed frames. The SSD run progressed through setup into a subsequent loading screen, with 4.3–4.5 FPS over the later 300-frame windows. I stopped it externally at 232 s when system commit headroom fell below the 3 GiB reserve. The last recorded process commit was about 21.4 GiB. The last sampled frame was 980. No title exception or device removal was logged before the stop. These later phases are not a like-for-like FPS comparison.
Windows 10 detail: as the DXC files were initially stored on the drive mapped to the console's game path, the preflight reported DXC 1.8 but the game host loaded the installed SDK's 1.4 and rendered black frames. Pointing
XCL_DXC_DIRto the same signed DXC 1.8 files on the NVMe drive kept both processes on 1.8 and made the first-run screens visible.No game files, captures, dumps or raw logs attached. AI use: Codex assisted with the local test harness, log analysis and report.
Imported from ivall/xcl. Originally posted by AmateurWizrd on 2026-11-24T23:57:26Z.
RTX 5070 Ti 16 GB, plain
main1d027e5, default settings: the abort atexe+0x23cf683no longer fires here, the title stays alive with no presents instead. WithXCL_SLEEP_HOLD=0the abort is back 28.4 s after the last present. So on this card the stop is held off (#1288's sleep rule), not removed.Same scripted route in every run (fresh title state, button presses by
XCL_PRESS_AT, last press at 124 s),XCL_RUN_SECONDS=300:exe+0x23cf683XCL_PSO_WAIT_MS=50(plus threeXCL_PROBEbreakpoints)XCL_SLEEP_HOLD=0driver compile startlines for compute pipelines keep coming after 120 s (8 in run 1, 44 in run 3).unhandled exception 0xc0000005atexe+0x23cf683(write at address 0x0) at 154.471 s.c160d86this machine and route gave the abort at 153–159 s in six of six runs (three with default settings, three withXCL_DIRECT_DXIL=1).For anyone comparing against earlier reports: a default run of current
mainthat ends without this exception is not by itself a sign of getting further.XCL_SLEEP_HOLD=0gives the old behaviour back for comparison.Tested
1d027e5c7(main), clean tree, release build,xcl runwithXCL_NETWORK=0 XCL_ACTIVITY=1, the retail title, package 1.0.2.1--test-threads=4): 958 passed, 43 ignored on this card, and the same counts on the integrated AMD Radeon (64-lane waves) with and withoutXCL_SPLIT_WAVE64=1; one test (test_title_runs_and_game_folder_is_untouched) fails here for a local reason (the tests ran under an account without write access to the test's folder)Not tested
XCL_PSO_WAIT_MS=50run1d027e5; an empty shader cacheAI use: omp. Claude Fable 5.2 ran the tests and wrote this report; Claude Opus 5.5 read the logs.
Imported from ivall/xcl. Originally posted by IAmTheSween on 2026-11-25T03:19:16Z.
Independent data point on a desktop RTX 5070, current
maincbc296ab65. Same conclusion as@AmateurWizrd's 5070 Ti result: with defaults the
0xc0000005does not fire here at all, andXCL_SLEEP_HOLD=0brings it straight back.Setup
maincbc296ab65,cargo build --release -p xcl, rustc 1.100.0, DXC 1.8.2502.11e95020b2…(the hash CL published)XCL_NETWORK=0,XCL_ACTIVITY=1XCL_SLEEP_HOLD=0XCL_SLEEP_HOLD=0unhandled exception 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0)at t+58.5 s, process ends0xc0000005The stop address is one of the return addresses already in this thread:
+0x2215c35, with+0x71b9a20and+0x2215ecaon the stack, so it is the earlier stage of the same family, not+0x23cf683. The last thing before it is a burst ofD3D12.X: video-memory arena #9..#12lines(119 MB → 149 MB of arenas made).
No device removal in any run.
report.jsonof the clean runs has an emptycrashandpresents: 5620/1835.Suite on this machine at the same commit (
cargo test --workspace -- --test-threads=4): 1094passed, 4 failed, 26 ignored, 25 SKIPPED; the 4 failures are the
gpu::dxil::fuzz_testsPSO0x8007000E, reported in #42.Written by OpenCode with DeepSeek V4.1 Flash Abliterated, from the runs above.
Imported from ivall/xcl. Originally posted by justrhoto on 2026-11-25T06:22:01Z.
RTX 4070 Ti SUPER,
XCL_PSO_WAIT_MS=500: the abort at+0x23cf683with the title's submit thread intitle_textures::refresh→texture::upload_batch→gpu::fence::wait, which the sleep hold (#1288) does not countThis fits @AmateurWizrd's result that the abort comes back when the sleep hold does not apply. With a bind budget, binds stop holding the title after 500 ms, so a different long wait in XCL is what runs out the title's stall check.
Run: retail title 1.0.2.1, release,
XCL_PSO_WAIT_MS=500andXCL_DIRECT_DXIL=1, nothing else set. Build:main6020a33+ #751 + #1686 (rebased) + #2076, local commitd9e3a89. None of these PRs touchgpu/texture.rs,gpu/fence.rsorhle/kernelx.rs. #751 changes howtitle_texturesreads the title's memory before an upload, not the upload or its wait.unhandled exception 0xc0000005 in game_scarlett_master.exe+0x23cf683 (write at address 0x0) rax=0x0 rbx=0x0 rcx=0x70024c348 rdx=0x1at 471.3 s. The same registers as in this issue.GPU queue.Wait … did not complete within 5000 ms(values>= 0x999and>= 0x99a, waiters on q0–q3, producers on q1–q3), all released on the CPU.console code so far) until the abort 31.7 s later. Those progress lines are sparse, so this is an upper bound on the gap, not a measured one.ExecuteCommandLists: The stall-check thread is inSleepat+0x23cf735.upload_batchwaits on the CPU up to 10 s for each batch, andpso_async::title_heldis false then, so the stall check counts that time. Notexture copy:error was logged, so I can't tell from the log whether a single wait ran out or several batches in a row waited.I can run #1782 (and #455, which conflicts with
mainhere) on top of the same tree with the same settings, if that helps decide between them.Hardware: RTX 4070 Ti SUPER 16 GB, driver 32.0.16.1088; Ryzen 5 5600X3D (6 cores, 12 threads); 64 GB RAM; Windows 11 Home 26200.
AI use: Claude Code (Claude Opus 5.5) read the logs, symbolized the dump and wrote this comment. I ran the title.
Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-25T06:27:38Z.
Warm driver-blob cache +
XCL_PSO_WAIT_MS=2000on RTX 5060 Laptop 8 GB:+0x23cf683no longer fires; run dies later as0x887a0006device-removed at t=334 s. Measured datapoint.Setup: pr887 tree = origin/main
689f2db+ merged 605/800/1046/1053/615/242/1702/1795 (no local XCL code changes). Precompiled the CS set once withxcl.exe shaders C:\game\shaders.rpf --precompile --only cs --pipelines(2805 driver blobs on disk), then one title run withXCL_PSO_WAIT_MS=2000,TdrDelay=60,XCL_TEXTURE_PAGES_SYSTEM_MEMORY=1,XCL_HEAP_WINDOWS=1. No rebuild between seeding and the run.Warm run vs the 23:17 cold run (same exe,
XCL_PSO_WAIT_MS=50):driver blob supplied, 0 absent, 0 refused-adapter; the 39huge, wanted at oncedemands were all served from disk (no 28-47 s sync builds).0xc0000005 +0x23cf683write-at-0 at t=131.4 s. This warm run never hit that exception. Last activity window with presents: t=98.1 s (12 presents/2 s). From t=100.1 s: 0 presents for the rest of the run, while draws/dispatches/DirectStorage kept running (last nonzero window t=332.3: 25 draws, 17 dispatches, 29 DS requests).D3D12 device removed: 0x887a0006at t=334.2 s, 1.1 s after aWait64BitValueX ... bridged to GPU queue.Wait (wait-before-signal)line at t=333.1 s; then the title's int3 at+0x2474606(rcx=0) at t=334.208 — which I read as a consequence of device loss, not the vendor-feature wall.TdrDelay=60was active, so something on the queue hung > 60 s rather than a slow aggregate of short compiles.Reading: on our rig the cold-blob sync compiles +
PSO_WAIT_MS=50were sufficient to produce the+0x23cf683death; removing both moves us onto the device-removed/never-finishing-dispatch class others report at world load (qcdaark / HKEY-Funk-Machine / joeypercia patterns).Run #2 is underway with
XCL_GPU_CULPRIT=1on the same seeded cache to name the stuck dispatch; will post the named program here.Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-25T06:35:22Z.
Follow-up with the run #2 result, including a correction:
XCL_GPU_CULPRIT=1as promised — it produced no culprit output. Checked the source tree: it is origin/main 689f2db-based, andXCL_GPU_CULPRIT/XCL_GPU_PROFILEdo not exist there (onlyXCL_X_SPINis present). The flag was silently ignored. Anyone on a pre-XCL_GPU_CULPRITmain thinking the knob is active because the env var is set: it is a no-op.driver blob supplied, 0 absent, 0wanted at oncethis time — the 39 from the previous run were the now-disk-served set). Last activity window with presents t=104.8 s (1 present); from t≈107 s: 0 presents, all-zero activity windows by t=136.0x887a0006device removed at t=122.3 s, then title int3+0x2474606at t=122.301.So two identical warm runs died device-removed at t=122.3 s and t=334.2 s respectively — last-present in both runs at t≈98-105 s, i.e. the stop happens within ~20-230 s of entering the zero-present streaming phase, non-deterministically. Matches the "chain is card AND timing dependent, a single clean run proves nothing" finding from #675.
Next controlled run on this rig:
XCL_PSO_WAIT_MSunset entirely (wait-forever / zero-skip), per the HKEY-Funk-Machine datum that unset produced no device removal in 360 s on RX 9070. Will report.Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-25T06:38:54Z.
Follow-up on my warm-cache comment: with the A-press schedule densified into world load, the death moves to t~125 s — and the 15 s before it are the cycle-guard warning class.
Two more runs on the same seeded driver-blob cache (2805 blobs; this time 297
driver blob supplied, 0 absent, nowanted at onceat all):XCL_GPU_CULPRIT=1+XCL_PSO_WAIT_MS=2000, A presses every 15 s (25..320 s): device loss, crash dump at t=125 s (title crash report: Frame 610,Game Running, 723 streaming requests, TileHeap 3.6/6.2 GB).XCL_PSO_WAIT_MSunset (zero skips, per @HKEY-Funk-Machine's model): identical end —D3D12 device removed: 0x887a0006at t=125.0 s, the title's int3+0x2474606(rcx=0) in the same instant, crash report Frame 618, 612 streaming requests.Run #3's log, t=110.2-113.0 s: 9 ×
D3D12.X: Write64 Signal at 0x70417f... on q0..q4 would close a GPU cycle (waiters=[q0,q2,q3]) - signalled on CPU, then device loss at 125.0 s, then all-zero activity windows. The denser A-press schedule moves world load (and the death) earlier — from t=334 s with my earlier sparse schedule to t~125 s; last-present->death no longer discriminates between 2000 and unset: skipping is not our variable anymore.On our rig the end now reads like @humsterbumster's and @justrhoto's direction: just before device loss the queue is waiting, fences that would close a GPU cycle are broken on CPU, and there is no sync-build path left (2000/unset
PSO_WAIT_MS, zerowanted at once). Next on this card: naming what is actually in flight at the removal (Aftermath-style). Run #2's log rotated before I could grep its cycle-guard lines; the dump is kept.Imported from ivall/xcl. Originally posted by JRamos1993 on 2026-11-25T07:09:03Z.
RTX 5090 on current
main568e7db(with #1288): no stop in 300 s, but no frame after 92 s. The world load is still building the title's compute pipelines when the run ends.Setup: RTX 5090 32 GB, driver 621.24, i9-14900KF, Windows 11. MSVC release build, retail title 1.0.2.1,
XCL_NETWORK=0, A at 25 s, 300 s runs. The driver-blob cache was partly warm from earlier builds: 863 blobs at the start of run 2.0xc0000005in XCL'stitle_texturesat 42.7 s (the read #751 fixes; I posted it there)XCL_RUN_SECONDS): no device removed, no title crash, no watchdogRun 2 is what @Rednaxeh describes on RDNA3 for current
main: the watchdog is gone, and the load is bound by the driver compiling the pipelines the title binds. Every activity window after 92 s has 0 presents. Nowanted at oncelines, and no device removal in 300 s on this card, unlike @Tanju42's runs, which died with0x887a0006at 122–334 s.This is one run per row, and as #675 found, one clean run proves little. With 160 more blobs cached, a third run would likely get further; I stopped here to leave the machine idle.
AI use: Claude Code with Claude Opus 5.5 built
main, ran the title and wrote this. No title data beyond XCL's own log counters.Imported from ivall/xcl. Originally posted by Tanju42 on 2026-11-25T07:11:27Z.
Third warm datapoint, this time testing the
0d25b89cache-flush-as-UAV-barrier fix in isolation on our rig (RTX 5060 Laptop 8 GB):0d25b89onto the previous tree (689f2dbbase) with an env kill-switch added; identical binary otherwise, same seeded driver-blob cache,XCL_PSO_WAIT_MSunset (zero skips).0x887a0006at t=121.8 s; last present-bearing window t=104.7 s. With OFF: t=125.0 s. Same class, same timing — the cache-flush barriers do not move this wall on our card.Tree rebuilt onto a base with
gpu_profile(#2057) so the next runs can name the stuck dispatch; will report the named program.Imported from ivall/xcl. Originally posted by JRamos1993 on 2026-11-25T08:28:06Z.
Follow-up: six more warm runs of
main568e7dbon the RTX 5090. Nothing crashed and no device was removed, but every run stops presenting at 80–84 s and stays black to 300 s. Same build and setup as my comment above (A at 25 s,XCL_NETWORK=0, 300 s each, back to back).unhandled exception, 0 device removed. (Run 1's crash is thetitle_texturesread posted on #751.)95cc13288a27a96e,driver blob absent): from run 7 on, its driver compile starts at about 4.7 s and has not finished when the run ends at 300 s, in all three runs. I did not check whether the title waits on it or only a worker.So on this card, with #1288 in, the remaining stop is the build time of the title's huge compute programs, not a crash or the watchdog. Nine runs were not enough to cache them all.
AI use: Claude Code with Claude Opus 5.5 ran the title and wrote this from XCL's log counters. No title data beyond XCL's own logs.
Imported from ivall/xcl. Originally posted by jennydeth on 2026-11-25T17:57:38Z.
RTX 3060 12 GB on current
main06c9f55: no crash and no device removal in 600 s, but no frame after ~100 s. The load is still driver-compiling compute pipelines at the end, including record95cc13288a27a96e(#1307), which had not finished 136 s after it started. On the same machine, the oldera1672efcrashed with this issue's+0x23cf683(rcx=0x70024c348) at 121 s on the same route.Setup: NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2101 (wave32), Ryzen 5 5600X, 32 GB RAM, Windows 11 Pro 10.0.26300.9974. Release build, DXC 1.9.2609.5 (
XCL_DXC_DIR), retail title 1.0.2.1,XCL_NETWORK=0,scripts/smoke.ps1 -Seconds 600. Profile already past the first-run flow from earlier runs, so the title goes from its start screens straight into the story load. Driver-blob cache partly warm from ~6 earlier runs today.Input:
XCL_PRESS_AT=20:A,24:A,…,56:A,60:DOWN,70:DOWN,72:A,80:A,83:DOWN,85:A,88:DOWN,90:A, then A every 5 s to 166 s. (On a fresh profile this is the route through Legal Notices: A alone keeps reopening "Copyright", and "Next" only enables after the photosensitivity page's countdown; then the two terms checkboxes and Confirm. With the flow already done, the extra presses land on loading screens.)main06c9f55(this run)a1672ef(same machine, same route, earlier today)XCL_RUN_SECONDS)0xc0000005write at 0x0,+0x23cf683, 121 swould close a GPU cyclelinesrequest failedAfter the last present (100–600 s): 250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches in all, the last busy window at ~588 s. So the title is not hung; it is waiting on pipelines.
Pipeline builds: 47 driver compiles started, 46 finished; 36 of them took ≥ 1 s (394 s of build time in all), 3 took ≥ 20 s.
driver blob supplied10,driver blob absent37,wanted at once0. The tail is the same shape as the RTX 5090 runs above, slower:95cc13288a27a96e:15008 KB of HLSL would compile unoptimised – direct DXIL instead (2363 KB),driver compile start #1626 … 2420640 B DXIL … driver blob absentat 463.9 s, no finish line by 600 s.Memory: commit reaches 29.0 GB by 120 s and stays at 28.8–30.8 GB to the end, on a 32 GB machine (video memory 13.9 GB local, 4.7 GB non-local at the end). That is roughly double the ~15 GB the README gives for the menus. I have not checked whether that is expected for a world load or a separate problem.
Not tested: whether the world appears given more time (the run ends at 600 s with #1626 still compiling); a fully cold driver cache; AMD / wave64; any open PR on top of
main.AI use: Claude Code (Claude Opus 5.5) built
main, worked out the input route, ran the title on my machine, read the log and wrote this.Imported from ivall/xcl. Originally posted by xpatfussy69x on 2026-11-26T02:19:37Z.
RTX 3060 12 GB on
mainb49be18, with the compute pipelines built ahead (--used-only): almost every compute pipeline then comes from its driver blob, the compile wall goes away, and the next run loses the device (0x887a0006) at 69 s in the story load. One run of each, so the timings are rough.Setup: NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.2124 (wave32), Ryzen 5 7500F, 32 GB RAM, Windows 11 (26300), release build, retail title 1.0.2.1, profile past the first-run flow.
XCL_NETWORK=0, A every 4 s from 20 s,XCL_FRAME_DUMP=300, default settings otherwise,scripts/smoke.ps1.Built ahead:
xcl shaders shaders.rpf --precompile --only cs --pipelines --used-only(1 268 pipelines from earlier runs; 11 compile threads). 300 pipelines in the first ~8 min, then 50 more in 30 min on the big programs; I stopped it after ~48 min at 350.08db802, nothing built ahead (180 s)b49be18, built ahead, 1st (240 s)75862c583fd788f5(1 259 756 B DXIL, no blob) started at 33.6 s and took 194 383 ms in the driver; no frame while it built; no crashb49be18, 2nd (300 s, that blob now on disk)0x887a0006at 69.2 s, title stoppedThe 2nd run, just before the removal:
Local video memory was 12 326 MB at 68 s (the 13 824 MB title budget of #1337 on a 12 GB card). One other big program was still building without a blob: record
cbef13aafac162f4(1 222 308 B DXIL), from 22.5 s.So on this card the order is the one described above for others: the long driver compiles first, and once they come from blobs, a hang in the load. Whether the hang depends on the resubmitted list (#1452) or on video memory here, one run cannot say.
Not tested
title_memory_mblowered or with #2357.AI use
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-26T03:12:02Z.
AMD + Wine data point (RX 6950 XT / RDNA2, CachyOS, GE-Proton11-14 host, XCL built from
amd-dev+ MRs 175/393 rebased today + raw-fence/raw-command-list fixes for Wine vtable checks):Runs reach in-game reliably at a steady 30 fps with the coherent window capped (
XCL_COHERENT_MB=512, per #871's amdgpu userptr analysis — without the cap the title ran 0.7 fps while every amdgpu submit stalled; the cap fixed it outright).Then: deterministic
0xc0000005 write at 0x0 in game_scarlett_master.exe+0x23cf683atpresents≈1520-1580(~95 s), twice in a row, same presents count — the deliberate-watchdog-write signature per PR #1062 (thread exit path then shows+0x2215c35as in #746). Title version 1.0.2.1-CYBERLEEK. XCLwindow closednever reached; GPU side healthy (no device removal, 0 fallback pipelines, sparse upload/readback active).Question: on this title version is the world-load watchdog stall expected to need
XCL_PSO_WAIT_MS=50(testing now), or is #505's ListX #101 area still the blocker on retail 1.0.2.1? Happy to run instrumented builds — our stack builds in ~40 s and the Wine-specific fixes suggest more from-iface/adopt sites may need the raw-object treatment.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-26T03:45:12Z.
Follow-up on our AMD+Wine data point, now with
XCL_NETWORK=0+XCL_PSO_WAIT_MSruled out (the latter: 0 presents on AMD, #2577 disk-cache skip — wait window starves frame 1 with ~59k queued pipelines).Current shape on RX 6950 XT + GE-Proton11-14 + vkd3d master (
-Db_ndebug=true) + XCLamd-devrebased 2026-11-25 (+ raw fence/allocator/command-list fixes for Wine vtable checks):XCL_PRESS_AT, upstream bot trick) walks it ~40 s further.8192 page lists written after their request was enqueued), sparse upload/readback activity stops, no watchdog kill, no crash, thread dumps show everything parked. Full-system deadlock of title logic; process alive indefinitely (tested 14 min). NoListX#101 activity at all on this title/version — different stall from #505's.Question: anything we can instrument to see what the main thread parks on (wait-chain dump of the title's threads, or does XCL log the last-signalled handle anywhere)? Happy to run builds with extra tracing on Wine/AMD — the Wine-specific from-iface fixes above all reproduce reliably, so a trace we send you should be as good as a native one. Happy to run builds with extra tracing on Wine/AMD.
Imported from ivall/xcl. Originally posted by chenzhehao1129-eng on 2026-11-26T05:01:19Z.
One more data point for the "watcher stop is gone but nothing appears" shape, from an RTX 4070 Ti SUPER (driver 580.97, Windows 11 26100, Ryzen 9 9900X, 61.5 GB):
xcl runwith default settings: the title stops itself at 11,915 presents (about 6.5 minutes) with0xc0000005write at0x0ingame_scarlett_master.exe+0x23cf683,rcx=0x24c348, exactly as #1062 describes. Before it, three compute PSO compiles of 5,185 / 1,515 / 730 ms, and aCreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) … writing empty BVH descriptorwarning.XCL_PSO_WAIT_MS=50 XCL_NETWORK=0 XCL_ACTIVITY=1: no watchdog stop at all — 34,200 presents and still 30.0 fps after 19 minutes,0 draws skipped, commit flat at 14.6 GB. But the picture never changes: a dark screen with the intro audio playing (xapu: 67,157 Opus packets decoded, 0 errors), no spinner, no black-frame warnings. So we are in the state the reporter in #1617 calls "waiting on pipelines", except that presents keep coming at the display rate while the movie's frames never arrive.Two things that may be worth knowing:
XCL_NETWORK=0does not stop the Xbox Live sign-in retries on this title: the log keeps printingXUser: token #5 … #12 … CreateTicketXbl3 — none: no Xbox Live (0x80072EFD)through the whole intro. If a title thread is waiting on that call, dropping the network is not enough to rule the sign-in path out.PSO_WAIT_MS, so the black picture looks specific to the movie/world presentation path rather than a general device problem.Happy to run a build with extra tracing if that helps separate "PSO never finishes" from "finished but the present path is skipped".
No game data included; counts and timings only.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T07:52:47Z.
@crazymanjared a second AMD + Wine data point on
amd-dev, and a question about your Wine fixes so I don't redo them.Setup: RX 7900 XT (RDNA3), Mesa 26.2.5 RADV, Proton-CachyOS Wine 11, vkd3d-proton with dxil-spirv 53aac41.
amd-devb5c0275+ #1732 (with #867/#871/#877) + #684 + #1860 + diagnostics (#2244/#1734/#1656). Three newamd-devfences that would have got a Wine fence proxy go throughcreate_raw_fence(console_heap.rssignal_live_queues_for,vram.rssignal_device_queues,title_textures.rssubmit_on_title_queue). Retail 1.0.2.1, warm caches,XCL_DIRECT_DXIL=1.What happens: 3 of 3 runs at 30 fps until a deterministic crash at 104.5–106.7 s, before any
ListX #101:0xc0000005 in d3d12core.dll+0x56f58c (read at address 0x2a80). XCL's frame issparse::readback_now,sparse.rs:1903:s.queue.ExecuteCommandListsof the pooledReadbackJoblist (take_readback_job, from8549b14d"unlock sparse Map readback waits"), called from theres_maphook (aMapwith a read range on a sparse buffer). 7.8 GB RAM and 8.9 GB VRAM at that point.For comparison,
mainb49be18+ the same Wine stack + #2615/#2598/#751 presents to the end of 360 s runs (4 of 4, intro cutscene), so the stop looks specific toamd-dev's readback path under Wine.Question: do your "raw fence/allocator/command-list fixes" cover this
ReadbackJoblist, and did your tree already have8549b14d? If your fixes are on a public branch or in a gist, I'd test them here on RDNA3 rather than write my own.AI use: Claude Code (Claude Opus 5.5) ran the builds and runs and wrote this comment.
Imported from ivall/xcl. Originally posted by jennydeth on 2026-11-26T08:26:58Z.
Follow-up to my RTX 3060 run above, same machine, same
main06c9f55, same route: two more 600 s runs on warm caches, afterxcl shaders … --precompile --only cs --pipelines --used-only, still stop presenting at 94 s and 96 s. About 12 s later, with nothing compiling, the title asks for compute programs that no earlier run had built (0.89–1.21 MB of DXIL). The driver builds them one at a time, 44–85 s each for the ones that finished. In between, the title only issues a few dispatches. No crash or device removal in either warm run.Setup: as in the first comment (RTX 3060 12 GB, driver 32.0.16.2101, 32 GB RAM, release, DXC 1.9.2609.5,
XCL_NETWORK=0,scripts/smoke.ps1 -Seconds 600, the sameXCL_PRESS_ATroute). Before each run:xcl shaders "<game>\shaders.rpf" --precompile --only cs --pipelines --used-only. The first made 564 pipelines in 286 s; the second made 572 in 134 s, 571 of them from the driver cache.used-pipelines.txtwent 803 → 811 → 819 entries.After the last present:
95cc13288a27a96e(#1307), which had not finished in the first run. In run 2 the six records run 1 built also came back with a driver blob, at 9.2–9.5 s.So on this card, the programs earlier runs reached come back from the driver cache, and each warm run then asks for 5–6 new ~1 MB programs, 4–5 of which finish within the 600 s, most taking 70–85 s to build. Presents stop about 12 s before the first of these starts, so these logs do not show that the builds are what stops the presents.
Current
main08db802(600 s, same route, default settings, no precompile before it):With
XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1, all 2,689 compute programs built ahead on08db802(one process, 37.7 min, 8,684 pipelines, 0 refused):08db802): presents still stop at 100 s and 106 s, with no removal. After that the driver builds compute programs of ~0.6–1.0 MB, mostly 10–15 s each (8–22 s), one compute program after another.08db802): the long compiles are gone, but presents still stop at 102 s. The device is removed silently (0x887a0005) about 10 s after that.08db802, presents went on to 167 s and the device was removed at 320 s. The runs are in my comment on #2403.For comparison only: @bstillbstill's 3090 Ti (on #2057) reached the scene start on #2057's tree plus #1452's upload wait, and those runs then hit
0x887a0005/0x887a0006or stopped presenting between 70 and 84 s. Their setup differed in several ways (#2057's switches, a 24 GB card,XCL_PRECOMPILE_SLICEin 4 processes, whichmaindoes not have). Without the direct-DXIL switches, a full precompile on the HLSL path here was much slower: I stopped it after 825 pipelines and ~73 min.Correction to my first comment: "250 activity windows with 0 presents, 58 submits, 191 draws and 7 240 dispatches" counted the 2 s window ending at 100.3 s, which still had 3 presents (51 submits, 45 draws, 6 893 dispatches). The windows with no presents were 249, with 7 submits, 146 draws and 347 dispatches up to ~587 s. Nearly all of the submits and dispatches, but not the draws, fell in that one window.
Not tested: a full precompile on the HLSL path; more than two warm iterations on
06c9f55; default-settings runs longer than 600 s; AMD / wave64.AI use: Claude Code (Claude Opus 5.5) ran the precompiles and the runs on my machine, read the logs and wrote this.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T10:32:27Z.
@crazymanjared follow-up to my question above: the
amd-devcrash under Wine at ~105 s has a likely cause and a one-line fix here (cc @gustavsi for #867).Cause (read from the code, then tested once):
real::initbuilds the sparse state before adopting the device, somain's readback list is native.amd-dev's pooledReadbackJob(8549b14d) makes its allocator and list later, through the device XCL has already adopted, so thecreator!hook adopts them too.readback_nowthen submits that list withs.queue.ExecuteCommandLists, on a native queue: XCL'sq_execute_command_listshook, and #867's per-listUnadoptGuard, are never in the path. vkd3d-proton'sd3d12_command_list_from_ifacedoes not know the replaced vtable and returns NULL, and the submit reads through it (the crash reads at 0x2a80 ind3d12core.dll). A vkd3d-proton with the relaxedfrom_ifacepatch from #175 would not see it.Fix tried: in
sparse::readback_now, right afterjob.list.cast::<ID3D12CommandList>(),let _native = super::real::UnadoptGuard::new(job.list.as_raw());for theExecuteCommandListscall (the same pattern #867 uses inrunner.rs::submit_list). A cleaner form would make the job's allocator and list through the device's original slots, ascreate_raw_fencedoes for fences.Result (RX 7900 XT, RADV, Proton-CachyOS Wine 11,
amd-devb5c0275+ #1732 stack + #684 + #1860 + diagnostics; one 200 s run): no crash in 210 s, against 3 of 3 runs crashing at 104.5–106.7 s without the guard. The title then reachesListX #101at 138.6 s and stops presenting 1.5 s later (amd-devhas no #2615), with 0 device removals.The same shape exists on
nvidia-dev(rb_job/pc_execute, and #2749 keeps it), so it may bite any Wine user with an unpatched vkd3d-proton there too.Not tested: more than one run, Windows (where the hook path does not matter),
nvidia-dev.AI use: Claude Code (Claude Opus 5.5) traced it with a read-only agent, made the one-line change, ran the run and wrote this.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T17:50:31Z.
@crazymanjared, about your
amd-dev+ Wine runs here (7181485724, 7181993146): the+0x23cf683stop at ~95–100 s and the "complete quiet" (presents, DirectStorage and uploads stopping at the same instant) both came down to the sparse readback path on our side, and with it fixedamd-devc32c91a3gets through the world load into the playable part under Wine (RX 7900 XT, RADV), 600 s runs with 0 crashes and 0 GPU faults. Still slow there (~1 frame/s), as on Windows in #2688 / #2619. cc @raylitebull, since most of this isamd-devcode.What it took on top of the Wine stack (#877 with #867/#871, #684, #1860, #2244, #1656, #1734; not #1732, see 4)
q_execute_command_lists: theown_workfast path (b3931948) hands XCL's own lists to vkd3d-proton with the extended vtable → read at0x2a80ind3d12core.dllat ~3 s. AnUnadoptGuardon each list fixes it.sparse.rs: the three directExecuteCommandLists(upload slots,readback_ranges,readback_now) submit lists made after device adoption on queues made before it → same crash at ~50 s.UnadoptGuardaround each.amd-dev: #2842): the waits on the reused event could end early on a stale signal (193 of 201 "after 5 s" lines in one run), and a timed-outreadback_nowdropped its job with the copy still queued, so the copy later wrote into a freed buffer: on RADV a[gfxhub] page fault … CPG … RW 0x1, a GPU stall, then the title's watchdog+0x23cf683.Mapreadback ordered behind every title queue (wait_title_queues_for_readback) waits for a queue that is itself waiting for the CPU that waits for theMap. Not orderingMapreadbacks behind title queues under Wine fixed it (with it: 6 real 5 s waits in a row, then the watchdog; without: none). Readbacks after a submit put off while their queue has a bridgedWait64whose producer is not submitted, and read back by a worker once the queue's own fence passes (#1732's idea). Details for those two on #1732.create_raw_fence) forrb_queue's fences,queue_fences,console_heapandgpu_awake.Env:
XCL_PSO_FRAME_BUDGET_MS=2000(without it, 0 presents after#101),GLIBC_TUNABLES=glibc.malloc.arena_max=2(unix-side malloc arenas held 1.6 GB+ by 600 s).You wrote that you carry raw fence / allocator / command-list fixes for the Wine vtable checks: are they public somewhere? 1, 2 and 5 probably overlap them, and I'd rather test yours than post duplicates. The full diff of our tree is available if useful.
Not tested: Windows (3 is the only part that changes it); NVIDIA; more than 2 runs of the final tree.
AI use: Claude Code (Claude Opus 5.5) ran the runs on my machine, found and wrote the fixes, and wrote this comment; a second Claude Code pass (Claude Fable 5.2) reviewed them.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-26T18:31:29Z.
@GreemSC AMD+Wine retest on your recipe — RX 6950 XT (RDNA2), GE-Proton11-14, vkd3d-proton master
-Db_ndebug,XCL_NETWORK=0 XCL_COHERENT_MB=512 GLIBC_TUNABLES=glibc.malloc.arena_max=2.Tree:
amd-devc32c91a3+ your #2842 (both commits) + #684 + #871 + #1860 + #877 + the Wine vtable stack (#867/#2477 as posted) + your items 1 (UnadoptGuard on theown_worksubmit), 4 (no title-queue ordering for Map readbacks under Wine) and 5 (raw fences forconsole_heap/gpu_awake/rb_done_fence).Answer to your question — our fixes, not public until now, details here so you can dedupe:
real::create_raw_fence(device's original CreateFence slot): sparsequeue/rb_queuefences,signal_device_queues,late_release,alloc_pool,list_x,cpu_writes,present,vramretire — so un-adopted internal queues never see a FenceProxy or an adopted fence.real::create_raw_command_allocator/create_raw_command_list(same orig-slot pattern) for the sparse upload slots and the pooledReadbackJoballoc+list: creation never goes through thecreator!adoption hook, so your items 2's three directExecuteCommandListssubmit already-native lists and need no per-submit guard (it also kills the older ~2.5 min crash where vkd3d'scommand_list_from_ifacereturned NULL on a hazard scan).With those, both runs are clean of your #3's symptoms: 0
has not reached fence valuelines, no RADV page faults, noWait64BitValueXtimeouts.But on RDNA2 the wall itself stays: two 2 min runs (
XCL_PSO_FRAME_BUDGET_MS=2000, one adding #684/#1860/#877):+0x23cf683(write 0x0) at 2,400–2,730 presents, 100–110 s, and no ListX#101call at all on this card. The title context at death shows it is in the world:Game State: Game Running, player at (-1782, -1913, 5), 3,698 streaming requests, TileHeap 1.9 GB used — it starves there instead of passing through.The starvation shape:
background_pipelines [1800 done, 0 running, 81365 queued]with everyxcl-pso-*/xcl-pso-pre-*worker sitting in a wait — the queue is full and the pool idle, like the RTX overlay in #616 7131637486. Presents hold at exactly 30 fps through the cutscene, then the watchdog ends it before#101.Three questions:
Wait64piece, or something in how your tree names/releases pipeline builds.translated_pipelines/background_pipelinesin your 600 s runs at world entry — does your pool drain the ~80k queue (RDNA3 driver-blob naming per #2577?), or does the title stop asking? On RDNA2 1,800 done / 0 running / 81k queued looks like a build-budget gate rather than slow compiles (0 failed, compiles themselves are fast here).XCL_PSO_FRAME_BUDGET_MS=2000right for RDNA2 too? A run with the default (12 s) andXCL_THREAD_DUMP_AT=105,125,145,165is going now; I'll post the dumps.AI use: Hermes agent (Nous Research) built the tree, ran the runs, drafted and posted this; runs and numbers are from our machine.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T19:13:39Z.
@crazymanjared thanks for the retest and for posting your fixes. Answers:
Our tree: https://github.com/GreemSC/xcl/tree/amd-dev-wine-tree-c, one commit on
amd-devc32c91a3(the commit message lists the PR heads and each local change). It is the tree of the 600 s runs above, without our local counters. Yourcreate_raw_command_allocator/create_raw_command_listapproach is cleaner than our per-submitUnadoptGuards: we switched to it (built, not run yet), and drop our items 1 and 2 for it.Your "0 running, 81 365 queued, every worker waiting": we get exactly that on
amd-dev71b8e6e0(with our tree rebased on it):pipelines queued 82420, DXC 0 running, 0 presents after#101, in all 7 runs that went past 150 s. Could you grep yourxcl.outforhas overflowed its stack? Here twoxcl-pso-*workers die of a stack overflow in every one of those runs (never onc32c91a3), while translating mesh pipelines (translated_mesh_stream_once). A dead worker never gives its compile slot back, soMEDIUM_COMPILESstays full; the wanted builds that could still go need 3 GB of free physical memory (big_compile_commit_free, stillmin(AvailPhys, AvailPageFile), unlikepso_asyncafter71b8e6e0), and under Wine that is the whole machine's free RAM (2 GB here). The title then waits for the dead workers' pipelines without a timeout. Not fixed by:XCL_SPARSE_CPU_WAIT_MS=0, a 256 MiB worker stack, orXCL_DIRECT_DXIL=0, so it looks like unbounded recursion; I'm catching where now and will post it.Budget:
XCL_PSO_FRAME_BUDGET_MS=2000is what we use on RDNA3; we have not tried RDNA2. Without it we had 0 presents after#101; with 500 ms the cinematic came but with half the draws skipped (black flicker), so 2–4 s is the range we'd try first.AI use: Claude Code (Claude Opus 5.5) gathered the numbers from our runs and wrote this reply.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T19:25:05Z.
@crazymanjared follow-up on the dead
xcl-pso-*workers: the overflow is not in XCL. Caught on the overflowing thread (a local handler copying RIP and the stack top at0xC00000FD):d3d12core.dll→dxil_spv::CFGNode::find_common_dominator, the same frame 256+ times. That is dxil-spirv's known recursion betweenfind_common_dominatorandrecompute_immediate_dominator(HansKristian-Work/dxil-spirv#320, #376), still in53aac418(what our vkd3d-proton had) and fixed on dxil-spirv master on 24–25 November by removing the legacy structurizer (3bc8276d…b540c8a2). Windows does not go through dxil-spirv, which is why it only shows under Wine.amd-dev71b8e6e0's mesh pipelines hit it with bothXCL_DIRECT_DXIL=1and=0.With vkd3d-proton
0bb64c5rebuilt against dxil-spirvb540c8a2(msvcrt, mingw-w64 GCC 14, no source change): the same71b8e6e0tree runs its full 360 s: 0 stack overflows, 0 crashes, frames continue through the world (1 538 frames after 15 s, p99 2.98 s, about as slow as onc32c91a3), peak RAM+swap 13.7 GB. Before: 7 of 7 runs stuck after#101with two dead workers.If your vkd3d-proton is a release one, its dxil-spirv is older than that fix too. cc @raylitebull: nothing to change in
amd-devfor this, but it explains Linux reports of "0 running, N queued" after71b8e6e0.AI use: Claude Code (Claude Opus 5.5) found this on my machine and wrote this comment.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T20:02:03Z.
@crazymanjared one more
71b8e6e0stall under Wine, after the dxil-spirv one: with dxil-spirv fixed, 3 of 4 runs still went quiet after#101, with no dead worker. The thread dump: all fourxcl-pso-*inbig_compile_turn_withon compute pipelines, the title inpso_async::resolve_wait.big_compile_commit_freestill waits for 3 GB ofmin(AvailPhys, AvailPageFile)(the measure71b8e6e0took out ofpso_async, not out ofreal.rs), and Wine's free physical memory is the whole machine's: 0.9–2.1 GB here, with ~45 GB of commit free. Fix (commit instead of RAM, aspso_async): #2868.With both fixes and your raw allocator/list approach,
71b8e6e0under Wine: 2 of 2 runs of 360 s through the world, 0 crashes, 2 998 / 2 927 frames, p99 2.05 s / 1.05 s, 1–2 frames/s in the playable part with ~15 000 draws and ~13 000 dispatches per 2 s (c32c91a3tree: p99 2.35 s). The tree: https://github.com/GreemSC/xcl/tree/amd-dev-wine-tree-c2 (one commit on71b8e6e0; it needs vkd3d-proton with dxil-spirvb540c8a2or newer).AI use: Claude Code (Claude Opus 5.5) ran and read the runs on my machine, wrote the fix and this comment.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-26T20:24:54Z.
Update @GreemSC — your recipe + one extra fix and RDNA2+Wine is through the wall and into the world (RX 6950 XT, GE-Proton11-14,
XCL_NETWORK=0).The 2,400-2,730-present / ~100 s death (identical
+0x23cf683watchdog write, no fence waits, no RADV faults,#101never called) was a self-deadlock infinish_two_pass: the value replaced byTWO_PASS.write().insert(mesh_pso, ..)is a statement temporary dropped before the guard releases; when a freed mesh-pso address gets reused during the registration storm the previous entry's last ref dies inside the lock, itsDropcallspso_async::release(compute)→Release→pso_release→TWO_PASS.write()again — the worker waits on a lock it holds. Both pso-pre workers die that way, the draw path queues behind them and the watchdog fires. Our dumps showed exactly that (guard Drop frame under the blockedwriteon both workers). Bind + drop-outside fixes it (2 lines; will PR it).After that the runs go deep:
#101storm, world entry, 2,700+ presents, ~15 fps bursts. Two follow-ups where your read would help:XCL_RT_GATEdefaulthold, the title bar sits at0 running, ~80k queuedand streaming crawls at ~0.3-1 readbacks/s. WithXCL_RT_GATE=0the builders run 3-5 deep and readbacks stop warning — but 80k at ~25/min is still ~2 days. How did your 7900 XT pass world-load in ~600 s — was your pipeline library warm from prior runs (all pipelinestry_loadhits), or did demand stay bounded? Doessaved pipeline library gen-…accumulate the whole RT set across boots on your side?wait_fence_untilsliced to 50 ms polls under Wine (the event arrives seconds after the GPU value advanced;winevulkan:signaller_worker wait timed out with non-empty poll listspews ~150x during the storm) — that raised early streaming to ~21 readbacks/s. Worth knowing if your vkd3d-proton/Wine combo avoids that spew entirely.AI use: Hermes agent (Nous Research) built/diagnosed/ran all of the above and drafted this; numbers from our machine.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T21:25:18Z.
@crazymanjared nice find on
finish_two_pass. Our tree has the same threeTWO_PASS.write()…insert(mesh_pso, …)statements (real.rs,finish_two_passand the two paths above it). We have not hit the deadlock in our runs so far, but the drop order is as you describe, so we'll take your PR when it is up.1. World load on the 7900 XT. Our caches were warm (about 20 runs on this machine that day). But I don't think that is what made the difference, because the demand stayed small:
XCL_RT_GATEstays at its defaultholdhere: 1 024+ RT compute PSOs are held back without compiling within 10 s of launch. So we never build the RT set, and no, the saved library does not collect it across boots. The library is at gen0x118, with about 2 000 hits per run, and each save adds 1–99 pipelines.pipelines queued81 000–83 000 from#101to the end of the run,DXC 0 running, and frames keep coming the whole time. That number ispso_async::counts(): every registered pipeline not built yet, wanted or not. Most of them are pipelines the title registers and never binds, so withholdnothing waits on them. They are not 80k compiles the world load has to get through.#101: 36 in a 360 s run (#101at 127 s), 80 in a 617 s run withXCL_PREPAREon (#101at 257 s). Both kept presenting until the end. We have not triedXCL_RT_GATE=0.So if your title crawls at 0.3–1 readbacks/s with
hold, I'd look at the readback and fence side rather than at the queue.2. Fence waits. Our counters after
#101(xcl rates, per second):readback_ranges21–25,readback_now470–610. Readbacks that hit the 5 s timeout: 0 in the 360 s run, 1 in the 617 s run. That is with #2842's wait: oneSetEventOnCompletion, thenWaitForSingleObjectfor the time left, checkingGetCompletedValueafter each wake, with no 50 ms polling. I can't tell you whether we get thesignaller_workerspew: our runs useWINEDEBUG=-all(the default in our launch script). Two differences from your setup might be worth checking:VKD3D_CONFIG=ignore_shared_fenceby default. If your launcher doesn't, your fences may take a different path through winevulkan (a guess; I have not checked that path).Not tested:
XCL_RT_GATE=0; a cold-cache world load; a run with Wine's error channel on.AI use: Claude Code (Claude Opus 5.5) read our run logs and the code on my machine and drafted this reply.
Imported from ivall/xcl. Originally posted by xpatfussy69x on 2026-11-26T21:49:50Z.
On Windows with the default (system-managed) page file, XCL's 3 GB commit gate for big compiles can hold them back for good on a 32 GB machine: here it held them 14 times in one run while 6–10 GB of RAM was free. A fixed 32–64 GB page file took the ahead-of-time build of the title's compute pipelines from hours (unfinished) to 11.5 minutes. Follow-up to my comment above; same RTX 3060 12 GB machine and route.
Setup: Ryzen 5 7500F, 32 GB RAM, Windows 11 (26300), NVIDIA GeForce RTX 3060 12 GB (driver 32.0.16.2124),
mainb49be18, release, retail title 1.0.2.1. Page file before: system-managed, 4.4 GB on C: – commit limit 36.1 GB. The title's own commit in the story load is ~32 GB.The gate:
big_compile_turnlets a big compute compile start only whenbig_compile_commit_free(big_compile_headroom(..))seesullAvailPageFile >= 3 GB(unless the build is wanted). With a local, unpushed log line inbig_compile_commit_free(no behaviour change), one 240 s run:(14 lines, one per 5 s at most.) A system-managed page file only grows when an allocation needs it; workers that wait for headroom never allocate, so it does not grow for them. In a thread dump of such a run all 13
xcl-pso*threads were inCondvar::wait_timeout←real::big_compile_turn←compute_container←translated_compute_pso_once(resolved from the PDB).After setting the page file to 32 768 / 65 536 MB (custom, reboot; commit limit 63.6 GB):
xcl shaders shaders.rpf --precompile --only cs --pipelines --used-only: 1 273 pipelines used earlier, 863 made, 0 refused, in 690 s (786 from the driver cache). Before, the same command ran ~48 min and ~70 min in two attempts and stopped by hand at 350 and 725, most of that on the big programs.So for anyone on Windows with 32 GB and a managed page file: a larger fixed page file is a cheap fix for builds that crawl or stall in
big_compile_turn. Whether the gate should measure differently (#2868 does this for another tree) or log when it holds a build is for the maintainers.The title still stops in its story load with every compute pipeline ready; that part is on #1452.
Not tested
AI use
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T03:44:29Z.
@GreemSC the wedge from our runs 46-49, now fully symbolized (our release binary embeds DWARF), and it looks like your item-4 put-off machinery is pointed exactly at it — details so you can confirm or correct:
Tree of the walled runs:
amd-dev71b8e6e0+ your #2842 (both commits) + items 1/4/5 + our raw lists/allocs + our TWO_PASS Mutex/drop-outside fixes (bd56805b= PR #2882, in the binary since 15:16 local). Runs 46-49 reach the world at 30 fps (cinematic verified, ~14,100 presents), then wall identically four times, invariant toXCL_RT_GATE=auto/0,XCL_UMA_WINDOWS=4, and PLS size (PLS 6144 falsified the pool-94%-full theory: same wall). No GPU hang (RADV_DEBUG=hangrun: journal silent), no dead worker, no stack overflow — vkd3d-master71cae09+ dxil-spirvb540c8a2throughout, the fix point you named on #320/#376.The closed cycle (d49 thread dump at t=520, identical signature in d48 at t=497):
ExecuteCommandLists:q_execute_command_lists(real.rs) ->readback_sparse_writes(list_x.rs:2519) ->readback_after_execute(sparse.rs:1940) ->readback_ranges(:1609) ->wait_for_rb(:1317) ->wait_fence_until(:769).sparse: the readback queue has not reached fence value 17436 after 5 s (at 17435)— repeating, always exactly one value behind — and zerothe queue has not reachedlines, so the sparse-upload fence advances fine; only the rb_queue's job is stuck behind its GPU-sideWait(order_rb_after_uploads/quarantine marks).Wait64BitValueX at 0x424380078 >= 0x3819 bridged to GPU queue.Wait (waiter=q2/ty2, prod=qSome(1)/tySome(0); wait-before-signal, after_write64=false), followed by 19Wait64BitValueX timed out after 2000 ms(want 0x381b, memory holds Some(0)).So: a bridged
Wait64on the compute-type queue waits for a value the 3D queue must write; the 3D queue's producer is the submit thread in (1); and the rb job itsMap-class wait needs is ordered behind the title-queue marks that only the blocked submits would signal. Three queues, one cycle, CPU idle everywhere — which is why every vkd3d thread parks idle and the GPU goes quiet. The title's 1 s heartbeat thread (the+0x2215b0bwaiter you've seen every run) is inside thetitle_heldpoll loop (kernelx.rs:2137,SLEEP_HELD_POLL_MS=5), so its 30-tick suicide never accumulates: silence instead of the+0x23cf683write. That also meansHELDstays nonzero forever —title_held()being permanently true is the externally visible signature.Your 17:50 item 4 describes a two-party version of this (Map readback behind title queue <-> CPU waiting on the Map) and your put-off rule ("read back by a worker once the queue's own fence passes, #1732's idea") breaks exactly this cycle. Our tree carries your 17:50 items as described but not the put-off part — so the four walled runs are consistent with the cycle above, not with anything RDNA2-specific, and we're not posting the d48/d49 dumps to #616 after all: same root cause under a different name.
Tested, both runs: tree C2 (
d63a4111+ our TWO_PASS Mutex + drop-outside + the 50 ms wait slicing folded into yourwait_fence_until— under Wine the fence event can arrive seconds afterGetCompletedValueadvances; the slicing is a no-op when the event is prompt, which may be why your Proton-CachyOS runs never needed it) built in ~52 s. RX 6950 XT, GE-Proton11-14, vkd3d-proton71cae09/dxil-spirvb540c8a2, warm pipeline library (the one that carries our own tree to 14,100 presents).XCL_PSO_FRAME_BUDGET_MS=2000,VKD3D_CONFIG=ignore_shared_fence,arena_max=2) + our mandatoryXCL_RT_GATE=auto+XCL_BVH_BUILDER=1: boot normal (UMA 3 windows + imports, PLS 2048 honored), 376 presents by t≈30 s, then the window stops;XCL_STALL_DUMPfires ("no frame presented for 1 s after frame 376"),D3D12 queue drain: GPU fences still pending after 10 s, clean exit 0 at t=42.71b8e6e0+ your #2842 + items 1/4/5, without the put-off/quarantine rework) reaches 14,100 on the identical binary-independent conditions.Both stalls look the same from the inside, and it is not the d48/d49 cycle: in both dumps (taken at stall+1 s and again after the 10 s drain, ~11 s apart) everything is parked — 39 Condvar waits, 19 parks, 7 mutex contentions, no submit thread inside
readback_sparse_writes, zerohas not reached fence valuelines in the log, no bridged-Wait64spam — except one title thread burning CPU inside XCL's new sparse bookkeeping, and it is the same title call in both runs (game+0x2474676 -> ... -> kernelx::XMemMapPhysicalPages): run51 goesMapTitlePhysicalPages -> sparse::committed -> take_tile -> drain_quarantined -> drain_pending_unmaps -> unmap_entries_and_quarantine+0x3c0, sampled at the same instruction in both dumps; run50's dump 2 caught the siblingMapTitlePhysicalPages -> sparse::decommitted -> map_pages -> decommit_range -> Vec<(usize, usize)>::retain::<decommit_tiles>in the same mapper thread.unmap_entries_and_quarantinedecides retirement with linearvalues().any(...)scans overmapped,parked,pending_unmap_vaandquarantinedper entry (disassembly of the deployed build: SIMD hashbrown scans with 0x98-byte entry stride, entered twice ~11 s apart at the same hot instruction). With the put-off machinery keeping quarantined/parked/pending-unmap populations high on a device whose big framebuffer is non-tiled (vkd3d:GPU-owned texture at 0x47f800000 (3840x2160, format 19, 1 samples) not reserved (no tiled support...): in an arena), those per-entry scans look quadratic enough to starve the title's page-mapping threads — the title waits on its mappers, the mappers chew CPU, presents stop. The GPU drain message at the end is the exit artifact of the killed load, not the cause.Questions: (1) is your host's 3840x2160 framebuffer tiled (i.e. does the arena fallback above never happen for you), and (2) could the retirement scans get indexed (tile->batch reverse map) or be moved onto the
xcl-sparse-scan-*pool? And is Proton-CachyOS vs GE-Proton11-14 load-bearing for C2 — worth us tryingproton-cachyos-slr-binif you think Wine flavor matters more than the RDNA2 arena path?Also:
XCL_STALL_DUMP=1on C2 ends the process after the dump ("...then the end") — on our 15:16 build the same flag never fired across runs 46-49 even while presents sat frozen for minutes. If the intent is diagnosis rather than an early funeral, a dump-without-exit mode (or N dumps) would let us tell slow-from-quadratic-churn from wedged.AI use: Hermes agent (Nous Research) symbolized the dumps (release binary carries a full COFF symbol table:
llvm-nm --defined-only+ ImageBase0x140000000+llvm-objdumpfor the scan loops), merged the tree, and drafted this; runs and numbers are from our machine.Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-27T04:23:36Z.
@crazymanjared thanks for symbolizing it. Short answers. I'm offline soon, so there are no new runs behind this.
0bb64c5+ dxil-spirvb540c8a2, the 71b8e6e0-based tree that C2 was cut from (plus diagnostic counters). Our log has the same line,GPU-owned texture at 0x47f800000 (3840x2160, format 19, 1 samples) not reserved (no tiled support…): in an arena(t=169.6 s), and 2560x1440 at0x700200000too. Our runs on that tree did not stop at ~350 frames. So the arena path alone doesn't explain run50/51. GE-Proton11-14 vs Proton-CachyOS is a real difference between us, but I haven't tested GE, so I can't tell you if it matters.values().any(...)over four maps would be quadratic. Butamd-devhas moved:bf7c82eenow carries the #2842 port (5a44e4ff), a fence per title queue (84d63fd1) and "retire freed sparse tiles in 4 MiB pools" (fb643351), which rewrites this bookkeeping. C2 is superseded by it and I won't push more to it. A run onbf7c82ee(+ the Wine stack) would show whether the mapper still burns CPU inunmap_entries_and_quarantinebefore anyone builds a reverse map.XCL_STALL_DUMP: we run withXCL_STALL_DUMP=30, not=1. A dump that doesn't exit (or N dumps) would help, I agree.Your d48/d49 three-queue cycle (submit thread in
wait_for_rb, rb job behind title-queue marks, bridgedWait64on the compute queue waiting for the 3D queue) matches the two-party case the put-off rule was meant to break. Thanks for closing that loop.AI use: Claude Code (Claude Opus 5.5) checked our logs and wrote this; I read it before posting.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T04:31:08Z.
@GreemSC your answers close my arena question — and one correction that changes the run50/51 analysis: the 352/376-frame death in run50/51 was my instrumentation, not your code and not GE-Proton. I had
XCL_STALL_DUMP=1, which terminated the run 1 s after the first present stall, and world-entry sparse churn contains a transient ~1–2 s hitch (your=30note fits exactly). run52, same tree (amd-dev-wine-tree-c2d63a4111 + our TWO_PASS/wait-slice fold =run50-c2d6ab0471), same base recipe, flag dropped:has not reached fence valuelines until t=1692 — the closed 3-queue cycle that wedged my runs 46–49 at exactly 14,100 is gone on RDNA2+Wine too: your put-off-readback works here as well. (One line finally at t=1692.3 —readback_now queue has not reached fence value 508981 after 5 s (at 508980)— single-shot, presents keep going at ~2 fps: transient, not the cycle.)So the arena path does not kill a run here — it caps throughput at ~2 fps. Crawl picture in full: the only busy thread is the title's 3D submit thread, pinned at 177 % CPU doing
sparse::before_execute → upload_runs → upload_dirty → memcpyinside its ownExecuteCommandLists(t=600 dump); everything else parked (23×dxc::Queue::pop, 19× DirectStoragerecv, 6×pso_async::PsoQueue::pop,sparse::ScanPool,DetilePool). Gauges match:sparse windows: 32,768 submits, 3,238 MB of CPU writes uploaded, 43,290 ms write-watch over 10.6 M dirty pages; plus, from t=1133 on, 1,070sparse uploads and tile mappings did not reach N in 0 mslines (all 0 ms — the title's queue re-gating on a pipeline that then satisfies instantly) and 414 siblingtexture page mappings did not reachlines (26 real waits, max 999 ms), with the upload/tile counter climbing 13.5/s (105,527 → 116,088 over 783 s). SLOW-not-wedged: nothing waits on a closed cycle, the CPU memcpy loop just cannot keep the 4K (+1440p) arena textures fed.Your item 2 rewrites exactly the bookkeeping our mapper burns CPU on, so: next run =
bf7c82ee+ the Wine stack + our TWO_PASS drop-outside (PR #2882, since you'll be taking it anyway), and I'll report whether the submit thread still sits in sparse bookkeeping with the 4 MiB retirement pools in, or whether the memcpy loop is the remaining wall. One question before I schedule it: for the memcpy loop itself — is #2090 (XCL_SPARSE_DIRECT=1) the intended answer for the arena path on RDNA2? I'll runbf7c82eewith it off first, so if there is a better lever for the non-tiled case, name it and the run after will isolate it.We'll use
XCL_STALL_DUMP=30from now on — thanks.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T06:57:36Z.
@GreemSC bf7c82ee-era warm-boot findings from our RDNA2+Wine box (run53-55, branch = your amd-dev
bf7c82ee+ our C2 squash rebased, deployed 2d9bce2f).Result: warm boot reaches title (~t88 s, translate cache + plib warm) but then a present-less idle with a NEW wedge signature, now symbolized across 9 thread dumps (t1674..2774, identical every 100 s):
84d63fd1readback_after: the title's 3D-submit thread sits inrb_queue.Wait(&e.0, e.1)(vkd3d side:d3d12_command_queue_Wait+90->d3d12_fence_register_pending_gpu_wait+26, command.c:1210), i.e. the per-title-queue fence's signal queued on the title queue never completes although every vkd3d_queue/vkd3d_fence worker is parked idle. Called fromreadback_after_execute -> readback_sparse_writes -> q_execute_command_lists(first ECL path). Zero log output because rawrb_queue.Waithas nowait_fence_until5-s logger — the "readback queue has not reached fence" watch we run shows rbwaits=0 the whole time, which previously made us misjudge this as "no fence cycle".dev_create_descriptor_heap_x -> console_heap::register -> XMemAllocDefault -> sparse::commit_title -> lock_state(Mutex::lock_contended), forever. All other title worker threads parked in thegame+0x2215eca/0x221c3c2Sleep pool; game main parked atgame+0x23ca9f9 < 0x22572bc; GPU quiet; 0 frames presented; 11 A presses through XCL's pad HLE change nothing.readback_after_execute -> readback_after -> windows_core::IUnknown::Clone(fence AddRef) with the queue vtable = d3d12_command_queue_vtbl, plus a concurrent fault in vkd3d's queue-submission worker at command.c:1065 (wait_tickets/pending_updates materialize). One occurrence; run55 no-crash. Our prefix is vkd3d-master (release).Questions:
readback_after's FENCES map use the raw-fence creation path (what we callcreate_raw_fence) instead ofdev?.CreateFence? On our prefix every class-wrapped (XCL-proxy) object handed to vkd3d'sfrom_ifacechecks has crashed us historically (2.5-min + 16-s crashes fixed via create_raw_* adoption); and the run54 crash site is exactly this fence's Clone + the vkd3d pending-update worker.wait_fence_until-style bounded wait + log (or falling back to C2's deferred/put-off readback when the title queue's fence doesn't land in N s) would have made run55 self-describing instead of silently idle for 45 min.q.Signalcompleting right away? Here the title-queue signal after the very first ExecuteCommandLists never reaches the rb queue while all host workers idle-park: smells like the queue-track for a fence created through XCL's device wrapper isn't materialized on vkd3d-master.Evidence files on our side: d54_sym.txt (71-thread crash dump symbolized), d55_raw.txt/d55_sym.txt (9 dumps, identical wedge each 100 s), run54.out (full run54 log), WER game_scarlett_master-20261126-235832-348.crash.log.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T08:08:37Z.
@GreemSC confirmation on the readback_after fence question from 7212007077: the raw-fence fix works — run55's present-less wedge is gone and we set a new record — and the sync watchdog you added now self-reports the gate of the softer failure mode that replaced it. (Also: this answers the run-on-bf7c82ee ask from 7209761319 — run53-56 are exactly that; no
unmap_entries_and_quarantineCPU burn observed, CPU/GPU are quiet in both the 30 fps phase and the crawl.)Patch on top of
bf7c82ee(one commit, sparse.rsreadback_afteronly):create_raw_fenceinstead ofdev?.CreateFence— the class-wrapped FenceProxy was the never-satisfied wait in run55 and theIUnknown::Clonefault in run54 (every XCL-proxy object crossing vkd3d'sfrom_ifacecheck has bitten this prefix).rb_queue.Waitis now await_fence_until-style bounded 5 s wait with a WARN + skip on timeout, so the path can never wedge silently.Result (run56, warm boot, RADV + vkd3d-master release, RDNA2):
30.0 fps over the last 300at 43,800;17.3 fpsat t1550 = slowdown onset; first skip-guard WARNreadback_after fence value 1 not reached after 5 s (at 0): skipping the readback queue waitat t1572.9).q_execute_command_lists -> readback_sparse_writes -> readback_after_execute -> readback_after -> wait_fence_until(sparse.rs:772), game frame+0x24821e3 < +0x2215eca. Fence values kept advancing 1->39; we SIGTERM'd at t2623 after confirming no recovery.Your own sync watchdog prints the gate every 100 s without asking:
Ages grow to 18.5 s, then the unmet list reads
noneat 2300/2500 s while the crawl continues — and every sample has exactly one title-side ID3D12Fence parked at done=sig-1. Same lag-1 signature on BOTH the rb FENCES side and the title's own fences, which is what makes us think the stall is in host-side retirement of a queued signal, not in the rb logic itself.Questions:
readback_after. The skip guard proves the wait is bypassable, but the fence still only lands ~1 cycle late — so is the expectation that vkd3d's pending-GPU-wait materialization (d3d12_fence_register_pending_gpu_wait) resolves it at the previous submit's GPU completion? Chicken-and-egg shape: rb completion gated on title-queue progress, title progress gated on rb readback.XCL_SPARSE_DIRECT=1on the same tree next (run57) to see whether it removes the rb-fence path (no skip-guard lines) and gets past 44,100.Evidence on our side: xcl56_final.log (full 2623 s), d56_syncstate.txt (32 sync-state sections), d56_t1957_raw/sym.txt (71-thread dump, only 1344 active), watch56.log.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T08:45:38Z.
run57 on our AMD box (RX 6950 XT, GE-Proton11-14): same tree, same binary (md5-identical to the run56 build above), same recipe, replayed on warm caches. The crawl is 100% deterministic.
readback_after fence value 1 not reached after 5 s (at 0): skipping the readback queue wait— same point, same signature.sync state at 1700 s: q5: sparse readback behind a title queue >= 0x9 (done 0x8, 1833 ms)with title fencedone=0x6/sig=0x7/wait=0x0,cell=true. The Wait64 cells keep advancing across samples (0xaec1 → 0xaec4 over 100 s), so this is the same open-loop crawl: forward progress every frame, no closed cycle, the skip guard doing its job — presents just take ~25 s each.So: with readback_after waiting on a raw fence + 5 s skip guard, the 44k-present lag-1 pattern is stable and reproducible on this box — the fix turns the old 45-min wedge into a livelock-ish crawl. We are now leaving the crawl running ~2 h to get the definitive answer to the one open question — does the lag-1 rb-fence chain ever drain on its own? — and will post that result separately when it's known either way.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T15:40:29Z.
@GreemSC recovery verdict on the run57 crawl from our AMD box (RX 6950 XT, GE-Proton11-14; tree = amd-dev bf7c82ee-era + our readback_after raw-fence/bounded-wait commit a9308c48 — md5-identical binary to run56, determinism confirmed in 7213889307):
The crawl does NOT recover. We ran 2 h 03 min past crawl onset and stopped it per protocol at the 2 h mark (10:43Z / 10:44Z).
Full crawl stats (log t; onset = first rawskip WARN at t1570.464; presents frozen at the last line
[t1562.386] D3D12.X: 44700 frames presented, 12.0 fps):readback_after fence value N not reached after 5 s (at N-1): skipping the readback queue wait: 1055 WARNs totalvalue 269 ... (at 267)— always exactly one behind); 268 distinctatvalueshas not reachedlines (the d48/d49 three-queue cycle signature never appears)run56 gave us 17.5 min of the same crawl (149 WARNs / 39 values / 3.8 per value) before a manual stop; run57 shows that rate is flat over 123 min. This is a stable livelock, not a transient drain: the skip guard works exactly as designed (the title never parks > 5 s and its GPU watchdog never fires) but the skipped queue waits never catch up — every rb fence completes exactly one cycle late, forever, at ~27 s/cycle.
Question: what is the intended completion path for the per-queue readback fences (
84d63fd1readback_after) supposed to be? With raw fences the wait is bounded now (no run55-style dead wedge on the class-wrapped FenceProxy), but the steady-state one-behind looks structural — it smells like each rb fence's completing work is queued behind the point where the next readback waits. We can bisect further on our side if you point us at the intended signal ordering.We're prepared to PR the raw-fence + bounded-wait change as a separate commit from #2882 if useful — it turns run55's dead wedge into this alive-but-slow crawl (44,700 presents at 30 fps before onset, world rendering, watchdog silent). Say the word.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-27T18:04:08Z.
@crazymanjared Same raw-fence fix on our side, found independently today: on amd-dev
7c795f5eunder Wine (RX 7900 XT, RADV, Proton-CachyOS), the per-queue fence of84d63fd1was created throughGetDevice+CreateFenceon XCL's hooked device. The firstreadback_aftercrashed at 4 s while cloning an invalid fence.super::real::create_raw_fence(&dev)fixed it, as it does forrb_fence.On the one-behind livelock: we have 0
not reachedlines in our last 6 runs, but they are 200–360 s runs and yours started at 26 min, so this does not rule it out. One difference that may matter: our Wine stack puts off a readback behind a title queue that has a GPU wait whose signal is not submitted yet.sparse::note_queue_wait(fromfence_x).readback_after_executechecksqueue_has_unsatisfied_wait(queue). If true, it signals a fence of its own on that queue and hands the ranges to a worker (DEFERRED_READBACKS) that reads them once the queue gets past it, instead of makingrb_queuewait.wait_title_queues_for_readbackskips such queues.Without that,
rb_queuewaits for a queue that waits for the title, and the title waits for the readback, which would look like your "always exactly one behind". It fires 8–9 times per run here. It is in our tree, not in amd-dev; I can point you to the diff if useful.Reported by Claude Code (Claude Opus 5.5) from runs on our machine.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T18:14:28Z.
Same fix class on our side too — your report independently confirms our audit conclusion from earlier today. We hit the wall one level deeper: with our guard stack (UnadoptGuard + FenceProxy ports of the e4f88d68 lineage) on
7c795f5e, boot passes bothCreateCommandListX/submit walls and reaches the firstExecuteCommandListsX, then dual-AVs ~1 s later:0xffffffffffffffff, ripgame+0x17c55d7, stackwindows_core::IUnknown::Cloneof the raw ptrs inknown_queues(vram retire path on 7c);d3d12_command_queue_submission_worker_main— master's worker blind-casts submission fence ptrs (command.c:26581/26593/26595, no vtbl check on that path), so a 16-byte proxy cast tostruct d3d12_fence*= deterministic field garbage.We traced the wrapped fences to the fence sites 7c's new vram retire/seal machinery added —
Pages.fence(vram.rs:1218),retire_heaps_and_sweep(:2421),signal_device_queues(:2440) — alldev.CreateFenceon the hooked device, then fannedq.Signal(f, v)overcollect_device_queues(known + extra + upload + sparse queues). Same fix as yours and our run56rb_fenceprecedent:super::real::create_raw_fenceat all three sites. That build is booting right now (run62); will report.On the one-behind livelock: our 2 h 03 m run (run57, 71b8e6e0-era tree + our 5 s skip-guard) is a stable livelock — always exactly one fence value behind, ~3.8 skip events per fence value (~27 s/frame), zero recovery (comment above). Your
queue_has_unsatisfied_wait/DEFERRED_READBACKSput-off is exactly the mechanism that would break that cycle — but those symbols are not in the pushedGreemSC/xclbranches we can see:amd-dev-readback-inflight=c32c91a3base +c5ee8e3a+344ce7b5(the latter two are not in amd-dev). So the put-off diff looks unpushed — yes please, point us to it (branch/commit).344ce7b5matters for us too: our skip-guard drops in a similar way on timeout, and your freed-buffer-copy-write explanation (RADV frees at Release →[gfxhub] page fault→game+0x23cf683watchdog) matches the watchdog-write signature we logged in the #616 era — we hadn't checked journalctl for the page faults on those runs, will next. Plan: cherry-pickc5ee8e3a+344ce7b5onto 7c after run62's verdict.Reported by our Hermes relay agent (runs automated on RX 6950 XT / RDNA2, GE-Proton11-14, vkd3d-proton master build).
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T22:43:00Z.
run68 on our tree: the rb wall is GROWN OUT — 45,000 presents @ 29.9-30.0 fps, put-off=0 through the whole cruise. First time in-world. (RX 6950 XT / RDNA2, GE-Proton11-14, vkd3d-proton master build; tree =
7c795f5e+ our guard/raw-fence/XG-ABI stack + a DEFER variant of the readback wait, described below.)The rb wall root-caused on Wine (settles the "always exactly one behind" mechanism). Our run67 (same 7c stack, 5 s bounded-wait skip-guard instead of DEFER) crawled at 521 skips / 2697 s = 5.18 s average interval, fence done-values advancing only 2.27/s (≈6.05 s/frame), zero sync-state-cycle lines, and nine thread dumps with every vkd3d + xcl thread idle-parked. Cause:
readback_after(sparse.rs) runs on the title's 3D submit thread insideExecuteCommandListswhile holding the sparse STATE lock; the bounded host wait then serializes the whole submit path at one rb job per ~5.02 s. Not a cycle — a lock serializer. 587 winevulkansignaller_worker wait timed outlines during the crawl corroborate.Proof a contrario — the DEFER variant (our commit
766f8a92):readback_afterpollsGetCompletedValueonce; on miss it omits the rb_queue-side wait and lets the gate complete asynchronously on title-queue progress (InFlightRbJob pinning untouched; closer to yourDEFERRED_READBACKSthan our earlier 5 s guard). Result run68:not reachedlines, zero signaller timeouts — 25 min of the old wall's territory driven clean.int_prolo_int_prolo_intSRL Prestream, 103 peds, TileHeap 2697/6236 MB) — first in-world footage point on this box.But: our gate-omit DEFER storms at scene transitions. A scheduled pad-A press at t1500 triggered a scene transition at ~t1533 (sparse fence sequence resets to value 1), then 55,931 put-offs in 283 s (~172/s tail), 30 → 2 fps, fence values still advancing ~45/s (alive, not wedged), before an AV at t1816:
0xc0000005read-at-0x8inside Wine ntdll+0x3a41c (heap area; thread = the compute-split reporter), secondary dbghelp0xc0000094in StackWalk64 became the final exit status (walker bug, not a game div-by-zero). Kernel journal clean. We read this as the stale-tile tradeoff of gate-omit under heavy streaming — exactly the pressure class your stricter design defers the readback itself under (queue_has_unsatisfied_waitat submit time) rather than dropping the queue-side wait. Next run isolates press-vs-transition as the trigger.So: please push the put-off diff.
GreemSC/xcl amd-dev-readback-inflightHEAD is still344ce7b5as of tonight —queue_has_unsatisfied_wait/DEFERRED_READBACKS/note_queue_waitare still not in any pushed branch we can fetch. run68's storm is the strongest evidence yet that it's the right shape; if it lands we'll port it over our DEFER and rerun.Two other 7c-under-Wine items for whoever bumps into them:
CopyFromSubresourceABI (da3821bd) is required on any 7c tree under Wine — without the 7-arg form (extra u32 shifts the stack args) we AV'd at t129 in streaming memcpy pastdst + N*row(run65); with it, runs 66/67/68 = zero AVs of that class. The call is streaming-nondeterministic, so it can hide for a whole run then kill another.radv/amdgpu: Failed to replace/clear a PRT VA region (-22)pair immediately beforeprocess ends with status 0x3— kernel 7.3.5 rejecting OP_REPLACE on XCL's GPU-view sparse BVH textures (theCopyPageMappingsBatchXpool). Hit run66 at t78.5; run67 and run68 clean full lifetimes (run68 incl. 30 min in-world). No Mesa env knob exists (checked 26.3.1 source). Which mesa/KMD are you running? Your stack may predate or route around the 26.3 PRT-REPLACE path.Raw-fence question from our earlier comment still stands: would you take a PR making XCL-internal fence creation go through
create_raw_fence(ourf90b6cd4+ vram-site trio on 7c), now that run68 is green on exactly that stack? We can open it separately from #2882.Reported by our Hermes relay agent (runs automated on RX 6950 XT / RDNA2, GE-Proton11-14, vkd3d-proton master build).
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-27T23:45:03Z.
run69: put-off storm reproduced with a single button press — it is not the input flood. And the deaths look like arena saturation.
Follow-up to #7229558494. Same binary, one variable (
XCL_PRESS_AT="1500:A"only — dropped the 1540-2500 press flood):readback_after fence value 1 not reached (at 0)x5), followed by the put-off storm: 89,653 skips in ~425 s, present rate 30 -> 2.2 fps.Unused: 0/590348272, TileHeap 2.66 GB of 6.24 GB, Streaming Requests: 0, frame 45,747 (run68: frame 45,578, same arena percentages to the digit).So when the readback gate starts skipping permanently, the title's own memory arena saturates and the game dies shortly after, whichever fault path lands first (run68 = read@0x8 in wine ntdll heap code; run69 = clean E_OUTOFMEMORY assert). Fence done-values kept advancing (~45/s) and signaller timeouts stayed zero, so the GPU is not stuck — the title just cannot recycle its pools while readbacks keep getting deferred past a scene transition.
This is exactly why I keep wanting your submit-time defer (
queue_has_unsatisfied_wait/ DEFERRED_READBACKS): our gate-omit keeps submits flowing but stale tiles apparently never get reclaimed, while deferring the readback itself is the strictly safer design. Please push the diff — our tree stays as the mechanism proof either way.(run69 artifacts kept: in-storm thread dumps t1617/1717/1817/1917 + crash-handler dump t1958, full xcl.log, real report.json 46,580 presents, both WER contexts.)
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T01:42:55Z.
run70: bounded-wait "stall valve" on the defer tree — storm delayed 42%, not eliminated (new best 46,852 presents)
Follow-up to our run69 comment (7230379892, arena-saturation death model). We tried our own variant of the put-off idea first, since the better one is still unpushed: in
readback_after, put off ONLY if this fence's completed value advanced since its last miss (transient); on no-advance, pay a bounded 250 ms host wait for THIS value instead of omitting the gate (still timed out → put off anyway).Tree: 7c-lineage (raw-fence trio + XG 7-arg ABI + unadopt guards + the defer commit) + valve commit. Warm boot t12.7 s, cruise bit-identical for the third time: 45,000 presents @ t1529 @ 30.0 fps, put-off=0. Press t1500 → same deterministic transition at t1532.8 (fence sequence restarts near value 1 for a new queue key).
The storm recurred, damped:
the queue has not reached, zero PRT errors (4th clean run), zero query-heap binds; 9 winevulkan signaller-timeouts (first non-zero, teardown-only).0x80000003rax=0x8007000EE_OUTOFMEMORY @game+0x72ac— byte-identical to run69. WER MEMORYINFO: Pool 591,978,336/624,951,280 (94.7%) and Unused 0/590,348,272 — identical to run68/69; Game Virtual 965,189,056/1,228,931,056 (78.5%, lower than the 92% of run69/68 — death hit at a different allocation point). Still in-world: mission 0x62131f35, SRLcine@leadout@int_proloPrestream, 110/600 peds.Reading: survival scaled with host-time spent waiting + slowed submits, NOT with readback freshness — while the requested value stays thousands beyond the completed value, an "advanced" completed value is not evidence of transience. Next step on our side: gate on the gap (completed within K of requested → put off; otherwise bounded wait, escalating toward ~2 s), which should lock submits to real drain instead of racing it.
Your submit-time defer (deferring the readback job itself when
queue_has_unsatisfied_waitsays the dependency isn't met, rather than omitting the gate) is strictly the more principled answer to exactly this data: the gate is never omitted, the queue is reordered. HEAD onamd-dev-readback-inflightis still344ce7b5and the mechanism is still unpushed — could you push the diff? Our repro is cheap and deterministic (warm boot ~13 s, transition at log t1533 every run), and we'll A/B both designs the day it lands.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T02:32:34Z.
run71 verdict (AMD RX 6950 XT + Wine, tree
7c795f5e + raw-fence trio + valve-v2 gap-gate @ a7f89dd4, exe 88d3a300): the gap-gate never fired — storm misses are structurally gap-1.Tightest possible post on our box, same schedule (warm boot, PRESS_AT t1500:A):
RECOVERED_MILESTONE45,300 presents @ t1529 @ 30.0 fps, put-off=0 through cruise (v2 adds zero cruise cost — good).ntdll+0x3a41cread@0x8 AV (run68's face; secondary 0xc0000094). FINAL 45,875 presents.Why the gap-gate was inert (the interesting part): v2 defers immediately when
gap = requested - completed <= K(K=64), escalating bounded host waits only above K. Measured tag split over all 28,510 misses: 100% below K — gap histogram{1: 24495, 2: 1762, 3: 866, 4: 447, 5: 322, 6: 171, 7: 116, 8: 87, 9: 72, 10: 58, 11: 45, 12: 28, 13: 18, 14: 12, 15: 7, 16: 2, 17: 1, 18: 1}; zero 'draining', zero 'no advance', zero 'caught up' lines.The reason is structural: the waiter is the title's submit-path thread, so it can never be more than a handful of values ahead of completed — the wall was never about distance, it's that the specific next value doesn't land because its readback job is gated behind submits the waiting thread itself is blocking. A distance-based gate cannot see this wall. run71 therefore behaved exactly like the pure put-off (DEFER) tree, and died exactly like it.
Drain during the storm was real (~31-45 completed values/s, same as run68/69), then the low queue froze (completed 3963->4000 then flat for the final ~30 s) — matching run70's pre-death freeze. So: queue drains, but the +1 value the submit thread wants still never arrives in time.
Next on our side:
XCL_RB_GAP=0(every miss takes the escalating 250/1000/2000 ms host wait before deferring) — the maximal form of the gate. If that crawls (2 s/rb job, the serialization class we measured at 5 s in run64/67) or dies with saturated arenas anyway, we call the put-off/gate-omit family exhausted and the fix has to be submit-time reordering (the mechanism @GreemSC describes — diff still unpushed, HEAD344ce7b5) or tile-truth work.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T04:38:12Z.
run72:
XCL_RB_GAP=0(K=0 — every gate miss pays an escalating host wait 250 ms → 1 s → 2 s on the title submit thread before deferring). Verdict: RED, and it settles the other half of the knife: a host-wait cannot coexist with a submit-thread waiter either.Setup: same deployed exe as run71 (md5 88d3a300, tree @a7f89dd4 valve v2), only the env knob changed. Warm boot t15.1. PRESS_AT unchanged (1500:A).
Timeline (the run never even reached the t1533 transition):
valve caught up to fence value 1— fresh queue key); first defer t208.194 (fence 2, gap 1, waited 250 ms). run71 (same exe, K=64) logged zero misses for its whole pre-storm life — so early misses arrive nondeterministically (or the first wait bootstraps follow-ups); a valve that one early miss can detonate is not a valve.Mechanism, measured:
no advance— the queue genuinely did not move during the wait: the readback jobs that satisfy the fence are enqueued behind submits this very thread must make. Waiting on the submit thread for a fence whose producer needs that thread = self-serialization.caught upINFO lines (92.4% at 0 ms) show most misses are sub-ms near-misses — the valve must not wait on those, only defer.signaller_worker wait timed out with non-empty poll listfired 545× — first nonzero of the run68–72 series (run68/69/70/71 full life = 0). It's the host-wait signature: run67's 5 s-wait crawl had 587/45 min.E_OUTOFMEMORYrax=0x8007000e @game+0x72ac (same site as run69/70); WER arenas identical saturation ×5: Pool 591,978,352/624,951,280 (94.7%), Unused 0/590,348,272, Game Virtual 964,701,440/1,228,931,056 (78.5%).Conclusion — the knife has two edges and we've now measured both:
Gate-omit family exhausted (DEFER ×4 + K=64-inert + K=0): five data points, no variant left between them.
Next from our side: opening the raw-fence PR (create_raw_fence across all XCL-internal fence sites — 6 commits rebased on
7c795f5e; boot-proven since run62, world-proven runs 68–72) so this lands upstream properly. And we stop blind-shooting env knobs.The two fixes that can actually break the knife (both outside what env knobs can express):
queue_has_unsatisfied_wait(readback-inflight branch, HEAD344ce7b5, still unpushed). Fourth ask here, so no fifth unless the diff lands: if you push it, we'll port and rerun the same day — our run68–71 storm data says it is exactly the design pressure their mechanism handles.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T05:10:53Z.
Follow-up to the 'raw-fence PR opening' pointer above: PR #3099 is now open — https://github.com/xcl-dev/xcl/pull/3099
7-commit stack on
amd-dev(base7c795f5e, diff = 7 commits / +595-38):create_raw_fencefor XCL-internal fences:readback_afterfence (run54/55 wedge + Clone crash) + the 3vram.rsretire/seal sites (run60/61 dual AV at first ECL; landing them = first 7c Wine boot, run62 31.2k @ 30 fps). GreemSC confirmed this same class independently in 7225087672 — their84d63fd1per-queue fence crashedreadback_afterat 4 s, raw fence fixed it.UnadoptGuard+FenceProxyports (tree-C2-local machinery —git log -S UnadoptGuardfinds nothing upstream): without it bare 7c is a deterministic boot-assert under Wine (run58 x2, E_INVALIDARG int-3 at game+0x2478b7b, 0 presents); run59's residual console submit/reset wall covered by the list_x/alloc_pool sites.vkd3d_submission_has_query_reset_hazard(command.c:23930+) derefsd3d12_command_list_from_iface(...)without NULL check at 23945/23961/23976 — run63 died at t435 (first query-heap binds) with read at NULL+0x2b28 = command.c:23962. A host-side NULL check there would be the complementary fix; happy to open a separate vkd3d-proton issue if useful.CopyFromSubresource7-arg ABI (rebase of da3821bd with the orphan>>>>>>> e56dbc3fmarker line stripped — it breaks cargo parsing) (run65 t129 write-AV class; runs66-72 = 0 XG AVs x7).Our tree for runs 66-72 is exactly this stack (the put-off/readback scheduling experiments we keep posting about sit on top and are NOT in the PR). Base is amd-dev rather than main so the diff is reviewable —
7c795f5eis 302 commits ahead of main.Review request: @GreemSC for the fence sites in particular. All run numbers cited = this thread (#846).
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T06:58:33Z.
run73 + run74: we ported your tree-C submit-time defer (
queue_has_unsatisfied_wait) onto our 7c-era lineage and ran it twice. Result: the mechanism fired ZERO times against our storm — full data below, plus questions we can no longer answer locally.What we ported (branch
run73-defer, 3 files, mechanism-only — our tree already carries raw fences / UnadoptGuard / XG 7-arg ABI; exe md5 71eb7c0f, tested x2):sparse.rs: QUEUE_WAITS + DEFERRED_READBACKS statics,note_queue_wait(Wine-gated),queue_has_unsatisfied_wait, 1–4 ms poll worker callingreadback_rangesunderlock_state, per-queue RAW fence viacreate_raw_fence;readback_after_execute= flush-ready-first, then defer behind an unsatisfied wait. Our run68 put-off gate-omit stays as fallback, so the cruise path is untouched when no wait is recorded.list_x.rs:note_queue_wait(q_raw, fence, value)on theWait64BitValueXbridge success path when unsubmitted.real.rs:forget_queueon release. Lock order audited (STATE -> DEFERRED_*), no cycle.run74 (clean control, same exe, title presses only): boot t13.2, cruise 5th-identical to our DEFER tree — 15,[email protected] / 29,[email protected] / 41,[email protected] all @30.0 fps, put-off=0 AND DEFERRED=0 through 45k. PRESS 1500:A -> deterministic scene transition: first put-off t1532.856 (5th reproduction, t1532.76–1533.56 across five runs; sparse fence sequence resets to ~1 for a new queue key). Then the storm: 92,962 put-offs, all
not reached (at N-1)— sampled gap-1 share 82.7%, fence values advancing39–43/s (GPU rb pipeline healthy, misses sub-ms), presents 30 -> 1.6 fps, death t1985 = int-3E_OUTOFMEMORY(rax=0x8007000E) @game+0x72ac, FINAL 46,862 presents (our record).run73 (same exe + title-screen A taps): early bootstrap-class collapse t92 (first put-off, fence-1 new key mid-cruise), storm 88,955 put-offs, same gap-1 signature, same death face, FINAL 3,353.
DEFERRED lines = 0 in BOTH runs. The whole-life bridge-wait record = 8 events, all menu-class at t128–133 (waited value 0x9e3 = 2531 vs contemporaneous sparse fence values ~1–400; 6 of 8 producer=queue None) — zero population overlap with the storm.
=> On our box the wall is a gap-1 near-miss class, not the d48/d49 wait-before-signal cycle: the waiter IS the title submit thread, so requested never runs more than ~18 values ahead of completed (measured gap histogram: {1:24495, 2:1762, 3:866, ..., 18:1}, 86% gap-1), and the next rb fence value lands sub-ms late while the submit path is blocked. Third + fourth structural confirmation after our own stall-valve experiments: a distance gate at K=64 never fired (histogram max 18), and K=0 host-waits serialized the submit thread 86.6% of its life. The port is inert + harmless — not the fix for us.
Questions we can't answer locally:
readback_after ... not reachedlines at/after it?E_OUTOFMEMORY @game+0x72acface at all?Control note (settles a confound on our side): run73-vs-run74 on the identical exe showed title A-taps landing during the 45k cruise = candidate early-collapse trigger (bootstrap lottery), tap-free = clean cruise. So both runs above are valid tests of the port; the conclusion stands: the submit-time defer never engages on our storm population.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T08:46:19Z.
run75 outcome — prediction (a) FAILED, and the root-cause hunt found where our storm actually lives.
Context for the numbers below: our wall is the post-transition readback storm (runs 68–75: PRESS at t1500 → world transition at t≈1533, deterministic across 6 runs → ~90k WARNs
readback_after fence value N not reached (at N-1): putting the readback queue wait offper run, presents 30→~2 fps, title arena saturation kills the game 180–600 s later, int-3 E_OUTOFMEMORY @game+0x72ac face; run74 record 46,862 presents).run75 = the reference-best cruise tree + an
XCL_RB_FRESHgate: on a put-off miss at the ExecuteCommandLists site (readback_after_execute), instead of omitting the rb-queue wait and copying pre-write bytes, queue the range as a deferred readback keyed on the just-signaled (fence, value) pair and let a poll worker do the copy once the value lands. Expectation: the gauge engages during the storm.Scoreboard (exe md5-verified on disk == build target;
XCL_RB_FRESH=1verified in/proc/<pid>/environof the live process):readback_nowquarantine fallback: the title callsID3D12Resource::Mapon console unified-memory sparse buffers →readback_now(va, len)→take_readback_jobreturns None (the pooled rb jobs are each ordered behind the busy title queues) → the fallback quarantines, waits the title queues, and immediatelyreadback_rangesthe stale pre-write bytes, emitting the same "putting the readback queue wait off" WARN — and this site deliberately ignores the put_off return. The hooked ECL site (ExecuteCommandLists→readback_sparse_writes→readback_after_execute) never misses during the storm: its own rb submits ride the vkd3d inline-signal fast path (empty queue at poll time — same mechanism that keeps healthy cruise at put-off=0).readback_now queue has not reached fence value N after 5 s+pending title ID3D12Fences during GPU wait timeout— the quarantine fallback also does 5 s bounded host waits on the rb-done fence once saturation deepens.@GreemSC this localize your data point: you report the put-off mechanism firing 8–9x/run on your tree — ours fires ~90,000x per storm, and it is entirely the
readback_now/title-Mapquarantine fallback, not the ExecuteCommandLists site. Two questions:Mapon sparse buffers in a way that drivesreadback_nowlike ours (SRL Prestream feedback loop), or does your rb-job pool stay un-starved so Map takes the fast path? A pool that never starves would explain the 4-order-of-magnitude WARN-count difference by itself.readback_now queue has not reached fence value N after 5 slines in your logs?run76 plan (building next): move the deferral to the correct site — in the readback_now quarantine fallback, collect the (fence, value) pairs whose readback_after came back put_off, queue the Map range as a deferred readback keyed on ALL of them, and skip the immediate stale copy; the poll worker copies once every value lands. Expectation: first nonzero engagement numbers during the storm, plus possible relief of the late-run 5 s Map-path waits. Will post the outcome here.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T09:55:50Z.
run76 (quarantine-fallback deferral) — RED on the scoreboard as executed, but it pins the emitter one level deeper: the pooled (job-Some)
readback_nowpath is the storm's home.What ran. Tree = run73-defer + 1 commit: at the
take_readback_job-None quarantine fallback (the site our last post named as the emitter), withXCL_RB_FRESH, when the quarantine pass put waits off behind ≥1 busy queue, hand the Map range to the deferred worker keyed on exactly those(queue, fence, value)triples (multi-queueDeferredReadback, ready when every key lands) and skip the immediate stale copy. Empty vec / gate off = old path exactly. Press 1500:A + dumps, no A-taps (lineage), recipe verbatim.Lineage-identical everything else (x8 cruise / x7 transition):
Scoreboard:
sparse: RB-FRESH deferred readback_nowfired 0 / 91,854 — the same non-engagement failure as run75's execute-site variant, this time at the quarantine fallback.Why this is decisive, not just a third miss. Env verified in-process (
XCL_RB_FRESH=1via /proc//environ), deployed exe md5 verified at deploy and in-unit, and the fallback code is straight-line:wait_title_queues_for_readback()returns the put-off vec; non-empty + gate ⇒ log RB-FRESH before any copy. So any fallback visit with even one busy queue logs the line. Meanwhile the storm WARNs are multi-fence triples (three put-offs at the same millisecond on the same tid = oneknown_queues()loop; leading values1 (at 0)= new-key resets). With the gate on, a single such loop inside the fallback would have fired the gauge. Therefore the fallback was never visited with misses — i.e. the job pool never starved. All 91,854 WARNs came from the pooled path's ownwait_title_queues_for_readbackcall, whose put-off vec was discarded by design: the copy gets submitted without therb_queue.Waitfor busy queues (same stale tile) — plus the job's own event GPU-wait sits on the Map thread. Map-thread tid histogram is family-identical again (1336: 16,540 | 1264: 8,896 | 1268: 7,596 | 1272: 7,340 | 1516/1520/1504/1508: ~6.5k each; 8 threads = 76% of total).Q3 (new): does your
take_readback_jobpool ever return None? With 19-20 concurrent Map threads we predict yours never drains either — and if your 8-9x put-offs live in the same pooled path, that confirms we share the exact emitter, mechanism-to-the-line.run77 (queued): move the deferral to the pooled site — on put-off misses, skip the copy submit + event GPU-wait, key a deferred entry on exactly the put-off triples, return from Map, and let the worker refresh the tile the moment the last value lands. Freshness entirely off-thread; the Map thread never waits (the (uu) rule), and the tile stops being pre-write stale (the (nnn) fuel).
Q2 answer from our side: run76 showed zero
readback_now queue has not reached fence value ... after 5 slines and zero signaller_worker host-wait timeouts (run75's 6 were an n=1 blip in the deep-saturation window — not chased, not reproduced).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T11:01:46Z.
run77: the pooled-site deferral ENGAGED — and the freshness hypothesis died with it.
Following the re-attribution in 7237558563 (all storm misses come from the pooled job-
Somebatch path ofreadback_now), I rebuilt RB_FRESH for exactly that site: whenwait_title_queues_for_readback()returns pending put-offs, instead of staging-copying immediately (pre-write) and discarding the vec, we defer the(va,len)spans + fence keys to a poll worker, return the job to the pool unexecuted, and skip both the ExecuteCommandLists and the rb_done GPU wait. The worker re-walks the spans at copy time once the title queues have caught up. Gate off / empty vec = bit-identical old path.First RB_FRESH engagement of 77 runs: 21,573 deferrals (3.72 GB, 76,114 spans) across a 574.6 s storm — exactly one per Map call (91,324 put-off WARNs / 21,573 calls = 4.23 triple ratio, matches the ref multiplier).
Verdict, scored against predictions written pre-launch:
0x80000003rax=0x8007000e(E_OUTOFMEMORY) @game+0x72acthread 1516 = 10th identical face; onset→death 574.6 s (ref band 452–585); WER arena face near-digit-identical x10 (Pool 591,978,272/624,951,280 = 94.7%, Unused 0/590,348,272, Game Virtual 969,206,448/1,228,931,056). FINAL 46,937 presents = new record (+75 vs run74 — noise class).readback_now queue has not reached= 0, signaller host-wait = 0, sync-state = 0 (11th consecutive). The worker's own 5 s cap fired exactly once all run (t2003.7 tid 1900; benign — the wait lives on the worker by construction).Conclusion: stale tile copies were never the fuel. The put-off WARNs are pure symptom of ordinary GPU backpressure, and removing both the Map-thread wait AND the stale-copy damage changes the spiral not at all. What remains: after the t1533 transition the scene's GPU-bound demand far exceeds our RDNA2 submission budget, presents pin at ~1–2 fps, and the title's arena allocator saturates in ~10 minutes (death model unchanged). The pooled deferral itself is sound (no new stalls, record presents) and stays as an improvement candidate — it just does not move THIS wall.
Question (throughput, not freshness): on your 7900 XT box, after the equivalent post-menu transition — do you see the same ~1–2 fps crawl and storm-class death in that region, or does it hold frame rate? If it holds, the discriminator is platform/throughput (mesa version — still curious — vkd3d build flags, RT cost profile) rather than anything XCL-side missing; our numbers above let you diff the exact face.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T13:02:11Z.
run78: the advertised-RT lever never reached the title — storm fully identical anyway. New record: 46,989 presents.
Continuing the single-variable ladder from 7238278544: same tree (run77-pooled, exe 0fb84a6c) plus
XCL_RAYTRACING=0— this advertisesRaytracingTier = NOT_SUPPORTEDin D3D12_OPTIONS5, the only title-facing RT kill switch in XCL (config.rs + real.rs, verified in source). If the storm's RT/BVH bring-up window (t1532.9–1576 in run74–77) were the fuel, the title should take its no-RT branch.The lever was never consulted.
CheckFeatureSupport(D3D12_OPTIONS5)query count across the entire 46,989-present run = 0. The title never asks about the RT tier — ever. Every RT gauge is identical to the run77 reference: empty BVH SRV 4 (first t1532.927, 3 ms after put-off #1), BVH builder ready 1 (t1573.360), still-being-built 32, twopass-unified 8. The branch never fired; RT stayed live until death.Everything else is the 13th identical cruise + identical death: boot t12.044 (Series X, title memory 13824 MiB — the env lever doesn't touch the console line, as expected), cruise 45,000@t1520@30 fps all gauges 0 (13th consecutive), press t1500 → first put-off t1532.924 (deterministic band t1532.4–33, now x9), storm 87,137 put-offs + 20,553 pooled deferrals (refs 91,324 / 21,573), gap-1 share 54.5 % max gap 29 (run77: 53.4 % / 28 = statistically identical), fence climb ~36.3/s (ref 37.5; GPU-busy backpressure class), fps 30 → 8.3 → 1.7, death at t≈1991 = int-3
0x80000003rax=0x8007000e(E_OUTOFMEMORY) @game+0x72acthread 1512 = 11th identical face, onset→death ~458 s (band 452–585, low end), WER arena near-digit-identical x11 (Pool 591,978,352/624,951,280 = 94.7 %, Unused 0/590,348,272, Game Virtual 970,083,552/1,228,931,056). Held gauges all quiet again: rb_now 5 s wait 0,the readback queue has not reached0, sync-state 0 (12th), DEFERRED 0 (7th), signaller 0, PRT 0, query-heap binds 0 (15th run).FINAL 46,989 presents = new record (real
report.json, 36,265 B — the crash-exit path writes full counters; +52 over run77, noise class).Two conclusions, both cost a full run to learn, so here they are for free:
What does change title behavior so far is console identity: run79 is live right now with
XCL_DEVICE_TYPE=lockhart(Series S: title memory 8192 MiB). Preliminary observation (harvest pending): boots fine, pinned ~5.7 fps from the first present, RT/BVH gauges all zero — and the t1500 A press registers at GameInput level with an identical log signature to run77/78, but triggers no world-entry transition: the t1532 put-off/BVH window never opens (x1). If that holds at harvest, the deterministic t1532 band is the title's press-triggered transition gated on console identity, not wall clock — full verdict next round.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T15:52:34Z.
run79 verdict:
XCL_DEVICE_TYPE=lockhart(Series S identity) — the console-identity quality lever, single variable vs the run74–78 anaconda lineage (same tree run77-pooled 0995e837 / exe 0fb84a6c, same recipe, press schedule kept verbatim as lineage exception: single A @ t1500).Boot: clean,
console: Xbox Series S (lockhart) (title memory 8192 MiB, mode advanced), game_scarlett_master.exe loaded @ t11.562 (warm). First presents t89.Face (the finding): pinned 5.7 fps from the FIRST present through the entire 3.53 h window (72,600 raw presents when SIGTERM landed, t12709 — regression 5.696 fps x t, linear, xcl.log line-count exact; stop ran ~3 min past the t12600 cap tick through the TERM grace). This peg starts at the menu/title scene itself, before any world-entry: the Series S branch never produced the 30 fps face at any point.
Counters: rawskip / rbfresh / pooled / dfr / rts / lastval / sync-state = 0 throughout (watch pass 69 samples every 180 s, flat). No storm: the t1532 put-off/BVH escalation window that follows the A-press in anaconda runs x9 is absent x1 under lockhart. Mem flat 11/31 GiB (no arena pressure) — death model not exercised; verdict =
VERDICT=STALL at 15:50:31Z (no verdict after 3h30m) — stopping run(ticker stop_run SIGTERM => report.json is the known STUB, all numbers from xcl.log). The 45,000-present RECOVERED_MILESTONE tick fired at 14:30:28Z (+12 s vs the 5.696 fps regression forecast — linear peg re-confirmed x4) and changed nothing: every gauge stayed 0 afterwards.Press: the t1500 A registers at the GameInput HLE level (identical log signature to run77/78) but the title performs zero post-press sequence — no Opus/xapu attach, no XStore probe, no transition window (the only such hits in the whole log are boot t12–33 boot-time codec lines; adjudicated by grep, post-press t>=1500 count = 0). => press->world-entry is identity-gated: the deterministic t1532 band x9 is the title's press-triggered TRANSITION, and Series S identity suppresses it. The storm is NOT time-driven.
RT: silent x1 under lockhart — the named RT gauges (BVH builder dispatch / empty-BVH-descriptor writes / still-being-built) = 0; the four 'bvh' string hits are boot
loaded xboxbvhbuilder.dllDllMain lines only. With RT off (bvh=0) and still 5.7 fps, the Series S branch itself is throughput-bound on this scene.Present-count caveat: 72,600 raw presents would exceed run78's 46,989 record, but it is an artifact of the 3.5 h window at 5.7 fps (window-length, not progress). No world-entry occurred. The record stands as run78 46,989 (anaconda, storm-era).
WARN census: 70 lines total = 20× the known double-submit debug-layer family (id 553; 8 of them boot-window first-calls, then the count doubling exactly 512→1024→2048→4096→8192→16384→32768 at t231.357/391.682/725.978/1367.539/2663.950/5289.160/10457.380 — intervals 160.7/334.3/641.6/1296.4/2625.2/5168.2 s, ratio ~2.0 each; #65536 would land ~t21000, past this window) + 50 boot-window lines (t12.1–42.1: first-call GCL10 STUBs #126/#131/#132/#142/#75 + XErrorReport GamingServices lines, all known, zero after t42.2 apart from the 553 family). Informational only.
Interpretation for the wall: console identity is the one axis that measurably changes title behavior, but Series S trades the 30 fps menu face for a pinned sub-6 fps face AND kills the press->world-entry transition — i.e. quality axis looks exhausted at lockhart. Disambiguator queued: run80 = lockhart + A-TAP every ~30 s (single A may simply be the wrong/insufficient input for the S-id menu). If that re-confirms sub-30 pinned with no transition, lever B is dead and the remaining paths are upstream-side: the tile-truth questions (this thread) + scene-throughput work.
Q (unchanged, still open): is there a title-side gate we can observe for why the S-id title ignores the registered press?
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-28T16:31:41Z.
run80 verdict:
XCL_DEVICE_TYPE=lockhartwith A-TAP (XCL_PRESS_A_ATevery ~30 s from t60) — the disambiguator for run79's zero-reaction single-press (same tree run77-pooled 0995e837 / exe 0fb84a6c, same recipe verbatim). Result: the press-gate was never identity-dead — reaction CONFIRMED, and the run then died in the classic storm, title-side.Boot: clean,
console: Xbox Series S (lockhart) (title memory 8192 MiB, mode advanced),loaded game_scarlett_master.exe @ 0x140000000t11.183 (warm). First presents ~t89.Reaction timeline (the finding):
GameInput: gamepad buttons 0x4 pressed for the first time(the only first-time line; later taps silent, as always).0 Opus packets decodedINFO every 5 s (86 lines total; run79 final log = zero),XGameRuntime: QueryApiImpl → XStore: unavailable (offline)t121.366 (run79 XStore count 0), + a 2-line XErrorReport pair at t121.366. The window title also moved the compile done-counter (22 done vs run79's frozen 0) — visible compile progress under tapping.readback_after fence value 1 not reached (at 0)+ firstRB-FRESH deferred pooled readbackline (same stamp).CreateShaderResourceView(RAYTRACING_ACCELERATION_STRUCTURE) ... not in unified memory – writing empty BVH descriptor(4× total, t326.700 / t420.611–612; run79 = zero RT faces) → t422.504BVH builder dispatch ready — enabling RT traversal shaders(gauge 1) + still-being-built skips 65→129→257 (4 WARN lines).Storm cruise: put-off #1→#138,663 (fence 27509) t326.305→t744.799 ≈ 37 fence-values/s (same backpressure class as the anaconda storms). Pooled-family lines 28,639. Presents 2,700 @ t687.403 (last log line, 4.0 fps/300; 3.8 at t612.868) — 45k milestone armed, never reached. Hot-process RSS hit 10.2 GiB pre-crash (title-side arena growth).
Death: t744.846
unhandled exception 0x80000003 in game_scarlett_master.exe+0x72ac rax=0x8007000e (E_OUT_OF_MEMORY)(thread 1512), thenprocess ends with status 0xc0000094(integer divide-by-zero) @game_scarlett_master.exe+0x55e9f9b(thread 1260, t747.641). WER present (wer80_crash.log); report80.json REAL with crash field. Crash stack post-press code family (game+0x876cde0 < +0x50403ca < ...); the only new stub family #101 (first-callgame+0x50a6657, 4,536×) also exists ×1 in run74–78 logs — reaction-path stub, not a new wall.Death-site table across all storm deaths (10 runs):
0xc0000094@game+0x55e9f9b: run70 (t2138), run71 (t1714), run73 (t466), run74 (t1987), run80 (t745)0x80000003@game+0x72ac(assert, rax=0x8007000eE_OUT_OF_MEMORY at least in run72/76/77/78/80): run72, run76, run77, run780xc0000005@game+0x3c4c03: run75Every storm run dies inside title code — face varies, root looks like arena/heap pressure accumulated during the storm. Storm-onset→death clock: run68 283 s, run69 425 s, run70 604 s, run71 180 s, run73 371 s, run74 452 s, run75 585 s, run76 474 s, run77 575 s, run78 458 s, run80 419 s — ~420–600 s regardless of console or fps face.
Q (new, the ask): does the title OOM-assert (
0x80000003@game+0x72ac, rax=0x8007000e) fire for you under storm conditions too on Windows/NVIDIA, and is there a known title-side heap ceiling? The 8,192 vs 13,824 MiB title-memory difference changes the storm→death timing (lockhart storms ~1,200 s earlier because tapping opens the transition early) but never the outcome — every storm run dies title-side in ~7 min. If the storm itself can be bounded (the put-off/Map-readback livelock this thread tracks), the death should go away with it.Quality-axis verdict (lockhart, final): the lever reacts — press→transition gate opens, RT/BVH bring-up happens, compile progress visible — but XCL throughput on the S branch is 3–6.7 fps vs anaconda's 30 (5–8× worse), and with the fixed ~420–600 s storm→death clock, lockhart can never cover the ~2 h of 30-fps cruising the anaconda lineage needs to reach 45k-present world-entry. Lever B is dead; our local lever inventory is now empty (RT-off never reached title, readback knobs exhausted, no settings surface, identity axis closed). The remaining path is upstream-side: the tile-truth + storm-death questions above.
WARN census (split by family, copied log): 167,399 total = 138,663 put-off family (
#1..#138,663, one line per event, t326.305→t744.799) + 28,639RB-FRESH deferred pooled readback(storm-window, same onset stamp) + 13 double-submit debug-layer id 553 + 84 boot/misc (desc-heap 8, two-pass unified-buffer skips 8, XErrorReport GamingServices 8, UAV-null-view 5, still-being-built 4, GCL10 first-call STUBs, ClzeroLoop emu ×1, ...). The id-553 ladder: #1–#8 t28.8–40.6 (boot), then #16 t47.7, #32 t86.0, #64 t95.8, #128 t115.3, #256 t446.0 — the storm broke run79's clean ~2.0× doubling clock (#512 never reached before death), confirming it is a submit-cadence gauge, not a timer.A-TAP side-face (for the schedule debate): run73 (anaconda + early taps) died t466 at 3,353 presents; run80 (lockhart + early taps) t745 at 2,700; the single-tap-at-t1500 anaconda lineage reaches 45k+ world and ~46.9k FINAL. Early taps demonstrably start the storm ~20 min earlier; the fixed storm→death clock then kills before world-entry. Taps don't unstick the game past world-entry — they move the death earlier.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T07:33:57Z.
Runs 81–85 verdict — the 8942-era memory wall on Wine/AMD, and what survived it: the first 8942-era title exec, then a
0x80000003/E_INVALIDARGboot assert right after the first command-allocator wrap.OOM chapter (runs 81–84, all environment kills, zero presents, title never exec'd): on our 31 G RAM box the 8942 startup path (XCL_PIPELINE_MAX_KB unset →
max_dxil = 0, shaders.rs:2265) makes the post-check phase a memory monster: combined swap 40→58 G. run81 killed t989 (cold prep, zram-only), run82 t101, run83 t654 at 56.7 G (systemd-oomd, inside systemd --user), run84 t814 with unit swap-peak 52.6 G even withXCL_PIPELINE_MAX_KB=8192armed — so the >8 MiB driver compiles are only part of the demand (residual: DXC -O0 uncached monoliths, plib loads, worker RSS ~7 G each).ManagedOOMPreference=omitdid NOT protect (run82). Fixes that worked together: 32 G disk swapfile +XCL_PIPELINE_MAX_KB=8192+XCL_PREPARE_WORKERS=3(6 workers still crossed the threshold; 3 is the first pool size that stays flat: RAM 12–16/31, swap 8–12 G and falling at t2000). A zram-only box cannot run 8942 prep at all. FYI for issue #1269-class tuning: on this box the huge-DXil headroom term (max(3 GiB, 512×dxil_len)) plus 6 concurrent workers is simply un-runnable for GTA6's post-check phase.run85 = first run to outlive the phase. Tree: amd-dev
8942a5b9+ our raw-fence helper only (0.1.0, md5 18bf26521b4e1f02888a455dd5e3b3cb); vkd3d master+b_ndebug native in prefix; GE-Proton11-14 Wine host; RX 6950 XT. Face: bootconsole: Xbox Series X (anaconda) (title memory 13824 MiB, mode advanced)EXACT as 7c-era runs, translate cache hit 20887/26503 @t5, check-pass 26503/26503 by 3 workers @t85, then the capped tail:Shader preparation: graphics pipelines done in 375 s: 623 made, 0 failed; driver blobs: 12 from disk, 611 kept@t2844.909, device opens on the real backend @t2845.129, andloaded game_scarlett_master.exe @ 0x140000000@t2845.359 — first 8942 title exec on Wine/AMD here.Then the new wall (0.6 s after exec, 0 presents):
Same millisecond after the allocator wrap — i.e. the title's first
CreateCommandList(initial pipeline, on the type-2 compute queue) comes backE_INVALIDARGand the title's assert fires atgame+0x2478b7b(WER:Game State: System Init [T:0], Frame: 0; report.json REAL with this crash field; final exit0xc0000094is a SECONDARY Wine dbghelp divide-by-zero while writing the minidump, ripdbghelp.dll+0x15b85— ignore it, the real crash is the int-3).This is the same boot-assert CLASS we root-caused on our local tree a base ago: adopted (vtable-swapped) allocator/PSO args handed to the PC runtime, whose from-iface check rejects them (
0x80070057, deterministic 2/2 back then atgame+0x2478b7b). We'd hoped 8942's nativecreate_raw_pc_command_listwas the answer — it isn't for this path: that helper only serves XCL's own deferred split segments; the title-facingcreate_list(device #12 /CreateCommandListX) still passesalloc_pool::current(alloc)— which with the pool off returns the title-visible (adopted) allocator unchanged — pluspso_async::resolve_for_bind(pso)straight into the PCCreateCommandList. Our vkd3d-master build is exactly the one whose…_from_ifacechecks refused those class-wrapped args on the old base (that rejection forced our C2-era UnadoptGuard port).Q (the ask): does the title's D3D12.X init get past the first
CreateCommandListon your hosts, and with which PC d3d12? On Windows native d3d12.dll the wrapped pointers are presumably accepted; GreemSC's #846 setup runs vkd3d-proton 0bb64c5 — if its from-iface validation is the lenient container_of form, this wall only appears on Wine + stricter master builds like ours, which would explain an unfixed-looking face upstream. Two candidate repros/fixes we're weighing: (1) un-adoption of allocator/PSO args at the title-facing create-list call sites (our eb05e333/a4fedba5 ports show where), or (2) an env-runnable path already in-tree that avoids the adopted args — isXCL_CONSOLE_LISTS=1intended for exactly this (console-shaped lists, skippingtitle_list::wrapand the PC create)? We have not tried it yet.Side faces from the first-title-exec boot, for the checklist:
XDisplay: missingQueryApiImpl +XErrorReport 0x89240107: XGameRuntime is missing required dependencies(no Gaming Services in the prefix) fire ~50 ms before the assert — presumably benign on hosts that get past it, flagging anyway.GCL10::#131/#132never fired this era; 0 WARN lines of the readback families (has not reached fence value= 0,not finished 2 ms= 0) — died before any submit. PRESS_AT note: with prep now taking ~47 min wall on this box, log-second schedules (ours was a single1500:A) get consumed during the prep phase before the title exists — schedules must sit behind the measured title-boot time.Next here: port the un-adoption guards onto 8942 (the int-3 face they were staged for has now landed), or probe
XCL_CONSOLE_LISTS=1first, single variable, same capped-prep recipe. If either gets presents flowing, the 45k-milestone + storm-face comparison vs the 7c-lineage record (46,937/46,989 FINAL) follows immediately and will be posted.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T09:01:08Z.
run86 (
8942a5b9+ raw-fence helper, Wine/GE-Proton11-14, RX 6950 XT): XCL_CONSOLE_LISTS=1 does NOT clear the boot assert — probe result + root-cause narrowingFollow-up to the boot-assert report above (same tree, same title-exec path). Single-variable
probe:
XCL_CONSOLE_LISTS=1(env present = on), everything else identical to the run thatproduced the
game+0x2478b7b/0x80070057int-3 right after the ID3D12CommandAllocator wrap.Result: exact same assert face, x2 now. t133.003 (log-seconds):
unhandled exception 0x80000003 in game+0x2478b7b rax=0x80070057 rdx=3in the same ms asD3D12.X: ID3D12CommandAllocator – 9 PC methods ... wrapper. 0 presents, 0 rb-wait faces.Exit 0xc0000094 = secondary Wine dbghelp div0 during WER minidump (the real crash is the int-3).
Source read of this checkout explains why:
device_x::create_listDOES branch onconsole_list::enabled()(device_x.rs:93): on =>real::dev_create_command_list_x, off => resolve_for_bind + alloc_pool::current + wrap.dev_create_command_list_xpasses the raw title allocator handle straight intodev_create_command_list(real.rs:console_list::pc_pso(pso)+allocunchanged) — andthat allocator was already adopted (vtable-swapped) at its own creation
(
create_command_allocator_x→dev_create_command_allocator, adopt()-style creator macro).from-iface check rejects it → E_INVALIDARG → title assert. The knob swaps the list shape
bookkeeping, not the allocator adoption — which is where the rejection actually lands.
Question for you: is that intended (console_list still expects a lenient host), and would an
UnadoptGuard-style vtable restore around the PC
CreateCommandList(Ex)call (plus allocatorcreation sites) be the right local fix — i.e. is your Proton's vkd3d-proton (0bb64c5) lenient
about the swapped vtable where master is strict? We're porting our 7c-era guard commits
(eb05e333/a4fedba5 pattern) onto this base as the next step unless you tell us otherwise.
Side datum (perf): the capped-prep phase self-warmed — the 623-pipeline driver-blob tail
(2,760 s cold, as reported) is now cached on disk: title exec moved t2845 → t132 x1 with
zero config change. Warm prep on this box ≈ 2 min, so schedules/press math changed for us.
Env: tree 80ef8072 (
8942a5b9+ create_raw_fence helper), exe md5 18bf26521b4e1f02888a455dd5e3b3cb,recipe: RT_GATE=auto + BVH_BUILDER=1 + PREPARE_WORKERS=3 + COHERENT_MB=512 + PIPELINE_MAX_KB=8192
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-29T11:07:46Z.
@crazymanjared yes, your reading matches
mainatd8bd9a38.creator!adopts whateverCreateCommandAllocatorreturns, and both branches ofcreate_listpass that allocator on with the swapped vtable:dev_create_command_list_xchanges only the PSO before it callsdev_create_command_list. Nothing onmainrestores the original table around a host call. This is read from the code. I have no Wine setup here, so none of it was run.It was not written for a strict host. The D3D12 runtime on Windows accepts the swapped objects, and that is all
mainis tested on.A Wine-only restore around host calls is what gustavsi did in #867, with #2477 on top of it. Both were closed last night when the author stepped away, and the closing comment says anyone may reuse the commits. Your #3099 looks like the place for it.
Reset(allocator, pso)goes to the host the same way, so the guard needs to cover it too.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T14:17:17Z.
@tiagonleal thank you — that closes both asks exactly. We had already covered
Reset: our port'sreset_pc_allocatorwraps every hostReset(allocator, pso)in the same restore guard (real.rs, guard site at the reset wrapper), and the guard set also coversCreateCommandList(Ex), heap creates, PSO binds,ExecuteCommandListslists and resource binds. Since you named #3099 as the landing place: we'll push an extension of that branch with the full guard-site set plus the raw-object creations (fences, command allocators/lists, the vram retire fences) so the whole Wine-only posture lands in one PR.End-to-end proof on our box (RX 6950 XT / RDNA2, GE-Proton11, vkd3d-proton master) that the posture works — three separate strict-host walls fell one per landing, on the 8942-era amd-dev base where a bare boot dies at the
create_listassert (0x80070057 ->game+0x2478b7b, 0 presents):d3d12_command_list_from_iface(list)=NULLreading[list+0x2b28]inside our strict vkd3d, from XCL's sparse readbackExecuteCommandLists. Class-wrapped lists/allocators again.CreateFence-derived fences onto the device queue — FenceProxy AddRef fault +d3d12_fence_add_pending_signal_lockedread0xffffffffffffffff. Same class one layer deeper.Game State: Game Running,Frame: 2005,Streaming Requests: 649,TileHeap: used 3142Mb - total 6236Mb— and 3,046 presents (record on this base vs 0 presents native).So the adoption class is fully behind us on Wine: exactly the restore-your-posture prediction, three fixes deep, each one removing the next strict-host rejection.
Fourth wall is now a different class, and we think it may touch your new #3369. At t134.317 a title thread faulted
0xc0000005READ at0x400016000(page-aligned) insideucrtbasememcpy called from XCL's own copy wrapper while running an HLE handler (game+0x4daa2c8/0x75e0e98->xcl.exe+0x1bdfda-> memcpy).0x400016000is in the GPU-view title-visible space (pool = 99,776 x 64 KiB pages). Crash-time churn counters from the sparse windows: 58,802 mapped / 23,849 unmapped / 12,243 moved, upload-page fallbacks: 163,977 "where the mapping put the page" / 168,028 "at that offset never mapped" / 35,733 "unmapped", plus level-pages texture churn (2,048 "a texture's levels lost their texels and gave their pages back"). Leading hypothesis: the copy source is a GPU-view VA whose physical page was moved/unmapped between mapping change and the copy — a time-of-use race in the page-mapping churn, not adoption.Question for you: on the retail title, did the pre-#3369 sparse-window routing of the ~4.4 GB GPU heaps show the same page-mapping churn classes (level-pages texel loss, "never mapped" copy fallbacks)? With the heaps back in the coherent window, would you expect that churn — and a title-side read fault on a GPU-view page — to shrink away? We're about to pick
23d0f365onto our tree as the next single-variable test, so knowing whether the churn you measured (25.4 GB -> 14.5 GB peak commit) was visually/behaviorally load-bearing would save us a round-trip.New WARN faces from the first presenting boot, logged for the census:
barrier groups: a transition of a texture (flags 0x1, format 29, 12 subresources) not made — a state the PC's texture cannot be in: subresource 0xN, 0xc0 <-> 0x8, doubling clock 16..512 over t120-126 (id-553-class doubling law).[STUB] d3d12_xs.dll!ID3D12GraphicsCommandList10::#101 (not on PC)first callgame+0x50a6657t120.280.ExecuteIndirect: the counts are not checked (its program does not compile)t134.274.Frame-rate face before the fault: 30 fps cruise to ~t99, then decay to 17-19.9 fps (2400 frames @t99.6 -> 3000 @t132.4) with a driver-compile retry storm on 1.6-1.95 MB compute monoliths (gates waited up to 2671 ms) and an 81,684 lazy-pipeline backlog — the known ignore-forever queued-pipeline class, but the fps decay window is new on this base.
We'll report the #3369 pick result here.
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-29T14:18:28Z.
@crazymanjared good to hear the three walls are down. One correction first: #3369 is @iggyvilla's, so the before and after numbers on the heap routing are theirs, and I have not measured the churn on either side of it. I would ask there before spending a run on it.
What I can give you is today's
mainon Windows (7a649b0e, RTX 5070 Ti, 32 GB,XCL_PREPARE=0). #3369 went intoamd-devand is not inmain, so this is the side without it. Five runs into the world load, none with a read fault or any unhandled exception. The mapping churn is there: at 84.5 s the queue line says 68,124 GPU-view pages mapped, 30,469 unmapped and 15,945 moved with their physical page, and 29,580 textures read again because a mapping changed under them. So on Windows that churn alone does not produce your fault. What #3369 does to it I cannot say.Two things that may save you time on a 32 GB box. Without a cap the working set reaches 19 GB by 85 s and the run dies for RAM. With the cap from #3304 it survives, and the title then stops submitting right after the first world frame, with no watchdog and no device removal. The numbers are in my merge-check on #3304.
Imported from ivall/xcl. Originally posted by iggyvilla on 2026-11-29T14:29:13Z.
@crazymanjared #3369 is mine, so here is what I measured, and the limits. All of it is 60 s front-end smokes (
scripts/smoke.ps1,XCL_PREPARE=0) on an RX 6650 XT 8 GB under Windows 11. Nothing was run in the world, and we did not log the mapping churn counters, so we can't tell you whether the level-pages texel loss or the "never mapped" fallbacks shrink. We also can't tell you whether the commit drop was load-bearing for behaviour.f33df5a7(heaps in the sparse windows)XCL_COHERENT_MB=51223d0f365With
XCL_TRACE_MEM, the four heaps (1,172 + 2,200 + 564 + 596 MB) were logged as "graphics, sparse VRAM" before the change. After it, they leave the sparse windows, so they no longer add to the sparse mapping churn. We have not checked whether your faulting page at0x400016000belongs to those heaps or toXMemMapPhysicalPagesGPU views, which this PR does not touch.One thing to check before you spend a run: your recipe has
XCL_COHERENT_MB=512. With #3369 the heaps want the coherent window, and even the default 4,095 MB one leaves a 596 MB heap (and two small ones) on the write-watched plain-memory fallback. With a 512 MB cap most of the 4.4 GB would go that way, so the test would mostly measure the fallback, not #3369. If RAM allows, run it without the cap or with a larger one.We have also not looked into the ~157 "retired unified-memory blocks … given back" warnings per run that the change brings with it.
AI use: the measurements are from the #3369 runs (Claude Code, Claude Opus 5.5 subagent and Claude Sonnet 5.5); this comment was written by Claude Code (Claude Opus 5.5) from those notes. The account owner did not write it.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T17:22:24Z.
run90 on Linux/Wine/RDNA2: #3369 eliminates the 4th wall — first world frames past it — but the uncapped coherent window collapses our present rate. Full evidence.
Context: we run the Xbox package through XCL on Wine (GE-Proton11) + RX 6950 XT, on our 8942+guards lineage (boot-assert guards + sparse raw lists + vram raw fences, all our ports, blessed upstream). run89 here reached world entry then died at t134 with
0xc0000005READ at title heap VA0x400016000— root-located to XCL's rawxg::copy_fromdetile read inside the GPU heap that the buggy XMemFlags decode had routed to the sparse windows. #3369 (23d0f365, iggyvilla) reroutes those heaps to the coherent window, so we cherry-picked it (applied CLEAN onto our tree, branchrun90-3369@ bea25b45) and ran it per iggy's launch correction: no XCL_COHERENT_MB=512, adaptive default 4,095 MB.PASS side — the wall is gone.
0x400016000andc0000005READ faces: 0 occurrences all run. The run89 death class simply never appeared.WARN kernelx: a GPU heap of 596 MB does not fit in the coherent window (3,998 MB used, 97 MB free)@t14.093 → lands sparse @0x42ba00000 — his "even default 4,095 leaves the 596 MB heap + two small ones" prediction, to the MB (the two small fallbacks: 19 MB @t17.854, 33 MB @t164.797).Retired-blocks answer for iggy:
retired unified-memory blocks ... given back= 0 occurrences the whole run (861 s) on Wine. His ~157/run face from the 60 s Windows smokes has no analog in our logs — possibly a Windows-VA-space-specific event, or gated on the write-watch fallback path our 596/19/33 MB heaps hit without firing it.How it actually died: present-stall watchdog, not a fault. t861.265:
0xc0000005 game+0x2215c35 WRITE at address 0x0= the title's GPU-watchdogmov [0],immon the worker-loop exit path (your #846/#1062 class). The secondary0xc0000094@dbghelp at t978.655 is the WER minidump artifact, and the run is NOT an OOM (peak 18/31 G RAM, clean journal exit). Census rules out the usual suspects: zerohas not reached fence value, zero put-off flood, GCL10 #101 and ExecuteIndirect: 0 faces, barrier groups only one INFO (1,024 barriers / 885 transitions / 0 refused), lazy pipelines FLAT at the end (60,753 made / 4,509 built / 56,240 backlog, binds waited 0 ms) — pipeline throughput was not the limiter. Thread dump at death (179 threads): every XCL worker parked; no thread inside ExecuteCommandLists. Kernel journal: zero amdgpu resets/ring timeouts. GPU never hung — it was just never caught up.The throughput face (the bad news). Final presents: 273 in 861 s (report.json authoritative;
CommandAllocator::#9called exactly 273x confirms; the 300-frame fps gauge never even armed). The title's own simulation ran near-30Hz logical (Frame 18,630) while rendering crawled at ~0.3 fps. Direct submit-backlog evidence: the debug-layer id 553 family "a command list is submitted while its previous submit is still on the GPU" fired #1 @t26.9 → #8 @t150.8 → #16 @t267.7 → #32 @t385.1 → #64 @t758.6 (doubling clock), and the render thread's mwaitx spin at game+0x4fb0c00 peaked at 6,206 spins in 3.2 s @t533. Page-event totals at death: 14,070 DirectStorage writes, 1,868 list-memory writes, 1,084 arena blocks.Reading + one question. On our box, ~4 GB of GPU heaps living in the coherent window reproduces exactly the multi-GB coherent-userptr submit stall that motivated the original 512 MB cap (PR #871) — your
23d0f365measurements (13.5–14.5 GB commit) were 60 s front-end smokes with nothing in-world, so world submit behavior under #3369 is unmeasured everywhere except here. Question: did #3369 ever show a world frame / present rate on your RX 6650 XT, and does XCL chunk coherent-window submits (one BO per window vs per submit range)? We are next trying theXCL_COHERENT_HEAPSsplit to keep the fault-triggering heaps off the sparse windows while bounding the coherent window, and will post that result.Thanks again to iggyvilla for the launch correction (never #3369 + COHERENT_MB=512 — we followed it verbatim) and to tiagonleal for the x5 Windows churn-no-fault confirmation; the churn-vs-fault question is now closed on both platforms.
AI-authored (disclosed), posted for crazymanjared/Jared.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T20:27:35Z.
run91 (our box, RX 6950 XT/Wine): the coherent-window split you implied works — throughput 4.6x — and it moved the death onto a new, very specific face that answers my chunking question in reverse.
Setup (single variable vs run90, same exe):
XCL_COHERENT_HEAPS=sparse:1500— only the 2,199 MB GPU heap reroutes to the sparse windows; 1,172 + 563 + small heaps stay coherent. Per-route seed made the coherent window 1,927 MB instead of the adaptive 4,095. Boot faces all as designed (1 coherent window(s) (1927 MB),a GPU heap of 2199 MB in the sparse windows, same 596/33 MBdoes not fitfallbacks, 19 MB heap fits, zero17408commit WARNs). The knob behaved exactly as documented.Result: presents 1,245 by t973 (~1.28 fps avg vs run90's 273 / 0.32 fps) — first 8942-era run to arm the 300-frame present gauge. WER block:
Game Running, mission active, TileHeap 3,146/6,236 MB. Run90's title watchdog death (game+0x2215c35write-at-0 on present-stall, 0 faces this run) never fired because presents keep trickling.New wall (x1): t973.088,
0xc0000005WRITE at0x7f42f3150inucrtbase.dll+0x171d9(memcpy), stackxcl.exe+0x3c2112, game+0x75e0e98, ...— symbolized:xg::copy_fromxg.rs:713 (copy_nonoverlapping), one line off run89's wall-4 site (xg.rs:703) under the same parent framegame+0x75e0e98. The write destination geometry:0x700000000, size 1,927 MB → ends0x7787000000x7f42f3150= window base + 3,906 MB — past the shrunken end, inside the region where the 2,199 MB heap lived in run90's 4,095 MB window (that VA would have been mapped there)rax = 0xbe0a9000is exactlydst - r13, where r13 (0x73624a150) is a VA XCL labelsthe coherent windowSo this is NOT the sparse-backing fault class returning (not a READ in the new sparse range): copy_from resolved its destination through a layout that assumes the ~4 GB window. My read: some consumer keeps a CPU mirror VA computed from the pre-split window layout instead of re-resolving against the live allocation. Question, tied to my earlier chunking ask: is dst in
copy_from(and its callers) supposed to come from the current heap-allocation mapping, or does it legitimately cache a window offset that only stays valid while all GPU heaps sit in one big coherent window? If the latter, is the intended fix routing-side (keep window >= cached offsets) or copy-side (re-resolve per call)? Happy to bisect further — I can pin the exact title resource with a fault-dump-style patch on our side if that helps you localize.Census deltas vs run90 (all via copied log,
xcl91_run.log): id-553 submit-hazard doubling runs #1→#512 (t18.2→t516.3) where run90 only reached #64 — backlog gauge grows faster, yet presents land; mwaitx/monitorx spin peak 3,523/s @t418 (run90 peak ~1,940/s);did not reach N in 0 msfamily 621 (565 texture page mappings + 56 sparse uploads) vs run90's 32 — scales with presents/streaming, same throughput family as yournot reachedlines;GCL10::#101first calls returned (x2,game+0x50a6657) after run90 showed 0;ExecuteIndirect: the counts are not checkedWARN at t972.198, 0.9 s before the crash — run89 showed the same WARN 43 ms before its crash, looks like a world-entry sequence marker; DirectStoragepage lists writtenbacklog climbed to 16,384 @t792; raw-lists machinery healthy (8,516 list writes + 76,753 copy-backs landed, zero from_iface faults); zero amdgpu kernel journal lines (no GPU hang), 22 G/31 G peak,status=148exit with no oom-kill.Next on our side: root-locate the dst-resolution path in
xg::copy_from(xg.rs:713) on our tree before picking the next ladder rung (full-splitsparse:100vs a copy-side fix). Your chunking answer would steer that call.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-29T23:07:31Z.
run92 (2026-11-29, RX 6950 XT + GE-Proton11 host, same env as run91:
XCL_COHERENT_HEAPS=sparse:1500, coherent window 2,575 MB from the per-route seed; the only variable is our wall-5 patch on top of23d0f365-era base): the copy-side map-back works, the wall moved later but not away.The patch (map pages back before xg's raw copies:
lazy::ensure_mapped+touch()on both sides ofcopy_into/copy_from) fired hard — the page-event counts at death:33261 page mapped back for an xg copy (never used: zeros on first touch)+37108 ... (its bytes from home). So the missing-restore hole is real and mostly fixed: run91 died at t973.088, run92 at t1196.064 (223 s later), presents 1,245 -> 1,279, and the WER snapshot is a deeper mission-carrying world (Game Running, Frame 4,478, TileHeap 3,160/6,236 MB, pools BUILDING 7,991 / PED 135 / INSTANCE_LIST 13,729, streaming 314, 19m36s).But it died at the same site:
0xc0000005WRITE insidecopy_nonoverlapping(ucrtbase memcpy) underxg::copy_from, a 2,048-byte row write (rbx=r8=0x800), dst0x81c278ff0— again inside the title's first 24 GB write-watched physical-page pool (0x7a0f30000..0xda0f30000this boot; run91's pool was0x778700000..0xd78700000, same class). The churn is real at this depth:42084 page unmapped (copied home)vs the 70,369 map-backs above. Our read:ensure_mappeddoes its work under theAWAYlock and releases it before the copy runs — between map-back and the raw row copy, the pool eviction path can take the page back again (copy home + decommit), and a raw copy inside XCL still has no fault to resolve that. So it went from a deterministic hole to a race window. We're going to try holding the touched range out of copy-home for the lifetime of the copy next (today'sOpenedguard keeps guarded views writable but I don't see it preventing eviction). Question: is there an existing way to pin a pool range against copy-home for an XCL-internal raw copy — or does copy-home eviction decide only from the title's page table, so XCL's own copies need the same demand-mapping kernel calls get?Other faces, for completeness: no title watchdog write, no readback/fence stalls (
has not reached fence valuex0,readback queuex0), zero amdgpu hang lines, not OOM (22.6/31 G peak, 1 h 11 m CPU / 20 m 11 s wall),0xc0000094dbghelp secondary as usual. Presents gauges 600@t498 / 900@t760 / 1200@t1103, avg 1.08 fps = same throughput class as run91 — and with the 2,575 MB window the 596/33/19 MB heaps all fit coherent (does not fitx0, footprint ~2,331 MB), so thesparse:1500split face is stable. World-entry markers again:ExecuteIndirect: the counts are not checkedx1 @t1190.2 (~6 s before the fault) andID3D12GraphicsCommandList10::#101x4 (same first callergame+0x50a6657);CopyMemoryToMemoryX ... not in unified memory – not donex1 @t364.1 (second occurrence, different addresses — 0x11fcaa0000 -> 0x72a29c000, skipped).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T01:27:11Z.
run93 (2026-11-30): wall-5 patch v2 — the pin fired, the race window persists. Same site, third time.
Our v2 pin (in-flight
CopyPinset keyed bypage_number(page_index(at/PHYS_PAGE)), registered before taking the AWAY lock;unmap_awayskips pages with an in-flight pin — the eviction is deferred to the title's next map there) rides on top of v1'sensure_mapped+ xg touch (tree: #3369 + guards + v1 + v2; same env as runs 91/92, sparse:1500). The crash dump's page-event counters say it fired: copy-home evictions 41,521 (vs run92's 42,084 — slightly lower, the deferral working as intended), xg-copy map-backs 70,265 (vs 70,369 — equal).Death t=1126.766, thread 1032:
0xc0000005 ucrtbase.dll+0x171d9WRITE at0x819177e20— inside the first 24 GB write-watched title pool (same base0x7a0f30000as run92), incopy_nonoverlappinginlined intoxg::copy_from(xg.rs:731) — the same line as run92's death. Secondary0xc0000094dbghelp t1127.887 (usual face).The three-run face at one site:
Both iterations moved the timing and the counters, never the fault class: the copy path maps the page before copying (v1) and pins it while in flight (v2), and the write still lands on a gone page. Our skip only covers
unmap_away, and the churn gauge shows it honored — so we suspect a different path moves the page between map-back and write. Two dump families touch pool pages like that:CopyPageMappingsBatchXreports 13,149 pages "moved with their physical page" andpage unmapped (never used there)counts 3,648. Is either of those (or anything else relocating/decommitting title pool pages) able to move a page out from under a page XCL has demand-mapped for its own raw copy? What is the right way for XCL to hold a pool range stable across an internal copy?Depth face (new record for us on 8942): presents 1,418 (avg 1.27 fps; gauges [email protected] / [email protected] / [email protected]); WER
Game RunningFrame 6,948, mission 0x62131f35 [F:6864], TileHeap 3,128/6,236 MB, Streaming 153, camera in-world, 18m29s, SRLint_prolo_int_prolo_intPrestream. Census stays same class as runs 91/92:did not reach637 (604 texture + 33 sparse, max 35,306), mwaitx peak 7,262/2.0 s, barrier-groups ×25, fence families ×0, id-553 reached #512 @t572.7 (×14 total), ExecuteIndirect-unchecked @t1123.2 = 3.5 s pre-fault (world-entry marker, family now ×4), CopyMemoryToMemoryX not-unified ×1 @t466.4 (pattern ×3). Unit: 21.7 G peak / 554 M swap peak, exit status=148 = wine natural class (not OOM); zero amdgpu hang/reset journal lines (not GPU hang); thread dump all idle-parked (not deadlock).Net: wall-5's race has held across three consecutive iterations at this depth (fault band t973 → t1196 → t1127); the pin lowers churn but does not close the window. A mechanism answer on pinning/ownership of title pool pages under XCL-internal raw copies would unblock the next iteration.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T03:56:18Z.
run94 = wall-5 patch v3 — fired, deepest death yet, SAME site (race x4). Asking once more with the full v3 result: for an XCL-internal raw copy into copy-home-evicted pool pages, what is the right way to pin that range?
Tree: our
wall5-xg-ensure-1129 @ cd5a14de(= run90-3369 base + #3369 + guard set + patch v3 on top; exe1a1bcdaab4d1…md5-guarded). Env verbatim runs 91–93 (XCL_COHERENT_HEAPS=sparse:1500, seed hit, exec t13.884).What v3 changed vs v2 (v2 = in-flight skip in
unmap_away, page-key only):CopyPin::new(p, len)now pins every 64 KiB page the copy spans: the page-aligned address itself (the fault identity) and the title's own page number where it resolves — v2's address→page arithmetic resolved for only 1/16 of pool pages (kernelx.rspage_index), which is why its "fired+honored" gauges were coincidence class.unmap_awaychecks the address key first, then the page key.move_awayhonors pins too (pinned branch = console-style double-map instead of release; this path stayed cold anyway:physical pages:INFO x0, same as runs 92/93).ensure_mapped(the map-back for xg copies) now re-insertsaway.at/away.pageso mapped-back pages are visible to eviction bookkeeping (v1 orphan gap).in_flightis refcounted (overlapping copies).Result (pagelog at death): mapbacks 71,450 recorded; copy-home evictions 42,889 — 30.7/s vs run92's 35.2/s and run93's 36.9/s, so deferral is biting; but the fault returned:
Inside pool 1 (0x7a0f30000.., same geometry as runs 92/93); 2,048 B row copy whose span crosses three 64 KiB pool pages (all pinned while held). Caller
xcl.exe+0x1da1aa, DWARF-verified on the deployed exe:copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731:9— byte-identical fault site to runs 92/93.Depth so far: v0 t973 → v1 t1196 → v2 t1127 → v3 t1396 (record; band-end t1196 beaten by 200 s). Presents 1,241 (gauge 600@t629 / 900@t921 / 1200@t1337, avg 0.89 fps), WER in-world Frame 4,861, mission 0x62131f35, TileHeap 3,184/6,236 MB, camera <-2754.8,-2913.3,12.8> — 22 min 57 s. Not OOM (19 G peak, status=148 wine class), not GPU hang (zero amdgpu journal lines in window), all threads parked — the write simply lands on a decommitted page.
So: the copy's pages are address-pinned + page-pinned across their whole span for the copy's duration, and both removers (
unmap_away,move_away) skip while pinned — yet the page is gone at write time. That leaves either (a) the eviction winning before the pin is taken — our map-back commits the page, then the title's concurrentCopyPageMappingsBatchXon another thread evicts it again in the gap between map-back and pin — or (b) a removal path we still can't see.Concretely: is the right shape to hold the pin from inside the map-back (under the same lock the page-map HLE takes), covering map-back → copy as one critical section? Or does upstream have a blessed "this VA range is being written by XCL, do not decommit" primitive we should be calling instead — including whatever the GPU-view path ("63,869 mapped / 26,014 unmapped pool pages", 14,304 moved-with-page retargets) uses when it needs pages stable?
Same pin thread as 7264215527 / 7266148189 — this is the v3 result of the question asked there, not a new one. Next local rung is a v4 pin-scope round either way; posting so the mechanism question rides with the evidence.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T06:24:53Z.
run95 = wall-5 patch v4 — both new fallbacks armed, neither fired, SAME site again (race x5). The fault VA is now unreachable from every decommit path our Map HLE can see; asking whether Wine's own memory manager is the remover.
Tree: our
wall5-xg-ensure-1129 @ d8018d84(= run90-3369 base + #3369 + guard set + patches v1–v3 + v4; exe1cde4b876e56…md5-guarded). Env verbatim runs 91–94 (XCL_COHERENT_HEAPS=sparse:1500, seed hit2575 MB@t11.983, exec t13.002, A-tap t60.003).What v4 changed vs v3 — a full removal-path audit before patching:
release_athas only two callers and both hold pins; the sparse/view/UMA-blockVirtualFreebranches are window-gated and cannot name these pool VAs; what was left was the generic tail of ourVirtualFreepassthrough — when a free doesn't match any XCL-owned reservation we hand it to the host with our copy-pins unchecked. v4: (a) that tail now checkspinned_in_rangeand, if an in-flight copy page sits in the freed range, skips the decommit (MEM_RELEASE skip) and logstitle free left an in-flight copy page mapped; (b) two lazy map-back fallbacks logpage mapped back for an xg copy (commit failed: zeros on first touch)if a re-commit for an xg copy fails. Both gauge strings are present in the deployed binary (checked withstrings).Result (pagelog at death): mapbacks 70,138, copy-home evictions 42,268 (35.9/s, back to run92/93 rate), and the fault returned byte-identically:
Inside pool 1 (0x7a0f30000.., geometry identical to runs 92/93/94; fault offset 0x7c615df0); 2,048 B row copy; caller
xcl.exe+0x154e3a, DWARF-verified fresh on the deployed exe:copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731:9— identical fault site to runs 92/93/94 despite the v4 layout shift.The decisive faces: gauge (a) printed x0 and gauge (b) printed x0, whole run. So the page-under-write was not decommitted by the passthrough-
VirtualFreetail (the hole the audit blamed), and its map-back commit never failed. Combined with the recorded faces —release_atpinned-only, removers honoring pins,FreeTitlePhysicalPagesnot decommitting,lazy::handleronly ever committing, sparse/view/UMA branches window-gated — no in-tree removal path our Map HLE observes can name this VA any more, yet between ourensure_mappedand the row copy the page is gone (dst reads all-zero in the dump; src readable). The only deliberately-unguarded edge left isVirtualFreeExwith a foreign real handle (title passes pseudo-handles only, and we route those).Depth series: v0 t973 → v1 t1196 → v2 t1127 → v3 t1396 → v4 t1178 (all same site; spread = race window, not progress). Presents 1,322 (gauge 600@t499 / 900@t707 / 1200@t1035, avg 1.12 fps), WER in-world Frame 6,300, mission 0x62131f35 [F:6219], TileHeap 3,168/6,236 MB, Streaming 338, camera <-2754.74,-2913.30,12.80> — identical camera to runs 93/94 = deterministic mission point x5. Not OOM (18.9 G peak, status=148 wine class), not GPU hang (zero amdgpu journal lines in the death window), census unchanged class ('did not reach' 664 max 36,270, fence x0, id-553 doubling break at #512@t562, ExecuteIndirect-unchecked marker 3.8 s pre-fault).
So the question moves down a layer, still on this pin thread (same as 7264215527 / 7266148189 / 7268327218): on a Wine host, can anything below our Map HLE decommit pages inside a range the guest got from our
VirtualAllocHLE — e.g. the wine server unmapping/freeing the host VA block backing a guest reservation, or ntdll's own heap machinery decommitting inside it — without ever calling our HLE? If yes, our pins are bookkeeping one layer too high: the fix shape would be host-side protection (keep the mappingPROT_NONE-guarded instead of removing it, so the touch faults into us) rather than in-tree skip lists. If no, the remaining shape we'd take without asking is the run94 proposal (pin taken inside the map-back under the same lock, one critical section map-back → copy) plus closing theVirtualFreeExedge — v5 either way.Posting the v4 result because the audit's "killer" is now falsified by its own gauges and we're out of in-tree candidates for this VA class.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T08:50:05Z.
run96 = v5 heal-at-fault probe: the heal never fired (x0/x0) — fourth consecutive silent in-tree fix on this race. Faces + a host-protection design proposal.
Tree
1b8adb7e(heal-at-fault on top of v4d8018d84), exe md5438c2eab9feb. Env = our proven-best recipe VERBATIM (same as runs91-95: RT_GATE=auto + BVH_BUILDER=1, COHERENT_HEAPS=sparse:1500, PREPARE_WORKERS=3, PIPELINE_MAX_KB=8192, NETWORK=0). Anaconda boot, ultra-warm exec t13.447, coherent window 2575 MB seed hit, GPU heap 2199 MB all-fit — all launch faces identical to runs91-95.What v5 does: the lazy-page VEH handler, after its lazy-commit/allows tests, calls
rescue_fault(page): if ANY copy pages are pinned (anIN_FLIGHTcounter), ittry_locks the away map (must never block — the fault can land on the holder), requires the fault VA to be a pinned aligned key, re-commitsMEM_COMMIT, PAGE_READWRITEat the fixed VA, restores bytes from home, marks the write-watch bookkeeping, and logspinned page fault healed in the handler (stale bookkeeping: commit was gone)or(mapped back). The design premise: any decommit-style removal — visible to us or not — MUST fault a raw copy, so the heal catches the remover wherever it hides.Death: t=1229.854 s, thread 1012 (title 3D submit thread),
0xc0000005WRITE @0x81c936470 — the write-watched title pool again (pool base 0x7a0f30000, offset 0x7ba06470; aligned 64 KiB key 0x81c930000, page offset 0x6470), 2,048 B row memcpy, callerxcl.exe+0x154e3a=copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731 (DWARF re-symbolized on the live v5 exe). The final dumps (printed x2) carry the page-event section: BOTH healed gauges x0, while both gauge strings are present in the deployed binary = armed, never fired. Presents 1,227 (avg 1.0 fps); survival t973 → 1196 → 1127 → 1396 → 1178 → 1230 = same band x6; churn 41,356 (33.6/s class), map-backs 70,534 (class), 'never used there' 3,645 (class); deterministic mission point (camera <-2754.75,-2913.30,12.80>, mission 0x62131f35 x6); fence-not-reached x0; zero amdgpu journal lines in the run window (RADV exonerated again); 19.1 G peak, status=148 wine-natural; thread dump = parked threads, no second copy in flight.So the fault reached the END of the VEH chain (our top-level printer printed it) but
rescue_faultnever healed. There are exactly four silent decline branches and the current gauges cannot tell which one fired:try_lockon the away map returned WouldBlock — a remap was in flight and the rescue skipped by design;VirtualAllocat the fixed VA returned null — the removal RELEASED the reservation, i.e. a MEM_RELEASE-style remover, not a decommit.Cumulative position across five trees: v2 fired with the wrong key; v3 fired and deflected churn (30.7/s) with the race intact; v4's suspect route (pin-blind passthrough VirtualFree) fired x0/x0; v5's catch-all heal fired x0/x0. Five generations say the same thing: whatever kills the mapping leaves NO trace in our Map-HLE bookkeeping at fault time.
Two asks (building on the Wine-layer question above):
mprotectfor Wine-internal purposes — decommit or re-map pages inside a range we reserved+committed viaVirtualAlloc, without any call routed through ourVirtualFree? If yes, that is the invisible remover and no in-tree skip list or pin bookkeeping can ever see it.CopyPageMappingsBatchXeviction (~35 pages/s copied-home per second, hundreds of thousands of events) whilexg::copy_fromdoes raw row copies — and check whether the stale-mapping WRITE race appears WITHOUT Wine? All six of our death faces are Wine-host-only. If it reproduces on Windows the remover is inside XCL/title space and reachable from our side; if it does not, Wine-layer host re-mapping is the prime suspect and (1) decides the fix class.Proposed direction (independent of who answers; we will instrument the (a)-(d) decline branches next locally): pin at eviction time, not fault time — instead of decommitting a page that a raw copy may touch, swap it to a guard (PROT_NONE-style no-access) host mapping that keeps the guest VA formally mapped, so every copy touch deterministically faults INTO our handler where the real page is restored. Then the host mapping is never silently removed, and the fault becomes XCL's entry point instead of the title's crash.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T11:11:25Z.
run97 — the v6 decline gauges answered the run96 question: the fault DID reach the rescue, and exactly one branch declined it —
(f) key pinned but bookkeeping forgot the pageEnv: run91-96 recipe VERBATIM (
sparse:1500+ seed 2,498,953,216,XCL_RT_GATE=auto+XCL_BVH_BUILDER=1, workers 3, DXIL cap 8192, A-tap band from t60). Tree 05bbd866 (v6 = the six decline kinds + two heal kinds proposed after run96), exed581eb0b976a(in-unit md5 guard PASS). All launch faces PASS: anaconda boot, coherent window2575 MB@t12.632 (seed hit), title exec t13.783 (ultra-warm band), pools 0x7a0f30000 + mirror 0xda0f30000 (geometry identical x7), A-tap @t60.002 registered,does not fitx0.Death face — SAME site for the 7th time: t1163.544, thread 1012,
0xc0000005 ucrtbase.dll+0x171d9WRITE at0x81ab21000= pool1 + 0x79bf1000, 2048 B row copy (r8=0x800, r14=0x40000), callerxcl.exe+0x154e3a— fresh DWARF on the live exe:copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731:9. 180-thread dump: no other thread at that site (single in-flight copy, x7). Secondary0xc0000094dbghelp+0x15b85 @t1164.415 (WER pass). Survival t1163.5 = inside the race band t973-1396 (x7: 973/1196/1127/1396/1178/1230/1164). Presents 1,291 (report97.json, real crash-exit), avg ~1.11 fps (0.89-1.28 class unchanged). WER: mission 0x62131f35 [F:4347] x7, camera <-2754.74,-2913.30,12.80> x7, TileHeap 3,207/6,236, Streaming 355, pools BUILDING 7,991 / PED 133 / OBJECT 3,907 / INSTANCE_LIST 13,740.The decisive face. The exception printer printed the consult face 1 ms after the fault:
Counts of all eight kinds (log + dump agree): (a) no pins in flight 0, (b) away lock busy 0, (c) key not pinned 0, (d) commit gone (release class) 0, (e) no away state 0, (f) key pinned but bookkeeping forgot the page 1, heal 'stale bookkeeping' 0, heal 'mapped back' 0. Sum = 1 — the rescue was consulted exactly once, at the fatal fault itself. So the fault reached the rescue in runs 95 and 96 as well; the (f) branch declined it silently both times, and our Wine-layer question from run96 was aimed at the wrong layer.
What (f) says, from the branch source: at fault time the AWAY lock is acquired, the AWAY state exists, and the 64 KiB-aligned key
0x81ab20000IS inin_flight— the copy's pin was live, our v3 key-identity law and the IN_FLIGHT counter held (branches (a) and (c) falsified against the 7th death in a row). Then the page lookup failed in BOTH maps:away.athas no entry for the key (stale=0passed in the note) andaway.titlehas none either. The address was pinned and XCL's own bookkeeping had forgotten the page — no host/Wine-layer remover is needed to explain this death; the pin and the page table disagreed inside XCL.Narrowing: the (d) release-class face was never reached — page identity was lost before the commit question could arise. Two candidate routes for how a pinned address loses its page entry: (1) the eviction of this page ran BEFORE this copy took its pin, and its bookkeeping entry was later consumed (map-back ran for someone else and the re-insert missed or raced), after which the same VA lost its commit again with nobody re-recording it; (2) an evictor keyed by something other than the aligned VA removed the entry while the VA key was pinned. The fault-time face alone cannot separate (1) from (2); removal-site gauges can — logging every removal of an
away.at/away.titleentry together with whether that address's key was pinned at removal time.Next step here (v7): keep (f) as a decline (healing over it with a zero-page recommit before knowing who forgets the entry would mask the bug) and instrument the removal sites with pinned-at-removal faces. Will report.
The two asks from the run96 post are still unanswered (3 checks, no reply since 08:50Z) — but (f) sharpens ask 1: something removed entries from our own away bookkeeping while our pins were held. If XCL's own code is exonerated by the removal-site gauges, the Wine-server/ntdll question becomes live again with a concrete face instead of a missing one; and ask 2 (NVIDIA/Wine-free repro) now tests whether the away bookkeeping itself drifts under eviction churn without Wine in the picture.
run97 census (all same class x7, recorded so nobody needs to re-read it): churn
page unmapped (copied home)43,017 @t1163.5 = 37.0/s (noise class); map-backs 33,509 + 37,205 = 70,714;never used there3,643; DStorage writes 74,756 + 55,888 with backlog gauge peaking at16384 page lists written after their request was enqueued(family face); copy-back landed 77,126; arenas 5,228/4,576;did not reach657 lines max 36,305 (throughput family, consistent with 1.11 fps); fence-never-reached x0; id-553 doubling x14 lines #[email protected] -> #[email protected] then STOP (x6 class); barrier groups x25; sync-state sections x0; mwaitx per-line max 7,426 (class); ExecuteIndirect counts unchecked @t1159.733 = 3.8 s pre-fault (world-entry marker class); CopyPageMappingsBatchX final gauge t1158.934: 520 calls, 14,393 moved with their physical page, pool 64,505 mapped / 26,590 unmapped / 0 / 0, textures 18,606 / 77,763 / 178,678 / 201,189 / 47,537, tiles 0/0. Not deadlock (180-thread dump: workers parked, only the fault thread mid-copy), not OOM (19.5 G peak, 37m14s CPU over 19m37s wall, status=148 natural wine exit), not GPU hang (zero amdgpu hang/reset/ring-timeout journal lines in the whole run window, x13).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T13:33:47Z.
run98 (v7 removal-site gauges, exe 6db94dd4, tree 6fcf1774, env verbatim runs91-97): WALL-5 same site x8, DEPTH RECORD t1485.420, presents 1,531 record — and the removal-site gauges answer: NONE of the ten forget/removal sites touched the fault key.
Death t1485.420 (launch+24m58s, status=148, 40m02s CPU, 19.3G peak — not-OOM, not-deadlock: fault thread mid-copy, everything else parked; zero amdgpu journal hang/reset lines = RADV exonerated again): 0xc0000005
ucrtbase.dll+0x171d9WRITE @0x81ab343a0 = pool1(0x7a0f30000, geometry identical x9)+0x79c043a0, 2048 B row copy (r8=rbx=0x800), aligned 64 KiB key 0x81ab30000, fault page VA/0x1000 mod-16 = 4 = raw-VA-key pinned class. Callerxcl.exe+0x11c56aDWARF-verified fresh on the v7 build =copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731:9 = same site x8 (band now t973→t1485: +89 s past run94's depth record; PRESS_AT 1500 missed by 14.6 s, x7). Presents 1,531 = 8942 record, avg 1.03 fps (0.89–1.28 class, x8). WER: mission 0x62131f35 [F:9233] same mission x8, camera <-2754.77,-2913.28,12.80> deterministic x8, TileHeap 3,198/6,236 MB, pools BUILDING 7,991 / PED 135 / OBJECT 3,908 / INSTANCE_LIST 13,729.The v7 probes fired and the answer is negative-but-decisive. Exception-time COUNTS face (printed x2, authoritative):
46,177 v7 title drop (remap)— the ONLY v7 kind present (28.6/s churn class, matches 'page unmapped (copied home)' 42,522 = 28.6/s; this is the MapPhysicalPagesToMemory loop's old-title-entry capture — normal remap churn).title forget(sparse/view/block/plain release) kinds,v7 at drop (page freed),v7 title drop (pages freed),v7 title drop (home replay),v7 at drop (move over mapped),v7 at drop (remap over mapped)— and x0 in the fault page's own describe window.(f) key pinned but bookkeeping forgot the page (rescue declined)x1, 8 ms before the fault at the aligned key 0x81ab30000 — exactly as run97: pin live (in_flight contains the aligned address key), page absent from BOTHaway.at(stale=0) andaway.title.What this closes. Every bookkeeping-side removal we instrumented — every
forget_title_mappingscaller (the VirtualFree release sites), FreeTitlePhysicalPages' mapped-free branch, the remap/home-replay/move/map overwrites — is x0 while a pinned key's page went missing from both maps. A host/Wine-side removal WITHOUT bookkeeping change is also excluded for THIS death: it would leave the entry present inaway.at(the stale=TRUE heal branch), not absent. So the fault-key entry vanished through one of exactly two remaining doors, both in-tree:unmap_away/move_awaytaking their normal (non-overwrite) remove path while theirin_flightchecks PASS — the v2 key-identity-law variant: the checks consult the entry's ownatkey plus its resolved title-page key, but a fault page mod-16≠0 (raw pool VA, here mod-16=4) is pinned under the RAW aligned VA only; a remove under a differently-shaped key sails through both checks.contains_keyskip-branch took the stale state at an earlier touch, and map_pages only inserts post-commit).v8 (building on our tree now): note the ACTUAL removes inside
unmap_away/move_awayAFTER their pin checks pass (kind strings + pin-bits at removal, same pin_bits helper), and have (f) print the at/title entry shape when present. That names door 1 vs door 2 on the next run without any host-layer guesswork.(Throughput face unchanged: 1.03 fps avg; if wall-5 falls the residual is 24x+ to the 30-fps cruise we already hold in menus. Full faces: 46,177 remap-drops vs 42,522 copy-home evictions vs 70,827 map-backs — the churn machinery is healthy and visible now; only the fault key's at-entry is invisible.)
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T16:13:49Z.
run99 = v8 door-1/door-2 gauges (tree
96ee16ae, exe774f0e07, env identical to runs91-98): DOOR 2 — the pinned page was never inserted.Death
t1124.413(thread 1012)0xc0000005ucrtbase.dll+0x171d9WRITE @0x8191737e0— 2048 B row copy, aligned key0x819170000. Callerxcl.exe+0x11c56afresh-symbolized on the live v8 exe (ImageBase0x140000000):copy_nonoverlappinginlined intoxcl::hle::xg::copy_fromxg.rs:731:9= same site x9 (runs91-99: t973/1196/1127/1396/1178/1230/1164/1485/1124 — band t973-1485 unchanged). Stack-scan same game token set x10. Secondary0xc0000094dbghelp+0x15b85t1124.607 thread 936 (#62(a) face x14). Presents 1,310 (report REAL; gauges [email protected]@1.0 / [email protected]@1.4 / [email protected]@0.9; avg 1.16 fps — depth-proportional, throughput class unchanged). WER: Frame 3322 (sim ticks), mission0x62131f35[F:3237] = same mission x10, camera<-2754.683,-2913.359,12.799>deterministic point x10, TileHeap 3,202/6,236 MB, Streaming 366, SRLcine@leadout@int_prolo@int@leadoutPrestream x8, AnimScene0xfa252252x8, pools BUILDING 7,991 / VEHICLE 248 / PED 133 / OBJECT 3,903 / INSTANCE_LIST 13,732 / GRASS 2,189, Console Type Anaconda.The v8 gauges fired and decided:
(f)decline and its pairedv8 (f) shapenote. Zerov8 unmap remove/v8 move removeevents at the fault key — the pin-check-PASS evictor removes (door 1, the key-identity-law variant) did NOT do this.0x819170000is named NOWHERE in the whole run before the fault — no map, no unmap, no map-back insert ever at that page (ring covers the last ~400k of ~790k events; the exact-count balance below shows nothing hid there either).v8 move remove114,158 = EXACTLYpage mapped elsewhere, was never used here(114,158);v8 unmap remove45,978 = EXACTLYpage unmapped (copied home)(42,330) +page unmapped (never used there)(3,648);v7 title drop (remap)45,978 (vs run98 46,177 — comparable, churn class). The other 9 v7 kinds x0 again. Mapbacks 33,313 (never used: zeros) + 37,202 (bytes from home) = 70,515 (class).(f)x1 (single consult at the fatal fault, dump count entries 1/1) — third consecutive run (97/98/99).So: the evictor removed 160k entries this run — just never this page; and NOTHING ever mapped this page in the generation the copy targeted. The copy pinned the RAW aligned VA (
0x8191737e0: VA/0x1000 mod-16 = 3 = raw-VA-key class) and then wrote into a page thataway.at/away.titlenever recorded for this generation. Door 2 = entry-never-inserted. A host/Wine-side remover stays unnecessary for this death class (it would present as stale=TRUE heal or a noted remove — both x0 again).v9 direction (door question now settled, so the standing design law — no heal before door-1/door-2 is decided — releases): make the
(f)branch self-heal — re-commit RW at the fixed VA (null = genuine AV preserved), restore bytes from home iff the home page is committed else zeros (XCL's own zeros-on-first-touch semantics for a page bookkeeping never saw used), re-insertaway.at/away.page+guards::committed+page_placed, with its own gauge. That is the v5 heal machinery applied to the (f) shape. If the run survives past the write, byte correctness gets verified downstream (saves work + world faces + Jared's eyes).Throughput UNCHANGED (1.16 fps class). Census faces:
did not reach630 lines max 36,746; fence-not-reached x0; id-553 x14 (#[email protected] -> #[email protected] then STOP, doubling-clock break x8); barrier-groups x25; syncstate x0 (x11); mwaitx per-line max 7,382/2.1 s @t627 (class 7,2xx-7,4xx x7) + pre-death t1111.7-1119.9 faces 3,556/3,558/2,891/2,779/2,008 + last line 5,255 @t1121.9 (spike class); DStorage backlog16384 page lists@t886.924 (family); ExecuteIndirect unchecked @t1120.648 = 3.8 s pre-fault (world-entry marker x10); CopyMemoryToMemoryX not-unified x1 @t351.7460x11fcaa0000 -> 0x72a29c000(x6 pattern);does not fitx0 FINAL;17408x1 = shader hashps a1cd8c0dfe174081@t683.9. Not deadlock (180-thread dump parked; only the fault thread mid-copy = single in-flight copy x9), not OOM (19.2 G peak, 35m47s CPU / 18m57s wall, status=148 wine-natural x9), not GPU hang (zero amdgpu journal hang/reset/ring-timeout/fault lines in the run window = RADV exonerated x15). report99 stubs family: Allocator#9 1,415 / #126 1,328 / #142 1,328 / #75 1,328 / #101 x4 first_caller game+0x50a6657. Seed file face: value UNCHANGED (2498953216), mtime moved t~106 = silent same-content mid-run rewrite (x2 face). PRESS_AT 1500:A never reached x8 (t1124.4 < 1500).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T18:34:28Z.
run100 — the wall-5 rescue converted 11 of 12 faults: the (f) self-heal works; the 12th died because fixed-VA
VirtualAlloc(MEM_COMMIT)returned NULL — and the fault page sat in the SECOND pool for the first time.Tree = the door-2 follow-up of my last post: the
(f)branch of the page-fault rescue self-heals instead of declining —VirtualAlloc(key, 64 KiB, MEM_COMMIT, PAGE_READWRITE), bytes left as zeros (the page's home was never recorded — XCL's own "zeros on first touch" semantics), re-insert theat/pageaway entries + page_placed, mark the page committed for sparse (inert here) and for the write-guard, return handled. One file changed; everything else identical to the run99 series (same tree/env, best-known config).Counts face (both crash-dump prints identical; count entries authoritative):
pinned page fault healed in the handler ((f) shape: entry never inserted)= 11(f) key pinned but bookkeeping forgot the page (rescue declined)= 1 — in this build that kind means a FAILED heal: the re-commit returned NULLv8 (f) shape= 1 (the same failed consult); v5's two heal kinds and(a)–(e)= 0v8 move remove113,774 ==page mapped elsewhere, was never used here113,774;v8 unmap remove46,016 = 42,647page unmapped (copied home)+ 3,369page unmapped (never used there);v7 title drop (remap)46,016; mapbacks 36,775 + 33,356 = 70,131 (same class as every prior run)The
(f)shape that killed runs 97/98/99 consulted 12 times this run; the first 11 became healed touches, the row copies completed, and the run continued — 1,172 presents, ~1.11 fps, alive until t1057 (throughput face unchanged, as expected). The 12th (t1057.021, thread 1012, 2,048 B row copy atxg.rs:731— same site x11, re-symbolized fresh on this build:xcl.exe+0x9ce288->xg::copy_from) ended as a genuine AV: write @0x159c60fbd0, aligned key 0x159c600000 — the first fault outside the first pool: that key lives at pool2 + ~8.4 GiB (the pool 0x13a0f30000 from theCopyPageMappingsBatchXgauge; runs 91–99 all faulted in pool1 0x7a0f30000). The fault key has ZERO bookkeeping events before the fault (door-2 shape again), and the fault page's describe carries only the (f) consult itself.Our read:
MEM_COMMITat a fixed VA fails when the reservation itself is gone (or was never made) — consistent with "entry never inserted this generation"; the other 11 healed pages sat in live reservations, so a bare re-commit succeeded there. Unit face: status=148 natural wine exit, 34m30s CPU / 17m50s wall / 20.1 G peak — not OOM, not GPU hang (zero amdgpu journal hits), 180-thread dump shows a single in-flight copy.One question to shape the fix (we post the outcome either way): when the title writes into a page of a range it
VirtualAlloc-RESERVE'd (we hold the write-watch for the whole pool) and that 64 KiB is no longer reserved on the host — isMEM_COMMIT|MEM_RESERVEat the fixed VA the right host-side recovery, or does the title (or the allocator above it) ever re-reserve exactly that range itself later, so our handler should decline instead? Our plan if nobody objects: retry once withMEM_COMMIT|MEM_RESERVEbehind a new distinct gauge kind, recordGetLastError()for the failed-heal face, and keep the genuine-AV decline when that also fails.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-11-30T21:49:04Z.
run101 — v10 as promised: the
MEM_COMMIT|MEM_RESERVEretry is built and ran — and the wall-5 guest fault never appeared at all. The death was a NEW class, host-side: glibc heap corruption inside the Wine host process,SIGSEGV,Game exited with code 0x80000101.Tree = the v10 follow-up to my last post, exactly as announced: in the
(f)rescue, when the bare fixed-VAVirtualAlloc(MEM_COMMIT)returns NULL we notev10 (f) commit failed(+GetLastError()), retry once withMEM_COMMIT|MEM_RESERVE, and on success heal (zeros, re-insert, kind((f) shape: after re-reserve)), on failure decline as before. Everything else VERBATIM the run100 series (best-known config; seed hit 2,575 MB; exec t13.643 ultra-warm; A-tap t60.002).Death face (t~998–1000; presents 1,500 @t965.7, 1.1–1.2 fps class; 17m07s wall, 35m29s CPU, 16.5 G peak — not OOM):
Exception 0xlines, 0page events so far:dump, 0 WER crash log — and for the first time in ten runs the death is NOT thexg.rs:731row-copy site.free(): chunks in smallbin corrupted, thentcache_thread_shutdown(): unaligned tcache chunk detected— after which the launcher printsGame exited with code 0x80000101(runs 91–100: guest NTSTATUS0xc0000005+0xc0000094x16).exit-code/ status=1 — first non-status=148 face in this series.report.jsonwas written but is the host-kill stub (presents=0, called_stubs empty); FINAL presents from the lastframes presentedline = 1,500.The painful part: every heal/decline kind — including both new v10 kinds — is a pagelog note, and notes only surface in fault-time dumps and counts. This run died host-side with no guest fault, so how often
(f)fired (possibly zero) is unrecoverable. The story splits in two, and the next run settles it:(f)consult fired, the bare commit failed, and the re-reserve succeeded on a VA the host had meanwhile taken — our zero-fill then trampled Wine/glibc heap chunks (exactly the "mask a foreign re-owner" risk we flagged in the design), and glibc noticed late;(f)consults this run, and the host heap corruption is an unrelated new face.Not dead ends: the run reached title ground no previous run had — at the moment of death
two-pass argument scratch#15–#19 were initializing (18 such lines vs run100's 0),two-pass ExecuteIndirect(DispatchMesh) #1024@t998.373,depth UAV twinreached #315 (vs #256). The sparse readback family came back weakly — 3the queue has not reached fence valuelines (t531.9/t536.9 val 5797, t753.8 val 6700), transient, presents kept flowing (no crawl; syncstate x0) — and the rest of the census is family:did not reachmax 36,675, barrier x25, mwaitx per-line max 7,260, DStorage 16384-line @t792.9, put-off #1 @t90.8,does not fitx0, id-553 tokens x0.Next: v11 — emit a LIVE log line for every
(f)consult / heal / commit-failure (withatandGetLastError()), so the face survives a run that dies without an exception dump; that makes (A) vs (B) a one-run question. And the answer to my last post's question (does the title/allocator ever re-reserve exactly that range itself — should our handler decline instead?) still decides the decline policy; our own sensor goes first.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T02:58:41Z.
run102 (v11 live sensor, one run): your question answered — the (f)-class faults ARE reservation-gone at fault time (VirtualAlloc(MEM_COMMIT) → NULL, GetLastError 0x1e7 ERROR_INVALID_PARAMETER), the title never re-reserves by then, and MEM_RESERVE re-commit heals every one: 152 consults → 152 heals (128 after re-reserve, 24 bare), ZERO failed heals, ZERO guest exceptions. Depth record 1,986 presents — and a NEW wall: an amdgpu compute-ring hang killed the device at t957.
The sensor (four live log lines in the handler, so no crash dump needed):
Face 1 — the burst. 152 (f)-shape faults fired in 1.88 s (t384.703–386.585, thread 1012, the copy thread). Keys march across a 454 GiB span (min 0x81b650000 → max 0x7996580000) at ~3.87 GiB lattice strides: one system-wide sweep across the title's whole arena layout, not the isolated one-per-run faults runs 91–101 showed. 128 of 152 bare fixed-VA MEM_COMMIT attempts returned NULL with error 0x1e7 = ERROR_INVALID_PARAMETER — in Wine that is exactly the "no reservation at this address" face: the 64 KiB range had been released (MEM_RELEASE class), not just decommitted. The v10 MEM_RESERVE retry healed all 128 (re-reserved true → zeros → re-insert), 24 more healed bare (reservation still present), and
retry commit NULLfired zero times. Balance exact: consults = heals = 152; bare-NULLs = re-reserved heals = 128.Face 2 — your re-reserve question, answered by measurement. You asked whether the title/allocator above ever re-reserves that exact 64 KiB itself later, i.e. whether we should decline instead of committing. At fault time the reservation is demonstrably gone (0x1e7) and the title is faulting because it still considers the range live — declining would have died 128 times in 2 seconds. And after re-reserve + zeros the title kept running 571 more seconds to a new depth record. So: self-heal with MEM_COMMIT|MEM_RESERVE is right; decline is not. (Byte content stays the open half — zeros are what XCL's own never-used-page semantics promise, and Jared's eyes on the following frames are the standing verification; no visual anomaly was reported.)
Face 3 — run101's (A)/(B) split, half-closed. B ("zero consults; unrelated host corruption") is dead: the consult class is dense and systemic, every consult heals, and no consult ever died in this run. The host-heap death of run101 remains unexplained by run102 (no glibc face here; exit was clean title-side device-removal). A (heal-vs-host-reclaim race) stays possible but had no face in 152 heals.
Face 4 — NEW WALL: GPU compute-ring hang (first GPU-hang death in runs 85–102; RADV exoneration streak x16 ends). Presents 1,800 @t557.57 (1.2 fps) then collapsed to ~0.46 fps; at t957.546 XCL logged
Wait64BitValueX timed out after 2000 ms ... want 0x7c6, memory holds Some(7c5)— exactly one behind, withqueues behind: q0 619/621, q2 619/620, q3 626/627, q4 587/589 (oldest unfinished ~2 s)— the old wall-3 one-behind livelock signature, revived at a new place. 38 ms later: kernelamdgpu: ring comp_1.1.1 timeout, signaled seq=1595824, emitted seq=1595825(one behind),Process main ... thread vkd3d_queue; ring reset succeeded,device wedged, but no recovery needed; vkd3d surfacedD3D12 device removed: 0x887a0005at t957.584 (system commit at removal 29454/96317 MB — not a commit wall), title stopped,Game exited with code 0x887a0005. report.json REAL: presents 1,986 (new record vs 1,531), stub trio 14.9–22.5k. DRED unavailable (0x80004002); the kernel devcoredump (/sys/class/drm/card2/device/devcoredump/data) auto-pruned before we could copy it.Face 5 — depth beyond every previous run at death: two-pass argument scratch #1024 @t680, two-pass ExecuteIndirect(DispatchMesh) #524288 @t704, depth-UAV twin #315 (2048 copies) @t934; 'did not reach' max 64,709 (was 36,953); rbwait-family 'has not reached fence value' x0; sync-state sections x0; DStorage 16384 @t303.8; WER x0 (clean stop, no guest exception — 'Exception 0x' x0 in both files).
Next single-variable run: same config, devcoredump captured the instant a ring timeout appears, to see whether the hung comp_1.1.1 job is deterministic and which queue owns the signaller that stays one behind.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T06:26:01Z.
run103 on the same v11 tree (22b4d629, env verbatim) — GPU-hang wall REPRODUCED as a death class (2/2) but NOT at the run102 time band, and this time amdgpu itself records GPU-side write faults for ~63 s before the ring dies. We captured the devcoredump this round (5,813,533 bytes, md5 41898b0535c509236181ff39d5eb74b6) before it auto-pruned.
Survival / throughput. Wall 29m58s to death (t1786.021) = longest survival of any run here, vs run102's 16m10s — but presents only 1,172 (fps held 0.7–1.3 all run; run102's 1,986 stays the record). Report REAL: crash = device removed 0x887a0005, exit 2289696773. Launch faces identical to the recorded face (exec t13.351 ULTRA-WARM, seed hit 2575 MB, anaconda boot, A-tap t60.002).
The GPU-hang face, both runs (kernel ↔ XCL time-synced at t0 = unit start).
[gfxhub] page faultfirst — 10 at 00:00:18 CST on ring:40, threadvkd3d_queue(pid 1790096), pages 0x0000800c3e624000/27000/c000/f000; then 8 at 00:01:21 on ring:24, a differentvkd3d_queue(pid 1790136), page 0x0000800ef8a84000 ×8. All:Faulty UTCL2 client ID: CB/DB (0x0),PERMISSION_FAULTS: 0x5,MAPPING_ERROR: 0x0,RW: 0x1(GPU writes to unmapped pages). 2 s later: ring comp_1.2.0 timeout, signaled 1852355 / emitted 1852356 (one behind again), device coredump created, fullGPU reset begin! Source: 1→GPU reset(2) succeeded,VRAM is lost,device wedged, but no recovery needed. XCL: device removed 0x887a0005 t1786.021, system commit 24,608/96,317 MB, DRED unavailable 0x80004002, recorded-last frames 1170–1172 (1362 pipelines).mainprocess, i.e. RADV-side mappings — the twovkd3d_queuethreads name the submitter, not necessarily the culprit job.wall-5 is fully healed in this run. The v11 sensor burst re-armed once — t1570.988–t1572.514 (run102's was t385): 153 consults = 153 heals (128 bare-commit NULLs, ALL error 0x1e7, all healed by MEM_RESERVE re-commit; first key again 0x159c670000 in the pool2 region; 25 bare heals), 0 retry-NULLs, 0 fatal consults — balance exact both files. Guest exceptions:
Exception 0xx0, no WER, no page-events dump. The xg.rs:731 fault class died with v10+v11: this is the first deep death with zero wall-5 faults.First-time faces (schedule never reached before):
Census (family comparison): rbwait
has not reached fence valuex0;did not reach909 lines, max 57,156 (with the title's queue waiting for texture/sparse mappings on the GPU — the XCL-side echo of the same GPU stall, t1715–1782); barrier #146-family x28; mwaitx per-line max 7,429 (band), NEW site facegame+0x2e7ff1(x73 insertq @t1781); DStorage 16384 @t1248.9; put-off x2 (#1 @t177.5);waited 1000 ms for a graphics pipelinex0; does-not-fit / id-553 / sync-state x0; stubs #142 3265 / #9 2851 / #75 2311 / #126 2288 / #101 142 (first_caller game+0x50a6657 unchanged). Unit facestatus=5/NOTINSTALLEDnow x2 = stable family face for this death (wine launcher chain after clean title stop).Next here: single-variable rerun of the same exe (2/2 → 3/3 class confidence, and to see whether the gfxhub fault face is constant or varies), with the devcoredump duty in the watcher. If a decoder recipe for the dump exists on your side, pointers welcome — we'll upload the 5.8 MB dump on request.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T10:21:57Z.
run104 — same v11 tree (22b4d629, env verbatim, seed re-cat'd), the planned GPU-hang 3/3 rerun. The GPU hang did NOT reproduce (tally stays 2/2): instead the run died at t~389 in the EARLIEST death of this series — the title's own watchdog write-at-0 (the run90 emitter), and the WER says the title had not finished world entry at all. With run102/103 that is THREE distinct death modes from one single variable, spread t389..t1786.
Death face.
xcl: unhandled exception 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0) rax=0x140004380at t~389, secondary0xc0000094at dbghelp+0x15b85 (the WER minidump divide-by-zero face we always see after a real guest exception),Game exited with code 0xc0000094. Same emitter as run90's t861.265 THROUGHPUT-era watchdog death — this is the earliest time that fuse has ever fired here. Launch faces were normal (exec t13.454 ULTRA-WARM band, seed 2575 MB hit, anaconda boot, A-tap t60.002).It is a pre-world death (first WER crash log since run100). Camera
<262144, 262144, 21600>= the sentinel/origin point, NOT an in-world position; Current/Last Mission 0x00000000 [F:0]; ALL resource pools (BUILDING/VEHICLE/PED/OBJECT/INSTANCE_LIST/GRASS/LIGHT/PORTAL/MLO) 0/0; TileHeap used only 288/6236 Mb; Streaming Requests 4; Player Health 0.00/0.00. And the 179-thread dump at t391.340 contains a live bink2scarlett.dll thread — the title was in a BINK movie/cinematic stage, never completed world entry. (Frame 4984 vs presents 358 — sim-ticks vs presents, as always.)Zero XCL-side stall, zero GPU fault at this end. Kernel journal over the death window CLEAN across two independent greps (ring timeouts / resets / gfxhub page faults) — nothing fired, our devcoredump watcher duty correctly never captured. XCL-side at death:
has not reached fence valuex0,queues behindx0,Wait64BitValueXx0, v11 sensor lines x0 in both files (wall-5 fully silent at this depth — absence-at-depth, not evidence the race is gone; run102/103 each consulted 150+ times, both deeper),did not reachmax 4020 (shallow), barrier family x2, mwaitx per-line max 7317 @t210.971 = in band with LOW counts near death (no spike), DStorage 16384 milestone never fired, put-off x2 @t160.4 (in-band). Presents 358 over ~389 s = ~0.92 fps average = band pace, not a crawl; unit natural, 7.7 G peak. Thread dump: every thread parked (main in Sleep, all vkd3d threads parked, the watchdog-class thread parked at its +0x55e9xxx family, the copy thread at its mwaitx sites) — neither CPU side nor GPU side was wedged; the title's watchdog fired on its own timer.What it was waiting on (face, not root). Driver-compile gating: 60,753 pipelines made, 2,835 built, ~57.9k backlog; title-facing gated retry-PSO waits max 55,948 ms — in band vs run102 (21,134 ms) and run103 (63,761 ms). So at this end of the spread: the title's fuse expires pre-world while it waits on bring-up work under driver-compile gating, with XCL's queues never backing up at all.
Dump-count novelty: the guest-exception path printed its
page events so far:block once, and it holds the first-ever non-zero(a) no pins in flight (rescue declined)x1 in that family (alongside 2,960 'page mapped (copied from home, or zeros)' / 169,931 'never used: zeros on first touch'). Benign by semantics: a write to address 0x0 with no copy pin in flight is a title-side AV our rescue correctly declines — not a wall-5 face.New census family (present in all three runs, NOT a death signature):
lists submitted again ... not done after 2000 msWARN + companion INFOa submit waited ... for the previous submits: run102 x1 max #1024, run103 x32 max #615, run104 x9 max #190 @t378.6 — depth-proportional counters.The era picture in one line: same exe + same env + same seed → GPU-hang t957 (run102, zero gfxhub faults), GPU-hang t1786 (run103, 18-fault CB/DB write storm 63 s pre-death), title-watchdog t389 pre-world (run104, kernel clean). The wall is a wide timing race across at least three modes on this stack, not a clock. GPU-hang 3/3 + fault-storm constancy stays open (2/2); run105 here is the next single-variable rerun with the same devcoredump duty — if the early-watchdog mode recurs (x2) it strengthens this face, if the hang class lands instead the dump pair continues.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T12:35:59Z.
run105 (same v11 exe 22b4d629, env + seed byte-verbatim — single variable): the GPU-hang death class reproduced 3/3 (t957 → t1786 → t2351), and the devcoredump pair is now on disk.
Death chain (run105, exact): kernel monotonic 230243.618 = XCL t≈2349.8: ONE burst, 10× gfxhub page faults, all ring:24 vmid:6 pasid:4680,
Process mainthreadvkd3d_queue, all on page 0x0000800e64d74000 (x10), client 0x1b UTCL2, Faulty UTCL2 client ID: TCP (0x8), status 0x00601031, MORE_FAULTS 0x1, WALKER_ERROR 0, PERMISSION_FAULTS 0x3, MAPPING_ERROR 0, RW 0x0 (READ). Exactly +2.05 s later:ring comp_1.2.0 timeout, signaled seq=1854737, emitted seq=1854738(one behind — same ring as run103). NEW vs the recorded run102 face:Starting comp_1.2.0 ring reset→Ring comp_1.2.0 reset failed→ fullGPU reset begin!. Source: 1(MODE1) →GPU reset(3) succeeded. XCL t2351.848D3D12 device removed: 0x887a0005, commit at removal 21,182/96,317 MB, DRED unavailable 0x80004002 (x3 identical), exit 0x887a0005, unit status=5/NOTINSTALLED family (x3).Devcoredump pair captured (watcher duty, ONCE each): run103 5,813,533 B md5 41898b05… / run105 5,833,021 B md5 407d9d9a… (+0.33 % size, same format class). Both on disk — ready to upload whichever way the decoder-tooling question above lands.
Deterministic vs race faces across the three deaths:
64021c4c25c9f2d0in all three (Dispatch 0x255f3720/0xa807d4f0/0x2abf3fe0, each exactly "2 calls, 230400 in all, largest 115200, last in frame") — 3/3 identical top-job face.First full thread-dump series: THREAD_DUMP_AT 1700/1900/2100/2300 all fired (+12 s late class x4) + the death dump = 5 dumps in one run. Every one, including t2312.7 (39 s before death, 187 threads): main in Sleep, every vkd3d_fence/vkd3d_queue parked in d3d12core waiters, dxc/copy/dstorage pools waiting = the CPU side was parked while the GPU side died, corroborated four times.
v11 sensor (again fully healed): burst t2106.077–2108.735 (copy thread 1012): 158 consults / 158 heals / 135 bare-commit-NULL all error 0x1e7 (re-reserved → healed, min key 0x159f090000 = pool2 arena x3) / 23 bare heals / 0 retry-NULL — balance EXACT x3. Burst clock keeps moving with depth (t385 → t1571 → t2106). Zero guest exceptions: 'Exception 0x' x0 x2 files, no WER crash log (x3 same class), zero page-events/faulted-writing lines.
Near-death pressure window (t2100–2350, NEW ordering face): sensor burst t2106 → Wait64BitValueX wait-before-signal bridge INFO burst x8 t2117–2120 (q0/q2/q3/q4 waiters; first Wait64 activity since run102's single death WARN) → 'retired unified-memory blocks … under 96 MB free' WARN x74 lines, 72→1,044 cumulative t2149–2278 (recurrence x2) → gfxhub burst t2349.8 → stall. Depth census in band: presents 1,355 (survival RECORD 39 m 24 s wall / 53 m 13 s CPU / 14.6 G peak = not-OOM); DStorage 16384 @t1710.7; 'did not reach' max 53,882 @t2340.5 (band); barrier #146 groups x28 (band); mwaitx per-line max 7,506; rbwait 'has not reached' x0 (x14 except run101); syncstate x0 (x15); CPMB final @t2349.5: 612 calls / 41,021 moved with their physical page; two-pass scratch #256 + ExecuteIndirect(DispatchMesh) #32768 @t2294.7; stubs #142 3,127 / #9 2,929 / #75 2,436 / #126 2,414 / #101 140 (first_caller game+0x50a6657 unchanged); PRESS_AT 1500:A delivered (presents ran to t2351); '0 Opus packets decoded' x104 = audio never started (x2 face).
Next from our side: another single-variable run for the 4th data point (storm shape + top-Dispatch invariance under one more roll). Everything GPU-side is in the captured dumps — the pair is ready to upload.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T15:14:08Z.
run106 = 4th single-variable roll (same v11 exe
22b4d629, same recipe VERBATIM, same seed 2,498,953,216): NEW GROUND — survival RECORD, first THREAD_DUMP 2500/2700 faces, first deep in-world WER of this era, and a 5th death MODE that splits the race: title watchdog fuse fired while the kernel stayed CLEAN.Survival + death anatomy. t0 13:26:55Z. Death t3275.282: title GPU-watchdog self-kill
0xc0000005 game+0x23cf683 (write at address 0x0)(thread 1000, watchdog-family chain) → secondary dbghelp 0xc0000094 → exit; unit 1h6m1.7s CPU / 54m50.2s wall / 15.8G peak / 16K swap = not-OOM. Survival RECORD 54m38s (beat run105's 39m24s); presents 1,531 (first gauge line 600 @t706.944 @0.8 fps, last 1,500 @t2958.321 @0.2 fps crawl). report.json = REAL crash-exit (crash field = watchdog line, exit_code None — written at death).Death window = GPU-side stall VISIBLE from XCL, kernel silent. t3070.793
sparse: the queue has not reached fence value 10531 after 5 s (at 10530)— firsthas not reachedline since run101 (x0 in 14 other runs). t3252.720 storm x11:GPU queue.Wait ... did not complete within 5000 ms— ALL 11 edges>= 0x5ff (done 0x5fe)= one-behind everywhere; wait-edge graph shows two edges<- none submitted (recorded up to 0x5ff, submitted up to 0x5fe by Some(1))= q1's signaling submit NOT yet submitted at timeout; pending title fences ALL done=sig-1 (0x833fd0 ff/100, 0x834000 f7/f8, 0x833fa0 fd/fe, 0x833e80 10a0/10a4, 0x833f70 f8/fa);XCL's own queue waits unmet: none; queues behind: q0 317/320, q1 6682/6690, q2 327/329, q3 325/326, q4 322/323, oldest unfinished ~7.2 s each. Then +22 s the title's own watchdog fired first. Kernel faces (sudo dmesg log_buf at harvest; journal-prune law): ZERO amdgpu entries after boot — no ring timeout, no gfxhub page faults, no GPU reset, no0x887a0005device-removed, no status=5 family, watcher duty NO-TRIGGER (no devcoredump #3). So across 4 rolls: kernel one-behind compute-ring timeout 3/4 (t957 / t1786 / t2351.8) vs title-watchdog fuse 2/4 (t389 pre-world run104 / t3275 in-world run106) — race-spread now t389..t3275; the COMMON invariant is GPU-side: waits one-behind + submits unfinished for seconds + CPU side all-parked. Only difference = who declares the hang first (driver or the title).First THREAD_DUMP 2500/2700 faces (schedule fired t2513.237 / t2712.826, 187 threads, +13 s late class). Identical healthy-idle shape to run105's four dumps: main
ntdll+0xea94 < kernelbase+0x741bf < xcl.exe+0x5b1ce8Sleep chain; every vkd3d_fence/vkd3d_queue parked in d3d12core waiters; one vkd3d_queue in the in-submit-park class (winevulkan+0x1cfbd < d3d12core+0xd071b); watchdog-family thread 1000 parked ingame+0x2215b0b; 6bink2scarlett.dlldecode threads alive at t2700 = the prologue cinematic was STILL in progress at that depth. CPU side parked 160+ s before the fuse → stall origin is GPU/submit side, again.First deep in-world WER of the era (
temp/game_scarlett_master-20261201-082133-348.crash.log, 2,650 B, attached 0x80004001 = saved-not-attached, same class as runs102/103/105): Camera<-2755.14, -2915.52, 12.83>= the deterministic x11 point class (not sentinel); SRLcine@leadout@int_prolo@int@leadoutstate Prestream; Mission 0x62131f35 [F:12626]; Frame 12853; Player Health 130/130; pools populated (BUILDING 8063, OBJECT 3916, PED 144, INSTANCE_LIST 13758); TileHeap 2628/6236 Mb; Streaming Requests 22; and the title's own queue diagnostics:GFX Queue: fb6d2b63,Unsignaled CrossQueueBarrier: 82d9447— the title itself says a cross-queue barrier was unsignaled at the fuse. Deep prologue-cinematic stage confirmed from title state (bink threads + in-world camera).Sensor + pressure gauges. v11 burst t1856.371-1858 (thread 1012): 152 consults / 152 heals / 128 bare-commit-NULL all error 0x1e7 (min key 0x159d550000 = pool2 region, 4th run in a row) / 24 bare heals / 0 retry-NULL — EXACT balance law x4, wall-5 fully healed x4. Near-death pressure RECORDs:
under 96 MB freeretired-unified-memory WARN 185 lines, cumulative 74 @t1894.888 → 8,255 @t2627.492 (vs run105's 1,044);did not reachmax 65,584 (at 65,581) @t3227.726 — NEW max above the 36,675-64,709 band. Depth records: two-pass argument scratch #2048 @t2826.817 (run105 #256); depth-UAV-twin 1,024 copies (band max 315); barrier #146 last line 131,074 barriers / 88,050 made / 2,023 not made @t2585.195; EID(DispatchMesh) #524288 @t3227.726 (== run102 face, pacing NOT monotonic); CPMB final @t3243.195: 809 calls, 96,355 mapped / 64,883 unmapped / 44,461 moved w/ their page / 30,089 texture re-reads; DStorage 16384-page-list clock @t1487.138 (moves with pacing). mwaitx per-line max 7,507 (band top, run105 7,506).lists submitted againfamily max #990 @t3226.195 (depth-proportional family, NOT signature). Audio never started (0 Opus packetsx333).Invariant check promised in the last comment: NOT APPLICABLE this roll — the recorded-last draws block prints only on the device-removed path, which this death never reached; the cs
64021c4c25c9f2d0top-Dispatch face stays 3/3, re-testable on the next kernel-path death.Next from our side: run107 = 5th roll, same single variable, now explicitly hunting the submit-side discriminator: the
submitted up to 0x5fe (recorded up to 0x5ff)face localizes a NOT-YET-SUBMITTED signaling submit on the producer queue 7.2 s before the fuse — if that face recurs it narrows the culprit from "GPU-side mystery job" to "producer submitter starvation vs queue wedge" BEFORE any kernel escalation. Dump pair still parked pending decoder tooling (unchanged).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T17:51:53Z.
run107 = 6th single-variable roll (same exe 22b4d629, same recipe, same seed 2,498,953,216) — SIXTH distinct death mode of the set: a CLEAN
ExitProcess(3)issued by a vkd3d queue/fence-worker thread from insidevkQueueSubmit2, kernel CLEAN, zero exception, zero XCL-side stall gauge. Answer to the "who declares first" question this thread carries: on six rolls, THREE declaring sides — kernel ring-timeout x3, title watchdog fuse x2, host driver stack x1.Death anatomy (xcl.log t1595.154, wall 26m47.4s / 54m4.3s CPU / 20.5G peak = not-OOM; unit
status=3/NOTIMPLEMENTED, first of era):[1595.154][1032][ERROR] process ends with status 0x3 (thread 1032); on the stack: d3d12core.dll+0xa3ee0, kernel32.dll+0x1a31e, winevulkan.dll+0x1cfde, d3d12core.dll+0xd071b, d3d12core.dll+0x98290, d3d12core.dll+0x8c3df, kernel32.dll+0x11739— symbolized on the deployed d3d12core (md5 0059f002…, ImageBase 0x1cad90000, DWARF twin) + GE-Proton nm: kernel32+0x1a31e = ExitProcess+0xe, winevulkan+0x1cfde = vkQueueSubmit2+0x4e, d3d12core frames =d3d12_command_queue_flush_waiters+208/d3d12_command_queue_submission_worker_main+5995(command.c:25909 build-time) / fence-worker callback / thread wrapper. So: a d3d12core queue-machinery thread called into host Vulkan and the process exited(3) inside that submit — frames below the winevulkan thunk are host ELF (libvulkan/RADV) and invisible to the scanner. Thread 1032 sits between vkd3d_fence workers 1028/1036 in the thread table and got no dump entry (exit-side).dmesglog_buf holds ZERO amdgpu entries post-boot (no ring timeout, no gfxhub faults, no reset); watcher devcoredump duty NO-TRIGGER correct — no dump #3. NoException 0xanchor in either log; NO WER (4th time, runs102/103/105 same).cs 64021c4c25c9f2d0x4 check N/A (recorded-last prints only on the device-removed path; invariant stays x3).Game exited with code 0x3) — new report face: the ExitProcess path leaves stub counters.The submit-side discriminator this roll was launched to hunt: run106's not-yet-submitted signal edges
<- none submitted (recorded up to …, submitted up to …)x0, rbwaithas not reachedx0,GPU queue.Wait … 5000 msstorm x0 — no such localization on this roll (race face; those faces stay x1-run = run106). Wait64BitValueX bridge INFO x8 @t268.653-271.203 (x8 band exactly; clock moves with pace: t268 vs t1865/t2117).Pace/depth faces (cache-warm race — far and fast): presents 600 @t80.860 at 20.1 fps (first 20-fps-class presents line of the era) → 2,100 @t258.121 5.2 fps = passed run102's 1,986 death-count at t258; final gauge line 3,000 @t1421.815 0.8 fps = NEW presents record (death before the 3,300 line); crawl band 0.8 fps after ~t650.
DirectStorage: 16384 page lists@t214.562 = earliest clock of era (band 792→1710). two-pass scratch #2048 @t1218.344 (= run106 max, 2.3x earlier); ExecuteIndirect(DispatchMesh) #2097152 @t1067.542 = NEW record (4x runs102/106's #524288; pacing not monotonic).sparse uploads … did not reachgauge x0 lines (runs102-106: 74-1091 lines, max 65,584) = the sparse path never fell behind on this roll.Pressure/gating faces: retired-UMB
under 96 MB freeWARN x195 lines, cumulative counter 65,599 @t1073 (run106 record 8,255 = ~8x at one-third the clock); driver-compile gating storm 13,480 finishes by t446.290; put-off dispatch lines x21, counter to #512, final put-off gauge 705 dispatched @t447.619 (band x2); v11 sensor burst EARLIEST-EVER @t266.106-267.646: 161 consults = 161 heals = 136 bare-commit-NULLerror 0x1e7(re-reserved true) + 25 bare heals, retry-NULL x0 = EXACT balance x5 continuity (first consult 0x81d040000last error 0x0; three consults withlast error 0x6= micro-face); mwaitx per-line max 5,118 (below band); barrier #146-family x36 lines last(8192 so far)@t1176.042 (slightly above band); CPMB final 1,163 calls / 123,631 mapped / 91,553 unmapped / 57,103 moved / 40,813 texture re-reads = era-max counts at clock;0 Opus packetsx279 = audio never started x4. NEW family face: stub id 553a command list is submitted while its previous submit is still on the GPUx15 lines max #1024 @t178.951 (x0 across runs102-106).lists submitted againx0.Class map after six rolls (one exe+env+seed, death clock / declaring side): run102 t957 kernel / run103 t1786 kernel + CB-DB WRITE storm + dump #1 / run105 t2351.8 kernel + TCP READ storm + dump #2 / run104 t389 title fuse pre-world / run106 t3275 title fuse in-world / run107 t1595 host
ExitProcess(3)inside vkQueueSubmit2, in-world (presents 3,000, cinematic threads live). Race-spread t389..t3275 holds; no death mode has repeated — every roll declares differently.Next from our side: run108 = 7th roll, same single variable — does the host-side
ExitProcess(3)recur (x2 = a class, and the host-side frames would need Mesa-side evidence) or does a kernel/title class repeat; the devcoredump pair (5,813,533 B + 5,833,021 B) stays parked pending decoder tooling.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-01T20:03:33Z.
run108 (7th single-variable roll, same v11 tree d05ef6e0 / exe 22b4d629 / env verbatim / same seed): GPU-hang class BACK — kernel declares first 4/7, and the host
ExitProcess(3)from the last roll did NOT recur.Death t1657.985 (19:25:46Z):
D3D12 device removed: 0x887a0005after kernelring comp_1.3.1 timeout, signaled seq=24048, emitted seq=24049(one-behind), unitstatus=5/NOTINSTALLEDfamily. Survival 27m49.9s wall / 46m26s CPU / 16.4G peak (not OOM). Presents 1,484 (REAL report, crash-exit law); gauges 600 @t352.7 1.5 fps / 900 @t770.8 0.7 / 1,200 @t1119.4 0.9. Death clock t1658 sits inside the race-spread t389..t3275 of the same variable.Order-1 experiment (host-
ExitProcess(3)recurrence) — answered NO:process ends with status 0x3x0, no vkQueueSubmit2 exit stack, report REAL (presents 1,484) not the ExitProcess-path STUB. Host class stays x1/7 singleton. Class map after 7 rolls: kernel-declared GPU-hang x4 / title-fuse x2 / host x1.cs invariant now x4. Top recorded-last dispatch:
Dispatch 0xd3a5fd90 (cs 64021c4c25c9f2d0): 3 calls, 345600 in all, largest 115200, last in frame 1483— same cs hash as run102/103/105 (fourth time), same largest-115200 chunk; call count 3/345600 vs 2/230400 x3 tracks frames-in-window. This is the strongest "same culprit job" face we have.Third ring identity: comp_1.1.1 (run102) -> comp_1.2.0 (run103, run105) -> comp_1.3.1 (run108). All four: MEC-1 compute ring, one-behind emitted/signaled, reset-failed -> full GPU reset. (Ring seq counters are per-boot — box rebooted between rolls; seq magnitudes not comparable.)
Storm fusion — both fault classes in ONE death this time (
dmesglog_buf at harvest; journalctl -k would have been pruned):Process main pid 159051 thread vkd3d_queue pid 159429, CB/DB (0x0), PERMISSION_FAULTS 0x5, RW 0x1 WRITE, GCVM 0x00640051, pages 0x800c379b0000/1000/4000..9bd000 (10 distinct pages, 4 KiB lattice, 0x800c3e62c000-class run103 region neighbor).Third devcoredump captured — the set is now a triple (watch duty ONCE-capture, md5-verified): run103 5,813,533 B md5 41898b0535c509236181ff39d5eb74b6 / run105 5,833,021 B md5 407d9d9a8dc7fa3a4a3fb1fa4c6383d5 / run108 5,862,243 B md5 cc4ab736290a000ab8617a995546731d (+0.5% step). The decoder-tooling offer stands — say the word and I upload all three.
Near-death ordering (same as runs103/105): v11 sensor burst t1537.7-1539.1 thread 1016 — 155 consults = 155 heals = 129 bare-commit-NULL (all error 0x1e7, keys 0x159dc20000..0x7995230000, pool2 region) + 26 bare heals, retry-NULL x0 — exact balance again (x6 runs); zero fatal consults. Then Wait64BitValueX bridge x8 t1547.6-1550.6,
under 96 MB freecumulative 574 @t1629.8, then the 2.06 s fault burst, then the stall. wall-5 fully healed for the 6th time — the sensor is not the wall.Other faces: rbwait
has not reachedx0 +none submitted (recorded up tox0 (run106's submit-side localization NOT reproduced, x2 falsification); death dump 184 threads ALL parked healthy-idle (main Sleep chain, vkd3d fence/queue in waiters, title workers at game+0x221c3c2/+0x2215eca) = 4th CPU-side-parked corroboration of GPU-side origin; scheduled THREAD_DUMP_AT 1700..2700 never fired (death t1658 < 1700); no WER (x4 same class on device-removed path); noException 0x/page events so far/faulted writingin either file; PRESS_AT 1500:A never delivered (presents 1,484 < 1,500); A-tap landed @t60.004; mwaitx per-line max 2 (LOW — band 7,2xx-7,5xx belongs to deeper/slower deaths, face only);did not reachmax 47,399 @t1656.5 (band); barrier #146 gauge x6 lines 32,769/23,360/1,040 @t1631.8; DStorage 16384 @t1234.4; two-pass scratch #128 @t1613.7; EID(DispatchMesh) #16384 @t1632.7; depth-UAV-twin max 16 copies (shallow); CPMB final @t1654.5: 576 calls, 87,584 mapped / 36,157 unmapped / 38,088 moved / 21,489 texture re-reads; stubs #9 2,457 / #142 2,346 / #75 2,114 / #126 2,102 / #101 82 (depth-proportional family).Reading so far: the same culprit-shaped dispatch (cs 64021c4c25c9f2d0) hangs one of the four compute rings at a random-ish depth on every kernel-declared roll, with CB/DB WRITE and/or TCP READ UTCL2 faults in the seconds before; the host-side ExitProcess was a one-off loser of a different race. Next = run109, 8th roll, same single variable.
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-02T10:05:56Z.
run109 = 8th roll on the same single variable (exe 22b4d629, run91-106 recipe verbatim, seed 2,498,953,216): the wall produced an EIGHTH distinct death mode, and this time XCL's own machinery declared — the scheduled THREAD_DUMP_AT helper thread (name
xcl-thread-dump) faulted inside Wine'sRtlVirtualUnwind2while stack-walking the wedged title. Kernel stayed clean end to end (watcher NO-TRIGGER, no ring timeout / no GPU reset / no new devcoredump) while the GPU was still one-behind: the 14-wait closed wait-edge cycle at t1428.491 reproduced run106's submit-side localization —none submitted (recorded up to 0x5ab, submitted up to 0x5aa by Some(1))— now x6 edges instead of run106's x2.DEATH: t1713.434
xcl: unhandled exception 0xc0000005 in ntdll.dll+0x3a41c (read at address 0x8) rax=0x30 rdx=0x8; on the stack: kernelbase.dll+0x74621 x3, kernelbase.dll+0xe7868, xcl.exe+0xc43fa6, xcl.exe+0x31a6ec. Symbolized against the Wine-10 PE-direct ntdll: rip =RtlVirtualUnwind2+0x2dc, callerRtlVirtualUnwind+0x66; the t1714.001 death dump (187 threads) shows the fault SEH-dispatched on-thread (call_unhandled_exception_handler+0x36 < call_seh_handler+0xd < call_seh_handlers+0xe9 < dispatch_exception+0x4ed < KiUserExceptionDispatcher+0x2a), thenUnhandledExceptionFilter+0xa8→ XCL's filter, the thread parked in Sleep inside XCL's crash-report chain (same crashed-thread park face as run104's fuse thread). The crashed thread's bootstrap isxcl.exe+0x31a6ec(a timer-queue worker): THREAD_DUMP_AT 1700 fired at t1713.4 (+13.4 s = the usual +12-14 s late class) and the dump's own stack walk faulted — first thread-dump-path death of the series (run106's six scheduled dumps walked clean; what differs here is that the walk ran while the title was GPU-wedged, fences one fence behind). Secondary0xc0000094atdbghelp.dll+0x15b85(family face),process ends with status 0xc0000094 (thread 936), exit code 0xC0000094, and the era's 2nd WER written:game_scarlett_master-20261202-001011-348.crash.log.GPU STALL ANATOMY (first present-stall-window death of the series — the title itself never blew its fuse; XCL died first): presents gauges 600 @t500.728 (0.9 fps) / 900 @t687.589 (1.6) / 1200 @t962.277 (1.1), then crawl — REAL report presents 1,495 (frame_boundaries 1,496), so ~295 presents across the final ~751 s (~0.4 fps); PRESS_AT 1500:A never delivered (1,495 < 1,500, 2nd non-delivery after run108). @t1428.491
xcl-sync-watchdog(thread 1628) printed 14 xGPU queue.Wait ... >= 0x5ab did not complete within 5000 ms (... recorded=0x5ab, submitted=0x5ab|0x5aa, completed=0x5aa) – released on CPU to prevent GPU hang(run106 had 11);wait edges before the release: 14 waits, ALL one-behind (done 0x5aa vs signal 0x5ab), with 6 of the 14 edges<- none submitted (recorded up to 0x5ab, submitted up to 0x5aa by Some(1))(producer = q1, the title's compute queue);queues behind: q0 85/87, q1 4869/4874, q2 88/89, q3 102/105, q4 65/69 (oldest unfinished 5,073–6,094 ms);wait edges at that time-out: 0 waits(closed cycle);XCL's own queue waits unmet: none. The stall then persisted ~285 s to death;texture page mappings did not reachwarnings (1,090 lines, series-new max counter 65,831 @t1708.515) were still crawling 5 s before the crash. Wait64BitValueX GPU-bridge INFO x8 @t1183.826–1184.637.WER (mid-depth in-world band, between the posted pre-world t389 and deep in-world t3275 fuses): Running Time 0h:28m:13s; Frame 6402; camera at the SAME deterministic point as run106 —
<-2755.140625, -2915.524658, 12.832687>(run106:<-2755.140869, -2915.523682, 12.832696>); Mission 0x62131f35 [F:6262] (vs run106's [F:12626]); SRLcine@leadout@int_prolo@int@leadoutPrestream(identical stage); pools populated (BUILDING 8063/22500, OBJECT 3908, PED 143, VEHICLE 189, INSTANCE_LIST 13742, GRASS 2202, LIGHT 793, MLO 2); TileHeap 2708/6236 Mb; Streaming Requests 40; Game Virtual 964,523,456/1,228,931,056; Player 130.00/130.00 Healthy;GFX Queue: ab728afbpresent but noUnsignaled CrossQueueBarrierline this time (run106 recorded one) — same stage, no unsignaled-barrier face.DEATH DUMP (187 threads, t1714.001): every other thread parked healthy-idle — main in Sleep; vkd3d fence/queue threads on condition variables;
vkd3d_queue892winevulkan+0x1cfbd < d3d12core+0xd071b= the in-submit-park face (as run104/run106);vkd3d_fence1024winevulkan+0x1e7d4in-flight-park; xcl-dstorage/xcl-dxc pools waiting; title workers atgame+0x2215eca; bink2scarlett decode threads (1600/1616) present. CPU side idle while the GPU side sits one fence behind — an XCL-side crash declared while the stall was still open.Series bookkeeping (all in posted bands):
v11 (f)sensor burst t1176.588–1179.243 (thread 1012): 159 consults / 159 heal-landed / 135 bare-commit-NULL ALLerror 0x1e7→ retry-MEM_RESERVE → re-reserved-true heals / 24 bare heals (false) / 0 retry-NULL = EXACT balance x7; rbwaithas not reachedx0;retired unified-memory blocks ... under 96 MB freecumulative 4,152 @t1514.546; DirectStorage16384 page lists written@t956.627; stub id-553 family x14 lines max #512 @t569.313;lists submitted againx23 lines max #958 @t1267.877; barrier #146 x8 lines (131,073 barriers / 84,785 made / 1,902 not made @t1547.117); put-offstill being builtx1 (#1 @t136.073); mwaitx per-line max 7,358 (in band);ExecuteIndirect(DispatchMesh)#262144 @t1685.032 (pacing not monotonic); depth-UAV twin max #315 @t1590.191 (== run102 band); CPMB final @t1707.874: 850 calls, 98,312 mapped / 65,912 unmapped / 45,869 moved-with-page / 30,981 textures re-read; two-pass0 not made past 1024throughout; xapu0 Opus packets decoded(audio never started); boot faces clean (anaconda @t0.000, exec @t13.731 ULTRA-WARM, seed HIT2575 MBwindow @t12.785,does not fitx0,17408commit-WARN x0, A-tap t60.003); unit 44m1.2s CPU / 28m46.8s wall / 17.8G peak / 23M swap = not-OOM. Per the run108 promise, corrections riding this post: run108's mwaitx file-wide max is 7,449 @t924.644 (band TOP; the earlier 2-line read understated it) and run108's depth-UAV-twin max is #32 (not 16).TALLY after 8 rolls on one exe+env+seed: 8 distinct death modes, 3 declaring actors — kernel ring one-behind x4 (t957 / t1786 / t2351.8 / t1657.985; three ring identities; devcoredump x3 captured; recorded-last top-Dispatch cs
64021c4c25c9f2d0x4), title-watchdog fuses x2 (t389 pre-world / t3275 in-world), host x2 (ExitProcess(3) inside vkQueueSubmit2 @t1595.154 / this dump-path RtlVirtualUnwind2 @t1713.434). No mode has ever repeated; survival RECORD stays run106 54m50.2s, REAL-presents RECORD stays run102 1,986. Two actionable faces from this roll: (1) the periodic-dump stack walk faults at NULL+8 inside RtlVirtualUnwind2 when walking the wedged title — guarding each per-thread unwind step (SEH or validated context, skipping the thread on unwind failure) would have kept this run alive into/through the stall; (2) theSome(1)signal-submit-not-yet-submitted edge has now reproduced across 2 rolls x2+x6 — the q1 (title compute-queue) submit path is the best-corroborated GPU-stall face in the series. The culprit job behind the kernel-side deaths stays held by the devcoredump triple (pending decoder tooling). Next: run110, 9th roll, same single variable.Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-02T12:21:12Z.
run110 (9th single-variable roll, same exe 22b4d629 + env + seed): FIRST DEATH-MODE REPEAT — kernel GPU-hang class x5, and it lands with three faces no prior roll ever showed
As announced under run109: 9th roll, same single variable (v11 tree d05ef6e0, exe 22b4d629…, run91-recipe VERBATIM, seed 2,498,953,216, press schedules incl. THREAD_DUMP_AT kept). Launched 2026-12-02T11:05:36Z; all launch faces PASS (anaconda boot x1 @t0.000, seed HIT 2575 MB coherent window @t12.063, exec ULTRA-WARM @t13.576, GPU heap 2199 MB @t13.980, A-tap @t60.004).
Death: kernel-declared GPU hang, 5th time — but on a DIFFERENT ring, with a DIFFERENT timeout gap, and a fault storm in a place no roll had it.
The x5 constancy holds
recorded last: the last 16384 draws and dispatches (frames 1823 to 1824), 1408 pipelinestop dispatch:
Dispatch 0xccec51f0 (cs 64021c4c25c9f2d0): 2 calls, 230400 in all, largest 115200, last in frame 1824— SAME cs hash as run102/run103/run105 (run108 topped 3 calls / 345,600; run110 shape exact again) = x5 across every kernel-declared roll. Device removed
0x887a0005(thread 1016) @t2938.899,system commit at the removal: 21185 of 96317 MB, DREDnot available (0x80004002),Game exited with code 0x887a0005, unitstatus=5/NOTINSTALLEDfamily. REAL crash-exit report: presents 1,824 (frame_boundaries 1,824, consistent with the recorded-last frames) = 2nd-best REAL count after run102's 1,986. Survival 49m13s wall (2nd after run106's 54m50.2s); 1h4m21s CPU / 16.6G peak / 76.4M swap = not-OOM.NEW face 1: first GFX-ring timeout, first non-one-behind gap
Kernel:
ring gfx_0.0.0 timeout, signaled seq=41351738, emitted seq=41351740— every prior hang (run102 comp_1.1.1, run103/105 comp_1.2.0, run108 comp_1.3.1) was a compute ring and exactly one behind (emitted = signaled+1). Here it is the graphics ring and emitted is TWO ahead.Ring gfx_0.0.0 reset failed→ MODE1 →GPU reset(2) succeeded→device wedged, but no recovery needed. Timeout threadvkd3d_queue pid 688720= the SAME tid as the first fault burst below.NEW face 2: fault storm ~16 minutes BEFORE the death, then zero faults near it
Two bursts of 10
[gfxhub] page faulteach, all client0x1b UTCL2, allCB/DB (0x0), allRW: 0x1 (WRITE), allPERMISSION_FAULTS: 0x5, all onring:40:vkd3d_queue688720, pages0x800b5eee4000x4 /…e7000x4 /…ec000/…ef000vkd3d_queue688776, pages0x800a61860000x3 /…63000x3 /…68000x2 /…6b000x2Timeout mono 77532.48 → bursts are 1005.8 s / 974.4 s pre-timeout; ZERO faults in the last ~970 s. Storm↔death proximity is NOT invariant (run103 was 63 s+2 s; run105 2.05 s; run108 240 s+2.06 s). Client identity is race-of-race (WRITE / READ / both); the ONLY surviving storm invariant now: faults, when they come, are gfxhub ring-24/40-class UTCL2 faults — position in time is free.
NEW face 3: XCL's own q1 sparse-upload queue was one behind too
XCL-side stall printed 511 s before kernel death, @t2427.968: 10×
GPU queue.Wait … >= 0x6ed did not complete within 5000 ms (… completed=0x6ec)all one-behind; wait-edges graph = 10 waits, of which THREE<- none submitted (recorded up to 0x6ed, submitted up to 0x6ec by Some(1))= the q1 signal-submit-not-submitted localization, recurrence x3 (run106 x2 edges → run109 x6 → run110 x3) — actionable (2) stands.queues behind: q0 75/77 q1 5787/5792 q2 71/74 q3 75/76 q4 70/72 (oldest unfinished 6700–7956 ms);wait edges at that time-out: 0 waits= closed cycle. NEW: the unmet-list is no longernone—XCL's own queue waits unmet during GPU wait timeout: q1: sparse uploads and tile mappings >= 0x24d2 (done 0x24d1, 4999 ms). XCL's own sparse-upload/tile-mapping queue was itself one fence behind, on the same q1, when the graph was printed. Pressure ramp: sensor burst t2089.080–2096.585 →Wait64BitValueXbridges x8 t2102.966–2104.006 → stall t2427.968 → kernel timeout t≈2939.Everything else stayed in-band / negative as on the class
the queue has not reachedx0;did not reach996 lines max 64,958 @t2933.413 (band top 65,831);under 96 MB free143 lines cumulative 8,252 @t2840.212 (record 8,255, ~tie); put-off x2 @t157.9; barrier #146 last 131,079/88,511/2,056 @t2776.743;lists submitted againx23 max #1251; id-553 x15 max #1024 (== run107); EID(DispatchMesh) #262144 @t2796.741; DStorage 16384 @t1713.638 + 32768 @t2118.574; CPMB final @t2930.470 (791 calls, 96,671 mapped / 64,863 unmapped / 44,970 moved-with-page, 31,085 texture re-reads); mwaitx per-line max 7,533; insertq final77 insertq; +0x2e7ff1 x70 +0x27e9f1 x7;0 Opus packetsx225 (audio never started x6); '17408' = the known shader-hash line only;does not fitx0; syncstate x0.error 0x1e7→ retry-MEM_RESERVE → re-reserved-true) + 22 bare heals (false); retry-NULL x0; burst clock t266→t385→t1571→t1856→t2106→t1176→t2089 keeps moving with pace (race face).RtlVirtualUnwind2crash did NOT recur (walk-under-wedge stays a singleton for now; its actionable (1) guard stands). No death thread dump on this path; no WER (x6 class);Exception 0xx0 x2 files;page events so farx0 (device-path face).Devcoredump #4 captured (watch duty, 4th time)
ring .* timeoutTRIGGER @11:54:37Z → captured 5,618,996 B md5 27b225e9c65131d1b67af7b82d3742c5. Set now: run103 5,813,533 / run105 5,833,021 / run108 5,862,243 / run110 5,618,996 (first below 5.8 MB — and the first from a gfx-ring, not compute-ring, hang). Still parked pending decoder tooling (upload on request; the ask is already on this thread).Reading
9 rolls / now 8 distinct modes / declaring sides kernel x5 title x2 host x2. The wall is: under this exe+env+seed the title drives into a world-load window (t≈950–2950) where the GPU submit path wedges one fence behind; who declares it first (kernel ring timeout vs title watchdog fuse vs host ExitProcess) is a pure race — and even the kernel declaration itself is NOT a single fixed signature: ring identity (4 identities now), emitted-gap (+1 x4, +2 x1) and fault-storm placement (0 / 2 s / 63 s / 240 s / 1006 s pre-death) all vary, while the top recorded-last dispatch cs and the all-CPU-parked dumps stay invariant. The q1
Some(1)not-yet-submitted signaling submit (x3 rolls) + XCL's own q1 sparse-upload queue one-behind (new here) both point at the q1/sparse-upload↔gfx submit path as the wedge neighborhood worth auditing.Next = run111, 10th roll, same single variable (repeat statistics with dump-path guard discussions open on your side).
Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-02T14:46:16Z.
run111 (10th roll, same single variable: v11 exe
22b4d62972dae67e63f15d5b55324c5b, run91–109 recipe VERBATIM, seed 2,498,953,216 re-cat'd) — KERNEL CLASS x6 = SECOND class repeat, and the kernel declaration changed AGAIN in three new ways.Launched 2026-12-02 13:21:19Z (attempt-2; attempt-1 13:16:06Z = X-WEDGE env face: Xwayland died in the launch race, XCL froze 4-threaded pre-boot with no xcl.log — excluded from tallies). t0 = 13:21:19Z (attempt-2). Boot faces all pass (anaconda x1 @t0.000, seed HIT 2575 MB coherent @t12.056, exec ULTRA-WARM @t13.611, A-tap @t60.004, does-not-fit x0).
Death = kernel declares (x6/10): journal 13:48:33Z
ring gfx_0.0.0 timeout, signaled seq=41366821, emitted seq=41366823— gfx ring x2nd, emitted-gap +2 x2nd (gap variance now +1 x4 / +2 x2).Process main pid 752867 thread vkd3d_queue pid 753259— the same vkd3d_queue thread the fault storm ran on. XCL:the D3D12 device was removed (0x887a0005)@t1631.797 (thread 920),process ends with status 0x887a0005,Game exited with code 0x887a0005 (2289696773); commit-at-removal 20,653 of 96,317 MB; DRED not available 0x80004002 (x6 identical). Unitstatus=5/NOTINSTALLEDfamily x6; 46m35s CPU / 27m23.6s wall / 16.4G peak = not-OOM.NEW face 1 — storm was much bigger than visible: dmesg opens the window with
gmc_v10_0_process_interrupt: 1064 callbacks suppressedimmediately before the visible burst of 10x[gfxhub] page fault ring:24 vmid:4 pasid:5246, all client 0x1b UTCL2, Faulty UTCL2 client ID: TCP (0x8), RW 0x0 (READ), all ONE page0x0000800d80c20000, PERMISSION_FAULTS 0x3, tid vkd3d_queue 753259 — 2.0 s before the timeout (run105's 2.05 s class). The 1064 suppressed callbacks = the era's first evidence the fault storm's true size/onset is rate-limiter-masked; "storm position 0/2/63/240/1006 s pre-death" undercounts the run111 storm's onset.NEW face 2 — reset escalation varies per event, same ring:
Ring gfx_0.0.0 reset succeeded+device wedged, but no recovery needed— NO MODE1, NOGPU reset(2), NOVRAM is lost. The previous gfx_0.0.0 death (run110) escalatedRing gfx_0.0.0 reset failed -> MODE1 -> GPU reset(2) succeeded. comp_1.1.1 (run102) reset succeeded too; comp_1.2.0 failed (run103/105). Same wedge, different driver recovery.NEW face 3 — zero XCL-side stall faces at a kernel-declared death:
GPU queue.Wait ... did not complete within 5000 msx0 (band x10–14 at runs 106/109/110),none submitted (recorded up to ... by Some(1))x0, sparse rbwaithas not reachedx0,XCL's own queue waits unmetx0. The pressure ramp was compressed into ~38 s: sensor burst t1593.479–1595.889 (152 consults / 152 heals = 128 bare-commit-NULL err-0x1e7 -> retry-MEM_RESERVE -> re-reserved-true + 24 bare heals / retry-NULL x0 = EXACT balance x9, first consult 0x81acf0000 last error 0x0, keys 0x1035c90000..0xf53a20000) -> Wait64BitValueX bridges x8 t1603.4–1606.7 (band x8) ->texture page mappings did not reach 36620max @t1627.4 (series-floor 36,620; band top was 65,831) -> device-removed @t1631.797. The q1Some(1)submit-side localization (x2/x6/x3 edges at runs 106/109/110 = 3/3 of stall-bearing rolls) is only observable when the wedge runs long enough for a 5 s queue.Wait timeout to fire — on an instant-declaration roll it is x0.cs invariant survives 6/6 with shape variance x2: recorded-last (
the last 16384 draws and dispatches (frames 1144 to 1146), 1,221 pipelines) TOP isDispatch 0xc5bdfa70 (cs 894dbaa146228a97): 19 calls, 116736 in all, largest 6144; the invariant cs 64021c4c25c9f2d0 appears at rank #2 asDispatch 0x234c4a20 (cs 64021c4c25c9f2d0): 1 calls, 115200 in all, largest 115200, last in frame 1144— hash 6/6, shape now 1/115,200 (run108 3/345,600 was the other race face; runs 102/103/105/110: 2/230,400 top-rank).Dumps: THREAD_DUMP_AT 1700+ never fired (death t1631.8 < first schedule). Single DEATH dump @t1631.856, 184 threads, ALL parked:
mainSleep chainntdll+0xea94 < kernelbase+0x741bf < xcl.exe+0x5b1ce8, vkd3d fence/queue workers in d3d12core waiters, title workers parked, bink2scarlett decode threads present — CPU all-parked invariant x6.Presents/stats: report111.json REAL crash-exit: d3d12.presents 1,146 (frame_boundaries 1,146 consistent), exit_code 2289696773; gauges 600 @t756.2 0.8 fps / 900 @t1163.2 0.7, no 1200 line. PRESS_AT 1500:A non-delivery x3 (presents < 1,500; run108/109 before). A-tap
buttons 0x4@t60.004 band x26. Survival 27m14s (unit wall 27m23.6s). Shaders unique 19,399 / submitted 274,974; stubs #9 1,475 / #142 1,383 / #75 1,306 / #126 1,303 / #101 24 first_caller game+0x50a6657 (depth-proportional family); audio ALL-ZERO x8; WER not written (family x7);Exception 0xx0 x2 files;page events so farx0 (device-path family); barrier #146 x5 lines last 16,406/11,984/975 @t1619; lists-submitted-again x22 max #578; id-553 x14 max #512 @t860.9; DStorage 8192 @t1217.6 / 16384 @t1246.3 / 32768 @t1630.1 (era-milestone clock face); EID(DispatchMesh) two-pass #4096 @t1614.9; CPMB final @t1629.5: 537 calls / 67,335 mapped / 27,650 unmapped / 34,728 moved-with-page / 18,751 texture re-reads / uploads 82,720+172,657+192,520+42,488; mwaitx per-line max 5,161 (shallow band); put-off x1 #1 @t162.2;did not reach643 lines; vkd3d_111.log NEVER existed (x23 class).Kernel-class variance table (6 rolls, updated): death clock t957 / t1786 / t2351.8 / t1657.985 / t2938.899 / t1631.8; declaring side kernel 6/6; ring comp_1.1.1 x1 / comp_1.2.0 x2 / comp_1.3.1 x1 / gfx_0.0.0 x2; emitted gap +1 x4 / +2 x2; storm absent / CB-DB WRITE x18 / TCP READ x10 / BOTH / CB-DB WRITE x20 (x1000 s early) / TCP READ x10 + 1064 suppressed — position 0 / 2 s / 63+2 s / 240+2 s / 1006 s / 2.0 s; reset outcome succeeded / failed / failed / (run108 face) / failed->MODE1->succeeded / succeeded; XCL-side stall window 22 s (run106 was title-declared) — at kernel deaths: none / ~2 s / ~2 s / ~2 s / 511 s / ~38 s. INVARIANTS 6/6: kernel ring timeout within seconds of the last CPU-side evidence + cs 64021c4c25c9f2d0 in recorded-last + CPU all-parked + crawl pace 0.3–1 fps.
Dump #5 = 5,926,136 B md5
3c20c1699e0c26e3a70fdadc3c2c1c57— second gfx-ring hang dump, largest of the era (watch duty TRIGGER 13:49:21Z + CAPTURED 13:49:21Z). The devcoredump QUIN (run103/105/108/110/111) is ready for the decoder — upload on request any time.Next = run112, 11th roll, same single variable: kernel x7 vs title-fuse x3 vs host x3; if kernel again — ring identity / gap / storm (now with suppression watch) / reset-escalation faces, cs x7; q1
Some(1)localization only judgeable on rolls that survive long enough to fire a 5 s queue.Wait; dump-walk-under-wedge x2 candidate only if a wedge + dump window coincide; survival past t3300 still open (record stays t3275.282).Imported from ivall/xcl. Originally posted by crazymanjared on 2026-12-02T17:25:06Z.
run112 (11th single-variable roll, same exe + env + seed): FIRST mode REPEAT — dump-walk death x2. The host declared; the kernel never did.
Setup: same v11 tree d05ef6e0, exe md5 22b4d62972dae67e63f15d5b55324c5b (in-unit guard PASS), run91-111 recipe VERBATIM, seed re-cat'd, RX 6950 XT / GE-Proton11 / kernel 7.3.6. t0 = 2026-12-02 16:03:59Z. Death t2113.579 (survival 35m18s; 53m34.8s CPU / 35m28.5s wall / 16.4 GB peak / 16 K swap = not-OOM).
Death site. Thread
xcl-thread-dump(timer worker):unhandled exception 0xc0000005 in ntdll.dll+0x3a41c (read at address 0xffffffff)rax=0x30 rsi=rdi=0x2 — the SAME instruction as run109 (RtlVirtualUnwind2+0x2dc; callerntdll+0x3a106=RtlVirtualUnwind+0x66), garbage unwind-context differs (0x8 there vs 0xffffffff here). Faulted mid stack-walk of the scheduledTHREAD_DUMP_AT 2100dump, +13.58 s after the boundary (run109: +13.4 s past 1700 — same late-class clock). Secondary0xc0000094dbghelp.dll+0x15b85(thread 936) @t2113.815,process ends with status 0xc0000094@t2113.831; exit code 0xC0000094 (== run109). Post-fault park chain identical to run109, throughxcl.exe+0x31fef2=xcl::eh::unhandled_filter+0x1d52(COFF-sym lookup). Other "stack" frames resolve to DATA symbols (xcl::HEAPat +0xc43fa6) or fmt machinery = stack-scan artifacts.Kernel CLEAN: zero amdgpu lines after the run111 block — no ring timeout, no gfxhub faults, no reset, despite 256 s of CPU-side GPU-wait stall before the crash. Watcher NO-TRIGGER duty correct; no devcoredump #6.
Wedge preceded the crash. 5000 ms
GPU queue.Waitstorm x10, ALL one clock @t1857.529, every edge one-behind (>=0x4c6 done 0x4c5 / >=0x4c7 done 0x4c6;recorded=submitted=0x4c7— the run106/109none submitted ... by Some(1)submit-side edge did NOT recur this roll); queues behind q1 3977/4007 submits (oldest unfinished 5.86 s); NEW:XCL's own queue waits unmet= 20 Wait64 cells across all five queues (run110: one q1 line; run106/109: none); NEW:wait edges at that time-out: 20 waits= cycle still OPEN at timeout (run106/109/110: 0 = closed); pending title fences, deepest 0xa5f sig / 0xa4f done. Pressure ramp: sensor burst t1646.114 thread 1012 EXACT balance 160 consults = 135 bare-commit-NULL err-0x1e7 -> MEM_RESERVE retry -> re-reserved-true heals + 25 bare heals, retry-NULL x0 (first consult 0x81b090000 'last error 0x0' == run106's VA face); Wait64BitValueX bridges x8 t1655.9-1658.1; storm t1857.5; host death t2113.6.texture page mappings did not reach1,028 lines, max 65,789 @t2109.480 (band floor 36,620 / ceiling 65,831);under 96 MB freecumulative 4,153 @t2039 (run109 4,152 = tie face).Dump-schedule face (new). The 1700-dump fired @t1712.340 CLEAN (pre-wedge), the 1900-dump fired @t1912.558 CLEAN while the title was already stalled, and the 2100 walk crashed. So a wedge-coincident dump walk is necessary but NOT sufficient — one survived; both deaths share the +13.4/+13.6 s late-class clock and a garbage non-walked context. Actionable (1) now has 2/2 evidence: tally over the era = 16 executed scheduled walks, 2 crashes, both under a persistent GPU wedge (106 x6 clean + 110 x6 clean + 112 2 clean/1 crash + 109 1 crash). The per-thread stack-walk guard (SEH-guarded / validated context; skip the thread on unwind failure) remains the fix candidate.
Title side. Presents REAL 1,247 (gauges: 600 @t766.8 0.7 fps / 900 @t1145.4 0.8 / 1200 @t1685.5 0.6 = last line; 1500 never fired => PRESS_AT 1500:A non-delivery x4); A-tap
buttons 0x4@t60.003; title fuse NEVER fired (game+0x23cf683 x0). WER written (4th of era),Game Running Time 0h:34m:53s, Frame 5510, camera<-2755.140869, -2915.523682, 12.832696>byte-exact run106's value (run109 differed at the 4th digit) = deterministic point x3; Player pos byte-exact too;Unsignaled CrossQueueBarrier: cf82834d(x2nd occurrence; ID differs from run106's82d9447); SRLcine@leadout@int_proloPrestream; mission0x62131f35[F:5381] (F = race face); TileHeap 2,732/6,236 Mb (creep 2628 -> 2708 -> 2732 across the three WERs at this point); pools POPULATED.Class tally after 11 rolls (same exe/env/seed): kernel x6 / title-fuse x2 / host x3 (ExitProcess(3) x1 + dump-walk x2); still 8 distinct modes; race-spread t389..t3275 unchanged. The "who declares first" answer from roll 11: neither kernel nor title — XCL's own dump timer declared first, with a GPU-wait stall running but no kernel ring timeout. cs invariant N/A (no recorded-last print on non-device-removal exits; stands 6/6 where printed).
Census vs header bands (all in-band unless flagged): rbwait 'has not reached' x0;
none submittedx0; lists-submitted-again x23 lines max #761 @t1859.5; id-553 x14 lines max #512 @t854.5; barrier #146 x7 lines, last 65,615 / 44,298 made / 1,581 not-made @t1927.9; DStorage 8192/16384/32768 page-list milestones @t1250/1286/1691 (clock faces); EID(DispatchMesh) milestone lines x0 = era first (pacing floor face); put-off x1 (#1 @t162.7); insertq final '80 insertq; +0x2e7ff1 x73 +0x27e9f1 x7' @t2107.5; mwaitx per-line max 7,488 (band top); Opus '0 packets' x145 + report audio all-zero (audio-never x9); does-not-fit x0; syncstate x0; 'page events so far' dumped twice on the exception path (threads 880/936): 25 '(f) entry never inserted', 135 v10 commit-failed + 135 healed-after-re-reserve (matches the sensor burst),1 (a) no pins in flight (rescue declined)x3rd occurrence; shaders unique 19,399 / submitted 274,982; stubs #142 5,736 / #9 4,802 / #75 3,711 / #126 3,661 / #101 310 (first_caller game+0x50a6657 = in-world depth class);Exception 0xanchor x0 in both files (the CRASH block uses 'unhandled exception' phrasing); no WER secondary exception; vkd3d log never existed (x24 class).Tool-face note (Wine-10 PE-direct symbolization, extends the #131 law): llvm-symbolizer DWARF coverage is thin on the release xcl.exe (resolves data symbols / ?? for code addresses);
llvm-nm --defined-only --numeric-sort+ nearest-preceding lookup resolves code frames fine (xcl.exe+0x31fef2->xcl::eh::unhandled_filter+0x1d52), and a DATA-symbol landing (e.g.xcl::HEAPR at +0xc43fa6) is a clean discriminator that the "frame" is a stack-scan artifact rather than a real call site.Next = run113, 12th roll, same single variable, per the posted decision tree.