Frame generation never on in Americas' open world: VICTORY_MOVIE_GATE=0 turns the movie gate off #1513

Closed
github-bot wants to merge 1 commit from github-bot/gh-1513 into main AGit
Owner

@⁠iridiumLotus on GitHub · 2026-11-28 21:07 UTC · original
iridiumLotus:movie-gate-opt-out → main · +27 −1 · 1 files · 1 commits · closed without merging

Since 923e38, DLSS frame generation never turns on in Americas' open world. This adds a switch to turn the movie gate off, VICTORY_MOVIE_GATE=0. It is on by default, so nothing changes unless it is set.

What was wrong

The movie gate (take_movie_plane_at) holds frame generation off while a Bink movie is shown. Each Bink wrapper call renews the idle lease (BINK_IDLE_HOLD_MS, 5 s). In Americas' world, one Bink handle stays open and is decoded the whole time (perhaps an in-world screen), at about 140 Bink calls a second. The lease never runs out, so every present counts as a movie:

movie plane gate: 180 plane uploads noted (138 Bink signs), 0 Bink movies opened, 0 closed, 1 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)

Every frame-rate line after loading into the world looks like this, for as long as the run lasts. The runs before 923e38 used the same save, spot and settings (with that version's launcher), and had frame generation on for every present (19 presents with it on, 0 off, 38 frames shown by it).

The change

take_movie_plane reads VICTORY_MOVIE_GATE once. If it is 0, no present counts as a movie. Otherwise (unset or any other value) the gate works as before. the_movie_gate_is_on_unless_set_to_zero covers how the value is read. The gate's existing tests are unchanged and pass.

Shown by

Americas, Series S profile, DLSS Quality, frame generation 2x, the same save and spot each time. RTX 5080, Ryzen 7 5800X3D, driver 621.24, Streamline 2.14.16, Windows 11 26300.

real fps presents with frame generation on present call
923e38 13.8 0 of 14 a second 8.7 ms
923e38 + VICTORY_MOVIE_GATE=0 20.1 all (36-40 frames shown a second) 0.11 ms

(Diagnostics profile, --profile diag --features diagnostics. The release profile still locks at 14 real fps with frame generation on, as in #1405; that is a separate problem.)

Not done here

A better fix would let frame generation come back on by itself in gameplay. For example, the lease could be renewed only while the Bink plane is part of what is presented, not on every call to a decoder that has a handle open. I didn't try that: I can't tell the in-world handle from a full-screen movie without knowing more about the gate's design. The launchers also don't set the switch. That's for you to decide (letterbox flicker in movies against frame generation in gameplay).

cargo test -p victory-gpu --lib passes (551) and cargo xtask policy --staged is ok. cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings reports the same 16 errors with and without this change, none of them in its lines. Without --no-deps it stops earlier, at victory-shader (colour unused, a manual checked division); those are on main too. The new lines fit rustfmt.toml's 100 columns.

🤖 Generated with Claude Code

**@⁠iridiumLotus** on GitHub · 2026-11-28 21:07 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1513) `iridiumLotus:movie-gate-opt-out` → `main` · +27 −1 · 1 files · 1 commits · closed without merging Since 923e38, DLSS frame generation never turns on in Americas' open world. This adds a switch to turn the movie gate off, `VICTORY_MOVIE_GATE=0`. It is on by default, so nothing changes unless it is set. ## What was wrong The movie gate (`take_movie_plane_at`) holds frame generation off while a Bink movie is shown. Each Bink wrapper call renews the idle lease (`BINK_IDLE_HOLD_MS`, 5 s). In Americas' world, one Bink handle stays open and is decoded the whole time (perhaps an in-world screen), at about 140 Bink calls a second. The lease never runs out, so every present counts as a movie: ``` movie plane gate: 180 plane uploads noted (138 Bink signs), 0 Bink movies opened, 0 closed, 1 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) ``` Every frame-rate line after loading into the world looks like this, for as long as the run lasts. The runs before 923e38 used the same save, spot and settings (with that version's launcher), and had frame generation on for every present (`19 presents with it on, 0 off, 38 frames shown by it`). ## The change `take_movie_plane` reads `VICTORY_MOVIE_GATE` once. If it is `0`, no present counts as a movie. Otherwise (unset or any other value) the gate works as before. `the_movie_gate_is_on_unless_set_to_zero` covers how the value is read. The gate's existing tests are unchanged and pass. ## Shown by Americas, Series S profile, DLSS Quality, frame generation 2x, the same save and spot each time. RTX 5080, Ryzen 7 5800X3D, driver 621.24, Streamline 2.14.16, Windows 11 26300. | | real fps | presents with frame generation on | present call | |---|---|---|---| | 923e38 | 13.8 | 0 of 14 a second | 8.7 ms | | 923e38 + `VICTORY_MOVIE_GATE=0` | 20.1 | all (36-40 frames shown a second) | 0.11 ms | (Diagnostics profile, `--profile diag --features diagnostics`. The release profile still locks at 14 real fps with frame generation on, as in #1405; that is a separate problem.) ## Not done here A better fix would let frame generation come back on by itself in gameplay. For example, the lease could be renewed only while the Bink plane is part of what is presented, not on every call to a decoder that has a handle open. I didn't try that: I can't tell the in-world handle from a full-screen movie without knowing more about the gate's design. The launchers also don't set the switch. That's for you to decide (letterbox flicker in movies against frame generation in gameplay). `cargo test -p victory-gpu --lib` passes (551) and `cargo xtask policy --staged` is ok. `cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings` reports the same 16 errors with and without this change, none of them in its lines. Without `--no-deps` it stops earlier, at `victory-shader` (`colour` unused, a manual checked division); those are on main too. The new lines fit `rustfmt.toml`'s 100 columns. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
GTA VI keeps one Bink handle decoding through its open world (~140 Bink
calls a second), so every call renewed the 5 s idle lease and every present
was classed as a movie: "0 presents with it on" on every line after loading.
The switch is read once in take_movie_plane; unset or any value but 0 keeps
the gate as it is.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 21:08:09 +00:00
github-bot changed title from Frame generation never on in GTA VI's world: VICTORY_MOVIE_GATE=0 turns the movie gate off to Frame generation never on in Americas' open world: VICTORY_MOVIE_GATE=0 turns the movie gate off 2026-11-28 21:13:42 +00:00
github-bot force-pushed github-bot/gh-1513 from ea2b206451 to 94d3ea78dd 2026-11-28 21:13:43 +00:00 Compare
github-bot closed this pull request 2026-11-29 05:35:20 +00:00
Author
Owner

@⁠iridiumLotus on GitHub · 2026-11-29 05:30 UTC · original

Closing this: 9e61270 (#1579) fixes the same problem in the gate itself. A scene upscaled in the last 250 ms opens it, so frame generation now runs in the world without a switch. Thanks!

**@⁠iridiumLotus** on GitHub · 2026-11-29 05:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1513#issuecomment-7251296381) Closing this: 9e61270 (#1579) fixes the same problem in the gate itself. A scene upscaled in the last 250 ms opens it, so frame generation now runs in the world without a switch. Thanks!

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!1513
No description provided.