Regression after 52ac4ec: title crashes ~1 min in (write to 0x0 at image+0x23cf683) on RTX 5080 #1420
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 fxceless/victory-fork. Originally posted by B0rm0t0s on 2026-11-27T01:36:41Z.
Hi! Since updating past
52ac4ecthe game crashes on my PC about one minute after loading, every time.52ac4ecruns fine on the same machine with the same settings.Hardware
Build / run
cargo build --release -p victory, thenvictory.exe run <exe> --executeSwitches set: ASYNC_SUBMIT, QUEUE2, INDIRECT_WINDOW, TEXTURE_NO_WAIT, COPY_PLAIN, JOIN_PARTS, BACK_OWN_VIEW, INDIRECT_GATHER, CARD_REHASH_RUNS, CARD_WINDOWS_MB=2048, WINDOW_UPLOAD, CARD_BUFFERS_MIN_KB=64, CARD_BUFFERS_MB=1280, TEXTURE_BACK, CARD_HASH_LEN, CARD_HASH_WIDE, CARD_CHANGED_LIST, HEAP_WORKER, SETTLE_ROOM, PARALLEL_REFRESH, LIGHT_REFRESH, ABSENT_ONCE, ABSENT_MS=told, FILLS_PLAIN, STEP_INDEX, BVH_NO_HIT (all VICTORY_*). No NVIDIA driver overrides for the exe.
What happens
52ac4ec: plays fine, prologue and open world, long sessions.d154dcband1f5d17a: crash every run, 0:53 to 1:43 of game time, while the title prestreams a scripted scene (SRL int_prolo_int_prolo_int, fbk_stry000_FBK_STRY000_INTRO, and once at Jason's house with a save).translate --warm all.Log
VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
#0 victory-image-b99f876b74d4a77f.dll+0x23cf683
#1 victory-image-b99f876b74d4a77f.dll+0x2215c35
#2 victory-image-b99f876b74d4a77f.dll+0x2215eca
#3 KERNEL32.DLL+0x2dda7
#4 ntdll.dll+0xc9c6c
Same address and stack in all four crashed runs.
I can bisect the commits between
52ac4ecandd154dcbor test a branch/switch if that helps. I'm not attaching the minidump since it contains title memory.Thanks for the work on this fork!
Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-27T01:46:00Z.
Same crash here on
1f5d17a, also a 5080 + 7800X3D. Same address and the same two frames under it (+0x2215c35, +0x2215eca), 128 s after launch, while loading a save (it never got to the world).Differences from your setup, in case they help narrow it down: Series S profile (
--console series-s), a diag build, and a different switch set (no CARD_* hash/windows switches, no HEAP_WORKER/SETTLE_ROOM/LIGHT_REFRESH). So it doesn't look tied to the console profile or to those switches. One run only, I didn't bisect.Imported from fxceless/victory-fork. Originally posted by akimfomin on 2026-11-27T01:53:41Z.
Git narrows the interval from your last good
52ac4ec0f8a0to the earlier confirmed badd154dcb15b1dto 16 commits. I checked ancestry and rangit rev-list --bisect-vars --ancestry-path 52ac4ec..d154dcbon the public source. The first midpoint isc005a245f073e2897bbb709cdc73fe53eb7d5f9b, with seven candidates on either side. The subject of that commit alone says nothing about the cause.If you still want to take one pass, build just that midpoint in an isolated checkout. Use your same Series X profile, save, settings and cache policy. A recurrence of the same fault is a bad result. A run that stays past the prior failure window is a useful good candidate if it reaches the same scene. A build failure, different fault or different scene is inconclusive. The Series S confirmation is valuable but can stay separate from the Series X bisection. A short result with the SHA, scene reached and elapsed time is enough. PortBridge can map the next midpoint from that result. AI-assisted Git/source check using OpenAI Codex.
Update after humsterbumster’s Linux report. I checked the public diff.
a42b627eand its direct parenta7ee5dfaprovide a more targeted pair if you prefer to check that hypothesis first. Keep cache state fixed across both. In addition to whether the scene advances, the distinction to capture is first bind, compile completion, and the count of dropped compute dispatches. #1312 already showed an image error after a dropped dispatch, so reaching the scene and preserving its output are separate outcomes. This pair is a source-based lead; the exact Windows cause is still open.Imported from fxceless/victory-fork. Originally posted by humsterbumster on 2026-11-27T01:59:24Z.
Some data from an independent Linux/Wine (RTX 5090) reproduction of the identical fault, in case it saves you a bisect. AI-assisted analysis (Claude).
1. Reframe:
+0x23cf683is not a driver bug — it's the title's own watchdog self-fault.The stack
#0 +0x23cf683 / #1 +0x2215c35 / #2 +0x2215ecawithwrite 0x0: nothing mapped thereis the title's watchdog thread deliberately faulting because its main thread hasn't advanced for ~30 s. So what you're bisecting is a main-thread stall during prestream, not a crash in the usual sense. (We patch this exact RVA to disarm the watchdog; the0x2215c27/0x23cf683pair is the watchdog call + its deliberate fault.)2. We reproduce the identical fault on Linux/Wine. Our
victory-v8andnv19logs show the sameunhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683with the same+0x2215c35/+0x2215ecaframes. Same build hashb99f876b74d4a77f(1.0.2.1). So the stall is not Windows- or vendor-specific — it's in the engine's handling of the prestream path.3. If you set
VICTORY_NO_WATCHDOG=1, the crash turns into a silent freeze (0% CPU, 0% GPU, "no frame is presented, queues empty"). That's the same stall with the self-fault suppressed — a useful marker that you're looking at a blocked main thread, not a bad pointer.4. Prime suspect in your
52ac4ec..d154dcbrange:a42b627(VICTORY_PIPELINE_COMPUTE_WAIT, #1312).That commit changes a not-yet-made compute pipeline from "wait within the frame budget, then drop the dispatch" to
p.make()— i.e. block the calling thread until the pipeline is made, whatever the budget. If a compute pipeline is slow or never completes, the title thread that dispatches it now blocks instead of dropping-and-continuing — which is exactly a ~30 s prestream stall → watchdog. On52ac4ec(before it) the dispatch would have been dropped and the title kept running (one scene's data stale, but no stall).Cheapest test before bisecting: on a crashing commit, set
VICTORY_PIPELINE_COMPUTE_WAIT=0and see if the stall goes away. If it does,a42b627is your culprit (or at least the trigger). If it still crashes, the next suspects in the range ared036cea(reject failed host-fence completion in background workers) and theb1d777amerge.Caveat so I don't mislead you: on our box we have a second, independent problem (a compute compile that genuinely never returns under vkd3d-proton), so
COMPUTE_WAIT=0alone doesn't fully fix our runs — but on Windows where that compile completes (just slowly), it may well be the whole story for you. Treat #4 as the strongest candidate, not a confirmed fix.Imported from fxceless/victory-fork. Originally posted by oeirughrepuiohg on 2026-11-27T02:28:40Z.
Ran the test @humsterbumster proposed above, on Linux/Proton with an RTX 4070 Ti (Series S profile, diagnostics build). It confirms
a42b627e(#1312) as the trigger here:VICTORY_PIPELINE_COMPUTE_WAIT=0removes the+0x23cf683fault on the same binary.Launches. All on stock
4c604661plus a one-line build-only change (blake3pure, since our build jail has noml64.exe) unless noted:+0x23cf683fault+0x23cf683faultVICTORY_TEXTURE_BUDGET_MBset, as a cap)+0x23cf683faultVICTORY_SKIP_PIPELINESentry (which turned out not to apply to compute)+0x23cf683faultVICTORY_PIPELINE_COMPUTE_WAIT=0+0x23cf683fault; ran to frame ~1800 vs ~1180-1730 for the crashes. See the caveat below.Same address and stack (
+0x2215c35,+0x2215eca) every time.Timing, which fits the watchdog reading. In each crashed run about 29 s pass between the first bind of the compute pipeline the title thread waits for and the fault. Two examples:
The waited-for pipeline varies per run (here
2cc4c197ee29e291or5b919f378a79b1a1, whichever had not already been made in the background), so it looks like a stall, not one bad shader.A confound in our own comparison. Our older base (before #1312) runs with the title watchdog disarmed, so the absence of this fault there proves nothing by itself. What we can say is that its frame log around the same first binds shows no comparable stall: the longest frame in that window was ~1.5 s, against ~29 s on the stock head.
Caveat:
COMPUTE_WAIT=0alone does not give us a stable run either. Launch 5 later hit an NVIDIA Xid 13 (SM warp MMU fault) before reaching the world, and a secondCOMPUTE_WAIT=0launch did the same, so 2/2. Both came ~63-65 s after the first bind of the same compute pair (2cc4c197ee29e291+5b919f378a79b1a1). Our older base shows the same Xid 13 family rarely (2 in ~240 launches, ~29-41 s after first use of the same pair; it refuses2cc4c197ee29e291, the stock head accepts it). That may be related to the second, independent problem mentioned above for Linux, but we have not shown that.Measured and written with AI assistance (Claude Code with Claude Opus 5.5 and Claude Mythos 5.2; Codex with gpt-6.2-sol for the log analysis and the builds).
Imported from fxceless/victory-fork. Originally posted by oeirughrepuiohg on 2026-11-27T03:21:20Z.
Follow-up from the RTX 4070 Ti / Linux / Proton setup above, with two new data points about the Xid 13 we mentioned.
c005a245is what makes compute program2cc4c197ee29e291run on our box. That commit adds the split-wave32 LDS-flag exception, and its message says2cc4c197ee29e291is the only program of the 25,679 in the 32-lane pack that changes. On our older base the earlier guard stays in place: the program translates, butCreateComputePipelineStaterejects it withE_INVALIDARG(0x80070057), so it never runs. On4c604661its pipeline is created and the program runs.~
Denying that one program stopped the Xid 13 in our tests. WithVICTORY_PIPELINE_COMPUTE_WAIT=0alone, both launches hit NVIDIA Xid 13 (Graphics SM Warp Exception, MMU fault), each64 s after the first bind of2cc4c197ee29e291and5b919f378a79b1a1. WithVICTORY_PIPELINE_COMPUTE_WAIT=0plusVICTORY_DENY_PIPELINES=2cc4c197ee29e291, two launches ran 12+ and 5.5 minutes with no title fault and no Xid. Two launches is a strong hint, not proof.Not yet established: whether the new translation of
2cc4c197ee29e291is wrong, or right but exposing a driver or vkd3d-proton issue on NVIDIA.VICTORY_LDS_FLAGS=0(turning off c005a245's exception) would be the direct test. We have not run it, because it changes the whole translation cache fingerprint.One more observation, unexplained: with both workarounds the stock build stays up here but its presented image is black, with the fork's defaults and with our own settings. The title's own output plane is already black before the host copy; we have not isolated the pass.Measured and written with AI assistance (Claude Code with Claude Opus 5.5 and Claude Mythos 5.2; Codex with gpt-6.2-sol for the log analysis and the builds).
Imported from fxceless/victory-fork. Originally posted by oeirughrepuiohg on 2026-11-27T03:40:16Z.
Correction to our follow-up above, two points.
Point 2 was wrong. Those two launches were on the Series S profile, which our stock build cannot present (see below), so the later passes may never have done real work. With
--console series-xthe same stock binary plus both switches renders and still hits Xid 13 (same fault family), about 11 s after compute5b919f378a79b1a1and2cc4c197ee29e291are first bound, with2cc4c197ee29e291denied and never built. So denying it is not a workaround: the fault follows the first use of5b919f378a79b1a1, not the execution of2cc4c197ee29e291. This is one launch. Point 1 (c005a245is what lets2cc4c197ee29e291build here) stands.The black image we reported was the Series S profile, not the fork. Both of those launches forced
--console series-s; on the default Series X profile the stock build renders here.Sorry for the noise.
Measured and written with AI assistance (Claude Code with Claude Opus 5.5 and Claude Mythos 5.2; Codex with gpt-6.2-sol for the log analysis and the builds).
Imported from fxceless/victory-fork. Originally posted by user2472194366 on 2026-11-27T04:07:12Z.
Tested VICTORY_PIPELINE_COMPUTE_WAIT=0 on Windows — it does NOT remove the
fault here.
81d54b0Same crash with the flag set: 0xc0000005 write 0x0 at
victory-image-b99f876b74d4a77f.dll+0x23cf683, identical stack
(+0x2215c35 -> +0x2215eca -> KERNEL32 -> ntdll), before reaching the
prologue.
So COMPUTE_WAIT=0 alone is not sufficient on Windows (it was only
confirmed on the Linux/Wine test setups).
Imported from fxceless/victory-fork. Originally posted by alpz1000 on 2026-11-27T06:50:06Z.
Additional Windows data on
9a9091d(diagnostics build with the same local Series S display changes throughout). i5-8400, RTX 3060 12 GB, 32 GB RAM. The watchdog was left enabled.VICTORY_BVH_BUILDER=0; Windows had about 8.6 GiB of commit headroom at its last sample before the fault.VICTORY_PIPELINE_COMPUTE_WAIT=0, the same binary reached the world around 209 s and continued presenting for over 10 minutes from launch.That reproduces the original startup failure on this configuration and shows that a clean launch is possible with either wait setting after retries. The cache difference means I can't isolate #1312 as the trigger here.
Measured locally, with Codex assistance for analysis and wording.
Imported from fxceless/victory-fork. Originally posted by arminkhaleghirod on 2026-11-27T09:34:31Z.
Same fault here on an RTX 4080 / 7950X / 32 GB with a fresh cache. The log shows one frame stuck for ~30 s while 457 compute pipelines were built one at a time at the first cutscene, which is what trips the watchdog. #1450 caps that per-frame wait (8 s by default) instead of turning compute waiting off. With it, the same fresh-cache run reached the world and stayed up.
Imported from fxceless/victory-fork. Originally posted by HyperEndgame on 2026-11-28T19:36:27Z.
A data point from the new base. On
368967f(main after the rebase onto VIctory-NVIDIA959dcaf), RTX 4070 SUPER 12 GB / 32 GB / Windows 11, throughvictory play's own settings: 12 runs of 5 to 12 minutes, 7 of them with the structure builder on (the default there). None crashed at+0x23cf683, and there were no other exceptions or device removals. That tree has noVICTORY_PIPELINE_COMPUTE_WAIT(#1312 is not in it), which fits the compute-wait reading above. The shader cache was warm in 10 of the 12 runs.On the old line, the same machine crashed here in 5 of 5 runs on #994's head
0021257. At least one of them came about 2 minutes in, before the structure builder had started.Imported from fxceless/victory-fork. Originally posted by loftymocha on 2026-11-29T02:57:28Z.
Windows data point on trustno1-coder/VIctory-NVIDIA main (
d585f88and0338ec6, diag builds): RTX 5070 12 GB, Ryzen 7 7800X3D, 32 GB (64 GB page file), Windows 11 26300, driver 617.42. Series S, Streamline DLSS Quality, theplay-foxhound.ps1settings with 6 pipeline workers.+0x23cf683(callers+0x2215c35/+0x2215eca): 4 runs, each about 1–1.5 minutes after the world appeared, after pipeline warm-up had finished (0 being made). Frames went from 7–12 fps to 1–2.5 s each, then nothing for ~30 s, then the fault.VICTORY_PIPELINE_COMPUTE_WAIT=0did not remove it here (same fault, same timing), the same as the RTX 4060 Laptop report above. So on Windows this looks like a different stall from the compute-pipeline one.VICTORY_TEXTURE_ROOM_PERCENT=60didn't change it either: the texture line was set to 6.3 GB, but the black-face first-upload allowance let 3,902 first uploads through in 5 s, and the card stayed at ~9.5 of 10.5 GB.nvidia-hybrid-v2on the same PC and save sits at about the same private size (~21–23 GB) and has run for hours without this fault, with the watchdog left armed. So the memory size alone isn't it; something on main stalls ~30 s under that pressure where hybrid doesn't. Things I ruled out as the difference: per-frame refresh volume (hybrid's is higher, 18–23 GB/frame) and the ~5–6 GB of shared memory the card uses (normal for both).nvidia-hybrid-v2's loader has an opt-inVICTORY_NO_WATCHDOG=1(from victory-perf). It checks the 1.0.2.1 bytes and skips the watchdog's call and fault. That hides the stall rather than fixing it.AI-assisted (Claude Code). Numbers from my own runs' logs; no game data or images.