[pr-feature][rendering][series-s] F1 ULTRAWIDE row: side bars, stretched, or the monitor's full width #75

Open
starrockanonigtavi wants to merge 3 commits from starrockanonigtavi/Darner:ultrawide into main
First-time contributor

Contributor role (optional)

  • Fluxer ID: 1576513486756786176

What it changes

A new F1 row, DISPLAY AND INFO > ULTRAWIDE, for screens wider than 16:9. It applies at the next start.

  • SIDE BARS (default): unchanged. The picture keeps 16:9, with black bars at the sides.
  • STRETCHED: with FULLSCREEN on, the 16:9 picture fills the screen (DARNER_FULLSCREEN=stretch).
  • FULL WIDTH: the picture takes the monitor's shape (DARNER_NATIVE_WIDE=1), with the title's own display mode widened so the upscaler and the window match it:
    • Series X at 1440: the title's 2560x1440 display mode entry is widened to the monitor's width, and the UI pool is sized for the wider targets.
    • Series S: its 1080-line output is widened to the monitor's shape (3440x1440 gives 2580x1080). Every display mode entry, the scanout reservation and the default asked size are widened, and DARNER_DISPLAY_MODE is set so the title finds the mode.
    • DLSS is held to PERFORMANCE or ULTRA PERFORMANCE (or off). FULL WIDTH is not offered at Series X 4K.
    • The full-screen window takes the picture's shape (DARNER_PICTURE_ASPECT). The compose shader centres the 16:9 UI plane, carries the cut-scene bars across the full width, and draws black beside title cards.

Without this, DARNER_NATIVE_WIDE=1 alone shows a seam at about 74% of the width and a doubled image, because the title's upscaler and window stay 2560 wide.

The row's labels and help text are in locales/en.json only. Chinese falls back to English until someone translates them.

How it was tested

  • Tested revision: efe5b5e
  • Commands and results, on efe5b5e:
    • cargo clippy --workspace --all-targets --locked -- -D warnings: passed
    • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passed
    • cargo test --workspace --locked: 1 failure, host::refresh_tests::refresh_front_zero_arc_matches_and_runs_due (darner-gpu), which this change does not touch. Run alone it passed 5 of 5 times, and it passed in an earlier full darner-gpu run. Everything else passed.
    • cargo xtask policy: passed (553 files)
  • Gameplay: RTX 5080, 3440x1440 monitor, Series S profile, FULL WIDTH. The game ran at 2580x1080 with the picture filling the screen. This was the same change applied to the v2026.12.02.02 release, not this exact commit.
  • Coverage gaps:
    • Series X FULL WIDTH at 1440 was not tested in game.
    • STRETCHED and SIDE BARS were not tested in game on this commit.
    • Only one ultrawide shape (21:9) was tested. 32:9 was not.
    • This commit was not run in game. It was rebased onto the latest main, and the rebase conflicts were in the menu rows only, which are now localisation keys.

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs:
    • #34 keeps the window's aspect ratio when it is resized. It also touches lifecycle.rs, but covers the windowed case, not full screen.
    • #47 and #48 touch native_1440p.rs, run.rs and menu.rs.
    • #9, #12 and #16 add F1 rows in menu.rs and play.rs.
    • None of these covers ultrawide output.

🤖 Generated with Claude Code

