GPU: add a 30 fps target performance profile #157

Open
ninuka778-cpu wants to merge 2 commits from upstream-pr/157 into main
ninuka778-cpu commented 2026-11-25 16:13:05 +00:00 (Migrated from github.com)
First-time contributor

Imported from Zettrox/ztrx. Originally posted by ninuka778-cpu on 2026-11-25T15:46:20Z.


Implements a configurable performance profile for the world-rendering path.

  • Adds performance (default, 720p + asynchronous GPU work), balanced (1080p), and compatibility (legacy 4K/synchronous) profiles.
  • Wires selection through VICTORY_PERFORMANCE, --performance, victory.toml, and scripts\play.ps1 -Performance; adds -Resolution WxH.
  • Enables the relay/late-wait scheduler, parallel memory work, batched GPU bookkeeping, GPU-local buffer/window ceilings, and a lower internal display mode.
  • Preserves every explicit VICTORY_* override.
  • Adds override-resolution tests, configuration tests, README instructions, and docs/performance-30fps.md.

30 fps is the target of the profile, not a measured guarantee; steady-state validation requires a Windows run with cached shaders.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6608268978 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/157). Originally posted by [ninuka778-cpu](https://github.com/ninuka778-cpu) on 2026-11-25T15:46:20Z. --- Implements a configurable performance profile for the world-rendering path. - Adds `performance` (default, 720p + asynchronous GPU work), `balanced` (1080p), and `compatibility` (legacy 4K/synchronous) profiles. - Wires selection through `VICTORY_PERFORMANCE`, `--performance`, `victory.toml`, and `scripts\play.ps1 -Performance`; adds `-Resolution WxH`. - Enables the relay/late-wait scheduler, parallel memory work, batched GPU bookkeeping, GPU-local buffer/window ceilings, and a lower internal display mode. - Preserves every explicit `VICTORY_*` override. - Adds override-resolution tests, configuration tests, README instructions, and `docs/performance-30fps.md`. 30 fps is the target of the profile, not a measured guarantee; steady-state validation requires a Windows run with cached shaders.
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/157:upstream-pr/157'
git switch 'upstream-pr/157'

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