GPU: name a host pipeline a worker has held for a minute #458
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!458
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-458"
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?
@IxMxAMAR on GitHub · 2026-11-25 01:12 UTC · original
IxMxAMAR:gpu/name-slow-pipeline-makes→main· +108 −2 · 3 files · 1 commits · openSome driver compiles never end. On an RX 9070 XT (Adrenalin 32.0.32029.2010), AMD's compiler kept one pipeline worker on
compute 39f0e9aeb156a61cfor whole runs (the early start of a skipped pipeline, #172) while its own heap grew past 30 GB. The frame line only ever said(1 being made), so it took several runs and an outside memory probe to name the shader.Change
make::hold).stage hash, the formVICTORY_SKIP_PIPELINEStakes:a host pipeline is still being made: the driver's compile may never end (VICTORY_SKIP_PIPELINES takes its shader hashes) shaders=compute 39f0e9aeb156a61c seconds=61make::now, or when no worker could start) are not watched: a compile that never ends there stops that thread outright, which shows anyway.Not gated on
diagnostics: the frame statistics run in every build.Tests
pipeline::make::tests::a_pipeline_held_a_minute_is_named_once(no GPU: a start time a minute back stands for the endless compile): named once at 60 s, not again 5 s later, and a pipeline held 30 s less is not named.cargo test -p victory-gpu --lib: 113 passed.cargo clippy -p victory-gpu --all-targets -- -D warnings, with and without--all-features: clean.Made with the help of an AI.
@IxMxAMAR on GitHub · 2026-11-25 02:37 UTC · original
Seen in the game: a run of
c96b4f2with this PR (plus #195, #459, #318 and a NaN guard), RX 9070 XT,39f0e9aeb156a61cnot skipped, loggedThe pipeline was made 11 s later (about 70 s in all, in line with tightfall's ~80 s since
1684989), and no other pipeline was held for a minute in the 14-minute run. On a tree from before1684989, the same line would have named the compile that never ended within its first minute.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.