Black first cutscenes at 1-5 fps on a 32-lane card since #208: the four paired lens_flares CS_ScanMip programs together #378

Open
opened 2026-11-27 21:09:08 +00:00 by github-bot · 5 comments
Owner

@⁠Garu667 on GitHub · 2026-11-27 21:07 UTC · original

RTX 3080 10 GB (32-lane), driver 610.88, Windows 11, Series S, -Machine auto, boat mission autosave, warm caches, diag build of main 104c3d3 (with #208's default paired list of 29).

What happens

The first two cutscenes of the boat mission stay black, at 1–5 fps, and the rest of the run is fine (~17.5 fps). The log shows the card saturated during those cutscenes: about 300 ms a frame with only ~60 ms of preparation. The scene capture still records the cutscene images (VICTORY_CAPTURE), and it reproduces with captures off and with -Machine 4070. On main e45051a (before #208) the same cutscenes played normally.

Narrowed down (same executable, VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz with explicit lists)

Run VICTORY_WAVE_PAIRS_ONLY First cutscene
174, 176, 177, 178 default 29 black, 1–5 fps
179 none visible, 10–17 fps
180 the 7 diffusion/sky entries black
181 lens_flares:CS_ScanMip0..3 (3c196d81eca7ff15, acf14a70f37fb012, f79824724d8e2daf, f0aa2b1e79275592) black
183–186 each ScanMip alone visible
187 ScanMip2 + ScanMip3 visible
188 ScanMip0 + ScanMip1 visible

So it takes three or all four of the CS_ScanMip chain paired together; no single program does it. It looks like an interaction along the mip chain (each level reads the previous one) rather than one bad translation. The three-program combinations aren't tested yet.

Suggestion

Take the four lens_flares:CS_ScanMip0..3 hashes out of DEFAULT_WAVE_PAIRS_HASHES until the interaction is understood. The water and shadow entries are unaffected: the water fix from #208 still holds in runs without these four.

Unrelated but seen in the same runs: the random coloured face mosaic (#317, and PetrSeifert's note on #284) appeared on the policewoman in 2 runs and on the prison desk woman once, on main too.

**@⁠Garu667** on GitHub · 2026-11-27 21:07 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378) **RTX 3080 10 GB** (32-lane), driver 610.88, Windows 11, Series S, `-Machine auto`, boat mission autosave, warm caches, diag build of `main` `104c3d3` (with #208's default paired list of 29). ### What happens The **first two cutscenes of the boat mission stay black**, at **1–5 fps**, and the rest of the run is fine (~17.5 fps). The log shows the card saturated during those cutscenes: about 300 ms a frame with only ~60 ms of preparation. The scene capture still records the cutscene images (`VICTORY_CAPTURE`), and it reproduces with captures off and with `-Machine 4070`. On `main` `e45051a` (before #208) the same cutscenes played normally. ### Narrowed down (same executable, `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz` with explicit lists) | Run | `VICTORY_WAVE_PAIRS_ONLY` | First cutscene | |---|---|---| | 174, 176, 177, 178 | default 29 | **black, 1–5 fps** | | 179 | `none` | visible, 10–17 fps | | 180 | the 7 diffusion/sky entries | **black** | | 181 | `lens_flares:CS_ScanMip0..3` (3c196d81eca7ff15, acf14a70f37fb012, f79824724d8e2daf, f0aa2b1e79275592) | **black** | | 183–186 | each `ScanMip` alone | visible | | 187 | ScanMip2 + ScanMip3 | visible | | 188 | ScanMip0 + ScanMip1 | visible | So it takes **three or all four of the `CS_ScanMip` chain** paired together; no single program does it. It looks like an interaction along the mip chain (each level reads the previous one) rather than one bad translation. The three-program combinations aren't tested yet. ### Suggestion Take the four `lens_flares:CS_ScanMip0..3` hashes out of `DEFAULT_WAVE_PAIRS_HASHES` until the interaction is understood. The water and shadow entries are unaffected: the water fix from #208 still holds in runs without these four. Unrelated but seen in the same runs: the random coloured face mosaic (#317, and PetrSeifert's note on #284) appeared on the policewoman in 2 runs and on the prison desk woman once, on `main` too.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 21:09:08 +00:00
Author
Owner

@⁠Garu667 on GitHub · 2026-11-27 21:23 UTC · original

Correction to the narrowing above: the four CS_ScanMip programs together don't reproduce it reliably. Run 192, with exactly the run 181 setup (the four ScanMip hashes, warm caches, same save), played the first cutscene normally. The extra runs:

Run VICTORY_WAVE_PAIRS_ONLY First cutscene
189 ScanMip0+1+2 visible (≈1 s black at the start)
190 ScanMip0+1+3 visible (≈1 s black at the start)
192 the four ScanMip (repeat of 181) visible

What still holds: the default list of 29 gave the black cutscenes at 1–5 fps in 4 of 4 runs (174, 176, 177, 178), none played normally (179), and the 7 diffusion/sky entries were black once (180). The pipeline library was saved between those default-list runs, so a cold cache doesn't explain it. It looks intermittent, and more likely the more programs are paired, so a visible run doesn't clear a subset. Please don't drop the four ScanMip entries on the strength of the table above. I'll repeat the default list to confirm it is still systematic before narrowing any further.

**@⁠Garu667** on GitHub · 2026-11-27 21:23 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378#issuecomment-7228395152) Correction to the narrowing above: **the four `CS_ScanMip` programs together don't reproduce it reliably.** Run 192, with exactly the run 181 setup (the four `ScanMip` hashes, warm caches, same save), played the first cutscene normally. The extra runs: | Run | `VICTORY_WAVE_PAIRS_ONLY` | First cutscene | |---|---|---| | 189 | ScanMip0+1+2 | visible (≈1 s black at the start) | | 190 | ScanMip0+1+3 | visible (≈1 s black at the start) | | 192 | the four ScanMip (repeat of 181) | **visible** | What still holds: the **default list of 29** gave the black cutscenes at 1–5 fps in 4 of 4 runs (174, 176, 177, 178), `none` played normally (179), and the 7 diffusion/sky entries were black once (180). The pipeline library was saved between those default-list runs, so a cold cache doesn't explain it. It looks **intermittent, and more likely the more programs are paired**, so a visible run doesn't clear a subset. Please don't drop the four `ScanMip` entries on the strength of the table above. I'll repeat the default list to confirm it is still systematic before narrowing any further.
Author
Owner

@⁠Garu667 on GitHub · 2026-11-27 22:28 UTC · original

Narrowed down with removals from the full list instead of subsets. Same executable (main 104c3d3), boat save, warm caches. The count is log samples under 5 fps after the menu (one sample ≈ 5 s; 1–3 is the normal loading hitch).

Run VICTORY_WAVE_PAIRS_ONLY Samples < 5 fps Lucia's arrest scene
174, 176, 177, 178, 195 default 29 13–27 (12 in 195) black for a minute or more, ~3 fps
179 none 1 normal
196 default minus the 7 diffusion/sky entries 1 normal
197 default minus the 4 lens_flares:CS_ScanMip 5 slow
198 default minus CS_GatherDiffusion, SkyProbe, FrameStatistics (ScanMip kept) 1 normal
200 default minus CS_GatherDiffusion (ce2378e5e8711aad) 2 ≈1 s black, then normal
201 default minus CS_DeferredFallbacksAlpha_SkyProbe (b7953a05b189dfc1) 1 ≈1 s black, then normal
202 default minus CS_TemporalResolve2_Opaque_FrameStatistics (71883e40620a567a) 2 ≈1 s black, then the gameplay camera (Jason) until the next scene

Conclusion: there's no single bad program. Taking out any one of GatherDiffusion, SkyProbe or FrameStatistics is enough, and so is taking out the whole diffusion/sky group. The shadow and water entries aren't involved (run 196). It looks like a load threshold: on a 32-lane 10 GB card, the paired versions of the diffusion/sky programs together push this cutscene's card time over what the card keeps up with (≈300 ms frames), and the game shows black, or the gameplay camera, until it catches up.

Suggestion: on 32-lane cards, leave GatherDiffusion (or the three) out of the default list, or measure the card time of the paired diffusion programs against their usual forms. The halo fix they bring probably isn't worth a black first cutscene on lower-end cards. Happy to time a candidate list.

**@⁠Garu667** on GitHub · 2026-11-27 22:28 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378#issuecomment-7229354065) Narrowed down with removals from the full list instead of subsets. Same executable (`main` `104c3d3`), boat save, warm caches. The count is log samples under 5 fps after the menu (one sample ≈ 5 s; 1–3 is the normal loading hitch). | Run | `VICTORY_WAVE_PAIRS_ONLY` | Samples < 5 fps | Lucia's arrest scene | |---|---|---|---| | 174, 176, 177, 178, 195 | default 29 | 13–27 (12 in 195) | black for a minute or more, ~3 fps | | 179 | `none` | 1 | normal | | 196 | default **minus the 7 diffusion/sky entries** | 1 | normal | | 197 | default minus the 4 `lens_flares:CS_ScanMip` | 5 | slow | | 198 | default minus `CS_GatherDiffusion`, `SkyProbe`, `FrameStatistics` (ScanMip kept) | 1 | normal | | 200 | default minus `CS_GatherDiffusion` (ce2378e5e8711aad) | 2 | ≈1 s black, then normal | | 201 | default minus `CS_DeferredFallbacksAlpha_SkyProbe` (b7953a05b189dfc1) | 1 | ≈1 s black, then normal | | 202 | default minus `CS_TemporalResolve2_Opaque_FrameStatistics` (71883e40620a567a) | 2 | ≈1 s black, then the gameplay camera (Jason) until the next scene | **Conclusion:** there's no single bad program. Taking out **any one** of `GatherDiffusion`, `SkyProbe` or `FrameStatistics` is enough, and so is taking out the whole diffusion/sky group. The shadow and water entries aren't involved (run 196). It looks like a **load threshold**: on a 32-lane 10 GB card, the paired versions of the diffusion/sky programs together push this cutscene's card time over what the card keeps up with (≈300 ms frames), and the game shows black, or the gameplay camera, until it catches up. **Suggestion:** on 32-lane cards, leave `GatherDiffusion` (or the three) out of the default list, or measure the card time of the paired diffusion programs against their usual forms. The halo fix they bring probably isn't worth a black first cutscene on lower-end cards. Happy to time a candidate list.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 11:37 UTC · original

Thanks for narrowing this down with single removals rather than unrelated subsets. The threshold explanation is plausible, but not yet a confirmed mechanism. Please time the individual paired diffusion/sky programs and compare the candidate list on the same scene; #426 also shows why FP32 confirmation must be preserved when testing custom lists.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378#issuecomment-7255241051) Thanks for narrowing this down with single removals rather than unrelated subsets. The threshold explanation is plausible, but not yet a confirmed mechanism. Please time the individual paired diffusion/sky programs and compare the candidate list on the same scene; #426 also shows why FP32 confirmation must be preserved when testing custom lists.
github-bot referenced this issue from a commit 2026-11-30 15:24:03 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:01 UTC · original

main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

**@⁠TaynanGT** on GitHub · 2026-11-30 17:01 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378#issuecomment-7285587084) `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 20:16 UTC · original

The paired list this is about is gone. VICTORY_WAVE_PAIRS_ONLY and the default list of 29 don't exist; it's VICE_TAY_WAVE_PAIR (on by default) with VICE_TAY_WAVE_PAIR_NOT=<hash>,... naming programs to leave out.

That makes the four lens_flares CS_ScanMip programs easy to test directly: put their hashes in VICE_TAY_WAVE_PAIR_NOT and see whether the first two boat-mission cutscenes come back to normal. If they do, that's a much tighter report than the one we have, and it names exactly which programs to fix.

-Machine auto is gone too - the settings come from the PC now (#474). Everything renamed: #468.

The 300 ms frames with the card saturated during those two cutscenes is the part I'd most like to see again on a current build, since the cutscene path has had a fair bit of work since 104c3d3.

**@⁠TaynanGT** on GitHub · 2026-11-30 20:16 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/378#issuecomment-7290657962) The paired list this is about is gone. `VICTORY_WAVE_PAIRS_ONLY` and the default list of 29 don't exist; it's `VICE_TAY_WAVE_PAIR` (on by default) with `VICE_TAY_WAVE_PAIR_NOT=<hash>,...` naming programs to leave out. That makes the four `lens_flares CS_ScanMip` programs easy to test directly: put their hashes in `VICE_TAY_WAVE_PAIR_NOT` and see whether the first two boat-mission cutscenes come back to normal. If they do, that's a much tighter report than the one we have, and it names exactly which programs to fix. `-Machine auto` is gone too - the settings come from the PC now (#474). Everything renamed: #468. The 300 ms frames with the card saturated during those two cutscenes is the part I'd most like to see again on a current build, since the cutscene path has had a fair bit of work since `104c3d3`.
This discussion has been locked. Commenting is limited to contributors.
No description provided.