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

Open
Sotyka94 wants to merge 1 commit from upstream-pr/2309 into main
Sotyka94 commented 2026-11-29 11:42:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Sotyka94 on 2026-11-29T11:42:24Z.


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 (
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5550360592 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2309). Originally posted by [Sotyka94](https://github.com/Sotyka94) on 2026-11-29T11:42:24Z. --- ## 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 (
Creaa commented 2026-11-29 12:03:50 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Creaa on 2026-11-29T12:03:50Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7255539550 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2309#issuecomment-7255539550). Originally posted by [Creaa](https://github.com/Creaa) on 2026-11-29T12:03:50Z. --- 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 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/2309:upstream-pr/2309'
git switch 'upstream-pr/2309'

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