[WIP][pr-fix][rendering] Add native 3440×1440 output #182

Manually merged
github merged 1 commit from github-bot/gh-182 into gh-pr/182/base 2026-12-06 00:51:11 +00:00 AGit
Owner

@⁠Kassadd on GitHub · 2026-12-05 20:48 UTC · original
Kassadd:codex/wip-native-3440x1440 → main · +179 −29 · 10 files · 1 commits · merged 2026-12-05 22:35 UTC

On a 3440×1440 monitor, the retail Series X title presents at 3840×2160. This ports Darner’s native-output approach to larp’s shared Windows and Proton rendering path. Set LARP_RESOLUTION=3440x1440 before launch to try it.

The change advertises 3440×1440 in the title’s SDR mode list and through DXGI. It keeps the title’s settings copies, temporal scene scale and UI memory pool consistent with that output. The presenter uses the selected dimensions even when the title submits a larger legacy HUD plane. A shader and projection check limits the frontend viewport adjustment to draws authored for the 4K canvas. The runner checks the retail executable hash and the expected bytes at each patch site before writing.

Testing

The isolated PR commit 9dd7e5f builds in release mode for x86_64-pc-windows-msvc using cargo-xwin on Linux. Native Windows runtime validation is pending.

A local integration build was tested on a 3440×1440 display with Proton Experimental, borderless mode and the Series X profile. The original executable created a 3840×2160 swapchain. With this change, the log recorded both the title’s primary plane and the host swapchain at 3440×1440. The tester confirmed the result in game.

Remaining work

  • Resolve the Series S UI pool discrepancy before merge. This version allocates 106 MiB at 3440×1440. Darner uses a 94 MiB pool for Series S at that output. Verify the console-specific allocation or limit the profile to Series X.
  • Report the actual environment variable used when a resolution alias is selected. Current logs always name LARP_RESOLUTION.
  • Repeat the gameplay check on this isolated branch and on native Windows.
  • Compare 2560×1440 against the baseline. Verify HUD placement, pause-map bounds and minimap proportions on both platforms.
  • Refs #144. Both branches select the swapchain size when a larger legacy HUD is present. If #144 lands first, use its presenter sizing and retain this branch’s title-side mode and settings changes.
  • #70 changes the same draw call to support a RenoDX HDR blit. A trial merge reports a conflict in draw.rs. When integrating, keep the legacy viewport adjustment scoped to its matching frontend draw and preserve RenoDX’s replacement path.
**@⁠Kassadd** on GitHub · 2026-12-05 20:48 UTC · [original](https://github.com/gamingwithhomie/larp/pull/182) `Kassadd:codex/wip-native-3440x1440` → `main` · +179 −29 · 10 files · 1 commits · merged 2026-12-05 22:35 UTC On a 3440×1440 monitor, the retail Series X title presents at 3840×2160. This ports Darner’s native-output approach to larp’s shared Windows and Proton rendering path. Set `LARP_RESOLUTION=3440x1440` before launch to try it. The change advertises 3440×1440 in the title’s SDR mode list and through DXGI. It keeps the title’s settings copies, temporal scene scale and UI memory pool consistent with that output. The presenter uses the selected dimensions even when the title submits a larger legacy HUD plane. A shader and projection check limits the frontend viewport adjustment to draws authored for the 4K canvas. The runner checks the retail executable hash and the expected bytes at each patch site before writing. ### Testing The isolated PR commit `9dd7e5f` builds in release mode for `x86_64-pc-windows-msvc` using cargo-xwin on Linux. Native Windows runtime validation is pending. A local integration build was tested on a 3440×1440 display with Proton Experimental, borderless mode and the Series X profile. The original executable created a 3840×2160 swapchain. With this change, the log recorded both the title’s primary plane and the host swapchain at 3440×1440. The tester confirmed the result in game. ### Remaining work - Resolve the Series S UI pool discrepancy before merge. This version allocates 106 MiB at 3440×1440. Darner uses a 94 MiB pool for Series S at that output. Verify the console-specific allocation or limit the profile to Series X. - Report the actual environment variable used when a resolution alias is selected. Current logs always name `LARP_RESOLUTION`. - Repeat the gameplay check on this isolated branch and on native Windows. - Compare 2560×1440 against the baseline. Verify HUD placement, pause-map bounds and minimap proportions on both platforms. ### Related pull requests - Refs #144. Both branches select the swapchain size when a larger legacy HUD is present. If #144 lands first, use its presenter sizing and retain this branch’s title-side mode and settings changes. - #70 changes the same draw call to support a RenoDX HDR blit. A trial merge reports a conflict in `draw.rs`. When integrating, keep the legacy viewport adjustment scoped to its matching frontend draw and preserve RenoDX’s replacement path.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 20:52:53 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 20:53 UTC · original

Thank you - native 3440x1440 is a long-requested one (#26/#14 cluster). Keeping as WIP review for next round alongside the resolution work in v1.1.0/v1.1.1 (legacy 4K UI flag + UI pool patch); please say on the PR which parts are ready to test and which are still open. Review next round.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 20:53 UTC · [original](https://github.com/gamingwithhomie/larp/pull/182#issuecomment-7445194379) Thank you - native 3440x1440 is a long-requested one (#26/#14 cluster). Keeping as WIP review for next round alongside the resolution work in v1.1.0/v1.1.1 (legacy 4K UI flag + UI pool patch); please say on the PR which parts are ready to test and which are still open. Review next round.
github-bot force-pushed github-bot/gh-182 from 9dd7e5f0a6 to 8e0097f14e 2026-12-05 22:06:23 +00:00 Compare
Author
Owner

@⁠Kassadd on GitHub · 2026-12-05 22:01 UTC · original

Tested on Series X with Proton at 3440×1440: the game presents a full-width image, and both the primary plane and swapchain are 3440×1440. Native Windows testing is still pending.

We plan to focus native ultrawide support on Series X and investigate other widescreen resolutions. Series S handling remains open in this WIP. We are also experimenting locally with HUD placement and scale, including moving the minimap and its surrounding elements together.

**@⁠Kassadd** on GitHub · 2026-12-05 22:01 UTC · [original](https://github.com/gamingwithhomie/larp/pull/182#issuecomment-7446249414) Tested on Series X with Proton at 3440×1440: the game presents a full-width image, and both the primary plane and swapchain are 3440×1440. Native Windows testing is still pending. We plan to focus native ultrawide support on Series X and investigate other widescreen resolutions. Series S handling remains open in this WIP. We are also experimenting locally with HUD placement and scale, including moving the minimap and its surrounding elements together.
github-bot changed target branch from main to gh-pr/182/base 2026-12-05 22:38:09 +00:00
github-bot referenced this pull request from a commit 2026-12-06 00:43:55 +00:00
github manually merged commit 8e0097f14e into gh-pr/182/base 2026-12-06 00:51:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.