Trace pipeline builds by their saved prewarm keys before the first frame #1194
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1194
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1194"
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?
@BradRoland on GitHub · 2026-11-25 23:26 UTC · original
BradRoland:codex/trace-startup-pipeline-keys→main· +30 −2 · 2 files · 1 commits · openThe startup report in #1181 narrowed a hang to a set of 14 entries in
early-pipelines.txt. Reading that file only establishes membership. The title later creates matching pipelines, and several workers can compile them at once. A tester needs the saved key of each outstanding build, even if the first frame never arrives.This adds two diagnostics-level events around the actual host pipeline construction. The start records the saved pipeline key, thread ID, and shader stage/hash. The finish repeats the key and thread and records whether a host pipeline was made. The events are inside the one-time initializer so another caller requesting the same pending build does not duplicate them. Set
VICTORY_LOG=info,victory_gpu::pipeline::make=debugfor a diagnostics build. Stderr can be captured from launch, and the diagnostics README includes the PowerShell command.I verified the ordering with a synthetic shader, a temporary early list, the real prewarm worker and the application's logging subscriber. With translation held open, I read a matching start before releasing the worker. A D3D12 WARP compute pipeline then logged
made=true, and a separate refused build loggedmade=false. Re-requesting the same pending pipeline produced one pair. The normal info filter was silent for these events. No game files were used. An unmatched start identifies work still outstanding when logging stopped. Establishing which pipeline causes the reported hang still requires a run on the affected setup.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.