RTX 3060 Ti (8 GB, default TDR): lit prison yard at 2–3 fps for 8 minutes on 7b0f736; loop limit 256 is the stable middle; one more hang at load #18

Open
opened 2026-11-26 03:34:40 +00:00 by github-bot · 3 comments
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 19:59 UTC · original

Setup: RTX 3060 Ti 8 GB, 32-lane waves, driver 621.24. Windows 11 26200 with the default TDR settings (2 s). Ryzen 5 5600, 32 GB. Own 1.0.2.1 copy, Series X profile. Built from source: cargo build --profile diag -p victory --features diagnostics. Counts and log lines only, nothing from the game.

Best result so far: 7b0f736 with

VICTORY_RELAY=2
VICTORY_SHADER_LOOP_LIMIT=256
VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc
  • 8 minutes with no device removal.
  • In the world: 2.8 fps (~350 ms/frame), up to ~5,300 draws/frame.
  • The whole yard is lit: blocks, tower, inmates, deck, sky. The in-engine cutscene before gameplay now shows its characters.

Runs that led there:

Build Settings Result
d279e69 defaults 0x887A0005 ~70 s in, before the world: one submission waited 6.9 s
d279e69 loop limit 32 + the three skips stable 8 min (2 runs); hair renders as glowing orange strands and the scene is darker
d279e69 loop limit 1024 + skips hair and light look right, but device removed ~7 min in: one submission waited 6.6 s
d279e69 loop limit 256 + skips stable 8 min; most of the scene right, hair still partly glowing
7b0f736 VICTORY_RELAY=2, loop limit 256 + skips stable 8 min, 2–3 fps, best picture

So on a card with the default 2 s TDR, the loop limit trades hair and lighting quality against single submissions passing 2 s. 256 was the stable middle here. A higher TdrDelay would presumably allow the default limit.

A load-time hang not listed in the issues here yet: b83629b90cd2b7bc. DRED stopped on it during loading, before the world, on a #439-based integration tree (r4tedx testers/indirect-wave-dispatch): dispatch 59x1x1 [compute b83629b90cd2b7bc], list 0 of 1. I have skipped it on this fork since, and have not tested 7b0f736 without the skip. eeed82b877b44b5f and 269b802f878c24e1 are the known world hangs from VIctory #778/#71.

Still wrong here:

  • Hair strands fly apart frame to frame (simulated hair). The bound program looks fine one frame and shoots thin dark strands across half the screen the next. Same at loop limits 256 and 1024, so it doesn't look like the limit. I plan to trace it next and will post what I find.
  • The pre-rendered (Bink) cutscenes before the first gameplay are black, with stacked subtitles. This matches 02dgokberk's finding on VIctory #841: the decoded 1920x1088 video frame is lost at the final composite.
  • Areas out of direct sun are black, as the README says.

AI-assisted (Claude Code).

