Async calls: VICTORY_ASYNC_LOG=1 logs each call's begin, completion and routine with its queue and port modes, and any still waiting after VICTORY_ASYNC_LOG_MS #1667
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!1667
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1667"
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 23:13 UTC · original
101Leafy:nv/async-log→main· +202 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTCWhat it changes
VICTORY_ASYNC_LOG=1logs each async call when it begins. The line carries its identity, its provider, and the queue's two port modes. A second line at completion gives the result. It also says whether a routine ran.VICTORY_ASYNC_LOG_MS(default 5000) sets how long a call may wait before a watcher thread lists it as still waiting. Unset, it logs nothing. No thread starts.The block address is only used as a key in the log's own map, never read.
How it was tested
cargo clippy -p victory-hle --all-targetsboth with--features diagnosticsand without it: no warnings in xasync.rsChecked for overlap
b71f0cda97to311be1360c