Open the window at 1280x720 by default (VICTORY_WINDOW_MAX_*) #100

Open
github-bot wants to merge 1 commit from github-bot/gh-100 into main AGit
Owner

@⁠kalijerry on GitHub · 2026-11-26 03:24 UTC · original
kalijerry:fix/small-window-default → main · +23 −0 · 1 files · 1 commits · open

Runs currently open the host window at whatever the title asks, which on a 4K desktop means a large flip chain and the desktop compositor over the card for no gain: the swap chain keeps the texture's size either way and stretches.

This opens the window at most 1,280 by 720, scaled so the aspect is kept. VICTORY_WINDOW_MAX_WIDTH and VICTORY_WINDOW_MAX_HEIGHT change it, 0 for no limit of that side.

  • cargo test -p victory-gpu --lib: 326 passed.
  • RTX 3080 live: window opens small; frame rate is unchanged (the swap chain still carries the full texture), but the compositor stops showing over the card and the back buffers are a quarter the size.
**@⁠kalijerry** on GitHub · 2026-11-26 03:24 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/100) `kalijerry:fix/small-window-default` → `main` · +23 −0 · 1 files · 1 commits · open Runs currently open the host window at whatever the title asks, which on a 4K desktop means a large flip chain and the desktop compositor over the card for no gain: the swap chain keeps the texture's size either way and stretches. This opens the window at most **1,280 by 720**, scaled so the aspect is kept. `VICTORY_WINDOW_MAX_WIDTH` and `VICTORY_WINDOW_MAX_HEIGHT` change it, `0` for no limit of that side. - `cargo test -p victory-gpu --lib`: 326 passed. - RTX 3080 live: window opens small; frame rate is unchanged (the swap chain still carries the full texture), but the compositor stops showing over the card and the back buffers are a quarter the size.
Open the window at most 1,280 by 720, scaled to keep the title's aspect,
as the title's own window is. The swap chain keeps the texture size and
stretches, so this only decides how much room the window takes in front of
the host; 1,280 by 720 keeps the flip chain's back buffers small and the
desktop compositor off the card. VICTORY_WINDOW_MAX_WIDTH and
VICTORY_WINDOW_MAX_HEIGHT change it, 0 for no limit of that side.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:32:11 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:33 UTC · original

Left open: this caps the default window on every PC at 1280x720 (AMD included); maintainer's call.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:33 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/100#issuecomment-7185582945) Left open: this caps the default window on every PC at 1280x720 (AMD included); maintainer's call.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/100/head:github-bot/gh-100'
git switch 'github-bot/gh-100'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-100'
git switch 'github-bot/gh-100'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-100'
git switch 'github-bot/gh-100'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-100'
git switch 'main'
git merge --squash 'github-bot/gh-100'
git switch 'main'
git merge --ff-only 'github-bot/gh-100'
git switch 'main'
git merge 'github-bot/gh-100'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.