Keep the compute wait budget on the newest frame #1831
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!1831
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1831"
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?
@Ondra97 on GitHub · 2026-11-29 00:36 UTC · original
Ondra97:codex/keep-compute-wait-frame-budget→main· +28 −13 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCRelated to #628 and the compute wait budget added in
88244e8.What it changes
The current frame's compute wait accounting lives in a single slot. A late completion or check tagged with an older frame could move that slot backwards, discarding the budget already spent in the newer frame. Advance the slot only for a newer frame. An older dispatch uses the normal wait path and an older completion leaves the active slot alone.
This preserves the configured threshold. A synchronous pipeline creation already in progress can still run past the remaining budget.
How it was tested
Checked for overlap
88244e8. #901 handles held queue work. This change preserves the current main implementation and fixes frame ordering in its accounting.@nick0451 on GitHub · 2026-11-29 03:54 UTC · original
Checked against the #628 symptom: this PR merged onto main
568c5e5, RTX 3090, Windows 11, 3 of 3 fresh first starts reached the world (a new executable name and file hash each time, the same frozen save). As on main, each start logged the cap taking over (compute pipelines: this frame waited its most for them). There was no crash, and the in-game frame rate is unchanged.🤖 Generated with Claude Code