victory-gpu: VICTORY_SKIP_PIPELINES works in release builds, where the removals are #2694

Open
pes7 wants to merge 1 commit from upstream-pr/2696 into main
pes7 commented 2026-11-25 18:23:37 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by pes7 on 2026-11-25T18:23:37Z.


VICTORY_SKIP_PIPELINES answers the one question a removal report needs - "is this shader the one?" - and until now it only worked in a --features diagnostics build. That is the build where the removal does not happen: on this machine the release build loses the device 10 s in, while the same build with diagnostics and no debug layer runs 180 s without losing it. So the switch now works in every build; only its reporting (dropped ... without a host pipeline, the breadcrumb line) stays diagnostics.

Verified on the title, release build:

VICTORY_SKIP_PIPELINES=0602c2384acbb3b2   ->  "dropped 1 without a host pipeline" in the menu frame line

(unset: 0 dropped; a skipped pipeline is dropped exactly like one with no host pipeline, so the frame line shows it.)

What it is not: it does not fix anything by itself, and it does not identify a shader for you. For #2661 and #2671 that means a tester can now do the experiment in the build that crashes.

One correction to what I wrote earlier in #1633, while using it: the first bind pipeline=... lines are logged by the pipeline worker that builds the host pipeline, so they do not place a command in the submission that died. I read them as "this dispatch is in the dying list" - skipping both compute pipelines named there dropped 0 draws and the removal happened at the same place, which is the measurement that shows they were only being made at the time. VICTORY_D3D12_DEBUG=1 with breadcrumbs (note_op) stays the only way to name the command.

cargo test --workspace --locked; both clippy configurations with -D warnings; cargo xtask policy.

What it gives (to decide the merge): VICTORY_SKIP_PIPELINES works in release builds - the builds where the device removals actually reproduce (measured: release removes the device 10 s in; the same build with --features diagnostics runs 180 s without removing it). It is the switch testers use to answer "is this shader the one that hangs the GPU?" and it could only be asked of the build that does not reproduce the problem.

State: MERGEABLE, CI check green, rebased onto today's main (f3578e3).

Risk: none without the variable: the list is read once, and empty is the false it was before.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6610959585 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696). Originally posted by [pes7](https://github.com/pes7) on 2026-11-25T18:23:37Z. --- `VICTORY_SKIP_PIPELINES` answers the one question a removal report needs - "is this shader the one?" - and until now it only worked in a `--features diagnostics` build. That is the build where the removal does not happen: on this machine the release build loses the device 10 s in, while the same build with diagnostics and no debug layer runs 180 s without losing it. So the switch now works in every build; only its reporting (`dropped ... without a host pipeline`, the breadcrumb line) stays diagnostics. Verified on the title, release build: ``` VICTORY_SKIP_PIPELINES=0602c2384acbb3b2 -> "dropped 1 without a host pipeline" in the menu frame line ``` (unset: 0 dropped; a skipped pipeline is dropped exactly like one with no host pipeline, so the frame line shows it.) What it is *not*: it does not fix anything by itself, and it does not identify a shader for you. For #2661 and #2671 that means a tester can now do the experiment in the build that crashes. One correction to what I wrote earlier in #1633, while using it: the `first bind pipeline=...` lines are logged by the pipeline *worker* that builds the host pipeline, so they do not place a command in the submission that died. I read them as "this dispatch is in the dying list" - skipping both compute pipelines named there dropped 0 draws and the removal happened at the same place, which is the measurement that shows they were only being *made* at the time. `VICTORY_D3D12_DEBUG=1` with breadcrumbs (`note_op`) stays the only way to name the command. cargo test --workspace --locked; both clippy configurations with `-D warnings`; `cargo xtask policy`. --- **What it gives (to decide the merge):** `VICTORY_SKIP_PIPELINES` works in release builds - the builds where the device removals actually reproduce (measured: release removes the device 10 s in; the same build with `--features diagnostics` runs 180 s without removing it). It is the switch testers use to answer "is this shader the one that hangs the GPU?" and it could only be asked of the build that does not reproduce the problem. **State:** MERGEABLE, CI `check` green, rebased onto today's `main` (`f3578e3`). **Risk:** none without the variable: the list is read once, and empty is the `false` it was before.
DrDarkDK commented 2026-11-25 19:06:21 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DrDarkDK on 2026-11-25T18:28:19Z.


A release run can show dropped 0 without a host pipeline even when VICTORY_SKIP_PIPELINES matched an indirect dispatch. State::execute_indirect returns false on a match, and its caller increments the generic indirect counter, which also includes unrelated drops.

Could release log the first actual skip for each configured hash, or count explicit skips separately? A check with one matching indirect dispatch would verify that testers can tell when the filter took effect.

Static review only.

AI-assisted with Codex.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170952949 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7170952949). Originally posted by [DrDarkDK](https://github.com/DrDarkDK) on 2026-11-25T18:28:19Z. --- A release run can show `dropped 0 without a host pipeline` even when `VICTORY_SKIP_PIPELINES` matched an indirect dispatch. `State::execute_indirect` returns `false` on a match, and its caller increments the generic `indirect` counter, which also includes unrelated drops. Could release log the first actual skip for each configured hash, or count explicit skips separately? A check with one matching indirect dispatch would verify that testers can tell when the filter took effect. Static review only. *AI-assisted with Codex.*
kotekompotek commented 2026-11-25 19:06:36 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T18:50:03Z.


Sound reasoning: the experiment needs to run in the build that exhibits the removal, and a diagnostics build changes the timing enough to hide it on these machines. The skip itself is correctly ungated while note_drop/dropped stay diagnostics-only, and DROPPED still increments so the frame line reports it.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7171463705 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7171463705). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T18:50:03Z. --- Sound reasoning: the experiment needs to run in the build that exhibits the removal, and a diagnostics build changes the timing enough to hide it on these machines. The skip itself is correctly ungated while note_drop/dropped stay diagnostics-only, and DROPPED still increments so the frame line reports it.
fuzeofficlal commented 2026-11-25 20:06:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-25T19:15:49Z.


