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

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

@⁠starrockanonigtavi-collab on GitHub · 2026-11-27 18:41 UTC · original
starrockanonigtavi-collab:ultrawide-21x9 → main · +128 −18 · 4 files · 1 commits · open

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

**@⁠starrockanonigtavi-collab** on GitHub · 2026-11-27 18:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137) `starrockanonigtavi-collab:ultrawide-21x9` → `main` · +128 −18 · 4 files · 1 commits · open ## 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)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:46:21 +00:00
Author
Owner

@⁠starrockanonigtavi-collab on GitHub · 2026-11-27 18:43 UTC · original

Captura de pantalla 2026-11-27 120312 Captura de pantalla 2026-11-27 115732
**@⁠starrockanonigtavi-collab** on GitHub · 2026-11-27 18:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137#issuecomment-7225798670) <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" />
Author
Owner

@⁠BellicsSon on GitHub · 2026-11-27 21:46 UTC · original

Please add this we need ultrawide

**@⁠BellicsSon** on GitHub · 2026-11-27 21:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/137#issuecomment-7228735154) Please add this we need ultrawide
This pull request has changes conflicting with the target branch.
  • apps/victory/src/native_1440p.rs
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/137/head:github-bot/gh-137'
git switch 'github-bot/gh-137'

Merge

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