DLSS frame generation held off during normal gameplay: the movie-plane gate treats Bink handles opened by the title as movies #1600
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1600
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@remygit1111 on GitHub · 2026-11-28 22:14 UTC · original
Summary
On
923e38c, DLSS Frame Generation is enabled (F1 shows FRAME GENERATION 2X > LIVE), loads without errors and the swap chain is Streamline's proxy, but it is almost never actually switched on. The stats panel (F3) shows FRAME GEN OFF. The log shows the new movie plane gate holding nearly every present off, while I am walking around and controlling a character, with no movie on screen.On
63b902f(before commit25b3b5c) frame generation worked on the same setup, so this looks like a regression from the movie-plane gate.Environment
VIctory-NVIDIA at
923e38c(also tried the commits around it;63b902fworks)Windows 11 (build 26300), NVIDIA driver 621.40, HAGS on
RTX 4080 16 GB, Ryzen 7 5800X3D, 32 GB RAM
Streamline 2.14.16 (Get-NVIDIA-DLSS.cmd, all DLLs Valid, signed by NVIDIA)
Own legitimate dump, Xbox Series build v1.0.2.1
Launcher: .\scripts\play-nvidia.ps1 -Exe '\game_scarlett_master.exe' -FrameGen -More @{VICTORY_TEXTURE_NO_WAIT='0'}
Series X, native 1440p (VICTORY_NATIVE_1440P=1), DLSS Performance (also seen with Quality), no SKIP_BINK
What I see
F1 menu: FRAME GENERATION 2X > LIVE. F3 panel: FRAME GEN OFF, about 15 fps rendered, nothing generated.
The game is in normal gameplay: I control a character and walk around. No movie is playing.
Now and then frame generation switches on for a few seconds and then off again.
Log evidence
Run A (victory-nvidia-20261128-222806.log, about 2.5 minutes of play):
Streamline: DLSS Frame Generation loaded streamline=2.14.16 ngx=310.9.16
Streamline: our swap chain is Streamline's proxy; DLSS Frame Generation can run on its presents
DLSS: upscaling recorded in place of the title's FidelityFX render=[1280, 720] output=[2560, 1440] mode="performance" ...
DLSS Frame Generation: first frame with depth and motion vectors tagged render=[1280, 720] output=[2560, 1440] ... interface_plane=true
So DLSS works (an upscaling is recorded in about 0.44 ms per frame), depth and motion vectors are tagged, and there is no status changed, no slSetConstants/slSetTagForFrame warning, no a present failed. But:
DLSS Frame Generation: 0 presents with it on, 31 off, 0 frames shown by it (status 0x0) (every line)
summed over the whole run: 0 presents with frame generation on, 3908 off, and DLSS Frame Generation switched never appears. The movie plane gate says why:
Bink movie width=1920 height=1080 frames=8328 looping=false skip=false (21:28:52)
...
movie plane gate: 188 plane uploads noted (140 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 15 presents held off, 0 presents not held off
movie plane gate: 194 plane uploads noted (140 Bink signs), 0 Bink movies opened, 0 closed, 1 still open; 17 presents held off, 0 presents not held off
From 21:28:55 to the end of the log (21:31:28), every present is held off. One Bink handle stays open, and the title keeps calling Bink on it (about 30 signs per second), so the idle release never triggers. The same pattern shows in a later session: 31 presents held off, 0 presents not held off at 21:34:08.
Run B (victory-nvidia-20261128-230142.log, no patch): frame generation switches on for a few seconds, and the moment it goes off lines up with a Bink handle opening:
22:05:24 closed=1 open=0 (a Bink handle closes)
22:05:28.99 DLSS Frame Generation switched frame=2193 on=true times=2 code=0 result="ok"
22:05:34.46 Bink movie width=1920 height=1080 frames=300 looping=false skip=false
22:05:34.60 DLSS Frame Generation switched frame=2253 on=false times=2 code=0 result="ok"
In the same run the handles open and close several times (frames=450, 900, 900, 866, 300, 1322), and presents are held off exactly while one is open (open=1, held=10..30, notheld=0), and released about five seconds after the last one closes. All through this I was controlling a character. Nothing on screen looked like a movie.
Where it comes from
25b3b5c("Fix VRAM admission and movie/FSR3 handling in victory-gpu") added take_movie_plane in crates/victory-gpu/src/streamline.rs and the video flag that present_begins receives: if video { false } else { code == 0 }, so every present classed as a movie keeps frame generation off.queue.rs (let video = crate::streamline::take_movie_plane(frame);) takes the class at the title's Present.
The class comes from note_plane_upload() (in HostList::plane_upload), bink_movie_opened() / bink_movie_closed() and the Bink wrappers in victory-hle/src/modules/bink.rs.
take_movie_plane_at: active while frame <= MOVIE_PLANE_UNTIL_FRAME, or within the idle hold (BINK_IDLE_HOLD_FRAMES = 1200, BINK_IDLE_HOLD_MS = 5000) after the last sign. A handle the title keeps calling Bink on never goes idle.
My reading (I have not traced what the title uses these handles for): the title opens and drives Bink handles during gameplay, probably for things other than a full-screen movie, and the gate takes any open handle with plane uploads as a movie being shown on the present.
Expected
Frame generation active during gameplay as before, held off only when a movie really covers the picture.
Workaround that confirms the cause
A local patch that makes take_movie_plane return false when VICTORY_MOVIE_GATE=0 is set (6 lines in streamline.rs). I only use it as a workaround; it also removes the protection for real movies with letterbox edges.
rust
pub(crate) fn take_movie_plane(frame: u64) -> bool {
//
VICTORY_MOVIE_GATE=0: never hold frame generation off for a movie.static OFF: std::sync::OnceLock = std::sync::OnceLock::new();
if *OFF.get_or_init(|| std::env::var_os("VICTORY_MOVIE_GATE").is_some_and(|v| v == "0")) {
return false;
}
take_movie_plane_at(frame, crate::host::now_ms())
}
Suggestions
An opt-out switch for the gate (as above), in the F1 menu too.
Decide the class from the presented picture rather than from an open handle, for instance only when the movie plane is what the present actually shows (still letterbox borders), or only when frames of the handle were decoded for this present.
Release the gate when no plane upload of that handle was shown for N frames, not only when the handle goes idle.
Log, once per handle, which Bink file or size the gate counted, so reports can tell whether it is really a movie.
@github-actions[bot] on GitHub · 2026-11-28 22:14 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@remygit1111 on GitHub · 2026-11-28 22:15 UTC · original
victory-nvidia-20261128-230142 - kopie.log
victory-nvidia-20261128-222806 - kopie.log
@kraiy404 on GitHub · 2026-11-28 22:21 UTC · original
Same here on an 8 GB card, and I think I found why it stops.
Setup: RTX 4060 Ti 8 GB, i5-13400F, 32 GB, Windows 11 26300, driver 621.24.
Series X, 2560x1440 output, DLSS quality, frame generation 2x.
Build: main as of 2026-11-28 19:25 UTC (
923e38c), release profile.Frame generation does not just stop - Streamline is refusing every present:
DLSS Frame Generation: 0 presents with it on, 11 off, 0 frames shown by it
DLSS Frame Generation switched frame=9036 on=true code=39 result="warning: out of VRAM"
DLSS Frame Generation switched frame=9069 on=false code=39 result="warning: out of VRAM"
1659 of those out-of-VRAM warnings in one session. The card was not out of VRAM though:
nvidia-smi reported 5562 MB of 8188 MB while the log said this, in the same second:
the texture queue's room: 7584 MB in use - 886 MB free in texture blocks
So the layer counts about 2 GB more in use than the card actually has, decides the budget
(7181 MB) is exceeded, refuses new textures (261 slots waiting for memory in that same
session) and tells Streamline there is no room.
That also explains the pop-in people are reporting: distant vegetation, fences and greenery
only appear when you get close, because their textures are in the queue, not on the card.
I went back to
63b902fe1(the commit before the 2026-11-28 18:12 UTC merge batch) with thesame settings and the same save: no out-of-VRAM warnings, frame generation runs 2x
(11 fps -> 22 shown), no pop-in, and nvidia-smi shows 6.9 GB. Same machine, same driver,
same settings, only the build differs.
Two more data points in case they help:
counted before the water line is applied, so a lower line just refuses more textures.
better than a card that is actually too small.
@remygit1111 on GitHub · 2026-11-28 22:26 UTC · original
I've noticed the pop-ins as well.
@dreisday on GitHub · 2026-11-28 22:58 UTC · original
I also am experiencing exactly the same on a 4060Ti 16GB. It's annoying as some of the other PRs in that big merge block have fixed a lot of the graphical artefacts. If I play for long enough framegen seems to magically come back on and then off again. Here's the log from a session where it started out off then comes on and back off again.
victory-nvidia-20261128-222329.log
@tiadiff on GitHub · 2026-11-28 23:26 UTC · original
I have an upstream-rebased fix for this in
upstream-contrib/dlss-fg-inworld-bink(branch based directly ond4b5d51) that automatically keeps DLSS Frame Generation active during 3D gameplay when in-world Bink handles are open while still gating full-screen Bink cutscenes.It tracks
DLSS_LAST_FRAMEinstreamline::evaluate()and letstake_movie_plane_at()bypass the movie gate when DLSS Super Resolution ran within the last 2 presents.Tested on RTX 4070 12 GB (Windows 11, Series S, DLSS Performance + 2x FG):
287 plane uploads noted (275 Bink signs)->0 presents with it on, 12 off, 0 frames shown151 plane uploads noted (151 Bink signs), 0 presents held off, 23 presents not held off->23 presents with it on, 0 off, 46 frames shown by it (status 0x0)Details,
git fetch/git cherry-pickcommand, and.patchlink are in #1683 (https://github.com/tiadiff/VIctory-NVIDIA-LowStutter/compare/d4b5d51...upstream-contrib/dlss-fg-inworld-bink.patch).@trustno1-coder on GitHub · 2026-11-28 23:57 UTC · original
Thanks for the logs and the bisect to
63b902f. This is the same bug as #1579, so I'm closing this one as a duplicate. Please follow #1579 for the fix.The fix is in testing: while the 3D scene is being upscaled, an open in-world Bink handle no longer holds frame generation off. A full-screen movie still does, to avoid the letterbox flicker. It will reach main with the next push.