Diagnostics: request a frame capture while the title is running #896
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!896
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-896"
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?
@Yoshi-233 on GitHub · 2026-11-28 08:43 UTC · original
Yoshi-233:diagnostics/request-frame-capture→main· +93 −2 · 3 files · 1 commits · merged 2026-11-29 08:16 UTCThis adds an on-demand trigger to the existing Windows diagnostics capture. It is useful for views that are hard to reproduce at a predetermined frame number, such as the submerged edge in #739.
VICTORY_CAPTURE=<existing directory>andVICTORY_CAPTURE_ON_REQUEST=1. AddVICTORY_DUMP_TARGETS=1if intermediate targets are needed.next-frame.requestin that directory. The present path checks at most four times a second and consumes the file once.capturing the requested frame. The existing capture code writes its normal PNG, operation list and any enabled target dumps. Create the file again to request another sample.The request selects present counter + 2 since recording for + 1 may already have started. A queued present can still recognise an earlier selection after a new request is armed. The trigger uses the same numbering as
VICTORY_CAPTURE_FRAMES; correlation with independent upscaler evaluations still needs the corresponding logs.Validation: The Windows capture tests include creating and consuming two markers, polling an absent marker, and recognising both selected frames while excluding their neighbours. With the earlier implementation of the same trigger on a 4070 Ti SUPER, four requests in one session produced PNGs, operation lists and target dumps at 14967, 15864, 18052 and 18670. The underwater pictures were at 15864 and 18052.