IMPORTANT, needs urgent attention: frame generation stays off in the whole game since #669 (movie gate now opt-in, VICTORY_MOVIE_GATE=1) #1444

Closed
github-bot wants to merge 0 commits from github-bot/gh-1444 into main AGit
Owner

@⁠yeedgrthfgv on GitHub · 2026-11-28 20:08 UTC · original
yeedgrthfgv:pr/movie-gate → main · +28 −0 · 2 files · 1 commits · closed without merging

IMPORTANT, needs urgent attention: since #669 was merged, DLSS frame generation (and FSR 3 frame generation) stays off for the whole game once the world is loaded. Everyone on the current main who uses frame generation gets the plain rendered frame rate instead.

What happens

#669 holds frame generation off while a present is classed as a movie (take_movie_plane), so the still letterbox edges of a video do not flicker. A present is a movie while the Bink lease runs, and every Bink call renews it (note_bink_movie -> note_movie_plane -> BINK_IDLE_UNTIL_*).

In the open world the title works its Bink player about once a present (in-world screens, or a handle that is never closed), so the lease never runs out. Every frame-rate line of the run says the same:

movie plane gate: 198 plane uploads noted (194 Bink signs), 0 Bink movies opened, 0 closed, 2 still open; 14 presents held off, 0 presents not held off
DLSS Frame Generation: 0 presents with it on, 14 off, 0 frames shown by it (status 0x0)

Same PC, same settings (Ryzen 5 9600X, RTX 5080, Series X, 4K output, DLSS Balanced, frame generation 3x, warm pipelines), same save:

