RTX 5060 Ti + 16 GB RAM on 2119b0e (+ upstream #454): all pipelines built, still INSTANCE_LIST 45000/45000 at ~6m48 in the intro prestream; ~700 draws/frame dropped by a few untranslated programs #378

Open
opened 2026-11-26 03:42:01 +00:00 by github-bot · 4 comments
Owner

@⁠enzornd19 on GitHub · 2026-11-25 00:10 UTC · original

Thanks for the fork, it gets much further than upstream main on this machine. Report from a 16 GB box, in case the RAM side is useful.

Setup

  • GPU: NVIDIA GeForce RTX 5060 Ti 16 GB (32-lane waves), driver 32.0.16.2101
  • CPU / RAM: AMD Ryzen 5 5500 (6C/12T), 16 GB; page file fixed at 48 GB (commit limit ~64 GB)
  • OS: Windows 11 Pro, build 26300, native D3D12
  • Title: own copy, 1.0.2.1 (image BLAKE3 b99f876b74d4a77f…), Series X profile
  • Tree: 2119b0e (main) plus upstream Marvisak/VIctory#454 (VICTORY_NO_WATCHDOG), applied as a diff; it merges cleanly (3 files) and logged title watchdog hooks (VICTORY_NO_WATCHDOG) applied=2
  • Build: release (cargo build --release -p victory --locked); cargo test --workspace --locked on 2119b0e: 496 passed, 0 failed, GPU tests on hardware
  • Settings: VICTORY_NO_WATCHDOG=1, VICTORY_TEXTURE_GUARD=0, VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 (the #148 set, no relay)

Offline translation on this card (VICTORY_HOST_MAX_WAVE=32 victory translate --pipelines)

emitted host pipelines
vertex/pixel 14168 / 14259 14168
compute 2718 / 2734 2693 (24 refused E_INVALIDARG, 1 out of memory)
mesh 8762 / 8765 8762

Without VICTORY_HOST_MAX_WAVE=32, 392 compute pipelines are refused (the offline tool translates for any wave size), so that variable matters when comparing offline numbers on NVIDIA.

Runs (same day, consecutive, warm caches carried over)

run page file switches #454 end pipelines still being made in the world
1–2 24–48 GB, growable none no 0xc0000005 at +0x23cf683 (write 0x0) during world load, i.e. the title's watchdog –
3 same none no window closed by me after ~1.5 min in the world (free commit had dipped to 0.4 GB) ~600
4 48 GB fixed #148 set no 0x80000003 at +0x5149aec, game time 7m15 1,430 → 920
5 48 GB fixed #148 set yes 0x80000003 at +0x5149aec, game time 7m00 1,403 → 157
6 48 GB fixed #148 set yes 0x80000003 at +0x5149aec, game time 6m48 0 from the first minute

The pipeline library grew 66 MB → 237 MB over these runs; on run 6 every pipeline was loaded or made within the first minute in the world.

Since the fixed 48 GB page file, free commit never dropped below ~8 GB (mostly 20+ GB), and with #454 the watchdog stop is gone. What remains is the pool stop.

Run 6 in numbers (world frames once all pipelines existed, 49 samples)

  • 1.3 fps median (~780 ms/frame), min 0.2, max 4.1
  • ~2,770 draws/frame drawn, ~717/frame dropped "without a host pipeline" with 0 being made (peaks 1,639 and 1,917)
  • Typical frame: 262.9 ms/frame (135.3 preparing: copies 53.8 ms 74.9 MB, textures 47.7 ms 114.9 MB; 61.0 on the GPU; 26.3 copying back 23.4 MB), 3323 draws/frame, dropped 436 without a host pipeline (0 being made)
  • Texture queue near the end: 4,119 slots, 2,343 due (oldest written 425 frames ago), 818 uploaded in part
  • Process private memory peaked at 24 GB (working set ~7 GB); free physical RAM mostly 0.5–2 GB, so the run pages heavily

The title's own crash report at the stop (run 6)

Game Running Time: 0h:6m:48s    Frame: 2361    Paused: No
Streaming Requests: 379
Current SRL Name: fbk_stry000_FBK_STRY000_INTRO
Current SRL State: Prestream
 - BUILDING: 22166/22500
 - INSTANCE_LIST: 45000/45000
 - GRASS_INSTANCE_LIST: 6627/9000

Stack, identical on all three 0x80000003 runs (several threads at once): +0x5149aec, +0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215eca. This matches Marvisak/VIctory#698 (stop at ~6.5–7 min, pool full, still in the intro prestream). Streaming requests at the stop went 1,803 (run 5) → 379 (run 6), so the prestream gets closer but does not finish before the pool fills.

What is still dropped (run 6)

Untranslated in the run:

stage hash reason
pixel 2fd01fca16993001 a descriptor read only as data
pixel 6b6db9f1a526daeb a descriptor read only as data
pixel 38bf0814e721a1b3 the first half of an interpolation
compute f133e35efed2a48a a lane mask exchanged where not every lane runs
compute ceb5eb68cd99cb07 a descriptor's address or format read as data
compute a929109552ce1e84 v_permlanex16_b32
compute 6f225b641c5b0708, 5dc3b25986622949 v_cvt_f32_f64

Host pipelines refused (E_INVALIDARG): compute 02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764, 6b82bc7d22016cb5.

With nothing left to build, the ~700 dropped draws per frame should come from these, mostly the two pixel programs on "descriptor read only as data" (as in #279). Per #698, dropped draws/dispatches leave instance lists unretired, which would explain the pool filling at the same point every run.

What it looks like

  • Boot, menus, start screen and loading screen: smooth, 30 fps, with sound.
  • Intro: flickered badly with the default settings; VICTORY_TEXTURE_GUARD=0 removes it completely here too (confirms #269 on a second RTX 5060 Ti).
  • World: geometry shows up but the image is mostly untextured and flat, much of it black; sound and subtitles run ahead of the picture. Nothing close to the final look, as expected while the prestream never completes.

Possibly useful

  • Same card as #148 (64 GB there): there the world runs 20+ min. Here, with 16 GB, the same pool stop at ~7 min every time even with every pipeline built. If 16 GB machines matter, the RAM pressure (24 GB private, constant paging) may be slowing the prestream enough that the dropped draws exhaust the pool first.
  • Happy to rerun with a diagnostics build or other switches on request. No game data in this report.
**@⁠enzornd19** on GitHub · 2026-11-25 00:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/378) Thanks for the fork, it gets much further than upstream main on this machine. Report from a 16 GB box, in case the RAM side is useful. ## Setup - **GPU:** NVIDIA GeForce RTX 5060 Ti 16 GB (32-lane waves), driver 32.0.16.2101 - **CPU / RAM:** AMD Ryzen 5 5500 (6C/12T), **16 GB**; page file fixed at 48 GB (commit limit ~64 GB) - **OS:** Windows 11 Pro, build 26300, native D3D12 - **Title:** own copy, 1.0.2.1 (image BLAKE3 `b99f876b74d4a77f…`), Series X profile - **Tree:** `2119b0e` (main) plus upstream Marvisak/VIctory#454 (`VICTORY_NO_WATCHDOG`), applied as a diff; it merges cleanly (3 files) and logged `title watchdog hooks (VICTORY_NO_WATCHDOG) applied=2` - **Build:** release (`cargo build --release -p victory --locked`); `cargo test --workspace --locked` on `2119b0e`: **496 passed, 0 failed**, GPU tests on hardware - **Settings:** `VICTORY_NO_WATCHDOG=1`, `VICTORY_TEXTURE_GUARD=0`, `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024` (the #148 set, no relay) ## Offline translation on this card (`VICTORY_HOST_MAX_WAVE=32 victory translate --pipelines`) | | emitted | host pipelines | |---|---|---| | vertex/pixel | 14168 / 14259 | 14168 | | compute | 2718 / 2734 | 2693 (24 refused `E_INVALIDARG`, 1 out of memory) | | mesh | 8762 / 8765 | 8762 | Without `VICTORY_HOST_MAX_WAVE=32`, 392 compute pipelines are refused (the offline tool translates for any wave size), so that variable matters when comparing offline numbers on NVIDIA. ## Runs (same day, consecutive, warm caches carried over) | run | page file | switches | #454 | end | pipelines still being made in the world | |---|---|---|---|---|---| | 1–2 | 24–48 GB, growable | none | no | `0xc0000005` at `+0x23cf683` (write 0x0) during world load, i.e. the title's watchdog | – | | 3 | same | none | no | window closed by me after ~1.5 min in the world (free commit had dipped to 0.4 GB) | ~600 | | 4 | **48 GB fixed** | #148 set | no | `0x80000003` at `+0x5149aec`, game time 7m15 | 1,430 → 920 | | 5 | 48 GB fixed | #148 set | yes | `0x80000003` at `+0x5149aec`, game time 7m00 | 1,403 → 157 | | 6 | 48 GB fixed | #148 set | yes | `0x80000003` at `+0x5149aec`, game time **6m48** | **0** from the first minute | The pipeline library grew 66 MB → 237 MB over these runs; on run 6 every pipeline was loaded or made within the first minute in the world. Since the fixed 48 GB page file, free commit never dropped below ~8 GB (mostly 20+ GB), and with #454 the watchdog stop is gone. What remains is the pool stop. ### Run 6 in numbers (world frames once all pipelines existed, 49 samples) - **1.3 fps median** (~780 ms/frame), min 0.2, max 4.1 - **~2,770 draws/frame drawn, ~717/frame dropped "without a host pipeline" with 0 being made** (peaks 1,639 and 1,917) - Typical frame: `262.9 ms/frame (135.3 preparing: copies 53.8 ms 74.9 MB, textures 47.7 ms 114.9 MB; 61.0 on the GPU; 26.3 copying back 23.4 MB), 3323 draws/frame, dropped 436 without a host pipeline (0 being made)` - Texture queue near the end: 4,119 slots, 2,343 due (oldest written 425 frames ago), 818 uploaded in part - Process private memory peaked at **24 GB** (working set ~7 GB); free physical RAM mostly 0.5–2 GB, so the run pages heavily ### The title's own crash report at the stop (run 6) ``` Game Running Time: 0h:6m:48s Frame: 2361 Paused: No Streaming Requests: 379 Current SRL Name: fbk_stry000_FBK_STRY000_INTRO Current SRL State: Prestream - BUILDING: 22166/22500 - INSTANCE_LIST: 45000/45000 - GRASS_INSTANCE_LIST: 6627/9000 ``` Stack, identical on all three `0x80000003` runs (several threads at once): `+0x5149aec`, `+0xa5db22`, `+0x5453ac7`, `+0x23d0f9a`, `+0x23d1211`, `+0x257035e`, `+0x221c29c`, `+0x2215eca`. This matches Marvisak/VIctory#698 (stop at ~6.5–7 min, pool full, still in the intro prestream). Streaming requests at the stop went 1,803 (run 5) → 379 (run 6), so the prestream gets closer but does not finish before the pool fills. ## What is still dropped (run 6) Untranslated in the run: | stage | hash | reason | |---|---|---| | pixel | `2fd01fca16993001` | a descriptor read only as data | | pixel | `6b6db9f1a526daeb` | a descriptor read only as data | | pixel | `38bf0814e721a1b3` | the first half of an interpolation | | compute | `f133e35efed2a48a` | a lane mask exchanged where not every lane runs | | compute | `ceb5eb68cd99cb07` | a descriptor's address or format read as data | | compute | `a929109552ce1e84` | `v_permlanex16_b32` | | compute | `6f225b641c5b0708`, `5dc3b25986622949` | `v_cvt_f32_f64` | Host pipelines refused (`E_INVALIDARG`): compute `02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`, `6b82bc7d22016cb5`. With nothing left to build, the ~700 dropped draws per frame should come from these, mostly the two pixel programs on "descriptor read only as data" (as in #279). Per #698, dropped draws/dispatches leave instance lists unretired, which would explain the pool filling at the same point every run. ## What it looks like - Boot, menus, start screen and loading screen: smooth, 30 fps, with sound. - Intro: flickered badly with the default settings; **`VICTORY_TEXTURE_GUARD=0` removes it completely** here too (confirms #269 on a second RTX 5060 Ti). - World: geometry shows up but the image is mostly untextured and flat, much of it black; sound and subtitles run ahead of the picture. Nothing close to the final look, as expected while the prestream never completes. ## Possibly useful - Same card as #148 (64 GB there): there the world runs 20+ min. Here, with 16 GB, the same pool stop at ~7 min every time even with every pipeline built. If 16 GB machines matter, the RAM pressure (24 GB private, constant paging) may be slowing the prestream enough that the dropped draws exhaust the pool first. - Happy to rerun with a diagnostics build or other switches on request. No game data in this report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:42:01 +00:00
Author
Owner

@⁠alexodee on GitHub · 2026-11-25 11:09 UTC · original

A second 16 GB machine with the same stop on 2119b0e, and three later runs without it.

Setup: RTX 3070 Ti Laptop 8 GB (driver 596.36), i7-12700H, 15.7 GB RAM, Windows 11, diagnostics build, Series X profile, VICTORY_SHADER_LOOP_LIMIT=16384, every run from the same save at the beginning of the game.

base difference frame, median result
2119b0e none 1,007 ms stop at 6m27
2119b0e + 7 open PRs none 821 ms stop at 7m03
same VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1, card buffers 1 / 512 MB 544 ms stop at 6m29
same the four instance-culling programs named in #57 skipped 744 ms stop at 6m28
same the speed switches of row 3 and a local handler that goes on past the empty pool 421 ms one place hit at 6m31, then the rest of the cutscene and gameplay; the log ends at 18m32 with no crash or error line

Times are from the first log line. In the four stopped runs the title's own report shows the same full pool as here. The frame time differed by almost a factor of two and the time of the stop hardly did, which fits a fixed point of the cutscene (the conclusion on Marvisak/VIctory#698).

The handler is opt-in: on an int3 followed by an instruction that zeroes a register, the exception handler goes on at that instruction, so the allocator returns null. It does not patch the title and needs no list of places. It is the same idea as the VICTORY_POOL_NO_ASSERT hook posted on Marvisak/VIctory#698, so I am not proposing it as a PR. A caller that does not expect null could still fault later. None did in that one run.

Newer bases: with the handler still on, it was never hit in one run on 8dd30ab and two on a26859f (22, 25 and 25 minutes, complete cutscene, same save). So the pool did not run dry there. I cannot say why: these runs also have other PRs (#51, and #610 with VICTORY_TEXTURE_DROP_MIPS=1) and other switches. A run on current main without any hook on your machine would be a useful check.

For #222: on this machine, skipping the four programs on 2119b0e did not avoid the stop (one run).

Limits: one machine, one run per row.

AI-assisted (Claude Code). No game data.

**@⁠alexodee** on GitHub · 2026-11-25 11:09 UTC · [original](https://github.com/fxceless/victory-fork/issues/378#issuecomment-7160665370) A second 16 GB machine with the same stop on `2119b0e`, and three later runs without it. Setup: RTX 3070 Ti Laptop 8 GB (driver 596.36), i7-12700H, 15.7 GB RAM, Windows 11, diagnostics build, Series X profile, `VICTORY_SHADER_LOOP_LIMIT=16384`, every run from the same save at the beginning of the game. | base | difference | frame, median | result | |---|---|---:|---| | `2119b0e` | none | 1,007 ms | stop at 6m27 | | `2119b0e` + 7 open PRs | none | 821 ms | stop at 7m03 | | same | `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1`, card buffers 1 / 512 MB | 544 ms | stop at 6m29 | | same | the four instance-culling programs named in #57 skipped | 744 ms | stop at 6m28 | | same | the speed switches of row 3 and a local handler that goes on past the empty pool | 421 ms | one place hit at 6m31, then the rest of the cutscene and gameplay; the log ends at 18m32 with no crash or error line | Times are from the first log line. In the four stopped runs the title's own report shows the same full pool as here. The frame time differed by almost a factor of two and the time of the stop hardly did, which fits a fixed point of the cutscene (the conclusion on Marvisak/VIctory#698). The handler is opt-in: on an `int3` followed by an instruction that zeroes a register, the exception handler goes on at that instruction, so the allocator returns null. It does not patch the title and needs no list of places. It is the same idea as the `VICTORY_POOL_NO_ASSERT` hook posted on Marvisak/VIctory#698, so I am not proposing it as a PR. A caller that does not expect null could still fault later. None did in that one run. **Newer bases:** with the handler still on, it was never hit in one run on `8dd30ab` and two on `a26859f` (22, 25 and 25 minutes, complete cutscene, same save). So the pool did not run dry there. I cannot say why: these runs also have other PRs (#51, and #610 with `VICTORY_TEXTURE_DROP_MIPS=1`) and other switches. A run on current `main` without any hook on your machine would be a useful check. For #222: on this machine, skipping the four programs on `2119b0e` did not avoid the stop (one run). Limits: one machine, one run per row. AI-assisted (Claude Code). No game data.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 14:02 UTC · original

Same stop on a third kind of machine — RTX 3080 Ti under Wine (Proton Experimental, vkd3d-proton master), on uiliannn/VItoriaBr 2b3c339e with fxceless#823, #845, #91 — and the skip of the four programs of the VIctory#698 lead did not prevent it here either (6m05, frame 1458, INSTANCE_LIST 45000/45000).

I compared five of the title's crash reports from this machine. Game Physical and Pool read the same in all of them (so they are not what runs out); INSTANCE_LIST, BUILDING, OBJECT and GRASS_INSTANCE_LIST grow together while the intro prestreams, and Unsignaled CrossQueueBarrier is in every report that stopped. The disassembly of the trap (title+0x5149aec: one int3 on the pool's NULL return) is in a comment in VIctory#698.

**@⁠slauko** on GitHub · 2026-11-25 14:02 UTC · [original](https://github.com/fxceless/victory-fork/issues/378#issuecomment-7164671596) Same stop on a third kind of machine — RTX 3080 Ti under Wine (Proton Experimental, vkd3d-proton master), on `uiliannn/VItoriaBr 2b3c339e` with fxceless#823, #845, #91 — and the skip of the four programs of the VIctory#698 lead did not prevent it here either (6m05, frame 1458, `INSTANCE_LIST 45000/45000`). I compared five of the title's crash reports from this machine. `Game Physical` and `Pool` read the same in all of them (so they are not what runs out); `INSTANCE_LIST`, `BUILDING`, `OBJECT` and `GRASS_INSTANCE_LIST` grow together while the intro prestreams, and `Unsignaled CrossQueueBarrier` is in every report that stopped. The disassembly of the trap (`title+0x5149aec`: one `int3` on the pool's NULL return) is in a comment in VIctory#698.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 14:54 UTC · original

Stepping over the int3 goes on into gameplay — the "local handler" as a switch, measured.

A breakpoint at title+0x5149aec is continued by the loader's vectored handler, the way it steps over the console's instructions (VICTORY_STEP_OVER=<offset>, off unless set). With it, a run on uiliannn/VItoriaBr 2b3c339e under Wine (RTX 3080 Ti) reached the trap at 6:00 as always and went on for 30 minutes to my time limit with no fault and no device loss: the opening of the prologue, the title's prompts to move and to turn the camera, both answering the keys; 521 ms a world frame (median of 317), 3,516 draws a frame.

The pool stays full, though: the handler was taken more than 512 times in those 30 minutes, so every list asked for after 6:00 is NULL. It is a way around the stop, not a fix. The numbers and the handler's code are in my comment in Marvisak/VIctory#698.

**@⁠slauko** on GitHub · 2026-11-25 14:54 UTC · [original](https://github.com/fxceless/victory-fork/issues/378#issuecomment-7165994570) Stepping over the `int3` goes on into gameplay — the "local handler" as a switch, measured. A breakpoint at `title+0x5149aec` is continued by the loader's vectored handler, the way it steps over the console's instructions (`VICTORY_STEP_OVER=<offset>`, off unless set). With it, a run on `uiliannn/VItoriaBr 2b3c339e` under Wine (RTX 3080 Ti) reached the trap at 6:00 as always and went on for 30 minutes to my time limit with no fault and no device loss: the opening of the prologue, the title's prompts to move and to turn the camera, both answering the keys; 521 ms a world frame (median of 317), 3,516 draws a frame. The pool stays full, though: the handler was taken more than 512 times in those 30 minutes, so every list asked for after 6:00 is NULL. It is a way around the stop, not a fix. The numbers and the handler's code are in my comment in Marvisak/VIctory#698.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 17:08 UTC · original

A follow-up from the run that got past the trap: once the title has written a save, later starts do not reach +0x5149aec at all.

With the breakpoint stepped over, the run went into gameplay and under seven minutes in wrote its first save. Every run since starts from it: no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10 — and no trap in 24 minutes (the step counter at 0, in four runs). With that one save container moved aside, the same binary played the intro and reached the trap at 366 s again.

I had taken it for a regression of a merge first; three builds said otherwise. Details in Marvisak/VIctory#698 (my comment there).

**@⁠slauko** on GitHub · 2026-11-25 17:08 UTC · [original](https://github.com/fxceless/victory-fork/issues/378#issuecomment-7169077615) A follow-up from the run that got past the trap: **once the title has written a save, later starts do not reach `+0x5149aec` at all.** With the breakpoint stepped over, the run went into gameplay and under seven minutes in wrote its first save. Every run since starts from it: no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10 — and no trap in 24 minutes (the step counter at 0, in four runs). With that one save container moved aside, the same binary played the intro and reached the trap at 366 s again. I had taken it for a regression of a merge first; three builds said otherwise. Details in Marvisak/VIctory#698 (my comment there).
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#378
No description provided.