Every start after the first faults within ~2 minutes at victory-image+0x2215c35 (RX 9070 XT, RDNA4, 4/4) #143
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#143
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?
@KingKaom on GitHub · 2026-11-25 16:45 UTC · original
Machine: desktop PC, RX 9070 XT (RDNA4). Build: release, head
01aadd1, built from source in this repo; same exe, config and game data for every run below; DRED and gpu-debug logging on.Run 1 (fresh, empty cache dir): 67 minutes, zero faults, ended by hand. Menus ~31 fps, world ~4.4 fps median, lit interactive prologue interior.
Runs 2-5 (identical exe + config): all ended on
0xc0000005 (write 0x0: nothing mapped there) at victory-image-b99f876b74d4a77f.dll+0x2215c35on a title thread (backtrace image+0x2215c35 -> image+0x2215eca -> KERNEL32 -> ntdll), before any presented-frame is logged. Time-to-fault shrank run over run: 5m30s (scheduled menu input, warm cache), 31s (no input, warm cache), 10s, then ~2 min (both fresh cache dirs, no input). The 5m30s variant spent its last ~3 minutes pinned at 1.9 fps / 533 ms/frame with
slow host submission lists=1 pipelines={}before faulting; run 1 never showed that stall. After the fault the process resists termination (one instance held 1.4 GB for ~20 minutes; typical of a stuck device/kernel wait).Not fork-specific? The identical offset and register shape (write 0x0, rbp=0x0) reproduced 2/2, ~36 s in, on the marvisak/VIctory tree with this same title build, so this may be title-side behaviour the host triggers. Cache state, scheduled input and cache dir location were each varied without changing the outcome; the one variable that mattered was simply being the first start after machine boot.
Question for the board: is there a known first-run-after-boot dependency (driver state? a system-service handshake?) - and would anyone else read 4/4 repeat starts dying at one offset in the image module as host-side rather than shader-side? Will re-run the ladder after the next machine reboot and report.
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-25 17:20 UTC · original
Three more falsifications from this board: 7/7 reproduce, none of the title's on-disk state matters — RX 9070 XT (RDNA4), measured
Three further single-variable isolations on the same head (release build, cold starts, fresh key schedule untouched):
Identical signature every time:
victory-image-b99f876b74d4a77f.dll+0x2215c35, write to 0x0, title thread. Crash contexts show the title pre-world-load every time: streaming requests 0, all entity pools zero, camera still at its sentinel position. Falsified so far: warm vs cold pipeline cache, key schedule, disk contention, rebooting, saves, and all title data state.The run that reached the world remains the only one of its kind (67 min, zero faults) — and neither a reboot nor wiping every on-disk state we can touch reproduces it. One pattern survives untested on our side: that run started one minute after a previous process was killed at the end of 2 hours of continuous rendering on the same adapter, and our reboot since then did not restore the behavior. A full power cycle (down-and-up rather than restart) is the next discriminator we can offer from this machine; happy to run it if it helps your debugging.
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-25 17:58 UTC · original
Update from the RX 9070 XT (RDNA4) machine, measured — continuing from above.
A full power cycle did not heal it. Clean shutdown, ~2.5 min off, first start after: died at t+6m28s at the same
victory-image-<same hash>.dll+0x2215c35write 0x0, still in the title before world entry. On this machine that is now 9 starts / 9 crashes at this one offset since the single 67-minute survivor.Retested on today's head (
a59f3e5) — the in-place title-memory path was active (log:title memory used in place by the host GPU on=true): same offset, died at t+3m54s, again in the title, before world entry. This time the last visible frame was a single 33-second stall at 3 draws (33032 of 33087 ms spent on the GPU) immediately before the write fault — and there is no Windows display-driver reset (TDR) event at that time, so the driver did not reset underneath it.Because the faulting module is the title's own image code (identical name and hash across our host builds), our read is that the host is starving it rather than corrupting it, and the GPU-side stall suggests the wait is on the device.
And the fact we still cannot reproduce away: the one run that survived 67 minutes started 1 minute after another VIctory-based build finished 2 hours of continuous rendering on this machine. Next experiment: replicate exactly that precondition (a long render pass first, then the start) and see whether the survivor was warm-adapter state or luck.
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-25 18:37 UTC · original
The crash is gone on
000ffdd— first start in 10 that reaches the world (RX 9070 XT, RDNA4, measured)Today's head (
000ffdd, the bindless-window-death + ambient-reflection changes) crossed the barrier: world entry at t+6m19s, while all 9 crashing starts died before world entry between t+35s and t+6m28s at+0x2215c35. This is the first start since the 67-minute survivor to get past the title at all.Route numbers from the fixed walk/turn route (menu EULA confirm by keyboard, prologue interior; keys sent as real key events):
The picture is a recognizable, coherently lit prologue interior — fabric texture on the jersey readable from close ("TOPOLSKI 15"), indoor lighting stable, no magenta/orange-mess artifacts of the kind the main-branch gate shows. The fps/frame picture overlay is working too.
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-25 23:51 UTC · original
Regression on today's
4f62c2a— the fault is back before world entry, 2/2 (RX 9070 XT, RDNA4, measured)000ffddheld across two further starts after the report above (route completed at 7.9 fps; a separate 53-minute soak ended by hand). The head then moved000ffdd→4f62c2a(five commits, dominated by the clean-up passes over translated shaders). Fresh pull, release build, same exe config and knobs (DRED + gpu-debug), two starts:0xc0000005 (write 0x0)atvictory-image-<same hash>.dll+0x258b000, backtrace+0x258b000 → +0x2215c35 → +0x2215eca— this issue's frames. Pre-world state: 6 draws/frame, streaming still loading.+0x2215c35write 0x0.Both follow the same stall-then-write-fault shape as the original report (the 1.9 fps / 533 ms plateau and the 33 s single-frame stall are back). Since
000ffddsurvived starts with the identical exe config and game data on this machine, the regression sits inside the000ffdd→4f62c2adelta. Next experiment on this machine: bisect those five commits, starting with the shader clean-up passes.AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 00:32 UTC · original
Bisect follow-up on the
4f62c2aregression (two more release builds, identical knobs, no input, RX 9070 XT):The clean-up passes are not the trigger — the fault reproduces three commits below them.
f1ba837(texture census): died at t+31s,0xc0000005write0x0at image+0x2215c35, backtrace +0x2215c35 → +0x2215eca — the exact thread backtrace of the two4f62c2aruns — before host pipelines were even made (window never created).ae75a66(clean-up passes): died at t+5m26s, image+0x258b000, backtrace frames 0x2215c35/0x2215eca — same family; last frame line 0.0 fps, 58.4 s on the GPU, 579 host pipelines being made, window never created.The parent head
000ffddstill passes 2/2 on this box with the same knobs. So the culprit is one of the three commits below the clean-up passes:705a2d0/c28201f/f1ba837. Next run isolates the middle one.Tested on RX 9070 XT (RDNA4), measured.
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 00:58 UTC · original
Bisect narrows again:
c28201f(one commit above000ffdd, two belowf1ba837) also dies with the identical fault — release build, same knobs as the passes:0xc0000005write0x0atvictory-image-…dll+0x2215c35, backtrace+0x2215c35→+0x2215eca, at t+31 s (same elapsed asf1ba837), no window created, log ends before the pipeline build (20 KB).So
000ffdd→c28201fis where the regression enters: the culprit is705a2d0orc28201fitself. Testing705a2d0next to settle which.tested on RX 9070 XT (RDNA4), measured
AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 01:29 UTC · original
Bisect resolved:
705a2d0is the trigger — "The ambient light follows the sky; a write alone does not rebuild the plan" (RX 9070 XT, RDNA4, release builds, identical knobs, no input, measured)Final leg of the ladder:
705a2d0fails at t+31 s —0xc0000005write0x0atvictory-image-…dll+0x2215c35, backtrace+0x2215c35→+0x2215eca, window never created, log ends before the host pipeline build (20 KB). One commit below it,000ffdd, passes repeatedly with the same exe config. So the whole chain from705a2d0up to the current head fails identically (six failing heads in this bisect, same signature); every commit between them merely inherits the fault.Two observations from the machine state during the bisect:
000ffddpassed ~8 h after boot while705a2d0failed ~15 h after boot — so a first-start-after-boot dependency cannot explain the difference between these two adjacent heads; the commit is doing it. (Four crashed instances are currently still held on the machine from this bisect; none of them was the first start of the day.)The commit is small (three files). The suspect hunk is the
cfg!(test)gate added to the bindless plan-rebuild decision in the host heap: "another write alone leaves the plan as good as it was" now skips the rebuild whenever only the plan's write range changed. Given the fault is a title thread dying in the descriptor/plan region of the same image, before any pipeline is built, that skip is where I would look first; the ambient-sky rewrite is the second suspect. One decisive experiment for a tester: revert just that host-heap hunk and retry — no other file needs to move.AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 02:01 UTC · original
Addendum: the new
rx9070xttip fails identically (RX 9070 XT, RDNA4, release, measured)Ran
81ebb7b(the RX 9070 XT fixes: magenta filter, VRAM eviction, keep_shown guard, lock-free compiler VEH) on our card: first-chance and unhandled0xc0000005write0x0at image+0x2215c35, backtrace +0x2215c35→ +0x2215eca— the exact quintuple from the ladder above — at t+31.5 s, 11 ms after the firsttitle memoryrequest and right afterD3D12.X device version=0x20004, before the pipeline build. Window line present, 0 presented frames.The VRAM-eviction and
keep_shownchanges don't touch the suspect gate from the culprit commit, so this fits: the bisect conclusion stands and the one-hunk revert experiment (host-heap plan-rebuild gate only) is still open. Happy to re-run the same ladder leg the moment a candidate lands.AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 02:52 UTC · original
Addendum + one correction from reading the tip's source (RX 9070 XT, measured thread; no new run)
Our previous addendum said the tip "does not revert" the two suspect hunks of
705a2d0— reading81ebb7bitself shows the stronger fact: neither hunk still exists in its original form. The host-heap plan-rebuild block — thecfg!(test)-gatedsame_rangecondition we asked to revert — is gone fromdescriptor/host.rs(the whole pass was rewritten by some intermediate head between705a2d0and the tip), and the ambientfollow()/FOLLOWstate was replaced by the newerVICTORY_AMBIENT*env-parsing paths. So a revert of the culprit hunk can no longer be performed on the tip: the code moved out from under the bisect.Yet the tip still dies at t+31.5 s, pre-world, 0 presented frames, at the same guest instruction (
write 0x0at the same image offset, same two-frame backtrace as every failing head sincec28201f) — and on the same card the identical guest fault kills the current tip of a different fork lineage whose history never contained705a2d0at all.Suggested next RDNA4 bisection on
rx9070xt: the fault is not pinned to the original705a2d0hunks but to whatever the rewrite between705a2d0and the tip kept from them.AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 11:49 UTC · original
Correction + first measured run of the real
81ebb7b: the fault stayed silent onrx9070xt(RX 9070 XT, RDNA4, release, measured)Our earlier "ran the tip
81ebb7b" comments here were in fact running a previously built binary — the checkout moved but the binary behind it did not (cargo considered the tree fresh; verified today and force-rebuilt).On the verified
81ebb7brelease build, same knobs (DRED light), one cold start:+0x2215c35, 0 dropped pipelines. For contrast, the main-line regression heads died at t+31–36 s at+0x2215c35, before the window was even created.VICTORY_ONE_PADat its default (keyboard feeding pad 1), the account picker still ignored 7 delivered keyboard presses (Enter/A/Y/Space, 2.5–5 s holds, focus verified) — this card still needs a physical pad at that gate.AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-26 20:40 UTC · original
Second 9070 XT box: first interactive session to an open-world save — pad live at menus, FSR4 confirmed, saves verified at exit (RDNA4, measured)
Continuing this thread's method on the second RX 9070 XT machine (32 GB, Insider 26300, 360-protocol pad on XInput slot 0). Ran tip
cd8dfc0(release exe viascripts\play.ps1, exe-mtime identity proven).-Fsr4K qualityworks as documented with FFX SDK 2.4.0 signedbin: log confirmsFSR 4.1.2andrendering at 2560x1440 -> 3840x2160 (quality).dropped without a host pipelineat the same moment.title suspended; ending the title), title user drive flushes to disk at exit (AppData\Local\victory\data\7952987A\saves\...), zero faults whole session. First end-to-end RDNA4 confirmation of your save claims, I believe.Two asks: (1) is there guidance on which
VICTORY_PORT_*flags help the free-roam copy storm most? (2)shaders <archives>pre-translate fixed our arrival hitches — worth a line in the README next to-Fsr4K?— AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-27 04:00 UTC · original
The fault is back on
4eb6cfd— deterministic on this box, 2/2 (RX 9070 XT, RDNA4, release, measured)This box ran
cd8dfc0the previous evening with zero faults in interactive sessions. Updated the same clone and knobs (release,-Fsr4K quality, FSR upscaler4.1.2selected per log, the open-world save present, Enter passes the boot screen) to4eb6cfd: the title died both runs with0xc0000005write0x0atvictory-image-b99f876b74d4a77f.dll+0x2215c35(unhandled; breakpad minidump collected)Cross-lineage data point:
fxceless/victory-fork's README (2026-11-27 03:45 UTC) documents the same title fault — "about 30-40 s after the builder starts, the title crashes on a write to address 0" — withVICTORY_BVH_BUILDER=0as their play workaround (https://github.com/fxceless/victory-fork/issues/1257#issuecomment-7209442236), and we hit the same offset and fault on their current head at t+37/40/41 s, with and without that knob. I have not root-caused which of the 49 new commits exposes it here; reporting the measurement. This box stays oncd8dfc0as the daily driver until it is traced.— tested on RX 9070 XT (RDNA4), measured · AI-assisted (Hermes Agent)
@KingKaom on GitHub · 2026-11-27 09:45 UTC · original
Per-flag sweep of the five
VICTORY_PORT_*switches against this fault — RX 9070 XT, release,4eb6cfd, measuredFollowing up the tip+patches survival result: we isolated which flags actually matter for this crash. Method: one and the same release executable throughout (image digest
b99f876b74d4a77f), runtime flags only through the launcher's explicit pass-through (no rebuilds), cold starts, identical host exposure every run (wave lanes 32–64, view heaps 2,097,152). "Survived" = ran past the 9-minute mark with zero first-chance exceptions; bare tip died at t+94 s / t+100 s (2/2) in this same window.4eb6cfd, release)PORT_CONSTANTSalonePORT_DESCRIPTORSalonePORT_GUARDalonePORT_CBValonePORT_JOURNALalonePORT_CBV+PORT_JOURNALCONSTANTS+DESCRIPTORS+GUARDEvery failure carries the identical signature:
0xc0000005, write of 0x0 atvictory-image-…dll+0x2215c35— no flag flips it into a different fault.Three findings:
Caveats, stated as measured: runs are menu/account-picker state — the release picker ignores scripted Enter and the key-injection channel is diagnostics-only — so this covers the boot/menu load storm, not a loaded-save storm; and each timing-family result is a single sample.
AI-assisted (Hermes Agent)
@Gabriel-Ramaldes on GitHub · 2026-11-27 13:36 UTC · original
A data point from a third RX 9070 XT box (RDNA4, 32 GB): on
4eb6cfdthe fault was intermittent, 3 of 33 starts, all at t+32 s, and only on two PR builds (measured)Setup:
--profile diag --features diagnostics),scripts\play.ps1's settings (Series X), DRED light.Starts on 2026-11-27 (the four
4eb6cfdrows run imagevictory-image-b99f876b74d4a77f.dll):+0x2215c35faults4eb6cfdas shipped4eb6cfd+ #394 (ec71380)c9c932cline, its own launchercd8dfc0line), two profiles4eb6cfd+ #386 (3f91df5)4eb6cfd+ #512 (d58c262)What the three faults share:
0xc0000005, write0x0at+0x2215c35, backtrace+0x2215c35→+0x2215eca→ KERNEL32 → ntdll. The registers match across all three (rbx/rbp/r12/r13/r15= 0,r80x83,r90x7ffec000,r110xfffffffff7fdb502).D3D12.X device version=0x20004, the firsttitle memoryrequest andcrash tracing on. The third got as far as opening the DirectStorage queues.Reading, with caution:
4eb6cfdand4eb6cfd+ #394, though, I cannot rule out that their changed timing makes the race more likely.AI-assisted (Claude Code); no game files.
@KingKaom on GitHub · 2026-11-27 14:26 UTC · original
@Gabriel-Ramaldes your timing table lines up with this box's history in a useful way, and one of your rows is directly testable against our sweep.
The ~32 s window is this box's oldest face of the fault. Every head in the
705a2d0bisect died at t+31–31.5 s here (pre-world, log ending afterD3D12.X device version=0x20004/ the firsttitle memoryrequest), and81ebb7bhit t+31.5 s the same way — the same gap you saw between the device line and the fault. The4eb6cfddeaths on this machine moved to t+94 s / t+100 s during the save-load storm, 2/2 (release build, same imageb99f876b74d4a77f).Your reading that the two PR builds shifted timing rather than caused the fault fits our per-flag data (full table two comments up). On this box the fault's arrival time moves with the
VICTORY_PORT_*flags:PORT_CBValone → t+35 s;PORT_JOURNALalone → t+34 s; the CBV+JOURNAL pair → t+39 sA cache-key detail sharpens the timing story: on this tree only
VICTORY_PORT_CBVis mixed into the pipeline-cache key (shader_cache.rskey hash) —PORT_JOURNALis not — yet JOURNAL alone still moves the fault ~60 s earlier. So the shift is not "different shaders were compiled"; the patched path itself changes when the fault surfaces.Two cheap cross-checks that would say a lot:
4eb6cfdrelease build, does the fault appear at all? (We can mirror it from our side with a diagnostics bare-tip start.)PORT_CBV=1orPORT_JOURNAL=1alone brings your box into the t+32–35 s window and bare tip stays clean, that would promote our single-sample "these flags shift the window" into a two-machine result — and it discriminates "some flags make the race more likely" from "the fault is one fixed event that gets deferred."— tested on RX 9070 XT (RDNA4), measured · AI-assisted (Hermes Agent)