build frame generation in the world
main 32ecacf (before #669) 22 presents with it on, 0 off, 88 frames shown by it
main 923e38c (with #669) 0 presents with it on, 14 off, 0 frames shown by it, on every line of the run

The rendered frame rate also stays flat at about 13.7 fps whether a frame has 10,000 draws or 1,200.

The change

  • VICTORY_MOVIE_GATE=1 turns the gate on. Off by default, so frame generation works again in the world.
  • F1 menu line FRAME GEN PAUSED IN MOVIES (OFF / ON) for it.
  • The lease itself (take_movie_plane_at) and its tests are unchanged. Under cfg(test) the gate counts as on, so the existing lease tests still cover it.

With the gate off, frame generation also runs over the full-screen movies (the case #669 was made for), so their black borders may flicker there. Players who mind can switch it on in F1. A gate that tells a full-screen movie from an in-world screen would be the better long-term fix; I left that out to keep this small and safe to merge quickly.

Checked

  • Release build, --features diagnostics check, victory-gpu lib tests: 550 passed.
  • Two files, +28 lines, nothing removed.
  • The evidence above comes from the logs of the runs on both builds. A run with this exact commit is next; I will add its frame generation line here.

Note: the CI check job currently fails on main itself (clippy in victory-shader/src/emit/lower.rs: unused colour, manual checked division), not on anything in this PR.

🤖 Generated with Claude Code

**@⁠yeedgrthfgv** on GitHub · 2026-11-28 20:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1444) `yeedgrthfgv:pr/movie-gate` → `main` · +28 −0 · 2 files · 1 commits · closed without merging **IMPORTANT, needs urgent attention:** since #669 was merged, DLSS frame generation (and FSR 3 frame generation) stays **off for the whole game** once the world is loaded. Everyone on the current main who uses frame generation gets the plain rendered frame rate instead. ## What happens #669 holds frame generation off while a present is classed as a movie (`take_movie_plane`), so the still letterbox edges of a video do not flicker. A present is a movie while the Bink lease runs, and every Bink call renews it (`note_bink_movie` -> `note_movie_plane` -> `BINK_IDLE_UNTIL_*`). In the open world the title works its Bink player about once a present (in-world screens, or a handle that is never closed), so the lease never runs out. Every frame-rate line of the run says the same: ``` movie plane gate: 198 plane uploads noted (194 Bink signs), 0 Bink movies opened, 0 closed, 2 still open; 14 presents held off, 0 presents not held off DLSS Frame Generation: 0 presents with it on, 14 off, 0 frames shown by it (status 0x0) ``` Same PC, same settings (Ryzen 5 9600X, RTX 5080, Series X, 4K output, DLSS Balanced, frame generation 3x, warm pipelines), same save: | build | frame generation in the world | |---|---| | main `32ecacf` (before #669) | `22 presents with it on, 0 off, 88 frames shown by it` | | main `923e38c` (with #669) | `0 presents with it on, 14 off, 0 frames shown by it`, on every line of the run | The rendered frame rate also stays flat at about 13.7 fps whether a frame has 10,000 draws or 1,200. ## The change - `VICTORY_MOVIE_GATE=1` turns the gate on. **Off by default**, so frame generation works again in the world. - F1 menu line `FRAME GEN PAUSED IN MOVIES` (OFF / ON) for it. - The lease itself (`take_movie_plane_at`) and its tests are unchanged. Under `cfg(test)` the gate counts as on, so the existing lease tests still cover it. With the gate off, frame generation also runs over the full-screen movies (the case #669 was made for), so their black borders may flicker there. Players who mind can switch it on in F1. A gate that tells a full-screen movie from an in-world screen would be the better long-term fix; I left that out to keep this small and safe to merge quickly. ## Checked - Release build, `--features diagnostics` check, victory-gpu lib tests: 550 passed. - Two files, +28 lines, nothing removed. - The evidence above comes from the logs of the runs on both builds. A run with this exact commit is next; I will add its frame generation line here. Note: the CI `check` job currently fails on main itself (clippy in `victory-shader/src/emit/lower.rs`: unused `colour`, manual checked division), not on anything in this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since #669 a present is classed as a movie while the Bink lease runs, and
every Bink call renews it. In the open world the title works its Bink
player about once a present (194 Bink signs in five seconds, two movies
left open), so the lease never runs out: every frame-rate line of a run on
main 923e38c says "DLSS Frame Generation: 0 presents with it on". On
32ecacf, before #669, the same PC and settings showed generated frames.

The gate is now off unless VICTORY_MOVIE_GATE=1 (and an F1 line for it).
The lease itself and its tests are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 20:11:34 +00:00
Author
Owner

@⁠nick0451 on GitHub · 2026-11-28 20:42 UTC · original

Tested on an RTX 3090 (no DLSS frame generation, so FSR 3 frame generation 2x), i9-14900K, Windows 11. Release builds: main at 923e38c (with #669) and this PR merged onto it. Series S, DLSS Performance, VICTORY_FSR_FRAMEGEN=1, VICTORY_FRAMEGEN_X=2. The same save in the open world, outdoors on a balcony, standing still. The game window was kept in front, since frame generation needs the focus. Two rounds each.

The gate does hold off every present on main here too, as you describe:

main:    movie plane gate: 230 plane uploads noted (146 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 21 presents held off, 0 presents not held off
this PR: movie plane gate: 216 plane uploads noted (147 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 0 presents held off, 22 presents not held off

But FSR 3 frame generation still runs on main. The log says FSR 3 frame generation: 205 / 224 presents with it on, 0 off on main, the same as with this PR (186 / 224 on, 0 off). The on-screen counter in the end-of-run screenshots agrees:

build FPS / FG on screen
main run 1 22.9 / 45.8
main run 2 21.0 / 42.0
this PR run 1 21.8 / 43.6
this PR run 2 21.6 / 43.2

So on this card the held-off presents don't stop FSR 3. The gate seems to reach only the DLSS frame generation path. The description's "(and FSR 3 frame generation)" doesn't match what I see, and I can't test the DLSS frame generation part on an RTX 30.

No crash in the measured runs with either build, and fps is within noise (main 21.6, this PR 19.9 with one run at 18.0). (The first start of each new build crashed while loading at +0x23cf683, with and without this PR; reported in #628, not related to this change.)

Tested with an AI assistant (Claude Code); results are from this PC.

**@⁠nick0451** on GitHub · 2026-11-28 20:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1444#issuecomment-7245483082) Tested on an RTX 3090 (no DLSS frame generation, so **FSR 3** frame generation 2x), i9-14900K, Windows 11. Release builds: main at `923e38c` (with #669) and this PR merged onto it. Series S, DLSS Performance, `VICTORY_FSR_FRAMEGEN=1`, `VICTORY_FRAMEGEN_X=2`. The same save in the open world, outdoors on a balcony, standing still. The game window was kept in front, since frame generation needs the focus. Two rounds each. **The gate does hold off every present on main here too**, as you describe: ``` main: movie plane gate: 230 plane uploads noted (146 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 21 presents held off, 0 presents not held off this PR: movie plane gate: 216 plane uploads noted (147 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 0 presents held off, 22 presents not held off ``` **But FSR 3 frame generation still runs on main.** The log says `FSR 3 frame generation: 205 / 224 presents with it on, 0 off` on main, the same as with this PR (186 / 224 on, 0 off). The on-screen counter in the end-of-run screenshots agrees: | build | FPS / FG on screen | |---|---| | main run 1 | 22.9 / 45.8 | | main run 2 | 21.0 / 42.0 | | this PR run 1 | 21.8 / 43.6 | | this PR run 2 | 21.6 / 43.2 | So on this card the held-off presents don't stop FSR 3. The gate seems to reach only the DLSS frame generation path. The description's "(and FSR 3 frame generation)" doesn't match what I see, and I can't test the DLSS frame generation part on an RTX 30. No crash in the measured runs with either build, and fps is within noise (main 21.6, this PR 19.9 with one run at 18.0). (The first start of each new build crashed while loading at `+0x23cf683`, with and without this PR; reported in #628, not related to this change.) Tested with an AI assistant (Claude Code); results are from this PC.
Author
Owner

@⁠SkylerizMe on GitHub · 2026-11-28 21:41 UTC · original

DLSS frame generation on an RTX 5080, the part an RTX 3090 can't test: with this PR on 923e38c, it runs in the world.

One 5.8-minute run in the opening, Series S 960x540, DLSS Performance, DLSS frame generation 2x:

  • Every movie-gate line in the world shows 0 presents held off, e.g. 330 plane uploads noted (174 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 0 presents held off, 50 presents not held off.
  • Summed over the world time: DLSS Frame Generation: 10,420 presents with it on, 3,380 off (none of the off ones held by the gate).
  • A second build with this PR showed the same. No crashes in either.

I didn't run 923e38c without this PR on this PC, so this confirms the change works with DLSS frame generation; it isn't a before/after.

PC: Ryzen 9 9950X3D, RTX 5080 16 GB (driver 621.10), Windows 11. Build: 923e38c + this PR + #592 (which also touches streamline.rs: the frame generation re-arm) + a few local additions outside frame generation.

(Written with Claude; numbers are from this PC's logs.)

**@⁠SkylerizMe** on GitHub · 2026-11-28 21:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1444#issuecomment-7246195397) DLSS frame generation on an RTX 5080, the part an RTX 3090 can't test: with this PR on `923e38c`, it runs in the world. One 5.8-minute run in the opening, Series S 960x540, DLSS Performance, DLSS frame generation 2x: - Every movie-gate line in the world shows `0 presents held off`, e.g. `330 plane uploads noted (174 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 0 presents held off, 50 presents not held off`. - Summed over the world time: `DLSS Frame Generation`: 10,420 presents with it on, 3,380 off (none of the off ones held by the gate). - A second build with this PR showed the same. No crashes in either. I didn't run `923e38c` without this PR on this PC, so this confirms the change works with DLSS frame generation; it isn't a before/after. PC: Ryzen 9 9950X3D, RTX 5080 16 GB (driver 621.10), Windows 11. Build: `923e38c` + this PR + #592 (which also touches `streamline.rs`: the frame generation re-arm) + a few local additions outside frame generation. (Written with Claude; numbers are from this PC's logs.)
github-bot closed this pull request 2026-11-29 05:46:28 +00:00
Author
Owner

@⁠yeedgrthfgv on GitHub · 2026-11-29 05:42 UTC · original

Thanks @⁠nick0451 and @⁠SkylerizMe for testing. nick0451 is right: only DLSS frame generation was held off, not FSR 3; my description was wrong there. Since 9e61270 (#1579) main keeps frame generation on while a 3D scene is being upscaled, which fixes the same thing more precisely (full-screen movies are still gated), so I am closing this one in favour of it.

**@⁠yeedgrthfgv** on GitHub · 2026-11-29 05:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1444#issuecomment-7251415416) Thanks @⁠nick0451 and @⁠SkylerizMe for testing. nick0451 is right: only DLSS frame generation was held off, not FSR 3; my description was wrong there. Since 9e61270 (#1579) main keeps frame generation on while a 3D scene is being upscaled, which fixes the same thing more precisely (full-screen movies are still gated), so I am closing this one in favour of it.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/trustno1-coder--VIctory-NVIDIA!1444
No description provided.