Trace pipeline builds by their saved prewarm keys before the first frame #1191
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by BradRoland on 2026-11-25T23:26:58Z.
The 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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.