Independent Windows 11 + NVIDIA GeForce RTX 5090 + WARP verification and review of e3b1dbc (on 13f91ca):

Verification (rustc 1.98.1 MSVC)

  • cargo clippy --locked -p victory-gpu --all-targets -- -D warnings and --features diagnostics: 0 warnings.
  • WARP (VICTORY_D3D12_WARP=1): cargo test --locked -p victory-gpu --features diagnostics -> 198 passed, 0 failed, 1 ignored.
  • RTX 5090 (default features, non-diagnostics): cargo test --locked -p victory-gpu -> 193 passed, 2 failed, 1 ignored (only the 2 pre-existing RTX 5090 1M view-heap cap baseline failures from #1744).

Review Notes

  • Unset VICTORY_SKIP_PIPELINES pays only an OnceLock acquire load + empty-slice check with no locks or allocations, and all diagnostic-only drop/trace tables remain cleanly gated under feature = "diagnostics".
  • Covers all 4 execution entry points (prepare_for for graphics/mesh, dispatch, and execute_indirect ahead of indirect::bound). Clean and ready to merge.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7172051667 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7172051667). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-25T19:15:49Z. --- Independent Windows 11 + NVIDIA GeForce RTX 5090 + WARP verification and review of `e3b1dbc` (on `13f91ca`): ### Verification (`rustc 1.98.1` MSVC) - `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` and `--features diagnostics`: **0 warnings**. - **WARP (`VICTORY_D3D12_WARP=1`):** `cargo test --locked -p victory-gpu --features diagnostics` -> **198 passed, 0 failed, 1 ignored**. - **RTX 5090 (default features, non-`diagnostics`):** `cargo test --locked -p victory-gpu` -> **193 passed, 2 failed, 1 ignored** (only the 2 pre-existing RTX 5090 1M view-heap cap baseline failures from #1744). ### Review Notes - Unset `VICTORY_SKIP_PIPELINES` pays only an `OnceLock` acquire load + empty-slice check with no locks or allocations, and all diagnostic-only drop/trace tables remain cleanly gated under `feature = "diagnostics"`. - Covers all 4 execution entry points (`prepare_for` for graphics/mesh, `dispatch`, and `execute_indirect` ahead of `indirect::bound`). Clean and ready to merge.