## Contributor role (optional) - Fluxer ID: 1576513486756786176 ## What it changes A new F1 row, DISPLAY AND INFO > ULTRAWIDE, for screens wider than 16:9. It applies at the next start. - **SIDE BARS** (default): unchanged. The picture keeps 16:9, with black bars at the sides. - **STRETCHED**: with FULLSCREEN on, the 16:9 picture fills the screen (`DARNER_FULLSCREEN=stretch`). - **FULL WIDTH**: the picture takes the monitor's shape (`DARNER_NATIVE_WIDE=1`), with the title's own display mode widened so the upscaler and the window match it: - Series X at 1440: the title's 2560x1440 display mode entry is widened to the monitor's width, and the UI pool is sized for the wider targets. - Series S: its 1080-line output is widened to the monitor's shape (3440x1440 gives 2580x1080). Every display mode entry, the scanout reservation and the default asked size are widened, and `DARNER_DISPLAY_MODE` is set so the title finds the mode. - DLSS is held to PERFORMANCE or ULTRA PERFORMANCE (or off). FULL WIDTH is not offered at Series X 4K. - The full-screen window takes the picture's shape (`DARNER_PICTURE_ASPECT`). The compose shader centres the 16:9 UI plane, carries the cut-scene bars across the full width, and draws black beside title cards. Without this, `DARNER_NATIVE_WIDE=1` alone shows a seam at about 74% of the width and a doubled image, because the title's upscaler and window stay 2560 wide. The row's labels and help text are in `locales/en.json` only. Chinese falls back to English until someone translates them. ## How it was tested - Tested revision: efe5b5e - Commands and results, on efe5b5e: - `cargo clippy --workspace --all-targets --locked -- -D warnings`: passed - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`: passed - `cargo test --workspace --locked`: 1 failure, `host::refresh_tests::refresh_front_zero_arc_matches_and_runs_due` (darner-gpu), which this change does not touch. Run alone it passed 5 of 5 times, and it passed in an earlier full darner-gpu run. Everything else passed. - `cargo xtask policy`: passed (553 files) - Gameplay: RTX 5080, 3440x1440 monitor, Series S profile, FULL WIDTH. The game ran at 2580x1080 with the picture filling the screen. This was the same change applied to the v2026.12.02.02 release, not this exact commit. - Coverage gaps: - Series X FULL WIDTH at 1440 was not tested in game. - STRETCHED and SIDE BARS were not tested in game on this commit. - Only one ultrawide shape (21:9) was tested. 32:9 was not. - This commit was not run in game. It was rebased onto the latest `main`, and the rebase conflicts were in the menu rows only, which are now localisation keys. ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: - #34 keeps the window's aspect ratio when it is resized. It also touches `lifecycle.rs`, but covers the windowed case, not full screen. - #47 and #48 touch `native_1440p.rs`, `run.rs` and `menu.rs`. - #9, #12 and #16 add F1 rows in `menu.rs` and `play.rs`. - None of these covers ultrawide output. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ULTRAWIDE (DISPLAY AND INFO) says how the picture fills a screen wider than 16:9:
SIDE BARS (as before), STRETCHED (full screen's existing stretch), or FULL WIDTH
(DARNER_NATIVE_WIDE, Series X at 1440 lines, DLSS Performance or off).

With a wider Series X output the title's 2560x1440 display mode entry is widened
to it and the UI pool sized for its targets, so its upscaler and window follow:
no seam at 74.4% and no ghosted half-head. The full-screen window takes the
picture's shape (DARNER_PICTURE_ASPECT), and the 16:9 interface plane is centred
over the wider scene, with a cut scene's bars carried across and black beside a
title card.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every entry of the title's display mode table becomes Wx1080, the scanout
reservation grows with the width, the default picture asked for is the wider
one and the scanout check's bound on what is left over is raised; the display
is reported in the wider shape (DARNER_DISPLAY_MODE) so the title finds it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'ultrawide:starrockanonigtavi-ultrawide'
git switch 'starrockanonigtavi-ultrawide'

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 'starrockanonigtavi-ultrawide'
git switch 'starrockanonigtavi-ultrawide'
git rebase 'main'
git switch 'main'
git merge --ff-only 'starrockanonigtavi-ultrawide'
git switch 'starrockanonigtavi-ultrawide'
git rebase 'main'
git switch 'main'
git merge --no-ff 'starrockanonigtavi-ultrawide'
git switch 'main'
git merge --squash 'starrockanonigtavi-ultrawide'
git switch 'main'
git merge --ff-only 'starrockanonigtavi-ultrawide'
git switch 'main'
git merge 'starrockanonigtavi-ultrawide'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!75
No description provided.