feat(native-1440p): add a 3440x1440 ultrawide output profile #284

Manually merged
github merged 1 commit from github-bot/gh-284 into gh-pr/284/base 2026-12-01 11:00:21 +00:00 AGit
Owner

@⁠westones on GitHub · 2026-12-01 09:17 UTC · original
westones:feat/native-ultrawide-output-v2 → main · +149 −51 · 6 files · 1 commits · merged 2026-12-01 10:56 UTC

Summary

  • native_1440p::prepare() now takes the output width instead of writing a fixed 2560, so the SDR display mode, the tiled scanout reservation and the temporal scene scale all follow the width that was chosen. Height stays 1440.
  • VICTORY_NATIVE_ULTRAWIDE=1 selects a 3440x1440 output; the launcher's Resolution row and play-foxhound.ps1 -Res 3440 set it.
  • Both 1440p-tall profiles now publish VICTORY_OUTPUT_SIZE=WxH, and draw.rs reads it instead of comparing the frontend viewport against a hardcoded 2560x1440, so the legacy-4K-projection correction keeps working at either width.
  • README: the launcher's Resolution row and the switch table name the new profile.

Why

The output size comes from the SDR mode field patched into the image, and the swap chain follows the title's target size. With the width fixed at 2560 the title could only ever make a 2560x1440 output, so a 3440x1440 display got a 16:9 picture instead of its own resolution.

Rebasing

Rebased onto the current main (297f58a, after the 2026-12-01 rewrite): one commit on top of it. The rewrite kept the stock values as hashes only, so the only conflict was the module's doc header; it is resolved to main's neutral wording.

Verified on a 3440x1440 display

Two sessions on one PC — RTX 5080 15.9 GB, a 3440x1440 SDR display — through the launcher, from the build of this branch:

run setting log line
2026-11-30, 25 minutes DLSS Balanced display 3440x1440 SDR, scene 1995x835 through the title's FidelityFX path (balanced)
2026-12-01 DLSS Quality, Frame Generation on display 3440x1440 SDR, scene 2293x960 through the title's FidelityFX path (quality)

In both: start, menus and play, a clean exit, no black or garbled picture, no refused allocation. That covers the three things the earlier description listed as unverified:

  1. The 3440-wide SDR mode is accepted — the output really is 3440x1440, and the swap chain follows it.
  2. The tiled scanout at pitch 3456 is accepted — laid out, allocated, presented; nothing garbled.
  3. The interface at 2.39:1 — the HUD, menus and cutscenes look right to the eye at this aspect. That is an eye, not a measurement.

