Submit line: VICTORY_FOLD_FORCE_MS=n lets a present go past a submission whose lists are not translated after n ms, so a long driver create never holds the frame past the title's 30 s watchdog #1656

Merged
101Leafy merged 4 commits from upstream-pr/1656 into main 2026-11-29 08:16:55 +00:00
101Leafy commented 2026-11-28 23:06:27 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T23:06:27Z.


What it changes

With the submit line on, a present waits behind every submission ahead of it. When a list thread is held long, for example a driver creating pipelines on a cold library (20 to 49 s), every present stands behind it. The title's watchdog writes to 0 once no frame was shown for 30 s.

VICTORY_FOLD_FORCE_MS=n lets a present that has stood n ms behind work whose lists are not translated yet go on without it, the way a present already goes past a wait nobody meets. The held work keeps its place in the line and goes once it is known. A present that goes this way shows the image as the card has it, without the draws of what it went past. Off by default.

How it was tested

  • Tested on: RTX 5080 16 GB on Windows 10
  • Built with clippy only, not run in a game yet.
  • Before: a long driver create held every present and the title's watchdog fired at 30 s.
  • After: with VICTORY_FOLD_FORCE_MS set, presents go on after that many ms. Unset, nothing changes.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo clippy -p victory-gpu --all-targets gives no warnings in queue/behind.rs.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1564 also touches queue/behind.rs (stall tracing), a different change.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5545470255 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1656). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-28T23:06:27Z. --- ## What it changes With the submit line on, a present waits behind every submission ahead of it. When a list thread is held long, for example a driver creating pipelines on a cold library (20 to 49 s), every present stands behind it. The title's watchdog writes to 0 once no frame was shown for 30 s. `VICTORY_FOLD_FORCE_MS=n` lets a present that has stood n ms behind work whose lists are not translated yet go on without it, the way a present already goes past a wait nobody meets. The held work keeps its place in the line and goes once it is known. A present that goes this way shows the image as the card has it, without the draws of what it went past. Off by default. ## How it was tested - Tested on: RTX 5080 16 GB on Windows 10 - Built with clippy only, not run in a game yet. - Before: a long driver create held every present and the title's watchdog fired at 30 s. - After: with `VICTORY_FOLD_FORCE_MS` set, presents go on after that many ms. Unset, nothing changes. - For shader changes, the wave sizes tested: not a shader change. - `cargo clippy -p victory-gpu --all-targets` gives no warnings in `queue/behind.rs`. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1564 also touches `queue/behind.rs` (stall tracing), a different change.
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!1656
No description provided.