Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1232
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?
@AgneyaK on GitHub · 2026-11-24 16:36 UTC · original
Same machine for every run:
26300.
diagbuild (--features diagnostics), basemainffe310e, title 1.0.2.1, Series X profile.VICTORY_KEYS=20:Enter) and then straight intothe story load. Each tree that changes shader translation got a fresh cache folder. One run per row unless noted.
Each row adds to the one above.
main+ #2080xc0000005write 0x0 at+0x23cf683+0x23cf683VICTORY_SHADER_LOOP_LIMIT=32(2 runs)0x887A0007), no+0x23cf6830x887A0007), no+0x23cf683VICTORY_SKIP_WAVE64=mesh0x80000003at+0x5149aec(new)What each step shows:
host D3D12 device ready: NVIDIA GeForce RTX 3050 6GB Laptop GPU).mainuses the Intel iGPU, adapter 0, on this laptop.+0x23cf683stop follows a long GPU submission. With the stack, one submission of 7 lists, 8compute programs and 1 mesh program took 28 s, right before the stop. With
VICTORY_SHADER_LOOP_LIMIT=32, or with #452, no submission passed 0.75 s and+0x23cf683never came.On this card the stop looks like the title's watchdog waiting on loops that run to the limit.
VICTORY_D3D12_DRED=1) recorded no breadcrumbs. The list held five small dispatches: compute91b10a73e48b2192(2x1x1, also named in #314),24317e785c8688e3,b83629b90cd2b7bcandc1488f485ad606fb.run. That fits #578 and #778: wave64 mesh programs on 32-lane hosts.
0x80000003at+0x5149aec, 9:27 in (no match in eitherproject's issues).
rax 0x9e0001fffe rbx 0xc rcx 0xdfcf8b420 rdx 0xc.4,904 streaming requests pending, SRL
fbk_stry000_FBK_STRY000_INTROstill inPrestream, gameframe 975.
in host copies.
What
+0x5149aecisslots. The function reads the free-list head at
[pool+0x20]and compares its low 32 bits with0x1FFFE, the "empty" marker. On a match it jumps to+0x5149aec. Otherwise it pops withlock cmpxchgand bumps a count at[pool+0x10]. At the stop,rax = 0x9e0001fffe(low 32 bits0x1FFFE) andrcx = 0xdfcf8b420(the pool), withdl = 0xcpassed through. The title's crash contextat that moment had 4,904 streaming requests pending, TileHeap at 5,592 of 6,236 MB, and the game frame
at 975 after 9:25. My reading: at 0.1–0.2 fps, objects released a few frames later pile up until one of
the title's pools (one of 8, picked through a table at
+0x8fdce48) is empty. So this is a symptom ofthe frame rate, not a separate bug. I have not identified which pool it is.
Copy PRs on top (#472, #322, #1024, together, one run)
World frames 4,641 → 4,101 ms: copies 943 → 607 ms, copying back 741 → 604 ms, preparing 2,915 → 2,615 ms, GPU 931 → 836 ms. That run lasted 9:13 and ended at the same
+0x5149aecassert.Memory: this 16 GB laptop pages throughout the load
Sampled every 10 s from outside (
Get-Process,\Memory\Available MBytes,\Memory\Pages Input/sec):--console series-s, + #492)copystat"page faults" of 435,000–678,000 per world frame line up with this. Windows keepstrimming the working set, and each frame faults back in what it touches: refreshes of 1.6–2.9 GB and
write-watch checks of 5.6–6.9 GB.
run was lost to a device removal at 3:26.
DirectStorage throughput in the load (
VICTORY_LOG=…dstorage=debug)title memory that is being paged.
Not tested: release builds, more than one run per row (except the loop-limit row), the integration
tree, other cards.
AI use: Claude Code (Claude Opus 5.5) merged and built the trees, ran the title on my machine, decoded the assert from the disassembly of the title image and drafted this report; results are from the runs described. No game data is included.
@pickles976 on GitHub · 2026-11-24 16:40 UTC · original
Beautifully controlled ladder — same machine, fresh cache per translation-changing tree, one variable per row; this is the format other cohort reports should copy. Two notes from the sibling project so the last column reads correctly: ①
+0x23cf683 write 0x0is the title's deliberate watchdog (shared kill-map, VIctory#630; byte-verified on hash-matched images across four GPU families, and+0x23cf683 → +0x2215c35is the same pair as #1118) — not a runtime null-deref to chase in your code. ② The discriminator that makes the end-column meaningful on 6 GB is the 11-NOP experiment from #1118:VICTORY_PATCH=<module>:0x23cf683:9090909090909090909090converts the suicide into a continuation — "frames keep presenting" means the watchdog fired on a transient stall your stack could ride out; "silent within seconds" means the 6 GB card genuinely fell over, and then the mip-drop/window knobs (#1086 rows 5/8) become the next rows in this table. One run each, and the table tells you whether you are one translation PR away or one architecture change away (#1226-style in-place binding is the architecture answer at 6 GB, but it is not this-week work). 6 GB reaching story load is also a cohort record worth stating in the table caption: nobody has run this deep below 8 GB on either runtime.@AgneyaK on GitHub · 2026-11-24 16:52 UTC · original
Two follow-ups on the same machine.
1. #55 plus a fix for the invalid call it exposes.
DXGI_ERROR_INVALID_CALL1:41–1:58 in, in 3 of 3 runs.B4G4R4A4texture that #55 made withoutALLOW_RENDER_TARGET.2. The 8:37 run ended at a second pool, not a new bug.
0x80000003at+0x1fa88e4is the same lock-free pool pattern as+0x5149aec.+0x1fa86e1the code loads the pool at[+0x8fe1078]and compares its free-list head with the emptymarker
0x1FFFE.jejumps to theint 3at+0x1fa88e4(and again at+0x1fa8742).That fits pools filling while frames are this slow, rather than two separate bugs.
AI use: Claude Code (Claude Opus 5.5) ran the title on my machine, read the disassembly of the title image and drafted this; results are from the runs described.
@antikohza on GitHub · 2026-11-24 19:58 UTC · original
@AgneyaK — saw your measurements on the RTX 3050 6 GB Laptop + 16 GB RAM (#1232 and your #431 report showing 5.0 GB dedicated + 3.7 GB shared RAM spill even with lazy textures):
FYI, PR #1296 (
VICTORY_TEXTURE_MIP_DROPauto-defaulting to1on<= 8.5 GiBGPUs + discrete GPU selection) has been updated (a6f3ccb) and cleanly rebased directly on top of #1542 (which includes #431 lazy first-use textures + #967 adapter selection):antikohza:feat/texture-mip-drop-on-1542(0d79788, Windows CI green)That combines #431's lazy materialization with #1296's ~75% sampled-texture footprint drop (or
VICTORY_TEXTURE_MIP_DROP=2for 6 GB cards), which should cut that remaining 3.7 GB shared-RAM spill and paging substantially.call [r9+0x30]at the account-picker → world transition; a second crash overruns a 24-byte-stride table; crash-log appends interleave #2025call [r9+0x30]at the account-picker → world transition; a second crash overruns a 24-byte-stride table; crash-log appends interleave #2025@AgneyaK on GitHub · 2026-11-25 05:30 UTC · original
Update: the two pools that ran dry here, identified from image
b99f876b…(base0x140000000). Both use the same lock-free pool code: free-list head at[pool+20h], empty marker0x1fffein its low 32 bits, a per-nodeu32array at[pool+28h], live count at[pool+10h]. Each is created from the title's config table (+0x50cef40, looked up by name hash, default 1) and initialised by+0x16cbe00.+0x5149aec(also #2025)+0xa9ec938+0x5ad8e400x5411E15C= joaat("building")0xE0+0x1fa88e4+0x8fe1078+0x5abb2200x0BA88904(no string in the image hashes to it)0xC0buildingis the deleting destructor at+0x51f2c80(lock dec [pool+10h], then push).+0x1fa88e4allocation sits in a function that computes a distance (vrsqrtss) just before. It's probably a streamed or LOD-related entry, not confirmed.AI use: Claude Code (Claude Opus 5.5) disassembled the image locally and hashed its strings; no game data beyond addresses, instructions and hash values.
@Marvisak on GitHub · 2026-11-25 10:10 UTC · original
Automated triage for the maintainers.
Thanks, this is a complete and well-controlled report: RTX 3050 6 GB Laptop, driver 32.0.16.2124, Windows 11 26300,
ffe310ediag build, one change per row. Each stop already has an issue:+0x23cf683(the title's watchdog after a long GPU submission) is tracked in #1118, the oldest report.+0x5149aec(a title pool running dry, no device removal) is tracked in #698.On
main, the host device is still made on the default adapter (D3D12CreateDevice(None, …)incrates/victory-gpu/src/host.rs). #208 was closed unmerged. Open PR #967 chooses an adapter that can run the title. Since this run,cd94d35and940d32fchanged copy-back to compare only the pages shaders mark (crates/victory-gpu/src/shadow.rs). A run of currentmainon this laptop would show how much of the frame cost remains.Generated by Claude Code
call [r9+0x30]at the account-picker → world transition; a second crash overruns a 24-byte-stride table; crash-log appends interleave #2025