cloph-dsp commented 2026-11-25 20:06:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T19:38:34Z.


Independent local verification (claim VERIFY-2696-SKIP-RELEASE on #1633), Windows / rustc+cargo 1.100.0 / MSVC, CARGO_BUILD_JOBS=2, no game files, no GPU, no clippy/rustup, no source edits.

  • cargo test --locked -p victory-gpu --lib --quiet → 193 passed, 1 ignored, 2 failed: descriptor::host::tests::dynamic_slots_are_held_until_released and memory::tests::lists_share_a_table_and_copies_keep_their_views.
  • Both failures reproduce on base origin/main 13f91ca (same two tests, 1 failed each), so they are pre-existing and unrelated to this diff.
  • cargo test --locked -p victory-gpu --lib --quiet pipeline → 16 passed, 0 failed.
  • git diff --check origin/main..HEAD clean.
  • Negative control: on origin/main, crates/victory-gpu/src/pipeline.rs:299 still has pub(crate) fn is_skipped behind #[cfg(all(windows, feature = "diagnostics"))]; this PR removes that gate so the skip works in release builds while keeping note_drop/dropped diagnostics-only.

No blocking findings from this verification; the two red tests are already red on main. AI-assisted (Hy4 flash).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7172575932 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7172575932). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-11-25T19:38:34Z. --- Independent local verification (claim `VERIFY-2696-SKIP-RELEASE` on #1633), Windows / rustc+cargo 1.100.0 / MSVC, `CARGO_BUILD_JOBS=2`, no game files, no GPU, no clippy/rustup, no source edits. - `cargo test --locked -p victory-gpu --lib --quiet` → 193 passed, 1 ignored, 2 failed: `descriptor::host::tests::dynamic_slots_are_held_until_released` and `memory::tests::lists_share_a_table_and_copies_keep_their_views`. - Both failures reproduce on base `origin/main` 13f91ca (same two tests, 1 failed each), so they are pre-existing and unrelated to this diff. - `cargo test --locked -p victory-gpu --lib --quiet pipeline` → 16 passed, 0 failed. - `git diff --check origin/main..HEAD` clean. - Negative control: on `origin/main`, `crates/victory-gpu/src/pipeline.rs:299` still has `pub(crate) fn is_skipped` behind `#[cfg(all(windows, feature = "diagnostics"))]`; this PR removes that gate so the skip works in release builds while keeping `note_drop`/`dropped` diagnostics-only. No blocking findings from this verification; the two red tests are already red on main. AI-assisted (Hy4 flash).
Marvisak commented 2026-11-25 23:06:02 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:15:24Z.


Automated triage for the maintainers.

Recommended for a maintainer's look. VICTORY_SKIP_PIPELINES now works in release builds. skip_hashes / skipped_shader in crates/victory-gpu/src/pipeline.rs lose the diagnostics gate, and is_skipped asks skipped_shader(&pipeline(this).shaders, skip_hashes()) instead of the host's diagnostics-only stored field. The three checks in draw.rs (prepare_for, dispatch, execute_indirect) run in every build, with only dropped / note_drop / note_op gated. With the variable unset, the cost per draw is a OnceLock read and an empty-slice check. It merges cleanly and CI check is passing.

On your reply: the adaptation to #1653's skip_hashes / skipped_shader shapes reads correctly. Two small nits, neither blocking:

  • is_skipped now has no cfg while skip_hashes is #[cfg(windows)]; a #[cfg(windows)] on is_skipped would keep non-Windows builds of pipeline.rs compiling.
  • The new doc comment on skip_hashes carries rationale that the repo prefers kept out of code; one line would do.

DrDarkDK's point also stands: a skipped indirect dispatch shows up only in the generic indirect counter in release.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7176132748 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7176132748). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T22:15:24Z. --- <!-- victory-triage v1 head=e34bd8c7c712f2f4f847cd2e16222353325e002b verdict=merge-candidate at=2026-11-26T00:25:03Z --> Automated triage for the maintainers. Recommended for a maintainer's look. `VICTORY_SKIP_PIPELINES` now works in release builds. `skip_hashes` / `skipped_shader` in `crates/victory-gpu/src/pipeline.rs` lose the `diagnostics` gate, and `is_skipped` asks `skipped_shader(&pipeline(this).shaders, skip_hashes())` instead of the host's diagnostics-only stored field. The three checks in `draw.rs` (`prepare_for`, `dispatch`, `execute_indirect`) run in every build, with only `dropped` / `note_drop` / `note_op` gated. With the variable unset, the cost per draw is a `OnceLock` read and an empty-slice check. It merges cleanly and CI `check` is passing. On your reply: the adaptation to #1653's `skip_hashes` / `skipped_shader` shapes reads correctly. Two small nits, neither blocking: - `is_skipped` now has no `cfg` while `skip_hashes` is `#[cfg(windows)]`; a `#[cfg(windows)]` on `is_skipped` would keep non-Windows builds of `pipeline.rs` compiling. - The new doc comment on `skip_hashes` carries rationale that the repo prefers kept out of code; one line would do. DrDarkDK's point also stands: a skipped indirect dispatch shows up only in the generic indirect counter in release. --- _Generated by [Claude Code](https://claude.ai/code)_
pes7 commented 2026-11-25 23:06:18 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by pes7 on 2026-11-25T22:24:45Z.


Rebased onto today's main (f3578e3) and adapted to the skip list that landed meanwhile (#1653's skip_hashes/skipped_shader shapes):

  • parse_skip_hashes is #[cfg(any(windows, test))] and skip_hashes/skipped_shader are #[cfg(windows)] - no feature = "diagnostics";
  • is_skipped no longer reads the host pipeline's stored skipped_shader field (that one is only filled in diagnostics builds): it asks skipped_shader(&pipeline(this).shaders, skip_hashes()), so a release build answers too, and Pending::new's signature and make.rs need no change;
  • draw.rs keeps the three is_skipped checks in every build and gates only their reporting, as before.

