fix(gpu): fence asynchronous timestamp slot reuse #144
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!144
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-144"
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?
@krofty on GitHub · 2026-11-27 18:50 UTC · original
fix/timestamp-slot-fences→main· +101 −20 · 2 files · 1 commits · closed without mergingThe optional asynchronous timestamp ring reused query/list/readback slots after 512 submissions, without checking whether their earlier execution had completed. Under a backlog that can read incomplete data and reuse storage still owned by the GPU.
Track each slot's existing submission fence and reserve it only after completion. Busy slots skip sampling without waiting; unused slots are never read, and the CPU no longer zeros the readback mapping. Device-loss values fail closed. The feature stays off by default.
Closes #136.
Report skipped samples and describe gaps as time between brackets, which includes unmeasured helpers and idle. The delayed samples divided by the current host-frame count remain a steady-scene approximation, not completed-frame percentiles or pure title time.
Validation:
Pull request closed