Stall watch: when a frame takes longer than VICTORY_STALL_MS, log memory counters and every thread's stack #5012
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!5012
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5011"
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?
@xteral67 on GitHub · 2026-12-01 17:17 UTC · original
xteral67:stall-watch→main· +266 −1 · 8 files · 1 commits · draftWhat it changes
Long freezes (seconds) are hard to explain from the frame log alone. With
VICTORY_STALL_MS=<ms>in a diagnostics build, a watcher thread notices when a frame takes longer than the threshold and writes:victory-loader/src/stacks.rs).All new code is behind
#[cfg(feature = "diagnostics")]; release builds do not change. Off unless the variable is set.How it was tested
cargo test, other cards, Series S profile, a release build with clippy.Checked for overlap
🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.