Checked both configurations: cargo build --release -p victory and --features diagnostics build, cargo test --release -p victory-gpu passes (228), clippy clean.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7176329544 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7176329544). Originally posted by [pes7](https://github.com/pes7) on 2026-11-25T22:24:45Z. --- Rebased onto today's `main` (`f3578e3`) and adapted to the skip list that landed meanwhile (#1653's `skip_hashes`/`skipped_shader` shapes): - `parse_skip_hashes` is `#[cfg(any(windows, test))]` and `skip_hashes`/`skipped_shader` are `#[cfg(windows)]` - no `feature = "diagnostics"`; - `is_skipped` no longer reads the host pipeline's stored `skipped_shader` field (that one is only filled in diagnostics builds): it asks `skipped_shader(&pipeline(this).shaders, skip_hashes())`, so a release build answers too, and `Pending::new`'s signature and `make.rs` need no change; - `draw.rs` keeps the three `is_skipped` checks in every build and gates only their reporting, as before. Checked both configurations: `cargo build --release -p victory` and `--features diagnostics` build, `cargo test --release -p victory-gpu` passes (228), clippy clean.
Dukestar69 commented 2026-11-26 05:02:57 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-26T04:31:19Z.

Review: APPROVED


Tested merged onto origin/main (63bcca4) on Windows 11 x64:

  • cargo test -p victory-gpu --lib pipeline::tests: 4 passed, 0 failed.
  • cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.
  • cargo clippy -p victory-gpu --all-targets --features diagnostics -- -D warnings: clean.
  • cargo xtask policy: 191 files ok.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6068574390 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#pullrequestreview-6068574390). Originally posted by [Dukestar69](https://github.com/Dukestar69) on 2026-11-26T04:31:19Z. **Review:** APPROVED --- Tested merged onto `origin/main` (`63bcca4`) on Windows 11 x64: - `cargo test -p victory-gpu --lib pipeline::tests`: **4 passed, 0 failed**. - `cargo clippy -p victory-gpu --all-targets -- -D warnings`: clean. - `cargo clippy -p victory-gpu --all-targets --features diagnostics -- -D warnings`: clean. - `cargo xtask policy`: 191 files ok. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
fuzeofficlal commented 2026-11-26 13:03:47 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T12:54:36Z.

Review: CHANGES_REQUESTED


Reviewed and verified e34bd8c7 merged locally onto origin/main (63bcca43) on Windows 11 x64 (NVIDIA GeForce RTX 5090 and WARP, Rust 1.98.1 MSVC, Windows SDK 10.0.26100.0 dxil.dll; synthetic tests only, no game files).

Windows release and diagnostics behavior looks clean and verified:

  • Unset VICTORY_SKIP_PIPELINES only pays a single OnceLock read and empty-slice check on the hot path, and all three execution entry points in crates/victory-gpu/src/draw.rs (prepare_for at :516-519, dispatch at :1074-1080, and execute_indirect ahead of argument clamping at :1684-1692) are covered while keeping diagnostic drop/trace tables gated.
  • cargo xtask policy (190 files ok), cargo clippy --locked -p victory-gpu --all-targets -- -D warnings (default & --all-features), cargo check --locked --release -p victory, RTX 5090 dev & --release (26/26), RTX 5090 & WARP diagnostics + DEBUG=1 (28/28), combined #2654 + #2696 (27/27), and a live non-diagnostics --release VICTORY_SKIP_PIPELINES=<hash> probe all passed.

One-line fix needed

  • pub(crate) fn is_skipped (crates/victory-gpu/src/pipeline.rs:321-323) removed #[cfg(all(windows, feature = "diagnostics"))] completely instead of keeping #[cfg(windows)]. Because crates/victory-gpu/src/lib.rs:44 compiles pub mod pipeline; unconditionally on all targets, while skip_hashes (:301-308) and skipped_shader (:310-319) remain #[cfg(windows)], is_skipped fails to compile (E0425) on non-Windows targets. Please restore #[cfg(windows)] on is_skipped.

Non-blocking note

  • Pending::new in crates/victory-gpu/src/pipeline/make.rs still gates skipped_shader behind #[cfg(feature = "diagnostics")], so in release builds prebuilt/early-started pipelines matching VICTORY_SKIP_PIPELINES can still compile on background workers even though all draws/dispatches/indirect executions are omitted.
<!-- greyfinch-sync:Marvisak/VIctory:review:6074471145 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#pullrequestreview-6074471145). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T12:54:36Z. **Review:** CHANGES_REQUESTED --- Reviewed and verified `e34bd8c7` merged locally onto `origin/main` (`63bcca43`) on Windows 11 x64 (NVIDIA GeForce RTX 5090 and WARP, Rust `1.98.1` MSVC, Windows SDK `10.0.26100.0` `dxil.dll`; synthetic tests only, no game files). Windows release and diagnostics behavior looks clean and verified: - Unset `VICTORY_SKIP_PIPELINES` only pays a single `OnceLock` read and empty-slice check on the hot path, and all three execution entry points in `crates/victory-gpu/src/draw.rs` (`prepare_for` at `:516-519`, `dispatch` at `:1074-1080`, and `execute_indirect` ahead of argument clamping at `:1684-1692`) are covered while keeping diagnostic drop/trace tables gated. - `cargo xtask policy` (`190 files ok`), `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` (default & `--all-features`), `cargo check --locked --release -p victory`, RTX 5090 dev & `--release` (**26/26**), RTX 5090 & WARP `diagnostics + DEBUG=1` (**28/28**), combined `#2654 + #2696` (**27/27**), and a live non-`diagnostics` `--release` `VICTORY_SKIP_PIPELINES=<hash>` probe all passed. ### One-line fix needed - `pub(crate) fn is_skipped` (`crates/victory-gpu/src/pipeline.rs:321-323`) removed `#[cfg(all(windows, feature = "diagnostics"))]` completely instead of keeping `#[cfg(windows)]`. Because `crates/victory-gpu/src/lib.rs:44` compiles `pub mod pipeline;` unconditionally on all targets, while `skip_hashes` (`:301-308`) and `skipped_shader` (`:310-319`) remain `#[cfg(windows)]`, `is_skipped` fails to compile (`E0425`) on non-Windows targets. Please restore `#[cfg(windows)]` on `is_skipped`. ### Non-blocking note - `Pending::new` in `crates/victory-gpu/src/pipeline/make.rs` still gates `skipped_shader` behind `#[cfg(feature = "diagnostics")]`, so in release builds prebuilt/early-started pipelines matching `VICTORY_SKIP_PIPELINES` can still compile on background workers even though all draws/dispatches/indirect executions are omitted.
nullexxx commented 2026-11-27 02:20:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by nullexxx on 2026-11-27T02:20:15Z.


Seconding @fuzeofficlal's note about Pending::new in crates/victory-gpu/src/pipeline/make.rs — ungating the early made.set(None) skip check in release builds (keeping only the diagnostic reason/logging behind feature = "diagnostics") is critical for compiler hangs, not just GPU execution hangs.

On Linux/Proton (vkd3d-proton, CachyOS, GE-Proton11-14, RTX 5080, Ryzen 7 9800X3D, --release, Series S, 1920x1080), several compute shaders hang pipeline compilation itself. If Pending::new only skips them in diagnostics builds, a --release run still enqueues those shaders to the background workers at startup and deadlocks the entire worker pool, even with draw.rs skipping draws/dispatches.

Matched A/B results from the same starting cache and settings (tested with Pending::new ungated in --release on a downstream fork):

  • Without skipping before worker enqueue (VICTORY_SKIP_PIPELINES unset): queue stalls at 1783–1805 being made (never drains), 30–42 draws/frame, 3.2–3.8 fps (261–314 ms/frame).
  • With Pending::new skipping before enqueue (VICTORY_SKIP_PIPELINES set to the hanging hashes): queue drains to 0 being made, 4796–6166 draws/frame, 18.3–24.5 fps (40.9–54.7 ms/frame).

Even leaving a single hanging compute shader (559d9f0184e15fe3) unskipped in the worker queue left 1 being made stuck and burned the per-frame wait budget (~3.7 fps).

If you want to include ungating Pending::new's made.set(None) check alongside the #[cfg(windows)] fix on is_skipped, it would solve release-build compiler deadlocks in one shot — otherwise happy to open a small follow-up PR once #2696 merges.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7208034733 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2696#issuecomment-7208034733). Originally posted by [nullexxx](https://github.com/nullexxx) on 2026-11-27T02:20:15Z. --- Seconding @fuzeofficlal's note about `Pending::new` in `crates/victory-gpu/src/pipeline/make.rs` — ungating the early `made.set(None)` skip check in release builds (keeping only the diagnostic reason/logging behind `feature = "diagnostics"`) is critical for compiler hangs, not just GPU execution hangs. On Linux/Proton (`vkd3d-proton`, CachyOS, GE-Proton11-14, RTX 5080, Ryzen 7 9800X3D, `--release`, Series S, 1920x1080), several compute shaders hang pipeline compilation itself. If `Pending::new` only skips them in `diagnostics` builds, a `--release` run still enqueues those shaders to the background workers at startup and deadlocks the entire worker pool, even with `draw.rs` skipping draws/dispatches. Matched A/B results from the same starting cache and settings (tested with `Pending::new` ungated in `--release` on a downstream fork): - **Without skipping before worker enqueue (`VICTORY_SKIP_PIPELINES` unset):** queue stalls at `1783–1805 being made` (never drains), `30–42 draws/frame`, `3.2–3.8 fps` (`261–314 ms/frame`). - **With `Pending::new` skipping before enqueue (`VICTORY_SKIP_PIPELINES` set to the hanging hashes):** queue drains to `0 being made`, `4796–6166 draws/frame`, `18.3–24.5 fps` (`40.9–54.7 ms/frame`). Even leaving a single hanging compute shader (`559d9f0184e15fe3`) unskipped in the worker queue left `1 being made` stuck and burned the per-frame wait budget (`~3.7 fps`). If you want to include ungating `Pending::new`'s `made.set(None)` check alongside the `#[cfg(windows)]` fix on `is_skipped`, it would solve release-build compiler deadlocks in one shot — otherwise happy to open a small follow-up PR once #2696 merges.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2696:upstream-pr/2696'
git switch 'upstream-pr/2696'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2696'
git switch 'upstream-pr/2696'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2696'
git switch 'upstream-pr/2696'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2696'
git switch 'main'
git merge --squash 'upstream-pr/2696'
git switch 'main'
git merge --ff-only 'upstream-pr/2696'
git switch 'main'
git merge 'upstream-pr/2696'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!2694
No description provided.