WIP: Add native Series X ultrawide output and HUD controls #3521

Code

Clone this repository

Checkout

From your project repository, check out a new branch and test the changes.

git fetch -u origin "+refs/pull/3521/head:invismann/series-x-ultrawide-runtime"
git switch "invismann/series-x-ultrawide-runtime"
Draft
leonida/mandy
invismann wants to merge 1 commit from invismann/series-x-ultrawide-runtime into main AGit

This pull request is marked as a work in progress.

This pull request cannot be merged because it is marked as being a work in progress.

Conversation
Reviewers 0 approvals
  • No reviewers
Details

This pull request can be merged automatically.

This pull request is marked as a work in progress.

This pull request cannot be merged because it is marked as being a work in progress.

View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3521/head:invismann/series-x-ultrawide-runtime'
git switch 'invismann/series-x-ultrawide-runtime'
First-time contributor

Claimed in the coordination issue as Native Series X ultrawide. #3312 carries forward the existing claims.

Depends on: #2889

What and why

Adds native Series X output for 21:9 and 32:9, with aspect and HUD selection in F1 and the Windows and Linux start scripts. The runtime keeps the intro video and loading artwork centered, preserves the pause map and marker layout, and supports screen-edge, centered, and stock HUD layouts. Match monitor falls back to standard output when its preset cannot keep the selected render height.

This replaces the runtime and start-script portion of #2958. The desktop and web launcher controls have a separate follow-up.

The 3840×1080 preset needs #2889 to cap the taller 2560×1440 mode-table row. The proposed changes overlap in leonida-loader/src/hooks.rs. Keep this draft until that dependency is integrated and the 3840×1080 case is checked. Scenes wider than 4096 pixels select a separate shadow shader variant and cache fingerprint, so the first start in that variant may translate and warm pipelines again.

Tested

  • Built leonida at 4dfe1c401a on main d99bb4d7a0 with the pinned Rust toolchain. The synthetic compositor readbacks passed with LEONIDA_D3D12_DEBUG=1. The frame-limit and descriptor-straddle tests passed too. The loading, loader, and wide-shadow tests passed before the final base update, which left those sources intact.
  • Ran the PowerShell launch tests for automatic aspect fallback, render height, card masking, and F1 restart. The 1080p-only 32:9 regression failed before the fallback and passed after it. Git Bash passed the Linux start script's syntax and help checks.
  • The generated switch catalog and changed-file clean-room checks passed. The wide-shadow translator case uses a synthetic listing and documents the contract in docs/design.md.
  • The old #2958 run reports apply to the commits listed there. The current-build retail rendering gate, intro appearance, and 3840×1080 validation after #2889 are pending.

GPUs tested: NVIDIA GeForce RTX 4090, driver 621.01, Windows 11 Pro build 26300.10075, synthetic compositor readbacks.

AI-assisted: yes. Implementation and verification used OpenAI Codex (GPT-6.2 Sol). The independent read-only review used GPT-6.2 Sol.

Checklist

  • Based on the fetched main and merges cleanly with it.
  • One topic. Launcher UI changes are a follow-up.
  • No game data, keys or decryption.
  • The new translator rule and its validation are recorded in docs/design.md.
Claimed in the coordination issue as [Native Series X ultrawide](https://clearfieldswimming.com/leonida/mandy/issues/2570#issuecomment-6757). [#3312](https://clearfieldswimming.com/leonida/mandy/issues/3312) carries forward the existing claims. Depends on: #2889 ### What and why Adds native Series X output for 21:9 and 32:9, with aspect and HUD selection in F1 and the Windows and Linux start scripts. The runtime keeps the intro video and loading artwork centered, preserves the pause map and marker layout, and supports screen-edge, centered, and stock HUD layouts. Match monitor falls back to standard output when its preset cannot keep the selected render height. This replaces the runtime and start-script portion of #2958. The desktop and web launcher controls have a separate follow-up. The 3840×1080 preset needs #2889 to cap the taller 2560×1440 mode-table row. The proposed changes overlap in `leonida-loader/src/hooks.rs`. Keep this draft until that dependency is integrated and the 3840×1080 case is checked. Scenes wider than 4096 pixels select a separate shadow shader variant and cache fingerprint, so the first start in that variant may translate and warm pipelines again. ### Tested - Built `leonida` at `4dfe1c401a` on `main` `d99bb4d7a0` with the pinned Rust toolchain. The synthetic compositor readbacks passed with `LEONIDA_D3D12_DEBUG=1`. The frame-limit and descriptor-straddle tests passed too. The loading, loader, and wide-shadow tests passed before the final base update, which left those sources intact. - Ran the PowerShell launch tests for automatic aspect fallback, render height, card masking, and F1 restart. The 1080p-only 32:9 regression failed before the fallback and passed after it. Git Bash passed the Linux start script's syntax and help checks. - The generated switch catalog and changed-file clean-room checks passed. The wide-shadow translator case uses a synthetic listing and documents the contract in `docs/design.md`. - The old [#2958](https://clearfieldswimming.com/leonida/mandy/pulls/2958) run reports apply to the commits listed there. The current-build retail rendering gate, intro appearance, and 3840×1080 validation after #2889 are pending. GPUs tested: NVIDIA GeForce RTX 4090, driver 621.01, Windows 11 Pro build 26300.10075, synthetic compositor readbacks. AI-assisted: yes. Implementation and verification used OpenAI Codex (GPT-6.2 Sol). The independent read-only review used GPT-6.2 Sol. ### Checklist - [x] Based on the fetched `main` and merges cleanly with it. - [x] One topic. Launcher UI changes are a follow-up. - [x] No game data, keys or decryption. - [x] The new translator rule and its validation are recorded in `docs/design.md`.
Sign in to join this conversation.
No description provided.