A dispatch waits for a compute pipeline being made at most the frame's compute wait (load-screen freeze) #3700

Closed
stasadance wants to merge 1 commit from upstream-pr/3700 into main
stasadance commented 2026-11-30 04:21:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by stasadance on 2026-11-30T04:21:10Z.


What it changes

A dispatch that needs a compute pipeline a worker is still making waited for it without end in make. A build that never finished froze the load screen. The dispatch now waits at most the frame's compute wait, like the other pipeline waits, and is left out for that frame if the pipeline isn't ready.

How it was tested

  • GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), Series S profile, DLSS + frame generation
  • Before: the load screen froze when a compute pipeline build didn't finish.
  • After: loads complete.
  • cargo test passed for the crates it touches: native cargo test cannot build victory-gpu on a Linux host (same on main), so no; cargo xwin clippy for the Windows target adds no warning over current main (main already fails -D warnings in victory-shader, victory-loader and victory-gpu).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2580, #1040.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5558929100 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3700). Originally posted by [stasadance](https://github.com/stasadance) on 2026-11-30T04:21:10Z. --- ## What it changes A dispatch that needs a compute pipeline a worker is still making waited for it without end in `make`. A build that never finished froze the load screen. The dispatch now waits at most the frame's compute wait, like the other pipeline waits, and is left out for that frame if the pipeline isn't ready. ## How it was tested - GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), Series S profile, DLSS + frame generation - Before: the load screen froze when a compute pipeline build didn't finish. - After: loads complete. - `cargo test` passed for the crates it touches: native `cargo test` cannot build `victory-gpu` on a Linux host (same on main), so no; `cargo xwin clippy` for the Windows target adds no warning over current main (main already fails `-D warnings` in victory-shader, victory-loader and victory-gpu). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2580, #1040.
Luca121 commented 2026-11-30 20:14:20 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Luca121 on 2026-11-30T20:14:20Z.


Note: Log parsing and report formatting were assisted by an AI tool on behalf of the hardware owner. No game screenshots or title assets are included.

Compile break on current main (84bd61e2+) despite GitHub showing MERGEABLE

In crates/victory-gpu/src/pipeline/make.rs, compute_left() still calls compute_time_for_frame(&mut spent, frame), which was renamed to time_for_frame on main. Changing that call to time_for_frame(&mut spent, frame) compiles cleanly.

How it was tested (integrated stack — not isolated A/B)

  • GPU and profile: RTX 4070 Ti 12 GB | i7-13700K (8P+8E) | 32 GB RAM (+32 GB pagefile) | Win 11 — Series S, 1113x626 -> 1920x1080, DLSS Balanced, DLSS FG 2x, RT Off
  • Before: Previous Wave-5 long session (04804ef6, 99.2m) — 10.2 med (8.5 p10), 10.8 -> 9.9 early->late FPS
  • After (integrated build on 84bd61e2 + this PR w/ time_for_frame fix + other open PRs): 39.9m gameplay (410 5s samples with draws >= 1000) — 0 load-screen freezes, 0 crashes, 0 PSO failures (3,025 PSO compiles finished); 11.9 med (9.3 p10, 23.3 max), 12.0 -> 16.55 early->late base FPS
  • Wave sizes tested: 32 lanes
  • cargo test passed for the crates it touches: victory-gpu (1,170/1,173 passed; 3 failures were unrelated/pre-existing in the integrated branch, none in pipeline::make)

Disclosure: tested in an integrated multi-PR build, so this confirms the time_for_frame compile break and 40m stability once fixed rather than isolated A/B FPS attribution.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7290611725 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3700#issuecomment-7290611725). Originally posted by [Luca121](https://github.com/Luca121) on 2026-11-30T20:14:20Z. --- > *Note: Log parsing and report formatting were assisted by an AI tool on behalf of the hardware owner. No game screenshots or title assets are included.* ### Compile break on current `main` (`84bd61e2`+) despite GitHub showing `MERGEABLE` In `crates/victory-gpu/src/pipeline/make.rs`, `compute_left()` still calls `compute_time_for_frame(&mut spent, frame)`, which was renamed to `time_for_frame` on `main`. Changing that call to `time_for_frame(&mut spent, frame)` compiles cleanly. ### How it was tested (integrated stack — not isolated A/B) - **GPU and profile:** RTX 4070 Ti 12 GB | i7-13700K (8P+8E) | 32 GB RAM (+32 GB pagefile) | Win 11 — **Series S**, `1113x626 -> 1920x1080`, DLSS Balanced, DLSS FG 2x, RT Off - **Before:** Previous Wave-5 long session (`04804ef6`, 99.2m) — `10.2` med (`8.5` p10), `10.8 -> 9.9` early->late FPS - **After (integrated build on `84bd61e2` + this PR w/ `time_for_frame` fix + other open PRs):** 39.9m gameplay (`410` 5s samples with `draws >= 1000`) — **0 load-screen freezes, 0 crashes, 0 PSO failures** (`3,025` PSO compiles finished); `11.9` med (`9.3` p10, `23.3` max), `12.0 -> 16.55` early->late base FPS - **Wave sizes tested:** 32 lanes - **`cargo test` passed for the crates it touches:** `victory-gpu` (`1,170/1,173` passed; 3 failures were unrelated/pre-existing in the integrated branch, none in `pipeline::make`) *Disclosure: tested in an integrated multi-PR build, so this confirms the `time_for_frame` compile break and 40m stability once fixed rather than isolated A/B FPS attribution.*
stasadance commented 2026-12-01 02:13:15 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by stasadance on 2026-12-01T02:13:15Z.


Thanks @Luca121, good catch. Main renamed compute_time_for_frame to time_for_frame after this branch was cut. I merged current main (e1251c3) into the branch and fixed the call in 185a788. cargo xwin clippy -p victory-gpu --all-targets for the Windows target now builds with no warning in pipeline/make.rs. The 0 load-screen freezes over ~40 min on the 4070 Ti is useful, even from an integrated build.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7298373590 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3700#issuecomment-7298373590). Originally posted by [stasadance](https://github.com/stasadance) on 2026-12-01T02:13:15Z. --- Thanks @Luca121, good catch. Main renamed `compute_time_for_frame` to `time_for_frame` after this branch was cut. I merged current main (e1251c3) into the branch and fixed the call in 185a788. `cargo xwin clippy -p victory-gpu --all-targets` for the Windows target now builds with no warning in `pipeline/make.rs`. The 0 load-screen freezes over ~40 min on the 4070 Ti is useful, even from an integrated build.
trustno1-coder commented 2026-12-01 18:49:48 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:49:48Z.


Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321628428 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3700#issuecomment-7321628428). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:49:48Z. --- Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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
trustno1-coder/VIctory-NVIDIA!3700
No description provided.