[GH #28] Game hits int3 after ~6 min of gameplay with Unsignaled CrossQueueBarrier (RTX 5060 , 16 GB) #28
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 Zettrox/ztrx. Originally posted by LongHua5566 on 2026-11-25T03:54:47Z.
Summary
On a computer
victory.crash.log
ztrx-crashes.log
with an 8 GB RTX 5060, the prologue loads and runs for about 6 minutes (1187 frames,
Game Running), then the title hits a breakpoint (0x80000003) in its own code. The game's own crash context reports an unsignaled cross-queue barrier at the moment of the crash.Not a VRAM/RAM exhaustion case: the crash log shows healthy budgets (see below), and enlarging the page file to 15.7 GB changed nothing — the fault address is identical every run.
Environment
GPU NVIDIA GeForce RTX 5060 Laptop GPU, 8 GB, driver 617.42
CPU Intel Core i7-14700HX (AVX2)
RAM 16 GB (page file 15.7 GB, commit limit 31.4 GB)
OS Windows 10 Pro 25H2, build 26200.9974
ztrx
mainas of 2026-11-25 (downloaded 10:46 local, repo pushed 01:12Z)Build
cargo build --profile diag -p victory --features diagnostics, Rust 1.98.1Game
game_scarlett_master.exe, BLAKE3b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93, version930.048.020-vb_sub_storyCommand
Default console model (Series X). No WARP.
What works
Boot, first-boot screens, intro, prologue animation, world streaming.
Frame rate 1.3-1.5 fps, matching the README's 1-3 fps.
Shader translation and pipeline creation proceed normally; hundreds of mesh/compute pipelines are built.
No
unimplemented import calledwarning appeared at all, so the fault is not an import trap —--unimplemented zerohad no effect on it.The crash
Six to eight threads all report the same fault address in the same instant, and the game's Breakpad handler then runs and prepares a minidump.
0x80000003isint3, andcrates/victory-loader/src/crash.rsnotes that titles assert withint3, so this looks like the title's own fatal path rather than a ztrx stub.The title's own crash context
t:\victory-20261125-114719-12140.crash.log(written by the game, 2666 bytes):Unsignaled CrossQueueBarrier: 82d9447is the last line of the debug section and is the most specific lead I can give: the title appears to hang on a synchronisation point between command queues that never gets signalled, and then takes its fatal path.Memory is not the constraint here: the game's own pool is 592 MB of 625 MB with 590 MB unused, and the tile heap at 2772 MB of 6236 MB.
Earlier attempts on the same machine (for context)
Run Renderer Outcome
1 WARP (
VICTORY_D3D12_WARP=1)0xc0000005null read insided3d10warp.dll+0x132d9, after reaching the world2 real GPU GPU device removed (
0x887A0006), Windows reset the display driver (Event ID 153 fromnvlddmkm)3 real GPU, before the page-file change
int3at the same+0x5149aec,memory.load_percent: 95in the title's report4 real GPU, page file 15.7 GB, texture budget capped
int3at the same+0x5149aec, budgets healthy,Unsignaled CrossQueueBarrierEach run gets further than the last, which is encouraging. Run 3 and 4 differ only in memory headroom, and the fault is identical, so I don't think it's an allocation failure.
Imported from Zettrox/ztrx. Originally posted by ateezie on 2026-11-25T08:15:56Z.
Another data point: the same symptom on an RTX 5090, but with a different fault address and stack.
Environment
90b529f,cargo build --release -p victory --locked, Rust 1.98.1, launched throughscripts/play.ps1with no extra env varsb99f876b74d4a77f…, version930.048.020-vb_sub_storyCrash: 7 threads hit the same
int3in the same instant:Frames #2-#4 match the bottom of the stack in this issue and #39. The fault site (
+0x63966fvs+0x5149aec) and the frame above it differ.The title's crash context (excerpt):
It's the same SRL, the same AnimScene and the same
Paused: Yesas #28 and #39, even on a 32 GB card.GPU side just before the crash:
slow host submissionwarnings at 330-830 ms per submission (15 lists, compute pipelines), and 541 host pipelines were still being made. That fits the idea that the title gives up on a cross-queue barrier that took too long, rather than one that was never signalled. I haven't confirmed this. I'll report whether a warm-cache run gets past this point.Imported from Zettrox/ztrx. Originally posted by xiaotu030202 on 2026-11-25T11:34:18Z.
Summary
A candidate mechanism for the
Unsignaled CrossQueueBarrierin #28, found by readingqueue.rson90b529f. I cannot reproduce #28 (no game files), so this is offered as a lead with the code locations, and it is falsifiable with one diagnostic run.The short version:
ID3D12CommandQueueX's two synchronisation entry points take sync objects, andqueue.rsdiscards both of them, so any barrier the title describes through them is never represented on our side — and never signalled.The code
The comment explains why the parameters are dropped — our submissions are complete when they return, so it signals at once — and for pacing that reasoning holds. But
_bottomand_topare not pacing; on the console they describe where in the pipeline the fence value becomes visible, which is what a cross-queue barrier is made of. Searching the tree, those two pointers appear only in the signature:Nothing reads them, and nothing turns them into a queue-side wait or a fence signal.
Why this matches the symptom
The title's own crash context (from #28's log) ends with:
The title is not reporting a host error. It is reporting its own bookkeeping: a barrier it submitted is still unsignalled at the point it expects, so it takes the fatal path. If the layer never modelled the barrier, that bookkeeping can only ever be unsignalled — the title would be waiting on something the layer answered "done" to without ever recording it.
signal2_xreturningS_OKand signalling at once makes this worse rather than better: the fence is signalled host-side, so the title's wait on the fence completes, but the barrier object the title tracks separately never gets resolved. That is consistent with #28's other observations — the run gets to ~6 minutes and 1187 frames, so nothing is obviously broken earlier; the shape is a specific synchronisation point that never resolves, not a broad failure.It is also consistent with #39 (same fault ~6 min after world entry, two runs, frames 1418 and 44835) and #81 (page fault ~43 s in, indirect compute dispatch).
What I would check first, if a run is available
VICTORY_LOGatdebugalready logs the first fewwaitcalls:The cheap experiment is to log the same for
signal2_x— and specifically whether_bottom/_topare non-null, which says whether the title is using the sync form at all on this build:Three outcomes, all informative:
_bottom/_topneed decoding. I do not know their layout and would not guess it; the console GDK headers would be the reference, and they are not in this tree.What I am not claiming
Not that dropping
_token/_flagsis wrong —execute_x's comment about frame pacing looks deliberate and reasonable. Not that the fix is small: representing a console cross-queue barrier host-side means knowing what the sync objects mean, and the honest answer is thatvictory-gpucurrently has no concept of one.I have no way to test any of this. Windows 11, RTX 5070 Ti, Rust 1.98.1:
cargo test --workspaceis green on this tree (0 failures), so nothing in the test suite covers the path — which is itself part of why this has stayed quiet.If the maintainers would rather this went somewhere else, say so and I will close it; it is a lead, not a patch.
Imported from Zettrox/ztrx. Originally posted by yangzj0844 on 2026-11-25T12:48:13Z.
econd report of the same fault on the same laptop model, from a different machine.
Hardware: NVIDIA GeForce RTX 5060 Laptop, 8 GB VRAM (≈6.8 GB usable), 16 GB RAM, Intel Core Ultra 7 251HX, Windows 11 26H2 build 26300.9711, driver 621.01 (mine is on a newer driver than yours, 617.42). Title build
b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93.Two builds were run
90b529f90b529f+ three of the open shader PRs (#110, #112, #103, local branchtry-prs)The fault is the same module and offset, and the whole stack matches yours frame for frame:
first-chance exception 0x80000003 at ...+0x5149aecis logged seven times before the fatal one, as in your run where several threads report it at the same instant.The view heap cap is visible in the same runs
The title asks for 1,245,184 views against the 1,000,000-slot heap; everything past the cap reads the null slot. Across these runs that shows up as a black world at 286–3,196 draws/frame and 0.4–1.4 fps, while the menus run at a steady 30 fps. In the last run the subtitles were missing while the cutscene picture rendered, which is consistent with UI views landing past the cap — I did not isolate that.
Where it differs from your report: my crash comes at the end of a cutscene, not after ~6 minutes of world streaming, and I never saw a
0x887A0006/device-removal run. Everything else (the address, the module, the int3 fatal path, no exception other than this) matches.Environment
Release build (
cargo build --release -p victory), not the diag profile, so I have no DRED output — if the diagnosis needs it I can rerun with--profile diag --features diagnosticsandVICTORY_D3D12_DRED=1.The BacktraceBreakpad upload is blocked by the network layer here, so there is no minidump to attach; the console log and the game's own
crashcontext.logare available if you want them.Imported from Zettrox/ztrx. Originally posted by carlosmegino on 2026-11-25T13:48:06Z.
Additional local reproduction of the guest-breakpoint/prestream symptom, on Windows 11, i7-8700K, RTX 5070 Ti (621.01), 32 GB RAM, Rust 1.98.1. The guest executable build identity matches the one in this issue.
This is a combined compatibility stack based on
90b529f, with #56, both commits of #36, opt-in profiling/input diagnostics, and a fix which includesVICTORY_LDS_FLAGSin persistent shader-cache identity. It is not an exact-main reproduction.0x80000003, process duration about 759 s including crash reporting.VICTORY_LDS_FLAGS=0: guest0x80000003again, about 905 s including reporting. The affected wave64 compute is refused in this mode, as expected.The disabled run uses a recorded data snapshot made after the enabled failure; these are not matched time-to-crash or performance comparisons. Visual output remains incomplete; interactive world entry is not established. No device-removal message was found in the captured logs. The failure can occur without LDS lowering, but neither its root cause nor an identity with this issue is proven. An exact-original runtime replay remains useful.
Raw reports/captures stay local. A CPU ETW attempt was blocked by Windows profiling policy (0xc5585011); no trace was produced. A later memory sample occurred after process exit and was excluded from runtime-pressure evidence.