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

Closed
iridiumLotus wants to merge 1 commit from upstream-pr/1513 into main
iridiumLotus commented 2026-11-28 21:07:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iridiumLotus on 2026-11-28T21:07:10Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5544579074 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1513). Originally posted by [iridiumLotus](https://github.com/iridiumLotus) on 2026-11-28T21:07:10Z. --- 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)
iridiumLotus commented 2026-11-29 05:30:45 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iridiumLotus on 2026-11-29T05:30:45Z.


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!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7251296381 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1513#issuecomment-7251296381). Originally posted by [iridiumLotus](https://github.com/iridiumLotus) on 2026-11-29T05:30:45Z. --- 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

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!1513
No description provided.