Pipelines: VICTORY_HELD_FRAME_MS=<ms> stops pipeline waits once a frame has gone that long without a present, so a cold library never holds it to the title's 30 s watchdog #1124
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!1124
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1124"
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?
@101Leafy on GitHub · 2026-11-28 13:43 UTC · original
101Leafy:nv/held-frame→main· +86 −19 · 12 files · 4 commits · merged 2026-11-29 08:16 UTCProblem
The title's GPU watchdog (the thread at image+0x2215a60) looks at the frame tick once a second and writes to address 0 after 30 looks with no new frame. Pipeline wait budgets are per title frame, so on a cold library a frame that is held can still wait a whole budget for each of several passes, plus the screen budget, and stay held past 30 s. The run then ends with the watchdog's write, and nothing in the log says pipeline waits held it.
Change
VICTORY_HELD_FRAME_MS=nnotes the time of each present (Meter::framecallspipeline::presented). Once n ms have gone by since the last present,waitreturns at once until the next present, and the draw goes ahead without the pipeline the way it does past a spent budget. A wait that starts before the limit is cut to what is left of it. One warning per held frame gives the time held and how many pipelines are still being made. Unset or 0: off, as before.Tested
Built. While the switch is unset, the only new work is reading it at each present and wait.
Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.
28f2891d2ftoa6c1df1349Pipelines: VICTORY_HELD_FRAME_MS=<ms> stops pipeline waits once a frame has gone that long without a present, so a cold library never holds it to the title's 30 s watchdogto [pr-fix, crash, startup] Pipelines: VICTORY_HELD_FRAME_MS=<ms> stops pipeline waits once a frame has gone that long without a present, so a cold library never holds it to the title's 30 s watchdog[pr-fix, crash, startup] Pipelines: VICTORY_HELD_FRAME_MS=<ms> stops pipeline waits once a frame has gone that long without a present, so a cold library never holds it to the title's 30 s watchdogto Pipelines: VICTORY_HELD_FRAME_MS=<ms> stops pipeline waits once a frame has gone that long without a present, so a cold library never holds it to the title's 30 s watchdoga6c1df1349to62ddb99d9c