World load on NVIDIA with no device removal: title breakpoint (0x80000003) after ~6.7 min, INSTANCE_LIST pool full (45000/45000) #698
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#698
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?
@walterwallaceson on GitHub · 2026-11-24 07:00 UTC · original
With the device removal out of the way (#493 + #483), the world load on this machine now ends about 6.5–7 minutes in with the title stopping itself:
0x80000003on 7 threads at once. In both runs the title's own crash report (written totemp\*.crash.login the data folder) shows itsINSTANCE_LISTpool exactly full.Setup
d2a4bae+ #175 (19aec59), #233 + #320 + #439 (f653ea4), #55 (56f1d41), #89 (081afbd), #336 (e8d3b64), #334 (af2aecf), #493 (c48b240), #483 (65a161d); #493/#483 conflict resolved as described on #493victory run --execute, no diagnostics variablesWhat happens
0x80000003on 7 threads, all with the same stack; it writes its crash report and tries to upload a minidump, which the network policy blocks.+0x5149aec+0x63966f+0x5149aec,+0xa5db22,+0x5453ac7,+0x23d0f9a,+0x23d1211,+0x257035e,+0x221c29c,+0x2215eca+0x63966f,+0x3e54ad0,+0x257035e,+0x221c29c,+0x2215ecaINSTANCE_LISTBUILDINGOBJECTPausedThe breakpoint address differs between the runs but the pool state is the same, so my guess (not verified) is that the title asserts on a pool overflow wherever the next allocation lands, and that the instance lists are not released fast enough at under 1 fps with many draws dropped. That would make this a consequence of the slow, mostly-dropped world rendering rather than a separate bug, but I haven't confirmed which code fills the pool.
No game data in this report (the crash report file itself is not attached; it holds the title's internal IDs).
AI-assisted (Claude Code); everything above was run on my machine.
@cj5k9dnkfd-afk on GitHub · 2026-11-24 07:38 UTC · original
Hi anyone have the game Link
@LAKSHYA-cmd-tech on GitHub · 2026-11-24 07:46 UTC · original
This pool exhaustion (
INSTANCE_LIST: 45000/45000) is directly coupled with the dynamic descriptor exhaustion and dropped draws during world load.Here is the chain of events:
HostHeap::dynamicdrops further draws/dispatches. Unexecuted lists leave their allocated instance lists unconsumed in the guest heap.dynamic-slot-reclaim) allows dynamic descriptor slots of executed command lists to be reclaimed, preventing the dynamic descriptor pool from saturating at 65,536.v_cndmask_b32and_co_ci_u32), the instance-culling compute pipelines will no longer abort translation or drop dispatches.@Tanju42 on GitHub · 2026-11-24 08:49 UTC · original
Second NVIDIA machine, same class — but our variant is frame-driven, not pool-driven. Adding the data in case it narrows the trigger.
Setup
main,--profile diag --features diagnostics;victory run --executefiles: virtual drive Gon the UNC; loader binds everything, 0 missing)Two runs: the real GPU and WARP crash at the same frame with the same offset
VICTORY_D3D12_WARP=1)+0x4dcbc9d+0x4dcbc9d+0x4dcbc9d, +0x4e52a83, +0x4e529c4, +0x5ab13ed, +0x21b70b1, +0x1d83996, +0x81afb9, …PausedUnlike your runs,
Paused: No, no pool pressure visible (tile heap barely filled), and the breakpoint is the same offset on the same frame number despite 45% different wall time — so the title seems to stop on a per-frame condition here (frame 82 of the load sequence?), not on a pool overflow. All MEMORYINFO counters read 0/0 in the title's own crash report on both runs.If a per-frame assert at a fixed load-sequence frame is a second path to the same end, the WARP column may be a cheap repro for it: on the software adapter the whole pre-crash stretch is identical per frame, no driver behavior in the loop at all.
Happy to capture a
VICTORY_LOG=victory=tracetail around the stop, or bisect environment differences (local-disk dump vs SMB), on request. No game data in this report. AI-assisted; both runs measured on my machine.@Sil3ntGam3r on GitHub · 2026-11-24 09:25 UTC · original
RTX 3070 8 GB, driver 621.14, Windows 11 (26300); diag build,
VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1, fresh shader cache.c7a5f49+ #89 #493 #483 #189 #206 #469 #459 #454: stopped at 6m47s,0x80000003at+0x5149aec(same stack as run 1 above);INSTANCE_LIST45000/45000,BUILDING22429/22500,Paused: No; 42 shaders refused asa structured buffer of unknown stride.8e79c80plus #704 (with #193) and #688: 11+ minutes, no breakpoint, no device removal. No unknown-stride refusals left; draws dropped without a host pipeline went from about 4,000 to 120–225 per frame; about 1 fps. The scene behind the credit text is still black. The largest remaining refusal reasons (unique shaders): descriptor read only as data 103,v_readfirstlanein divergent control flow 101, select on an untracked mask 97, lane mask holding lanes elsewhere read as data 85.Merging needed some glue. #483's guard slot has to come after #704's alias slots (
guard_slot = alias_base + ALIASES), because shaders reach the aliases through the heap. #704's GPU tests need the guard dword filled. #493's root-SRV slot goes through #688'stake_dynamic. All 348 tests pass on the merge. (AI-assisted test run.)@LAKSHYA-cmd-tech on GitHub · 2026-11-24 09:56 UTC · original
Regarding the
INSTANCE_LISTpool overflow (45,000/45,000) and the 3D scene remaining black:The root cause is in
crates/victory-gpu/src/list.rs:1074(dispatch_mesh_x). In GTA VI, 3D world geometry instances are dispatched via indirect mesh dispatches (indirect != 0). However,dispatch_mesh_xpreviously contained:Because every indirect mesh dispatch was dropped, none of the world geometry instances were drawn or retired. Instance allocations continued to accumulate until the engine hit its 45,000 pool limit and asserted with
0x80000003.The backend indirect execution infrastructure (
State::execute_indirectindraw.rswithkind = 10(MESH) and stride 12, as well as the argument clamp inindirect.rs) is already fully implemented. We have patcheddispatch_mesh_xto execute them:The fix and synthetic tests are available in branch:
https://github.com/LAKSHYA-cmd-tech/VIctory/tree/fix/gpu-indirect-mesh-dispatch(PR: https://github.com/LAKSHYA-cmd-tech/VIctory/pull/2)
@Sil3ntGam3r on GitHub · 2026-11-24 10:55 UTC · original
Follow-up with the build from my comment above (main
8e79c80+ #89 #493 #483 #189 #206 #469 #459 #454 #704 #688, diag build,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1), RTX 3070 / 621.14 / Windows 11; a second run with the shader and pipeline caches warm:(AI-assisted test run.)
@Sunkiller-qc on GitHub · 2026-11-24 13:13 UTC · original
The run 1 stop (
int3at+0x5149aec, same stack) has also been reported outside this issue:+0x5149aecaround 6 min into the opening cutscene, in both Series S and X modes, in statePrestream.+0x5149aecand one at+0x63966f, the run 2 address here. They read+0x63966fas a pool allocator hitting an empty free list.So it's not NVIDIA-specific. Sil3ntGam3r's result above is the best lead so far: with #704 (and #193) plus #688, the unknown-stride refusals went to zero and the run lasted 11+ min with no breakpoint.
@WalliceCariasPerussio on GitHub · 2026-11-24 14:09 UTC · original
RTX 5060 8 GB: the title's int3 at about 6.5 to 7 minutes is its pool allocator running out of slots. An opt-in hook gets past it: 17+ minutes in the world.
Setup: RTX 5060 8 GB (driver 621.14), Xeon E5-2680 v4, 16 GB RAM, Windows 11 26200, title 1.0.2.1, Series S mode, diag builds.
Stack:
8e79c80plus:42538cd, #688;7425674.1. A fixed point in the cutscene, not a time-out. Four of my crash contexts stop at title frame 920, 950, 945 and 935. That is 6m09 to 6m49 of game time, at frame rates from 0.3 to 1.3 fps.
INSTANCE_LIST45000/45000.BUILDING22500/22500.2. The int3 sites are copies of one pool allocator.
+0x5149aec(inlined) and+0x63966fare the same code.and r32, 0x1ffff, thenlock cmpxchg.int3. The instruction right after thatint3isxor reg, reg, on the way to the function's own null return (as bunbeans2 described in #597).int3sites of that shape.3.
VICTORY_POOL_NO_ASSERT, an opt-in diagnostic in the style of #454.int3only.+0x5290e65, withBUILDINGfull.+0x1fa88e4.4. Code. The hook and a script that lists the sites from your own copy of the executable: https://gist.github.com/WalliceCariasPerussio/3f344d522a3a4f01c83fa12e02615396. The site list itself is left out because it is derived from the title, so the script builds it locally (
pefileandcapstone, read-only).5. Image on the same card. Build: r4tedx's
integration/testersat92bc27b, plus mpDom'sd6897fa(VICTORY_PRESENT_1440P), the #876 typeless-view change (5e3c9e2,b7a0a8c), #431 and the hook above. Series X mode.VICTORY_PRESENT_1440P=1280x720choose it. The latest 1280x720 colour target there was black.Root cause. It is still the culling programs that don't run on 32-lane hosts, which is why the pools fill. The hook only keeps the title alive past that point.
AI-assisted (Claude Code); I ran the title on my own machine.
@VibeClauding on GitHub · 2026-11-24 15:38 UTC · original
RTX 3070 8 GB data point for the pool-full stop, with @Sil3ntGam3r's ten-PR set: on this machine it does not reach the 11+ / 20+ min runs, and stock
mainplus three of the PRs stops the same way.Setup: Windows 11 Pro 26200, RTX 3070 8 GB, driver 610.88 (32.0.16.1088), Ryzen 7 5700X3D, 16 GB RAM + 24-48 GB page file. Title 1.0.2.1 (
b99f876b…), Series X mode. Diag builds (--profile diag --features diagnostics),VICTORY_D3D12_DRED=1, stock TDR,VICTORY_KEYSEnter every 10 s to 240 s, then no input.ffe310e(main)0x887A0006, DRED on dispatches of computed3e44e754b3eb6aawith[heap 340912: null]entriesffe310e+ #493c48b240+ #189c047885+ #20605981dd, loop limit 320x80000003at+0x5149aec(same stack as run 1 above) at 6m07s;INSTANCE_LIST45000/45000,BUILDING22329/22500,Paused: No, SRLPrestream, 735 streaming requests8e79c80+ #89 #493 #483 #189 #206 #469 #459 #454 #704 (with #193) #688, loop limit 32,VICTORY_NO_WATCHDOG=1E_OUTOFMEMORY), 575 not translated0x80000003at+0x5149aecat 6m13s;INSTANCE_LIST45000/45000,BUILDING22308/22500,Paused: No, SRLPrestream, 1197 streaming requests0x887A0005) on a 1x1x1 dispatch of computee30970f1727063fd, empty breadcrumbs, no page fault, no Windows TDR event (4101)So with the watchdog hooked and the device hang gone, this card still lands on the
INSTANCE_LISTstop on a cold start, and the warm run traded it for a different device removal a little later.It also supports @WalliceCariasPerussio's reading that this is a fixed point in the cutscene, not a time-out. The two pool-full stops (three-PR and ten-PR cold) ran at different frame rates but stopped at the same spot:
-488.25, -5413.33, 3.03vs-488.35, -5413.65, 3.03), game clock11:50in both, same AnimScene0xe9f5cf99, same SRL inPrestream.Frame:1396 and 1524, which is 284 and 292 frames afterCurrent Mission Name [F:1112]/[F:1232].Differences from @Sil3ntGam3r's build that may matter: driver 610.88 here vs 621.14; #189 at
c047885, which still defaulted 32-lane hosts toWave32(54b333f, pushed after these runs, makesEmulatethe default, so these runs are on the path with the divergent-lane issues discussed on #189); #459 is closed; 16 GB of RAM. I also had to resolve conflicts locally, which may not match theirs:8e79c80(list.rs): kept both checks (skip_mixed_packed_copyfirst, thentitle_writtenupload);prepare_footprint_uploadusesdefer_fillasmaindoes.DYNAMIC/MIN_DYNAMICplus one guard slot).unknown_stride_reads_reach_the_bytes_of_the_view_in_the_slotread all zeros). Soalias_base = count + dynamic,guard_slot() = alias_base + ALIASES.buffer_srv/buffer_uav): #704'sNumElementsclamp applies to the element-aligned branch; #206's raw-window branch is unchanged.host::guard, asdraw.rsdoes) and the newstride_table/options/trackarguments. With that,cargo test -p victory-gpu -p victory-shader -- --test-threads=1passes (64 + 152).One run per row. Hashes, addresses, counts and crash-log fields only; no game data.
AI-assisted (Claude Code); everything above was run on my machine.
@likecrank-dotcom on GitHub · 2026-11-24 08:55 UTC · original · edited 2026-11-24 15:43 UTC
RTX 5060 Ti 8 GB corroboration of the pool-full variant, with an exact match to run 1's stack.
Windows 11, Ryzen 5 3600, 32 GB, NVIDIA 621.14, Series X 1.0.2.1. Source 91f1450f200c850b6444182aa9588a60ed47713d at https://github.com/likecrank-dotcom/VIctory/tree/codex/victory-bounded-views (main
ce42e77+ #439 055aef9 + #180 + #493, plus diagnostics; no #193/#704/#185). Diag, loop limit 4096, DRED on. It ended by itself at 515.8 s, exit 0x80000003, +0x5149aec. No GPU device removal logged.The title's report: INSTANCE_LIST 45000/45000, BUILDING 22479/22500, streaming requests 1298, TileHeap 3747/6236 MB, SRL Prestream, Paused Yes, game frame 1481. Stack: +0x5149aec, +0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215eca. No dynamic-slot exhaustion line in this run. An Escape/Menu input was attempted before the stop; no visible pause menu confirmed, and the report's Paused Yes alone does not establish its effect.
Final presentation stayed black, although one captured internal f28 target contains a character silhouette and parts of the surroundings. Four runtime culling hashes fail with unknown structured stride (fdd56d97a806bcca, 17af15c4015cb4b6, 55679a0547649d0b, 89d08e561897d4e5). Testing #704 next. Cause of the instance-list pool filling is not established by this run.
Full aggregate context: #493 . No game-derived files or crash-report IDs attached. AI-assisted/OpenAI Codex (exact backend variant not exposed): build/run/analysis; hardware and title are the user's.
Source clarification: this integration has 055aef9 as an ancestor, but the reused merge 24b3bcc removed later #439 deferred-mask handling and other wave64 changes. Its SHA and observations are reproducible, but this is not a test of full latest #439 behavior. A separate corrected stack and its limited offline/runtime results are now documented at #704 .
New corroborating run on a different public stack: mpDom d6897fa (r4tedx integration/testers plus PRESENT_1440P); run source ec83015cbe9d9bef408d5b7bb0de96159f688891 adds diagnostic input-file/on-demand capture only. Fresh data, Series X, loop limit 32, PRESENT_1440P=1, NO_WATCHDOG=1, DRED, same hardware. Self-terminated after 816.7 s: 0x80000003 at +0x5149aec with the same stack through +0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215eca. No logged GPU removal. Title report: INSTANCE_LIST 45000/45000, BUILDING 22151/22500, streaming requests 3468, SRL Prestream, Paused Yes, game frame 6959. The four culling shaders still refuse unknown structured stride. This repetition does not prove that those shader refusals cause the pool exhaustion. Presented false-colour geometry was observed by the user a couple of times, alternating with black, approximately 1-2 minutes before the crash; no character-control claim. Full run caveats and the earlier manually-ended 860.4 s run: #841 . No game-derived attachments.
@VoidDeficit on GitHub · 2026-11-24 16:46 UTC · original
Linux reproduction of the same breakpoint on the same build (1.0.2.1), so this is not NVIDIA- or Windows-specific.
Setup: CachyOS, kernel 7.3.5, RX 9070 XT (RDNA4, RADV/Mesa 26.3.1), Wine 11.22, vkd3d-proton 3.2 (Proton Experimental), DXVK dxgi. Build:
mainffe310e+ the proton-fixes branch from #844/#994 + #454 (VICTORY_NO_WATCHDOG=1). Series X and Series S both.Both profiles reach the menus, loading art and the first mission title card, then stop at the same place:
+0x5149aec+0x5149aec+0x5149aec, +0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215ecaPausedSeries X matches your run 1 field for field (frame 1462, same stack).
Pausedis not required: Series S was not paused and still hit it. Without #454 the title first dies in its stall watchdog at+0x2215c35, i.e. the watchdog hook only moves the wall.Frame rate in the world: 0.2-0.5 fps (5-30 fps in menus, 1-2 fps while loading); copies of title memory take 1.2-4.5 s per frame (100-500 MB) under Wine. Rendering: 126 distinct shaders do not translate in a world run; the largest classes are "a scalar memory read as data" (#979) and "an address in an SGPR that is no root parameter" (#798).
VICTORY_DEBUG_PS=1renders the 2D front-end art, but the 3D scene stays black, so the missing geometry is in the untranslated mesh/compute programs rather than the pixel stage.No game data is attached or quoted; the numbers are from the title crash report and our logs.
@SantannaCarlos on GitHub · 2026-11-24 18:57 UTC · original
Notes on what the title's
int3at+0x5149aecstops on, from the executable and a 15-minute RTX 4070 run that read the pools every frame. No cause found yet; offsets only, no title bytes.Which pool stops the title.
+0x5149aecis in the allocator at+0x5149980, which serves only the Building and Object pools (chosen by type through a function table) and breaks when that pool's free list is empty or its base is null. INSTANCE_LIST is entity type 12, the CEntityBatch pool, with its own allocator (+0x51e6c50). So the pool that runs out at the stop is Building or Object; INSTANCE_LIST being full in the crash reports comes along with it. That fits ThomasHFWright's BUILDING 22479/22500 on #844, and Wallice's later stop with BUILDING full.Pool pointers, for anyone reading them live: Building
[title+0xA9EC938], Object[title+0xABBE2E8], EntityBatch (INSTANCE_LIST)[title+0xA9EC948]; in each pool,+0x0Cis the capacity and+0x10the count in use. The crash report copies those pairs only when it is written.How entities go back. Only through the CPU removal path: a removal request list per entity type, processed at a frame sync point (
+0x336740→+0x33A790→ deferred deletion at+0x51F20F0; for CEntityBatch the deleter+0x51F2380decrements the pool's count). Nothing on that path waits on a fence, a query or a GPU result.Measured (RTX 4070, the stack from #841 plus r4tedx's wave-per-group branch and a local indirect-dispatch patch; 784 s in the world at 0.4 fps, no
int3):Next step for whoever reaches that point of the scene: read the Building and Object counts per frame there, and catch the allocating stacks at
+0x5149980.@VoidDeficit on GitHub · 2026-11-24 19:12 UTC · original
Linux data point for the two stop sites, and the pool counts at each, from the title crash report (build 1.0.2.1, Series X; CachyOS, RX 9070 XT RADV 26.3.1, Wine 11.22, vkd3d-proton 3.2,
main+ proton-fixes + #454 + six shader PRs).+0x5149aec+0x63966fThat fits your reading: at the
+0x5149aecallocator the Building pool is out (13 entries left), while the Object pool has room; the+0x63966fstop is a different path with Building not full. INSTANCE_LIST is full in both, but it has its own allocator, so it comes along.VICTORY_WATCHnow accepts*<rva>+<offset>(pointer at title+rva, log the u32 at pointer+offset), so those pairs can be followed live. An 11-minute run that did not reach the stop ended at Building 11625/22500, Object 9930/27500, EntityBatch 35015/45000, still rising. I have not caught the allocating stack at+0x5149980yet; that needs a run that reaches the stop with the watch on.Numbers from the crash report and our logs only; no game data.
@YaBulochka on GitHub · 2026-11-24 19:21 UTC · original
Linux/RADV data point for the stop sites, from a run with the pipeline journal enabled.
1.0.2.1, Series X dumpdxgiffe310e+ #994 + #491With
VICTORY_PIPELINE_JOURNAL=1the run no longer dies invkCreate*Pipelines. After three refusals (4e296b1885c37b29,8bb272e763f76148,02384a60fda6f2d0) it gets further than anything we had before: the intro's title cards render (art and text), then the prologue plays (prison scene, audio and logic), then the pause menu draws at 28 draws/frame and 2 fps, and the photo-studio menu as well. The 3D world stays black while the 2D UI draws; 61 draws, one line per pipeline, are dropped "without a host pipeline".The only stop left is the title's own fail-fast:
0xc0000005,Current SRL State: Prestream Metadata, around frame 1165. An earlier run recorded the fault at+0x23cf683, but that log was not kept, so treat the address as unverified.Two questions:
+0x5149aec/+0x63966fstops (Building/Object/Instance_List pools), or a different one? Here it fires inPrestream Metadata, before the world streams in.I have not tried
VICTORY_DEBUG_PS=1+VICTORY_NO_WATCHDOG=1yet - the combination pablogonz12 used in #994 to reach gameplay. That is the next run.@BitWuehler on GitHub · 2026-11-24 19:22 UTC · original
Linux + NVIDIA RTX 5080 data point for the
+0x63966fstop site (confirming it alongside the RADV/Windows reports above):Linux 7.3.6-1-cachyos), Ryzen 7 9800X3D, 60 GB RAM, RTX 5080 16 GB (driver620.73.04),GE-Proton11-14(umu-run,VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains), retail1.0.2.1,--console series-x,diagbuild ofmain(ffe310e) + #994 (993dff8) + #177 (b7300eb) + #454 (85c04d1,VICTORY_NO_WATCHDOG=1) + #206 (05981dd).0x80000003at+0x63966f(+0x3e54ad0→+0x257035e→+0x221c29c→+0x2215eca) hit on 3 worker threads simultaneously, with 0 GPU faults / 0 device removals / 0 kernel Xids.+0x63966f9m 36s/156420731/2250016891/2750044980/45000Full run context is in #994. (AI-assisted log summary; own retail copy, no game files or raw logs attached.)
@SantannaCarlos on GitHub · 2026-11-24 20:10 UTC · original
Follow-up from a 43-minute world run on the RTX 4070 (the #841 stack without #1198:
main+ #493 + #876 + #439 with its stack + #116 + #984 + #949 + #1019; 0.6 fps, no device removal), with the pools read every frame next to the title's own frame counter (u32 attitle+0xABBEF44, the crash report's "Frame: %d", counted from boot):So the stop follows the scene's progress, not time or frame count: a stack has to play the opening scene forward to reach it.
The second stop site (
+0x63966f, in the function at+0x6395d0) allocates from the pool at[title+0x98D79A8](name hash0x3F678DCF, 0x100-byte elements, capacity 25,000, one component per entity), which the crash report does not list. At the first site the pool that runs out is Building, as above.Offsets and counts only; no title bytes.
@Marvisak on GitHub · 2026-11-25 01:48 UTC · original · edited 2026-11-26 00:49 UTC
Automated triage for the maintainers.
This issue stays the place where the title's own breakpoint in the world is tracked. The title stops with
0x80000003at+0x5149aecor+0x63966f, its crash report showsINSTANCE_LISTat 45000/45000, and the device is not removed. It has been seen on NVIDIA and AMD, on Windows, under Wine, CrossOver and Proton. It also happens on plainmain67e8ae1(Strix Halo under Proton, in #714) and under stock Wine with #1279 (in #340). New: ThomasHFWright reproduces the 45,000/45,000 stop on an RTX 5090 under GE-Proton 11-14 (commit and driver not given yet).Where the leads stand:
VICTORY_SKIP_PIPELINESkept the pool at 17856/45000 for over 22 minutes. On another fork line (RTX 3080 Ti under Wine) the same skip did not prevent the stop. So that skip is not the whole explanation: the pools fill as the opening scene's prestream advances.9cc37c5(inmain),crates/victory-gpu/src/hold.rsholds a queue's work until its waits on memory values hold. A crash report from currentmain(63bcca4) with the barrier lines would test this.940d32f+ #2460 #2461 #2462 #2464: the pools fill only during the opening cutscene and drain afterwards (peak about 28,650 in one pool, then about 7,800 within minutes), so on that stack it looks like a burst rather than an unbounded leak. The reporter's reading is that the instance-culling compute passes that would retire instances early do not run on this 32-lane card, because theirWaveSize(64)pipelines are refused. That fits the skip lead above and open PR #1960 (wave64 compute on 32-lane hosts). With three pools made three times larger, the run reached gameplay for 12+ minutes without the breakpoint. Making the breakpoint sites no-ops only moved the crash to the null read at+0x5290e15, as on the CrossOver run.mainf3578e3(VICTORY_POOL_SCALE, only for one retail image, checked before patching), for testing under Proton. LikeVICTORY_STEP_OVER, it patches the title's own code;mainhas neither (crates/victory-loader/src/crash.rs). It hides the stop rather than fixing the cause. If it should be considered, please open it as a pull request so it can be reviewed here.Disassembly or bytes of the title's executable must not be posted here; please describe such findings by offset only. Requests for the game, or for where to get it, do not belong here either.
A useful new report gives the commit (
git rev-parse --short HEAD, preferably plainmain), the GPU and driver, the time and title frame of the stop, the pool counts, whether wave64 compute pipelines were refused, and whether a save from an earlier run was present.Generated by Claude Code
@vladbondarenko97 on GitHub · 2026-11-25 02:21 UTC · original
Independent reproduction on an RTX 3080 Ti — same breakpoint, same counters, and the SRL name
Got to this wall tonight with a build based on a public VIctory fork (
Zettrox/ztrx, current main lineage) plusVICTORY_PIPELINE_WAIT_MS=24andVICTORY_RELAY=2, scripted first-run input. RTX 3080 Ti 12 GB, Windows 11, retail 1.0.2.1.The title's own crash report (
temp\victory-20261124-201734-*.crash.log) at the breakpoint says:and the process ends at
0x80000003in the title at+0x5149aec, identical to the report above.World-side counters from the same run, in case they are useful for sizing rather than lifetime:
~1 fps, 750–2200 draws/frame, dropped 150–1300 without a host pipeline (0–1160 being made);26,475 waiting,~4,500 uploaded (2.3 GB)at the time of death,429,655 slots placed / 142,427 objects;0.2 fps, 5878 ms/framewith 2,716.7 ms on the GPU and 2,963.6 ms copying back 51.8 MB;saved bytes=47790710 early=1767 made=572 loaded=20.So on this machine INSTANCE_LIST saturates during the story intro prestream, while BUILDING is at 99.8% of its cap — which suggests the question is whether the port is failing to release instances during streaming rather than the caps being too small.
AI-assisted investigation (Claude Code); values from our own retail run, package unmodified.
@Asenje on GitHub · 2026-11-25 07:53 UTC · original
A/B data on what fills INSTANCE_LIST, from #886 (RTX 3060 12 GB, i7-7700K, 32 GB, Windows 11, native D3D12, Series X profile):
4e17478+ #454, without skipping them: no stop at +0x5149aec in 25 and ~29 min of prologue play.So on this box the pool fills only while those four programs run on the host, which fits Wallice's reading above (culling programs misbehaving on 32-lane hosts) and Sil3ntGam3r's #704 result, rather than a leak in the pool itself. The 3080 Ti report on Zettrox/ztrx suggests that fork still runs them.
Details and frame times: #886.
@slauko on GitHub · 2026-11-25 14:02 UTC · original
A result against the skip lead, and what five crash reports of one machine say. RTX 3080 Ti under Wine (Proton Experimental, vkd3d-proton
master@ec20719), this fork's line (uiliannn/VItoriaBr 2b3c339e) with fxceless#823, #845 and #91, the intro reached at 1.3–2.5 fps with a tree-indexed wineserver.The skip did not prevent the stop here
With
VICTORY_SKIP_PIPELINES=17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5the run stopped as before: 6m05, frame 1458,INSTANCE_LIST 45000/45000,BUILDING 22049/22500. The skip was active — three of the four programs got a host pipeline in the runs without it, none with it. That is the result alexodee's second machine has in fxceless/victory-fork#378.Five crash reports from one day
Unsignaled CrossQueueBarrierf8dcd913f8dcd913cf82834dcf82834dAll five:
Current SRL Name: fbk_stry000_FBK_STRY000_INTRO,Current SRL State: Prestream.What they say:
Game Physical(2.178–2.186 GB of 2.306) andPool(591.978 MB of 624.951) read the same in all five. They are not what runs out.INSTANCE_LIST,BUILDING,OBJECTandGRASS_INSTANCE_LISTgrow together while the intro prestreams. The slow run (frames about 6 s, twice the frame time of the others) was at 24,026 instance lists after 6m25; the fast ones are at 45,000 after 6m00. That is the law alexodee found: the stop follows the prestream, not the frame count.Unsignaled CrossQueueBarrieris in every report that stopped and in none that did not. A hypothesis of mine, not checked: work behind that barrier never completes, so the frames' instance lists are never given back.The trap
title+0x5149aecis oneint3with two ways into it, in the pool's allocate:The trap sits on the function's own NULL return: stepping over that one byte returns NULL, which is what alexodee's "local handler that goes on past the empty pool" amounts to.
@slauko on GitHub · 2026-11-25 14:54 UTC · original
Past the stop and into gameplay: the thread goes on behind the
int3. 30 minutes, no fault.The trap sits on the allocate's own NULL return (the disassembly in my comment above), so a thread can go on behind it. The loader's vectored handler — the one that already steps over the console's instructions — takes a breakpoint exception at a named offset of the title's image and returns
EXCEPTION_CONTINUE_EXECUTION.VICTORY_STEP_OVER=<hex offset>[,<hex offset>…], off unless it is set; nothing else about exceptions changes.With
VICTORY_STEP_OVER=5149aec(retail 1.0.2.1, RTX 3080 Ti under Wine,uiliannn/VItoriaBr 2b3c339ewith fxceless#823, #845 and #91):The picture was overexposed for its first minutes (the auto-exposure at 1.5 fps), then the yard settled. Hair renders as streaks; a red pattern lies on the skin at the neck.
A way around the stop, not its cause. The counter says the pool stays full: every list asked for after 6:00 gets NULL, and whatever needed it is not drawn. Asenje's runs D and E in #886 show the other way: with the four culling programs skipped, no trap on
integration/testers. On this line the skip did not prevent it (my comment above), so the lists are lost on more than one path.The handler's part (
crates/victory-loader/src/crash.rs); the vectored handler calls it firstSTEP_OVERis aOnceLock<Vec<(usize, AtomicU64)>>filled once from the variable, with offsets that lie in the image;STEP_BASEis where the title's image was mapped.@slauko on GitHub · 2026-11-25 17:08 UTC · original
Once the title has written a save, the starts after it do not reach this trap.
Under Wine, with the breakpoint stepped over as in my comment above:
world07got into gameplay, and under seven minutes in — right behind the trap — the title wrote a save (a containerSARC0015~…in the title'ssavesfolder of the data directory). Every run since starts from it:I took that at first for a regression of a merge and spent four runs on it: the merged build (also with the two switches the merge had turned on, off), the merged runtime with the older translator, the older runtime with the merged translator — all the same with the save present. The merged build with that one container moved aside played the intro again and reached the trap at 366 s.
So, as far as this machine shows, the stop at
+0x5149aecstands in the way of the first start into gameplay only. A run that gets past it once writes a save, and the runs after that load it. A tester whose runs "stopped failing" may simply have one. And before two runs are compared on their builds, it is worth listing what the data folder gained between them:find <data> -newermt '<start of the earlier run>'.@Ahmet-Dedeler on GitHub · 2026-11-25 18:46 UTC · original
Data point on the step-over, from a different tree: the fxceless line (
0b0074ebase) under CrossOver + D3DMetal on an M5 Max.The pool filled 7-8 minutes into the opening in three runs (7m28, 7m03, 7m59 of game time). With our own step-over (
VICTORY_STEP_OVER=pool: steps over a titleint3that is followed by a register-zeroingxor) the trap was stepped over, but both times the title then faulted 40-70 s later at+0x5290e15, a read of address 0. slauko's run above went 30+ minutes past the same trap on VItoriaBr2b3c339ewith fxceless#823/#845/#91, so what happens after the trap seems to depend on the tree (or on how it's stepped over), not only on the title.Also, from one run only so take it loosely: with
VICTORY_TEXTURE_CATCHUP=0(frames about half as long while streaming) a 620 s run never filled the pool. Haven't repeated it yet.@lhnizdo on GitHub · 2026-11-25 19:37 UTC · original
RTX 2080 (32-lane waves), Windows 10 19045: the pools only overflow during the opening cutscene. They drain afterwards, and making three of them larger gets into gameplay.
Stack:
main940d32f+ #2460 #2461 #2462 #2464, diag build,VICTORY_SKIP_PIPELINES=f607780aa8e502d0(the irradiance-cache shadow trace, which hangs here), scripted Enter presses. TheInstanceCullingProp/Slod/Treepasses still don't run on this card (WaveSize(64)refused; see my notes on #1960).What fills. I watched the
buildingpool (+0xa9ec938, joaat0x5411E15C) every 5 s. It's empty for the first ~2 min, then climbs through the cutscene, and the game stopped at about 9–10 min when it reached 22,500. Two neighbours run dry right behind it:0x0BA88904: 192-byte slots, pool global+0x8fe1078, the+0x1fa88e4site. Almost certainly the crash report'sINSTANCE_LIST.0xC12C9884: 16-byte list nodes, pool global+0x8fe1088, the+0x5290e65site. Oncebuildingcan grow, the instances' list nodes run out next.Making them larger. Every pool is sized by a config lookup by name hash (
+0x50cef40) followed by the pool initialiser (+0x16cbe00). I redirected those lookup calls, all 632 pool creations, through a small jump next to the image to a host function that multiplies the size for chosen hashes. It's capped at 0x1FFF0 slots, since slot indices are 17 bits.+0x22106e0) at start; it doesn't fit the arena.building+0x0BA88904×3:buildingpassed 22,500 (27,788), then0xC12C9884ran dry at+0x5290e65.buildingpeaked at 28,653 (27% over the default) about 10 min in, then dropped to 7,817 within 2½ min. About 1.2 fps in gameplay.So on this stack it isn't an unbounded leak. It's a burst during the cutscene that runs past the default sizes, presumably because the culling passes that would retire instances early don't run. The memory cost is small: about 15 MB more for
building, 17 MB for0x0BA88904, and very little for the list nodes.For comparison: I also tried making the 2,602 pool-empty
int 3sites NOPs (as @WalliceCariasPerussio did). Here that only moved the crash. The allocator's null path at+0x5290e65jumps back into code that uses the result, and the run ended on a null read at+0x5290e15at about the same time.The code is a local diagnostics switch for now, and it only patches if the bytes at those RVAs match image
b99f876b74d4a77f. I can share it if anyone wants to try the same.AI-assisted (Claude Code); the runs were on my machine. No game data beyond addresses, instruction bytes and hash values.
@ThomasHFWright on GitHub · 2026-11-25 23:09 UTC · original
@lhnizdo We reproduced the 45,000/45,000 prestream stop on an RTX 5090 with GE-Proton 11-14. Could you share the three-pool sizing patch or its branch? We can test whether occupancy drains and controls work on Linux.
@lhnizdo on GitHub · 2026-11-25 23:25 UTC · original
@ThomasHFWright Sure:
lhnizdo/VIctory@diag/pool-scale. It's currentmain(f3578e3) plus five diagnostic commits, nothing else. It builds and is clippy-clean. I haven't rerun the game on this exact rebase yet; the runs in my comment above used the same code on940d32f.Use:
VICTORY_POOL_SCALE=3triples the three pools that run dry:building(0x5411E15C),0x0BA88904(INSTANCE_LIST, 192-byte slots) and the list nodes (0xC12C9884).VICTORY_POOL_SCALE_HASHES=<hex>,<hex>…picks other pools instead. Sizes are capped at0x1FFF0slots, since slot indices are 17 bits.VICTORY_POOL_SCALE: pool sizes hookedwith the number of call sites patched.not the image it knows; pools left alone.+0x50cef40) through a jump placed next to the image, to a host function that multiplies the size for the chosen hashes. The jump needs memory within ±2 GB of the image (VirtualAllocnear it), which Wine should give as well, but I've only run it on native Windows 10.Watching occupancy:
VICTORY_WATCH=A9EC938:10,20,30logs thebuildingpool's fields every 5 s;+0x10is the live count and+0xCthe capacity.Two things that affect what you'll see:
saves/…/SARC0015~…), and later runs load straight into the world without the intro. They never hit the prestream burst: with the save,buildingpeaked at 10,787 on default sizes here. To test the patch on the intro, move that container aside first. A copy of thesavesfolder keeps it safe.AI-assisted (Claude Code); the runs were on my machine. No game data.
@Anzymanz on GitHub · 2026-11-26 00:49 UTC · original
Data point from AMD on Linux, where this stop used to hit us too (int3 at
+0x5149aec/+0x63966fabout 7 min into the world on earlier builds):71cae09.main13f91caplus #1997, #454, #2644 and #2703. #2644's step-over was armed for both addresses.What changed for us since the runs that stopped: #2703 (the BVH builder's root constant was read as a root-view offset, which dropped draws), and a guard in our local dxil-spirv. One translated shader does a float
TextureLoadon a resource declared U64, and dxil-spirv calledstd::terminate()on it (fixup_load_type_typed). Before that, our runs died before reaching this point. I haven't isolated which change matters for the pools, so take this as a single configuration that doesn't reproduce, not a fix.AI assistance: written with Claude (Anthropic, Claude Code); the runs were done and checked on my own machine.
@Tanju42 on GitHub · 2026-11-26 18:00 UTC · original
Data point from the #1065 machine (RTX 5060 Laptop 8 GB, 31 GB RAM, Windows, Series X profile, story save start — every earlier run here died at
Pool: 59197833x/624951280, byte-identical across five tips):e4245f3with the five diag commits cherry-picked clean (6a0f913), built--features diagnosticsVICTORY_POOL_SCALE=3+VICTORY_WATCH=A9EC938:10,20,30image+0xa9ec938 -> 0xdfcf8b420: +0x10=0x1da4 +0x20=0x2049(live 7588, free-list head valid — never the empty marker)~32(was 1–2.5)Pool: 618786416/624951280— for the first time the fill is NOT the constant591,978,3xx. It climbed to 99 % of the total.Reading: the constant we kept hitting on this machine was the three fixed pools filling at their console config, not a title-side mystery constant. Tripling them moved the death point deep into the actual byte ceiling. Question for @lhnizdo: worth a run with
VICTORY_POOL_SCALE=6(or a targetedPOOL_SCALE_HASHES+ the list-node pool again) on this config before I tryVICTORY_POOL_NO_ASSERT=1, or is the byte pool at624951280itself the next hard thing worth instrumenting? Happy to run either — one run per change, logging the pool line each time.@Tanju42 on GitHub · 2026-11-26 18:06 UTC · original
Follow-up from the same machine, as promised: one run with
VICTORY_POOL_SCALE=6(identical tree6a0f913, same env otherwise). Hook active:factor=6 sites=632 patched=632 hashes=[building, INSTANCE_LIST, list-nodes].Result is WORSE: abort at Frame 653 (scale 3 gave 3100), crash context shows
Pool: 0/0and the wholePOOLSsection at0/0withCurrent script program: 0x0, TileHeap only 448 MB used — the title aborts very early in the load, before the pools report anything. No pool-dry breakpoint, different stop than the scale-1 and scale-3 runs.Reading: at factor 6 the enlarged pools themselves seem to eat the 624,951,280-byte ceiling during world load (or a slot count crosses something the title does not like — the 17-bit cap comment). Factor 3 is currently the sweet spot here: it kept every pool I watched (live 7588, valid free head) and moved the stop from the old
591,978,3xxconstant to the real ceiling at 99 % fill, Frame 3100.I have
VICTORY_POOL_NO_ASSERT=1armed mentally but holding it until you say the degraded-state read is safe. Next data point I can add without asking: targetedPOOL_SCALE_HASHESper pool at 3 — say the word which split you want (building/INSTANCE_LIST at 3 with list-nodes at 5?), one run per change, pool line reported every time.@Tanju42 on GitHub · 2026-11-26 18:14 UTC · original
Scale sweep on this machine, same tree
6a0f913, one run per factor, story-save start:Watch at factor 4 stayed clean to 2 s before the stop: building pool live
0x1da4, free head0x1afe, never the empty marker. So 4 is better than 3: same class of stop, deeper, at the true byte ceiling. Two questions where your call saves me two runs: (a) worth sweeping 5 before I go to per-hash splits? (b) if 4/5 is the sweet spot, is the byte ceiling itself (624,951,280) something the host could raise at the same hook site, or is that config baked elsewhere? I will not touchVICTORY_POOL_NO_ASSERTuntil you say so.@lhnizdo on GitHub · 2026-11-26 18:15 UTC · original
@Tanju42, thank you, that's a very useful pair of runs. Factor 6 failing early fits the ceiling: every scaled pool takes its whole size up front, so a larger factor spends the 624,951,280 bytes before the world even loads.
From my side (RTX 2080, the same story save), the
buildingpool (0x5411E15C) peaked at 28,653 slots of its 22,500, about ×1.27, during the opening cutscene, and it drained afterwards. So it needs much less than ×3. For the next run I'd try a smaller factor per pool, to leave room under the ceiling:building×2INSTANCE_LIST×3Please report each pool's line (live / size / free head) as before, plus the frame and the memory used at the stop, one change per run. If it stops at the ceiling again, then
building×2 with the other two at ×2 would show whetherINSTANCE_LISTis the one that needs the most.About
VICTORY_POOL_NO_ASSERT=1: I'd keep it off for the readings. It only changes what happens after a pool runs dry, so the title then keeps going on a pool it considers full. Anything it reports after that point (and whether it hangs or corrupts later) isn't a reading of the real need. It's fine for "does it get further at all", but not for sizing.AI-assisted (Claude Code). No game data.