Frame generation stuck at one frame a present is switched off and on again #592
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!592
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-592"
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?
@Creaa on GitHub · 2026-11-28 01:30 UTC · original
Creaa:framegen-rearm-stuck→main· +77 −0 · 1 files · 1 commits · openDLSS Frame Generation can get stuck showing one frame a present: Streamline keeps it on with status
0x0, butnum_frames_actually_presentedstays at 1 until the next switch. In one 38-minute run on an RTX 4070 it stayed that way for about 10 minutes (from 1.97x to 1.15x shown frames per rendered frame for the rest of the session). Each time it started right after Streamline'sdlfgPresent.cpp:1553 Couldn't lock the mutex on sync present - will skip the present.What is in it (
crates/victory-gpu/src/streamline.rs)present_endscounts presents in a row that show one frame while 2 or more are asked (status read as before). AtVICTORY_FRAMEGEN_REARMpresents (90 unless set;0turns it off) it sets frame generation off, asresizing()does, and the next present with an upscaling asks it on again. Each time is logged as a warning with a running count.stuck_stepholds the counting; two unit tests cover the switch at the limit, the reset on a present with 2 frames, and the off / disabled cases.Tested (RTX 4070 12 GB, driver 617.14, i7-13700F, 32 GB, Windows 11 26300; release build of this branch on
64d4931; Series X 2560x1440, DLSS Quality,-FrameGen)a4d05e7(the new tests sit besidefailing_testsat the end of the file):cargo test -p victory-gpu --lib streamline: 16 passed. The game runs below were on64d4931.cargo test -p victory-gpu --lib frame_generation: 2 passed.cargo clippy -p victory-gpu --all-targets -- -D warnings: nothing in the new lines (the crate has other, older findings with Rust 1.98).0cef07e, same PC and settings): stuck from 20:23:55 to about 20:33, 1.15x after it.Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.