README: a short pipeline wait drops draws; document the texture budget #77

Open
Ingenioeren wants to merge 2 commits from upstream-pr/77 into main
Ingenioeren commented 2026-11-25 09:08:55 +00:00 (Migrated from github.com)
First-time contributor

Imported from Zettrox/ztrx. Originally posted by Ingenioeren on 2026-11-25T08:26:46Z.


What

Two rows of the README's debugging table:

  • VICTORY_PIPELINE_WAIT_MS: the table suggested =24 as "shorter per-frame wait". It now gives the default (500 ms, one budget per frame shared by all threads), says that a draw whose pipeline is not ready within it is dropped for that frame (so a low value makes models vanish), and that a higher value such as 2000 can help on a slow GPU or a cold shader cache.
  • VICTORY_TEXTURE_BUDGET_MB (new row): what it limits and the behaviour when it is unset (2 GB, then more while under 90% of the card's memory budget, 4 GB when the budget cannot be read), plus the 4 GB data point from #73.

Why

#73 measured on a 4 GB Radeon 780M: with =24 draws were dropped every frame ("being made" drops), with =2000 there were none and the frame rate went up. The defaults stated here come from the code, not from the issue: wait_budget() / shared_budget() in crates/victory-gpu/src/pipeline/make.rs and room() in crates/victory-gpu/src/resource.rs. The drop happens in draw.rs when host_pipeline returns nothing, and is counted in the "dropped N without a host pipeline (M being made)" frame line.

How tested

Docs only, no code change, so there is no regression test.

  • cargo run --locked --offline -p xtask -- policy --staged → asset policy: 1 files ok
  • Checked that the table still renders as a table (one row per line, same column count).

Not tested: no game run. The performance numbers are the reporter's (#73), not mine; this PC has an AMD RX 6750 XT and I did not re-measure them.

Fixes #73

AI assistance: prepared with Claude Code, reviewed by Ingenioeren.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Zettrox/ztrx:issue:6600334851 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/77). Originally posted by [Ingenioeren](https://github.com/Ingenioeren) on 2026-11-25T08:26:46Z. --- ## What Two rows of the README's debugging table: - `VICTORY_PIPELINE_WAIT_MS`: the table suggested `=24` as "shorter per-frame wait". It now gives the default (500 ms, one budget per frame shared by all threads), says that a draw whose pipeline is not ready within it is dropped for that frame (so a low value makes models vanish), and that a higher value such as 2000 can help on a slow GPU or a cold shader cache. - `VICTORY_TEXTURE_BUDGET_MB` (new row): what it limits and the behaviour when it is unset (2 GB, then more while under 90% of the card's memory budget, 4 GB when the budget cannot be read), plus the 4 GB data point from #73. ## Why #73 measured on a 4 GB Radeon 780M: with `=24` draws were dropped every frame ("being made" drops), with `=2000` there were none and the frame rate went up. The defaults stated here come from the code, not from the issue: `wait_budget()` / `shared_budget()` in `crates/victory-gpu/src/pipeline/make.rs` and `room()` in `crates/victory-gpu/src/resource.rs`. The drop happens in `draw.rs` when `host_pipeline` returns nothing, and is counted in the "dropped N without a host pipeline (M being made)" frame line. ## How tested Docs only, no code change, so there is no regression test. - `cargo run --locked --offline -p xtask -- policy --staged` → `asset policy: 1 files ok` - Checked that the table still renders as a table (one row per line, same column count). Not tested: no game run. The performance numbers are the reporter's (#73), not mine; this PC has an AMD RX 6750 XT and I did not re-measure them. Fixes #73 AI assistance: prepared with Claude Code, reviewed by Ingenioeren. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
syrrath-creator commented 2026-11-25 14:11:05 +00:00 (Migrated from github.com)
Author
First-time contributor

Imported from Zettrox/ztrx. Originally posted by syrrath-creator on 2026-11-25T13:54:38Z.


Could we mention the RTX 5060 result from #55 alongside the Radeon 780M result from #73? At 2000 ms, the Radeon tester saw fewer missing draws, while the RTX 5060 tester reported 0.4–0.7 FPS. A short note would help readers decide when this setting is worth trying.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7164468242 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/77#issuecomment-7164468242). Originally posted by [syrrath-creator](https://github.com/syrrath-creator) on 2026-11-25T13:54:38Z. --- Could we mention the RTX 5060 result from #55 alongside the Radeon 780M result from #73? At 2000 ms, the Radeon tester saw fewer missing draws, while the RTX 5060 tester reported 0.4–0.7 FPS. A short note would help readers decide when this setting is worth trying.
Ingenioeren commented 2026-11-25 15:08:45 +00:00 (Migrated from github.com)
Author
First-time contributor

Imported from Zettrox/ztrx. Originally posted by Ingenioeren on 2026-11-25T14:30:10Z.


Good point, thanks. Added in 9e3391b: the row now says 2000 helped the 4 GB Radeon 780M (#73) but dropped an 8 GB RTX 5060 to 0.4-0.7 fps (#55), and to raise it only when models are missing and to compare the frame rate.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7165376568 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/77#issuecomment-7165376568). Originally posted by [Ingenioeren](https://github.com/Ingenioeren) on 2026-11-25T14:30:10Z. --- Good point, thanks. Added in 9e3391b: the row now says 2000 helped the 4 GB Radeon 780M (#73) but dropped an 8 GB RTX 5060 to 0.4-0.7 fps (#55), and to raise it only when models are missing and to compare the frame rate.
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/77:upstream-pr/77'
git switch 'upstream-pr/77'

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/77'
git switch 'upstream-pr/77'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/77'
git switch 'upstream-pr/77'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/77'
git switch 'main'
git merge --squash 'upstream-pr/77'
git switch 'main'
git merge --ff-only 'upstream-pr/77'
git switch 'main'
git merge 'upstream-pr/77'
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
Zettrox/ztrx!77
No description provided.