Frame times, 25-minute run: mean of the per-second medians 45.4 ms, with stretches at 33.4 ms (the title's own 30 fps cap) and dips to 52-60 ms; one frame over 100 ms in the whole session.

Not run: the upscaler off at 3440x1440. Both sessions above have DLSS on, so the non-DLSS path at this width is untested — say the word and I will run it before you spend time on this.

Found at this output, not fixed here

At 3440x1440 the texture residency reaches 14,772 MB of 15,117 and DLSS starts skipping upscales:

WARN DLSS: the upscaling was not recorded: slEvaluateFeature: warning: out of VRAM (39) (the output keeps what it had)

369 times over six minutes, plus 4 no free dynamic descriptor slots. The residency line leaves everything to textures and reserves nothing for the upscaler's own working set (output, history, frame-generation buffers, roughly 1.5 to 2 GB at this size). Same class as the VICTORY_ROOM_REAL fix for 8 GB cards; it comes back because the output is bigger. It is a separate change from this profile — happy to fold it in here if you would rather see the two together.

Checks

  • cargo clippy --workspace --all-targets --locked -- -D warnings — clean, and the same with --all-features (the two configurations ci.yml runs).
  • cargo test --workspace --locked — passing, 291 passed / 4 ignored (the new ones are scene_and_scale_follow_the_width and parses_the_output_size_or_falls_back).
  • cargo xtask policy — asset policy: 293 files ok.
  • cargo fmt --all --check is still not clean on this toolchain and is not clean on main either (CI does not check fmt), so nothing here was reformatted wholesale: the diff is the change only.
**@⁠westones** on GitHub · 2026-12-01 09:17 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/284) `westones:feat/native-ultrawide-output-v2` → `main` · +149 −51 · 6 files · 1 commits · merged 2026-12-01 10:56 UTC ## Summary - `native_1440p::prepare()` now takes the output width instead of writing a fixed 2560, so the SDR display mode, the tiled scanout reservation and the temporal scene scale all follow the width that was chosen. Height stays 1440. - `VICTORY_NATIVE_ULTRAWIDE=1` selects a 3440x1440 output; the launcher's Resolution row and `play-foxhound.ps1 -Res 3440` set it. - Both 1440p-tall profiles now publish `VICTORY_OUTPUT_SIZE=WxH`, and `draw.rs` reads it instead of comparing the frontend viewport against a hardcoded 2560x1440, so the legacy-4K-projection correction keeps working at either width. - README: the launcher's Resolution row and the switch table name the new profile. ## Why The output size comes from the SDR mode field patched into the image, and the swap chain follows the title's target size. With the width fixed at 2560 the title could only ever make a 2560x1440 output, so a 3440x1440 display got a 16:9 picture instead of its own resolution. ## Rebasing Rebased onto the current `main` (`297f58a`, after the 2026-12-01 rewrite): one commit on top of it. The rewrite kept the stock values as hashes only, so the only conflict was the module's doc header; it is resolved to `main`'s neutral wording. ## Verified on a 3440x1440 display Two sessions on one PC — RTX 5080 15.9 GB, a 3440x1440 SDR display — through the launcher, from the build of this branch: | run | setting | log line | |---|---|---| | 2026-11-30, 25 minutes | DLSS Balanced | `display 3440x1440 SDR, scene 1995x835 through the title's FidelityFX path (balanced)` | | 2026-12-01 | DLSS Quality, Frame Generation on | `display 3440x1440 SDR, scene 2293x960 through the title's FidelityFX path (quality)` | In both: start, menus and play, a clean exit, no black or garbled picture, no refused allocation. That covers the three things the earlier description listed as unverified: 1. **The 3440-wide SDR mode is accepted** — the output really is 3440x1440, and the swap chain follows it. 2. **The tiled scanout at pitch 3456 is accepted** — laid out, allocated, presented; nothing garbled. 3. **The interface at 2.39:1** — the HUD, menus and cutscenes look right to the eye at this aspect. That is an eye, not a measurement. Frame times, 25-minute run: mean of the per-second medians 45.4 ms, with stretches at 33.4 ms (the title's own 30 fps cap) and dips to 52-60 ms; one frame over 100 ms in the whole session. **Not run: the upscaler off at 3440x1440.** Both sessions above have DLSS on, so the non-DLSS path at this width is untested — say the word and I will run it before you spend time on this. ## Found at this output, not fixed here At 3440x1440 the texture residency reaches 14,772 MB of 15,117 and DLSS starts skipping upscales: ``` WARN DLSS: the upscaling was not recorded: slEvaluateFeature: warning: out of VRAM (39) (the output keeps what it had) ``` 369 times over six minutes, plus 4 `no free dynamic descriptor slots`. The residency line leaves everything to textures and reserves nothing for the upscaler's own working set (output, history, frame-generation buffers, roughly 1.5 to 2 GB at this size). Same class as the `VICTORY_ROOM_REAL` fix for 8 GB cards; it comes back because the output is bigger. It is a separate change from this profile — happy to fold it in here if you would rather see the two together. ## Checks - `cargo clippy --workspace --all-targets --locked -- -D warnings` — clean, and the same with `--all-features` (the two configurations `ci.yml` runs). - `cargo test --workspace --locked` — passing, 291 passed / 4 ignored (the new ones are `scene_and_scale_follow_the_width` and `parses_the_output_size_or_falls_back`). - `cargo xtask policy` — `asset policy: 293 files ok`. - `cargo fmt --all --check` is still not clean on this toolchain and is not clean on `main` either (CI does not check fmt), so nothing here was reformatted wholesale: the diff is the change only.
The 1440p patch writes a fixed 2560 width into the image's SDR display mode, so the title could only ever make a 2560x1440 output. prepare() now takes the output width (height stays 1440) and every derived value follows it: the mode bytes, the tiled scanout reservation and the temporal scene scale.

VICTORY_NATIVE_ULTRAWIDE=1 selects 3440x1440; the launcher's Resolution row and play-foxhound.ps1 -Res 3440 set it. Both 1440p-tall profiles now publish VICTORY_OUTPUT_SIZE=WxH, which draw.rs reads instead of the hardcoded 2560x1440 it compared the frontend viewport against, so the legacy 4K projection correction keeps working at either width.

Run on one 3440x1440 display (RTX 5080, 15.9 GB): 25 minutes at DLSS Balanced and a session at DLSS Quality with Frame Generation. The upscaler-off path at this width is not run yet.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 09:19:09 +00:00
github-bot changed target branch from main to gh-pr/284/base 2026-12-01 11:00:20 +00:00
github manually merged commit eefb03d818 into gh-pr/284/base 2026-12-01 11:00:21 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.