Passes over the screen are queued at creation by default (VICTORY_SCREEN_EARLY) #4893
No reviewers
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!4893
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4892"
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?
@NICKNAMErutschovkonikovan on GitHub · 2026-12-01 13:07 UTC · original
NICKNAMErutschovkonikovan:pr/screen-early→main· +12 −6 · 2 files · 2 commits · openRefs #4663
What it changes
VICTORY_SCREEN_EARLYis now on by default. A pass over the screen is queued when the title creates it, instead of first when a draw asks for it, so it no longer waits behind the slow list or behind other draws' requests.VICTORY_SCREEN_EARLY=0restores the old order. The README table now gives the new default.#4663 logged screen-budget pipeline waits of up to 3 s, several of them in one frame. On an RTX 5090 we saw the same stalls, up to 4 s, while driving into areas whose pipelines were not made yet. The switch already exists and is off by default; this PR only changes that default.
How it was tested
=0: 18.88 and 19.00 fps.=1: 19.16 and 19.11 fps.cargo test -p victory-gpu --lib -- pipeline::make: 38 passed.cargo clippy -p victory-gpu --all-targets -- -D warnings: stops at errors that are already onmain(5fabb46e) and are not from this change:host/font.rs213 and 260,too_many_arguments, from #4635.host/menu.rs667,manual_is_multiple_of.host/panel.rs602 and 668,collapsible_if.Checked for overlap
🤖 Generated with Claude Code
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:29 UTC · original
On
d561a696,VICTORY_SCREEN_WAIT_MS=0disables the screen priority queue. The slow-queue check still excludes fullscreen pipelines wheneverSCREEN_EARLYis on, so a previously recorded slow fullscreen pipeline can move into the ordinary early queue and bypass the slow-worker limit.bcebf7dd uses the same early-screen predicate for scheduling and for the slow-queue exception. The exact Windows queue fixture routed a cached slow fullscreen pipeline to
earlyon the author head with screen priority disabled and toslowwith the patch. With screen priority on it routed toscreen, and the explicit early-off and non-screen cases routed toslow. The staged asset check passed.The fresh v2026.11.30.03 log in #4918 also records two waits under the screen budget, 559 and 586 ms, next to frame peaks of 555 and 587 ms. That budget is shared by multiple pipeline classes, so the log establishes the delay and leaves the classification to check.
Please keep the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change in.AI-assisted with OpenAI Codex.
@NICKNAMErutschovkonikovan on GitHub · 2026-12-01 14:45 UTC · original
Thanks, good catch. Your commit is in as
77fa7f03with you as its author: the slow-queue exception and the early start now use the same predicate, so with VICTORY_SCREEN_WAIT_MS=0 a slow fullscreen pipeline stays under the slow-worker limit.cargo test -p victory-gpu --lib -- pipeline::make: 38 passed.@kyle7908 on GitHub · 2026-12-01 15:18 UTC · original
RTX 4070 Series S check
Inconclusive. The manual baseline reproduced four screen-pass waits during movement. With early queuing enabled, the worst present gap was shorter, but the number of gaps over 100 ms rose. Neither arm logged a screen-pass wait during the recorded-input replay, so the larger benchmark would have had no baseline reproduction of the target stall on this route.
The PR now includes
77fa7f03, which keeps slow fullscreen pipelines under the slow-worker limit whenVICTORY_SCREEN_WAIT_MS=0. I tested the existingVICTORY_SCREEN_EARLYswitch with values0and1in the officialv2026.11.30.03binary (e1251c31). The exact PR branch, including77fa7f03, remains untested in this report. All runs used the release default forVICTORY_SCREEN_WAIT_MSand leave that queue-routing case outside the measurement.Ryzen 7 9850X3D, RTX 4070 12 GB (driver 610.88), 32 GB RAM, Windows 11. Series S, 960×540 internal and 1920×1080 output, DLSS Performance, 60 FPS cap, frame generation and RT off. Each 180-second run started from a fresh copy of the same save and VIctory cache snapshot. The driver cache was shared across runs.
The four manual baseline waits totalled 2,846 ms of logged wait time. The manual enabled arm logged three waits totalling 4,325 ms before the measurement cue. The manual cue occurred about 125 s after first present with the switch off and 96 s with it on, so the wait totals describe different startup windows. Both replay arms used the same recorded controller input and cue timing.
PresentMon yielded 5,033 and 5,428 timed samples in the replay arms. Route counts and longest gaps come from VIctory's rendered-present log. All four measured runs exited cleanly. Visual differences and CPU package temperature were unverified. One earlier setup launch stopped before the route cue and supplied no benchmark data.
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.