GPU: name a host pipeline a worker has held for a minute #520
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/520"
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 pug205gti6 on 2026-11-25T01:58:14Z.
Some driver compiles never end. On an RX 9070 XT (Adrenalin 32.0.32029.2010), AMD's compiler kept one pipeline worker on compute 39f0e9aeb156a61c for whole runs while its own heap grew past 30 GB, and the frame line only ever said "(1 being made)".
Each worker now records which pipeline it holds and since when. From the frame statistics, every second, a pipeline held for 60 s or more is named once in a warning with its shaders as
stage hash, the hashes VICTORY_SKIP_PIPELINES takes. Pipelines made on the calling thread (make::now, no workers) are not watched: a never-ending compile there stops that thread outright.Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T07:36:28Z.
Duplicate of #458: @IxMxAMAR opened this patch 46 minutes earlier, and
gh pr diffreturns the same bytes for both (+108/-2 on 3 file(s), same title).Please continue in #458 so the review history and any test data stay in one place.
Thanks.
Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T10:59:25Z.
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
d6744f6intomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort; PR #841 fixes them); with--all-featuresit fails with the same number of errors asmain(4). This PR adds none and removes none.cargo test --workspace --locked: run 1: one failure The failure isindirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields, which fails onmainitself most runs here (PR #849 fixes its assertion; see issue #850). Run 2: one failure in a different test,inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset; I did not look at it further, and it passed in my earlier whole-suite runs ofmain. The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
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.