Ultrawide 21:9 (3440x1440) output, in the F1 menu and the launcher #137

Open
starrockanonigtavi-collab wants to merge 1 commit from upstream-pr/137 into main
starrockanonigtavi-collab commented 2026-11-27 18:41:45 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by starrockanonigtavi-collab on 2026-11-27T18:41:45Z.


What

A 21:9 output for 3440x1440 monitors. It is the existing native 1440p patch (apps/victory/src/native_1440p.rs) with the width set to 3440 in place of 2560. Nothing changes unless it is asked for.

  • VICTORY_ULTRAWIDE=1: the patched SDR mode, scanout reservation and scene scale use 3440x1440. VICTORY_DISPLAY_MODE reports 3440x1440. The patched image is cached in its own folder (...-3440), so existing 2560x1440 caches are not touched.
  • play-foxhound.ps1 -Ultrawide, or -Res 3440: sets the switch. It forces Series X with the 2560x1440 path, and DLSS Performance unless DLSS is off (see below).
  • F1 menu: a new item, ULTRAWIDE 21:9 (3440X1440), above FULLSCREEN. SERIES X PICTURE gets a 3440X1440 (21:9) value.
    • The two are kept in step: turning ultrawide on shows the picture as 3440X1440 and sets Series X and DLSS Performance. Picking that picture turns ultrawide on.
    • Turning ultrawide off, or picking something it cannot run with (Series S, DLSS Quality/Balanced/DLAA), turns it off and puts the picture back to 2560X1440.
    • It is saved in victory-settings.txt, so it survives "SAVE AND RESTART NOW" (-More does not).
    • Full screen is left alone.

Projection

No aspect patch is needed. With a 3440x1440 output, the title picks 21:9 by itself: its aspect table at +0x654fc80 includes 21:9, and the nearest entry is chosen from the output size.

I tried forcing the aspect getter at +0x73c790 to 3440/1440. The picture looked the same with or without it, so it is not included.

  • The HUD stays inside a centred 16:9 area.
  • Pre-rendered cutscenes letterbox cleanly.

Limits found while testing (RTX 5080, 1.0.2.1)