**@⁠lines9686-rgb** on GitHub · 2026-11-24 19:59 UTC · [original](https://github.com/fxceless/victory-fork/issues/18) **Setup:** RTX 3060 Ti 8 GB, 32-lane waves, driver 621.24. Windows 11 26200 with the **default TDR settings (2 s)**. Ryzen 5 5600, 32 GB. Own 1.0.2.1 copy, Series X profile. Built from source: `cargo build --profile diag -p victory --features diagnostics`. Counts and log lines only, nothing from the game. **Best result so far:** `7b0f736` with ``` VICTORY_RELAY=2 VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc ``` - 8 minutes with no device removal. - In the world: 2.8 fps (~350 ms/frame), up to ~5,300 draws/frame. - The whole yard is lit: blocks, tower, inmates, deck, sky. The in-engine cutscene before gameplay now shows its characters. **Runs that led there:** | Build | Settings | Result | |---|---|---| | `d279e69` | defaults | `0x887A0005` ~70 s in, before the world: one submission waited 6.9 s | | `d279e69` | loop limit 32 + the three skips | stable 8 min (2 runs); hair renders as glowing orange strands and the scene is darker | | `d279e69` | loop limit 1024 + skips | hair and light look right, but device removed ~7 min in: one submission waited 6.6 s | | `d279e69` | loop limit 256 + skips | stable 8 min; most of the scene right, hair still partly glowing | | `7b0f736` | `VICTORY_RELAY=2`, loop limit 256 + skips | stable 8 min, 2–3 fps, best picture | So on a card with the default 2 s TDR, the loop limit trades hair and lighting quality against single submissions passing 2 s. 256 was the stable middle here. A higher `TdrDelay` would presumably allow the default limit. **A load-time hang not listed in the issues here yet: `b83629b90cd2b7bc`.** DRED stopped on it during loading, before the world, on a #439-based integration tree (r4tedx `testers/indirect-wave-dispatch`): `dispatch 59x1x1 [compute b83629b90cd2b7bc]`, list 0 of 1. I have skipped it on this fork since, and have not tested `7b0f736` without the skip. `eeed82b877b44b5f` and `269b802f878c24e1` are the known world hangs from VIctory #778/#71. **Still wrong here:** - **Hair strands fly apart frame to frame** (simulated hair). The bound program looks fine one frame and shoots thin dark strands across half the screen the next. Same at loop limits 256 and 1024, so it doesn't look like the limit. I plan to trace it next and will post what I find. - **The pre-rendered (Bink) cutscenes before the first gameplay are black, with stacked subtitles.** This matches 02dgokberk's finding on VIctory #841: the decoded 1920x1088 video frame is lost at the final composite. - **Areas out of direct sun are black,** as the README says. AI-assisted (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:40 +00:00
Author
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 20:14 UTC · original

Correction to the hair item above. The flying strands were caused by our own skip list, not by the fork.

269b802f878c24e1 (smh_modify:CS_InterpolateStrandStyle) was one of the three hashes I listed in VICTORY_SKIP_PIPELINES. I carried it over from an older tree, where the host refused it or it faulted. On 7b0f736 it translates and gets a host pipeline. With it skipped, every dispatch of the strand-style interpolation was dropped, and the strands lost their shape from frame to frame.

Without the skip, same machine (RTX 3060 Ti, default TDR) and VICTORY_RELAY=2 VICTORY_SHADER_LOOP_LIMIT=256, the hair renders correctly: tied-up hair, curls, no flying strands, in cutscenes and in gameplay. So the setting I'd suggest for NVIDIA cards with the default TDR is

VICTORY_RELAY=2
VICTORY_SHADER_LOOP_LIMIT=256
VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,b83629b90cd2b7bc

eeed82b877b44b5f is a decal hit-detection pass. b83629b90cd2b7bc is meshlet culling and hung at load on another tree; I haven't re-tested it on 7b0f736 without the skip.

Offline check on this commit: all 47 hair containers (smh_sim_*, smh_modify_*, smh_gen_*, smh_draw_*) translate and validate for a 32-lane host. None needs the approximate per-half-wave path.

AI-assisted (Claude Code).

**@⁠lines9686-rgb** on GitHub · 2026-11-24 20:14 UTC · [original](https://github.com/fxceless/victory-fork/issues/18#issuecomment-7143228050) **Correction to the hair item above. The flying strands were caused by our own skip list, not by the fork.** `269b802f878c24e1` (`smh_modify:CS_InterpolateStrandStyle`) was one of the three hashes I listed in `VICTORY_SKIP_PIPELINES`. I carried it over from an older tree, where the host refused it or it faulted. On `7b0f736` it translates and gets a host pipeline. With it skipped, every dispatch of the strand-style interpolation was dropped, and the strands lost their shape from frame to frame. Without the skip, same machine (RTX 3060 Ti, default TDR) and `VICTORY_RELAY=2 VICTORY_SHADER_LOOP_LIMIT=256`, the hair renders correctly: tied-up hair, curls, no flying strands, in cutscenes and in gameplay. So the setting I'd suggest for NVIDIA cards with the default TDR is ``` VICTORY_RELAY=2 VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,b83629b90cd2b7bc ``` `eeed82b877b44b5f` is a decal hit-detection pass. `b83629b90cd2b7bc` is meshlet culling and hung at load on another tree; I haven't re-tested it on `7b0f736` without the skip. Offline check on this commit: all 47 hair containers (`smh_sim_*`, `smh_modify_*`, `smh_gen_*`, `smh_draw_*`) translate and validate for a 32-lane host. None needs the approximate per-half-wave path. AI-assisted (Claude Code).
Author
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 20:53 UTC · original

The missing interior shell (no walls or roof in the first gameplay barracks, ceiling lamps hanging in the sky) comes from VICTORY_RELAY, not from the renderer.

Same machine (RTX 3060 Ti, default TDR), 7b0f736, warm cache, VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_SKIP_PIPELINES=eeed82b877b44b5f. The only change between the four runs was the relay or wait setting, and each was checked by eye in the barracks:

Setting Barracks shell World fps
VICTORY_RELAY=2 walls and roof almost all missing ~2.8
VICTORY_RELAY=2 VICTORY_LATE_WAIT=2 (settle at every present) still missing —
VICTORY_RELAY=1 mostly back; one wall beside the barred door still missing ~3 (286 ms/frame)
no relay complete: walls, roof, windows, door ~2

A second hint at a race: with VICTORY_RELAY=2 plus VICTORY_CAPTURE / VICTORY_CAPTURE_WORLD (which settle everything in the air on the captured presents), the shell was complete too. With relay 2 the log's only settles are "title memory read" (~1.5/frame). The capture run adds "synchronous submission or present" and "lists in the air" settles. So some input of the culling or indirect-draw chain that decides whether the shell is drawn seems to be read before the submission that writes it has finished, and relay 1 only partly covers that.

The title culls on the GPU: about 2,700 indirect mesh dispatches per frame, InstanceCulling, meshlet culling, and a depth pyramid with a CPU-occlusion input. I haven't pinned down which read it is yet. I'm tracing it now and will post a targeted wait (or the exact dependency) if I find it. Until then, VICTORY_RELAY=1, or no relay, keeps the interiors on this card.

AI-assisted (Claude Code).

**@⁠lines9686-rgb** on GitHub · 2026-11-24 20:53 UTC · [original](https://github.com/fxceless/victory-fork/issues/18#issuecomment-7144185310) **The missing interior shell (no walls or roof in the first gameplay barracks, ceiling lamps hanging in the sky) comes from `VICTORY_RELAY`, not from the renderer.** Same machine (RTX 3060 Ti, default TDR), `7b0f736`, warm cache, `VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_SKIP_PIPELINES=eeed82b877b44b5f`. The only change between the four runs was the relay or wait setting, and each was checked by eye in the barracks: | Setting | Barracks shell | World fps | |---|---|---| | `VICTORY_RELAY=2` | walls and roof almost all missing | ~2.8 | | `VICTORY_RELAY=2 VICTORY_LATE_WAIT=2` (settle at every present) | still missing | — | | `VICTORY_RELAY=1` | mostly back; one wall beside the barred door still missing | ~3 (286 ms/frame) | | no relay | complete: walls, roof, windows, door | ~2 | **A second hint at a race:** with `VICTORY_RELAY=2` plus `VICTORY_CAPTURE` / `VICTORY_CAPTURE_WORLD` (which settle everything in the air on the captured presents), the shell was complete too. With relay 2 the log's only settles are "title memory read" (~1.5/frame). The capture run adds "synchronous submission or present" and "lists in the air" settles. So some input of the culling or indirect-draw chain that decides whether the shell is drawn seems to be read before the submission that writes it has finished, and relay 1 only partly covers that. The title culls on the GPU: about 2,700 indirect mesh dispatches per frame, InstanceCulling, meshlet culling, and a depth pyramid with a CPU-occlusion input. I haven't pinned down which read it is yet. I'm tracing it now and will post a targeted wait (or the exact dependency) if I find it. Until then, `VICTORY_RELAY=1`, or no relay, keeps the interiors on this card. AI-assisted (Claude Code).
Author
Owner

@⁠FluffyCyanNova on GitHub · 2026-11-26 10:11 UTC · original

Messy/flying hair is caused by skipping 269b802f878c24e1 (smh_modify:CS_InterpolateStrandStyle): drop it from the skip lists (RTX 3060 12 GB, 13+ min, 0 device losses)

Many reports copy VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc (the "3060 Ti set"). 269b802f878c24e1 is smh_modify:CS_InterpolateStrandStyle, the strand-style pass of the hair. Skipping it is what makes the hair strands fly across the screen and change every frame. DuarttBR already pointed this out in fork #62 and found it was in #18 as well; this is one more data point on a different card.

Test (one change): same build, same save, same switches, Series S profile (--console series-s), RTX 3060 12 GB + 4-core i3-12100F. Run A skip list eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc,f607780aa8e502d0. Run B the same without 269b802f878c24e1 (B also had VICTORY_SHADER_SAVE on, to keep a copy of the program for the analysis below; it only writes files).

Result B: the hair is a proper ponytail with no flying strands (it looks grey and desaturated, which we did not chase). 13.4 min in the world, 0 device-loss lines. Cost is unchanged: GPU 81 ms in B against 85 ms in A, about 3,950 draws per frame in both. The hair shader costs about nothing.

Why it is safe to run: the program translates in the first (exact) form, with no LDS, no barriers, and one scalar binary-search loop of at most about 32 iterations. There is nothing wave64-specific in it to refuse on a 32-lane card.

Suggestion: drop 269b802f878c24e1 from the copied skip recipes. Keep eeed82b877b44b5f and f607780aa8e502d0 as people have them for their own reasons (we still skip them; f607780aa8e502d0 is the irradiance-cache shadow trace that removed the device on some NVIDIA cards).

We did not test b83629b90cd2b7bc; DuarttBR's report in fork #62 says skipping only eeed82b877b44b5f,b83629b90cd2b7bc keeps the hair correct, which matches our result for the first hash.

**@⁠FluffyCyanNova** on GitHub · 2026-11-26 10:11 UTC · [original](https://github.com/fxceless/victory-fork/issues/18#issuecomment-7189021042) **Messy/flying hair is caused by skipping 269b802f878c24e1 (smh_modify:CS_InterpolateStrandStyle): drop it from the skip lists (RTX 3060 12 GB, 13+ min, 0 device losses)** Many reports copy `VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc` (the "3060 Ti set"). `269b802f878c24e1` is `smh_modify:CS_InterpolateStrandStyle`, the strand-style pass of the hair. Skipping it is what makes the hair strands fly across the screen and change every frame. DuarttBR already pointed this out in fork #62 and found it was in #18 as well; this is one more data point on a different card. **Test (one change):** same build, same save, same switches, Series S profile (`--console series-s`), RTX 3060 12 GB + 4-core i3-12100F. Run A skip list `eeed82b877b44b5f,269b802f878c24e1,b83629b90cd2b7bc,f607780aa8e502d0`. Run B the same without `269b802f878c24e1` (B also had `VICTORY_SHADER_SAVE` on, to keep a copy of the program for the analysis below; it only writes files). **Result B:** the hair is a proper ponytail with no flying strands (it looks grey and desaturated, which we did not chase). 13.4 min in the world, 0 device-loss lines. Cost is unchanged: GPU 81 ms in B against 85 ms in A, about 3,950 draws per frame in both. The hair shader costs about nothing. **Why it is safe to run:** the program translates in the first (exact) form, with no LDS, no barriers, and one scalar binary-search loop of at most about 32 iterations. There is nothing wave64-specific in it to refuse on a 32-lane card. **Suggestion:** drop `269b802f878c24e1` from the copied skip recipes. Keep `eeed82b877b44b5f` and `f607780aa8e502d0` as people have them for their own reasons (we still skip them; `f607780aa8e502d0` is the irradiance-cache shadow trace that removed the device on some NVIDIA cards). We did not test `b83629b90cd2b7bc`; DuarttBR's report in fork #62 says skipping only `eeed82b877b44b5f,b83629b90cd2b7bc` keeps the hair correct, which matches our result for the first hash.
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#18
No description provided.