native_1440p: size UI pool for 2560x1440 and query physical monitor size #2309

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

@⁠Sotyka94 on GitHub · 2026-11-29 11:42 UTC · original
Sotyka94:fix/native-1440p-ui-pool-dpi → main · +14 −9 · 2 files · 1 commits · open

Summary

  • Fix UI_POOL sizing (pps/victory/src/native_1440p.rs): Size pool_size using DEFAULT.0, DEFAULT.1 (2560x1440) instead of width(), height(). The title's UI setup (
**@⁠Sotyka94** on GitHub · 2026-11-29 11:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2309) `Sotyka94:fix/native-1440p-ui-pool-dpi` → `main` · +14 −9 · 2 files · 1 commits · open ## Summary - **Fix UI_POOL sizing (pps/victory/src/native_1440p.rs):** Size pool_size using DEFAULT.0, DEFAULT.1 (2560x1440) instead of width(), height(). The title's UI setup (
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 11:44:25 +00:00
Author
Owner

@⁠Creaa on GitHub · 2026-11-29 12:03 UTC · original · edited 2026-11-29 12:12 UTC

Test report on a 32:9 monitor (5120x1440): this fixes 21:9 here, but a 32:9 main monitor still crashes at start, at a different place.

Setup: RTX 4070 12 GB (driver 617.14), i7-13700F, 32 GB, Windows 11 26300; main monitor 5120x1440 (32:9). Release build (cargo build --release --locked -p victory), scripts\play-foxhound.ps1 -FrameGen, Series X. Each run: start, 45 s.

Build output size result
main 829188e9 default (follows the monitor: 5120x1440) crash about 6 s in
main 829188e9 VICTORY_NATIVE_SIZE=2560x1440 runs
main 829188e9 VICTORY_NATIVE_SIZE=3440x1440 crash, +0x247af2d (the one this PR fixes)
#2060 fefa2be7 default (5120x1440) crash about 6 s in
#2309 2b1fe786 default (5120x1440) crash about 6 s in
#2309 2b1fe786 VICTORY_NATIVE_SIZE=3440x1440 runs

The 5120x1440 crash, the same on main and both PRs:

VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x56a2afd (breakpoint)
  r12 0x80070057
  #1  victory-image-…dll+0x4deb4ef
  #2  victory.exe+0x1bb74a   #3 victory.exe+0x4e32b4   #4 victory.exe+0x4e3755

r12 holds E_INVALIDARG, so a call into our layer seems to refuse something at this size and the title traps on the result (a guess from the registers; I could not name the frames). A bisect over main (first-parent, then inside the waves) gave 16576c03 (#1808) as the first commit with this crash; 8e81b84c just before it runs.

Update: also tried VICTORY_NATIVE_SIZE=3840x1080 (32:9, under the 3840 width of the UI surfaces) on #2309 2b1fe786: the same crash at +0x56a2afd, so it follows the 32:9 shape, not the width.

Not tested: other 32:9 sizes, whether 5120 is over a limit of the title's (for example its 3840-wide UI surfaces), FG off.

AI use: Claude Code (Claude Opus 5.5) ran the bisect and the test runs and wrote this report.

**@⁠Creaa** on GitHub · 2026-11-29 12:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2309#issuecomment-7255539550) · edited 2026-11-29 12:12 UTC Test report on a **32:9 monitor (5120x1440)**: this fixes 21:9 here, but a 32:9 main monitor still crashes at start, at a different place. **Setup:** RTX 4070 12 GB (driver 617.14), i7-13700F, 32 GB, Windows 11 26300; main monitor 5120x1440 (32:9). Release build (`cargo build --release --locked -p victory`), `scripts\play-foxhound.ps1 -FrameGen`, Series X. Each run: start, 45 s. | Build | output size | result | |---|---|---| | main `829188e9` | default (follows the monitor: 5120x1440) | crash about 6 s in | | main `829188e9` | `VICTORY_NATIVE_SIZE=2560x1440` | runs | | main `829188e9` | `VICTORY_NATIVE_SIZE=3440x1440` | crash, `+0x247af2d` (the one this PR fixes) | | #2060 `fefa2be7` | default (5120x1440) | crash about 6 s in | | #2309 `2b1fe786` | default (5120x1440) | crash about 6 s in | | #2309 `2b1fe786` | `VICTORY_NATIVE_SIZE=3440x1440` | runs | The 5120x1440 crash, the same on main and both PRs: ``` VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x56a2afd (breakpoint) r12 0x80070057 #1 victory-image-…dll+0x4deb4ef #2 victory.exe+0x1bb74a #3 victory.exe+0x4e32b4 #4 victory.exe+0x4e3755 ``` `r12` holds `E_INVALIDARG`, so a call into our layer seems to refuse something at this size and the title traps on the result (a guess from the registers; I could not name the frames). A bisect over main (first-parent, then inside the waves) gave `16576c03` (#1808) as the first commit with this crash; `8e81b84c` just before it runs. **Update:** also tried `VICTORY_NATIVE_SIZE=3840x1080` (32:9, under the 3840 width of the UI surfaces) on #2309 `2b1fe786`: the same crash at `+0x56a2afd`, so it follows the 32:9 shape, not the width. **Not tested:** other 32:9 sizes, whether 5120 is over a limit of the title's (for example its 3840-wide UI surfaces), FG off. AI use: Claude Code (Claude Opus 5.5) ran the bisect and the test runs and wrote this report.
This pull request has changes conflicting with the target branch.
  • apps/victory/Cargo.toml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2309'
git switch 'github-bot/gh-2309'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2309'
git switch 'github-bot/gh-2309'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2309'
git switch 'main'
git merge --squash 'github-bot/gh-2309'
git switch 'main'
git merge --ff-only 'github-bot/gh-2309'
git switch 'main'
git merge 'github-bot/gh-2309'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2309
No description provided.