DLSS mode at 3440x1440 Result
Performance (scene 1720x720) Clean
Off (title's own pass) Clean
Quality (scene 2293.3x960) Stretched triangles on several objects, changing every second or so. Probably the fractional scene width (a guess).
DLAA int3 at +0x2473e88 about 7 s in: the render memory check, rax 0x35380000 (851 MB) against rcx 0x2c600000 (710 MB).

That is why ultrawide holds DLSS to Performance or off.

Frame generation (tested 4x and 6x) works on top. Real fps is the same as at 2560x1440: about 16–24 here, CPU-bound.

Not done

  • native_frontend_viewport in crates/victory-gpu/src/draw.rs still only matches a 2560x1440 viewport. Front-end screens that project against the legacy 3840x2160 canvas may sit off at 3440. I did not see this happen while testing.
  • Only 3440x1440 is offered. 2560x1080 or 3840x1600 would need the same width/height plumbing for the height too.

Tests

  • ultrawide_sets_what_it_needs in menu.rs covers the menu linking.
  • cargo test -p victory-gpu menu passes. cargo build --release -p victory is clean.
  • Played in a window and in borderless full screen at 3440x1440, with DLSS Performance and frame generation.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5531526666 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137). Originally posted by [starrockanonigtavi-collab](https://github.com/starrockanonigtavi-collab) on 2026-11-27T18:41:45Z. --- ## What A 21:9 output for 3440x1440 monitors. It is the existing native 1440p patch (`apps/victory/src/native_1440p.rs`) with the width set to 3440 in place of 2560. Nothing changes unless it is asked for. - `VICTORY_ULTRAWIDE=1`: the patched SDR mode, scanout reservation and scene scale use 3440x1440. `VICTORY_DISPLAY_MODE` reports 3440x1440. The patched image is cached in its own folder (`...-3440`), so existing 2560x1440 caches are not touched. - `play-foxhound.ps1 -Ultrawide`, or `-Res 3440`: sets the switch. It forces Series X with the 2560x1440 path, and DLSS Performance unless DLSS is off (see below). - F1 menu: a new item, **ULTRAWIDE 21:9 (3440X1440)**, above FULLSCREEN. **SERIES X PICTURE** gets a **3440X1440 (21:9)** value. - The two are kept in step: turning ultrawide on shows the picture as 3440X1440 and sets Series X and DLSS Performance. Picking that picture turns ultrawide on. - Turning ultrawide off, or picking something it cannot run with (Series S, DLSS Quality/Balanced/DLAA), turns it off and puts the picture back to 2560X1440. - It is saved in `victory-settings.txt`, so it survives "SAVE AND RESTART NOW" (`-More` does not). - Full screen is left alone. ## Projection No aspect patch is needed. With a 3440x1440 output, the title picks 21:9 by itself: its aspect table at +0x654fc80 includes 21:9, and the nearest entry is chosen from the output size. I tried forcing the aspect getter at +0x73c790 to 3440/1440. The picture looked the same with or without it, so it is not included. - The HUD stays inside a centred 16:9 area. - Pre-rendered cutscenes letterbox cleanly. ## Limits found while testing (RTX 5080, 1.0.2.1) | DLSS mode at 3440x1440 | Result | |---|---| | Performance (scene 1720x720) | Clean | | Off (title's own pass) | Clean | | Quality (scene 2293.3x960) | Stretched triangles on several objects, changing every second or so. Probably the fractional scene width (a guess). | | DLAA | `int3` at +0x2473e88 about 7 s in: the render memory check, rax 0x35380000 (851 MB) against rcx 0x2c600000 (710 MB). | That is why ultrawide holds DLSS to Performance or off. Frame generation (tested 4x and 6x) works on top. Real fps is the same as at 2560x1440: about 16–24 here, CPU-bound. ## Not done - `native_frontend_viewport` in `crates/victory-gpu/src/draw.rs` still only matches a 2560x1440 viewport. Front-end screens that project against the legacy 3840x2160 canvas may sit off at 3440. I did not see this happen while testing. - Only 3440x1440 is offered. 2560x1080 or 3840x1600 would need the same width/height plumbing for the height too. ## Tests - `ultrawide_sets_what_it_needs` in `menu.rs` covers the menu linking. - `cargo test -p victory-gpu menu` passes. `cargo build --release -p victory` is clean. - Played in a window and in borderless full screen at 3440x1440, with DLSS Performance and frame generation. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
starrockanonigtavi-collab commented 2026-11-27 18:43:28 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by starrockanonigtavi-collab on 2026-11-27T18:43:28Z.


Captura de pantalla 2026-11-27 120312 Captura de pantalla 2026-11-27 115732
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7225798670 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137#issuecomment-7225798670). Originally posted by [starrockanonigtavi-collab](https://github.com/starrockanonigtavi-collab) on 2026-11-27T18:43:28Z. --- <img width="3439" height="1439" alt="Captura de pantalla 2026-11-27 120312" src="https://github.com/user-attachments/assets/c1bf9eb1-f6ee-40ad-bbd2-c50bb83c0d7b" /> <img width="3439" height="1439" alt="Captura de pantalla 2026-11-27 115732" src="https://github.com/user-attachments/assets/712f271e-11e9-4180-bfb6-7a73885f46b1" />
BellicsSon commented 2026-11-27 21:46:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by BellicsSon on 2026-11-27T21:46:00Z.


Please add this we need ultrawide

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7228735154 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137#issuecomment-7228735154). Originally posted by [BellicsSon](https://github.com/BellicsSon) on 2026-11-27T21:46:00Z. --- Please add this we need ultrawide
Arboff commented 2026-11-28 04:04:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Arboff on 2026-11-28T04:04:10Z.


32:9 please

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7233653130 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137#issuecomment-7233653130). Originally posted by [Arboff](https://github.com/Arboff) on 2026-11-28T04:04:10Z. --- 32:9 please
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/137:upstream-pr/137'
git switch 'upstream-pr/137'

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