Frame generation never on in Americas' open world: VICTORY_MOVIE_GATE=0 turns the movie gate off #1513
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1513"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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: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_planereadsVICTORY_MOVIE_GATEonce. If it is0, 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_zerocovers 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.
VICTORY_MOVIE_GATE=0(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 --libpasses (551) andcargo xtask policy --stagedis ok.cargo clippy -p victory-gpu --all-targets --no-deps -- -D warningsreports the same 16 errors with and without this change, none of them in its lines. Without--no-depsit stops earlier, atvictory-shader(colourunused, a manual checked division); those are on main too. The new lines fitrustfmt.toml's 100 columns.🤖 Generated with Claude Code
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!Pull request closed