1440p Native UI Scaling Fix #541

Merged
Remorc-e merged 2 commits from upstream-pr/541 into main 2026-11-28 19:39:39 +00:00
Remorc-e commented 2026-11-28 00:33:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T00:33:31Z.


The problem

With the 1440p output (-Res 1440, the launcher's default):

  • Menus and the HUD are drawn about 1.5 times too large and overlap. On Settings > Control Scheme the callout labels spill over the list, the tab row runs off to the right and the footer prompts collide. Reported in #98 ("Screen scaling is really big") and #301 ("HUD size issue"); #134 saw it on the same screen.
  • Icons on the pause map (the player arrow, blips) sit 1.5 times too far from the map's top left corner, so they point at the wrong places. Found in review.

With -Res 4k, and in Series S mode, both are correct.

The cause

The game's menus and map are authored for 3840x2160. Series S outputs 1920x1080 and scales them down; its settings preset says how, with three video settings:

Legacy UI flag Legacy UI (layout) size Output size TV mode (SDR)
Series S (stock) 1 3840x2160 1920x1080 3840x2160
Series X (stock) 0 (none) 3840x2160 3840x2160
Series X, 1440p before this PR 0 (none) 2560x1440 patched to 2560x1440
Series X, 1440p with this PR 1 3840x2160 2560x1440 3840x2160

Everything that lays out the interface asks the settings for the layout size (0x7B4E10). That query returns the legacy size when the flag is on, and the output size when it's off. Its readers:

  • the menus and HUD;
  • the game's screen size (0x92D7924), which places the map's icons;
  • the pause map's render targets.

A real Series X always outputs 4K, so its preset never needs the flag. With a 1440p output and the flag off, the layout became 2560x1440 while the content stayed 4K-sized: menus and HUD 1.5 times too large. Captures of the frontend layer at 1440p and at 4K show every element's screen transform exactly 1.500x larger at 1440p, at the same pixel offsets. Forcing the flag only where it is read fixed the menus. But the map's targets still got 2560x1440 from the settings, while its icons were placed for 3840x2160.

The fix

apps/victory/src/native_1440p.rs. Each patched place is checked against the stock bytes first (as a BLAKE3 hash), like the existing ones:

  • The settings themselves (0x1D70B98, in the settings collection's copy 0x1D70750). Every settings store goes through this copy: the start-up apply, runtime updates and backups. Its last store of the video block jumps to our code in int3 padding between two functions (0x55FF285). That code does the same store, then writes:

    • the legacy UI flag = 1;
    • the legacy UI size = 3840x2160;
    • the output size = 2560x1440;

    and jumps back. The game's own code then gives every reader the Series S arrangement. The rest of the preset stays Series X.

  • The SDR mode stays at stock 3840x2160, as on Series S. No longer patched to 2560x1440. run.rs no longer reports a 2560x1440 display (VICTORY_DISPLAY_MODE): the game sees the 3840x2160 default, as on Series S.

  • 0x247AD4A, the UI memory pool. The constant this file called the scanout reservation is the Series X UI pool size in the UI setup at 0x247AD10 (mov ecx, 0x4000000). Series S gets 0x5200000 there, through a cmovne on the game's Series S check.

    • With the flag set, the UI setup makes two 3840x2160 legacy surfaces and two 2560x1440 targets in that pool. It asserts that at most 0x1FFFFF is left over (0x247AF25).
    • The pool is now 0x5E00000 (94 MiB): those four surfaces rounded up to 2 MiB. Without the room, the game's allocator asserted (int3 at 0x56A2AFD).
    • Renamed to UI_POOL.
  • 0x58048D4, the Settings preview viewport load, is no longer redirected to the SDR mode. With the flag set, the legacy size it loads is the right one.

  • The temporal scene scale stays as before. No renderer changes: nothing in draw.rs.

The cost is what Series S pays: one 4K UI layer, and the pause map drawn at 4K and scaled down. The scene and the output stay 1440p.

Screenshots

Series X profile at the 1440p output, RTX 4070 Ti.

Pause map: the player arrow and the blips sit on their places.

Pause map at 1440p

Settings > Control Scheme: laid out as at 4K output.

Settings > Control Scheme at 1440p

Testing

  • In game: RTX 4070 Ti, Windows 11, Series X profile, 1440p output with DLSS Performance.
    • The pause map's icons and player arrow sit on their places.
    • Settings > Control Scheme is laid out as at 4K output, and the HUD is correct in play.
  • Values in a check run: layout 0xA9438EC/F0 = 3840x2160, output 0xA9438CC/D0 = 2560x1440, flag 0xA9438F4 = 1, screen size 0x92D7924/8 = 3840x2160. No assertions.
  • cargo test --locked -p victory with VICTORY_DISPLAY_PROFILE_TEST_IMAGE pointing at the retail v1.0.2.1 exe: all pass. The 1440p test checks:
    • the SDR mode stays stock;
    • the UI pool size;
    • the jump to our code, and that its jump back lands right after the patched site.
  • cargo xtask policy: ok. cargo clippy -p victory: no warnings in the changed files.

Not tested:

  • the 1080p-to-1440p scene (-Res 1080to1440), which uses the same patch;
  • #137's ultrawide output, which would need its own sizes.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5534962502 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T00:33:31Z. --- ## The problem With the 1440p output (`-Res 1440`, the launcher's default): - **Menus and the HUD** are drawn about **1.5 times too large** and overlap. On Settings > Control Scheme the callout labels spill over the list, the tab row runs off to the right and the footer prompts collide. Reported in #98 ("Screen scaling is really big") and #301 ("HUD size issue"); #134 saw it on the same screen. - **Icons on the pause map** (the player arrow, blips) sit 1.5 times too far from the map's top left corner, so they point at the wrong places. Found in review. With `-Res 4k`, and in Series S mode, both are correct. ## The cause The game's menus and map are authored for 3840x2160. Series S outputs 1920x1080 and scales them down; its settings preset says how, with three video settings: | | Legacy UI flag | Legacy UI (layout) size | Output size | TV mode (SDR) | |---|---|---|---|---| | Series S (stock) | **1** | **3840x2160** | 1920x1080 | 3840x2160 | | Series X (stock) | 0 | (none) | 3840x2160 | 3840x2160 | | Series X, 1440p before this PR | 0 | (none) | 2560x1440 | patched to 2560x1440 | | Series X, 1440p with this PR | **1** | **3840x2160** | 2560x1440 | 3840x2160 | Everything that lays out the interface asks the settings for the layout size (`0x7B4E10`). That query returns the legacy size when the flag is on, and the output size when it's off. Its readers: - the menus and HUD; - the game's screen size (`0x92D7924`), which places the map's icons; - the pause map's render targets. A real Series X always outputs 4K, so its preset never needs the flag. With a 1440p output and the flag off, the layout became 2560x1440 while the content stayed 4K-sized: menus and HUD 1.5 times too large. Captures of the frontend layer at 1440p and at 4K show every element's screen transform exactly 1.500x larger at 1440p, at the same pixel offsets. Forcing the flag only where it is read fixed the menus. But the map's targets still got 2560x1440 from the settings, while its icons were placed for 3840x2160. ## The fix `apps/victory/src/native_1440p.rs`. Each patched place is checked against the stock bytes first (as a BLAKE3 hash), like the existing ones: - **The settings themselves** (`0x1D70B98`, in the settings collection's copy `0x1D70750`). Every settings store goes through this copy: the start-up apply, runtime updates and backups. Its last store of the video block jumps to our code in `int3` padding between two functions (`0x55FF285`). That code does the same store, then writes: - the legacy UI flag = 1; - the legacy UI size = 3840x2160; - the output size = 2560x1440; and jumps back. The game's own code then gives every reader the Series S arrangement. The rest of the preset stays Series X. - **The SDR mode stays at stock 3840x2160**, as on Series S. No longer patched to 2560x1440. `run.rs` no longer reports a 2560x1440 display (`VICTORY_DISPLAY_MODE`): the game sees the 3840x2160 default, as on Series S. - **`0x247AD4A`, the UI memory pool.** The constant this file called the scanout reservation is the Series X UI pool size in the UI setup at `0x247AD10` (`mov ecx, 0x4000000`). Series S gets `0x5200000` there, through a `cmovne` on the game's Series S check. - With the flag set, the UI setup makes two 3840x2160 legacy surfaces and two 2560x1440 targets in that pool. It asserts that at most `0x1FFFFF` is left over (`0x247AF25`). - The pool is now `0x5E00000` (94 MiB): those four surfaces rounded up to 2 MiB. Without the room, the game's allocator asserted (`int3` at `0x56A2AFD`). - Renamed to `UI_POOL`. - **`0x58048D4`, the Settings preview viewport load**, is no longer redirected to the SDR mode. With the flag set, the legacy size it loads is the right one. - **The temporal scene scale** stays as before. No renderer changes: nothing in `draw.rs`. The cost is what Series S pays: one 4K UI layer, and the pause map drawn at 4K and scaled down. The scene and the output stay 1440p. ## Screenshots Series X profile at the 1440p output, RTX 4070 Ti. **Pause map:** the player arrow and the blips sit on their places. ![Pause map at 1440p](https://raw.githubusercontent.com/Remorc-e/VIctory-NVIDIA/pr541-screenshots/screenshots/1440p-native-map.webp) **Settings > Control Scheme:** laid out as at 4K output. ![Settings > Control Scheme at 1440p](https://raw.githubusercontent.com/Remorc-e/VIctory-NVIDIA/pr541-screenshots/screenshots/1440p-native-control-scheme.webp) ## Testing - **In game:** RTX 4070 Ti, Windows 11, Series X profile, 1440p output with DLSS Performance. - The pause map's icons and player arrow sit on their places. - Settings > Control Scheme is laid out as at 4K output, and the HUD is correct in play. - **Values in a check run:** layout `0xA9438EC/F0` = 3840x2160, output `0xA9438CC/D0` = 2560x1440, flag `0xA9438F4` = 1, screen size `0x92D7924/8` = 3840x2160. No assertions. - **`cargo test --locked -p victory`** with `VICTORY_DISPLAY_PROFILE_TEST_IMAGE` pointing at the retail v1.0.2.1 exe: all pass. The 1440p test checks: - the SDR mode stays stock; - the UI pool size; - the jump to our code, and that its jump back lands right after the patched site. - **`cargo xtask policy`:** ok. **`cargo clippy -p victory`:** no warnings in the changed files. Not tested: - the 1080p-to-1440p scene (`-Res 1080to1440`), which uses the same patch; - #137's ultrawide output, which would need its own sizes.
Remorc-e commented 2026-11-28 00:34:46 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T00:34:46Z.


Screenshots from this branch, Series X profile at the 1440p output (RTX 4070 Ti, DLSS and frame generation on).

Settings > Control Scheme with the F1 menu open, showing CONSOLE: SERIES X and SERIES X PICTURE: 2560X1440:

Settings at 1440p with the F1 menu

The same screen without the menu: every callout sits next to its button, the list shows all six rows with its 3 / 9 counter, and the footer prompts are evenly spaced, as at the 4K output:

Settings > Control Scheme at 1440p

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231025258 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7231025258). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T00:34:46Z. --- Screenshots from this branch, Series X profile at the 1440p output (RTX 4070 Ti, DLSS and frame generation on). **Settings > Control Scheme with the F1 menu open**, showing `CONSOLE: SERIES X` and `SERIES X PICTURE: 2560X1440`: ![Settings at 1440p with the F1 menu](https://raw.githubusercontent.com/Remorc-e/VIctory-NVIDIA/pr541-screenshots/screenshots/1440p-settings-with-f1-menu.webp) **The same screen without the menu**: every callout sits next to its button, the list shows all six rows with its `3 / 9` counter, and the footer prompts are evenly spaced, as at the 4K output: ![Settings > Control Scheme at 1440p](https://raw.githubusercontent.com/Remorc-e/VIctory-NVIDIA/pr541-screenshots/screenshots/1440p-settings-control-scheme.webp)
SeaLife commented 2026-11-28 00:58:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SeaLife on 2026-11-28T00:58:00Z.


Tested this on a combined local branch, findings below.

Setup: RTX 4070 Ti 12 GB, Ryzen 9 9950X, 64 GB RAM, Windows 11 (10.0.26300), driver 621.1.0, retail 1.0.2.1 (exe SHA-256 e95020b2…). Series X profile, 1440p output, DLSS Performance (scene 1280x720), DLSS frame generation 2x.

Base: main @ 64d4931 plus these open PRs:
#428, #340, #423, #339, #400, #315 (incl. #243), #242, #257, #223, #253, #222, #177, #353, #225, #386, #169, #390, #285, #280, #394, #534, #521, #475.
(#534 conflicts with #428 in emit/lower.rs on the pixel colour output; resolved by chaining both: let s = self.scrub_nan(f); self.clamp_hdr(s). Shader tests 292/292 pass.)

#541 against #391: they are mutually exclusive (combined, the interface would be scaled down twice), so for this test #391 was reverted and #541 merged on its own. native_1440p retail-image tests pass with the real exe.

What breaks with #541 here: the map (pause menu → KARTE).

  • The right part of the map is covered by a dark, soft-edged area (east of Key Lento, over the sea), as if the terrain/fog layer covered less than the full interface surface.
  • The bottom-right prompt "2D-ANSICHT" is cut at the bottom edge.
  • Same save, same spot, with #391 + the fix below: the map is complete, so this comes from #541.
  • Likely cause: as documented in #391, the map's terrain, fog and cursor picking are worked out from the global screen size (0x92d7924), which stays 2560x1440, while the interface now draws on the 3840x2160 legacy surface.
  • Menus looked correct. Shop labels, the boot prompts and the HUD in gameplay were not checked further with #541, because we switched back after the map.

What we use instead (#391 + two additions), tested in gameplay:
With #391 alone, two things were still off at 1440p:

  1. Shop goods/prices (the list pinned to the item, e.g. "PATRIOT-BIER (5 $)") were cut to a fragment.
    • These are drawn in a movie inset by the safe area: viewport 77,54 3686x2052 on the 2560x1440 output.
    • on_canvas() only matches a viewport of exactly 3840x2160, so this one was drawn unscaled.
    • Fix (draw.rs): a viewport that reaches past the 2560x1440 output but lies inside the canvas also counts as canvas. No draw onto the output itself has such a viewport.
  2. After (1), shop labels and boot prompts (LB/X/Y at a car's boot) sat at exactly 2/3 of their position (e.g. "X LAGER" at (760,613) instead of about (1140,920)).
    • Their anchor comes from GetScreenSize through the interface's vtable (.rdata 0x619bd70, slot +0x30 at 0x619bda0, 0xcab820), which still answers 2560x1440.
    • Fix (native_1440p.rs): that slot points to #391's legacy-size copy (0x55ff290, 3840x2160), as on the stock 4K output. Switch: VICTORY_UI_SCREEN_VTABLE=0.
    • Either change alone is wrong: (2) without (1) put the boot prompts 1.5x too far; (1) without (2) gives the 2/3 offset. Together, shop list, boot prompts, HUD, menus and the map (terrain, fog, cursor) are in place.

Diagnostics we used: VICTORY_UI_CANVAS_LOG=1 logs each new viewport/scissor on the 2560x1440 output and whether it is scaled. That is how the 77,54 3686x2052 safe-area viewport showed up.

Happy to share the diff if it helps. #541's approach (letting the title use its own legacy UI path) looks cleaner long-term, if the map's terrain/fog can be made to follow it.

karte
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231321105 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7231321105). Originally posted by [SeaLife](https://github.com/SeaLife) on 2026-11-28T00:58:00Z. --- Tested this on a combined local branch, findings below. **Setup:** RTX 4070 Ti 12 GB, Ryzen 9 9950X, 64 GB RAM, Windows 11 (10.0.26300), driver 621.1.0, retail 1.0.2.1 (exe SHA-256 `e95020b2…`). Series X profile, 1440p output, DLSS Performance (scene 1280x720), DLSS frame generation 2x. **Base:** `main` @ `64d4931` plus these open PRs: #428, #340, #423, #339, #400, #315 (incl. #243), #242, #257, #223, #253, #222, #177, #353, #225, #386, #169, #390, #285, #280, #394, #534, #521, #475. (#534 conflicts with #428 in `emit/lower.rs` on the pixel colour output; resolved by chaining both: `let s = self.scrub_nan(f); self.clamp_hdr(s)`. Shader tests 292/292 pass.) **#541 against #391:** they are mutually exclusive (combined, the interface would be scaled down twice), so for this test #391 was reverted and #541 merged on its own. `native_1440p` retail-image tests pass with the real exe. **What breaks with #541 here: the map (pause menu → KARTE).** - The right part of the map is covered by a dark, soft-edged area (east of Key Lento, over the sea), as if the terrain/fog layer covered less than the full interface surface. - The bottom-right prompt "2D-ANSICHT" is cut at the bottom edge. - Same save, same spot, with #391 + the fix below: the map is complete, so this comes from #541. - Likely cause: as documented in #391, the map's terrain, fog and cursor picking are worked out from the global screen size (`0x92d7924`), which stays 2560x1440, while the interface now draws on the 3840x2160 legacy surface. - Menus looked correct. Shop labels, the boot prompts and the HUD in gameplay were not checked further with #541, because we switched back after the map. **What we use instead (#391 + two additions), tested in gameplay:** With #391 alone, two things were still off at 1440p: 1. **Shop goods/prices** (the list pinned to the item, e.g. "PATRIOT-BIER (5 $)") were cut to a fragment. - These are drawn in a movie inset by the safe area: viewport `77,54 3686x2052` on the 2560x1440 output. - `on_canvas()` only matches a viewport of exactly 3840x2160, so this one was drawn unscaled. - **Fix** (`draw.rs`): a viewport that reaches past the 2560x1440 output but lies inside the canvas also counts as canvas. No draw onto the output itself has such a viewport. 2. After (1), shop labels and **boot prompts** (LB/X/Y at a car's boot) sat at exactly **2/3 of their position** (e.g. "X LAGER" at (760,613) instead of about (1140,920)). - Their anchor comes from `GetScreenSize` through the interface's vtable (`.rdata 0x619bd70`, slot `+0x30` at `0x619bda0`, `0xcab820`), which still answers 2560x1440. - **Fix** (`native_1440p.rs`): that slot points to #391's legacy-size copy (`0x55ff290`, 3840x2160), as on the stock 4K output. Switch: `VICTORY_UI_SCREEN_VTABLE=0`. - Either change alone is wrong: (2) without (1) put the boot prompts 1.5x too far; (1) without (2) gives the 2/3 offset. Together, shop list, boot prompts, HUD, menus and the map (terrain, fog, cursor) are in place. **Diagnostics we used:** `VICTORY_UI_CANVAS_LOG=1` logs each new viewport/scissor on the 2560x1440 output and whether it is scaled. That is how the `77,54 3686x2052` safe-area viewport showed up. Happy to share the diff if it helps. #541's approach (letting the title use its own legacy UI path) looks cleaner long-term, if the map's terrain/fog can be made to follow it. <img width="2559" height="1439" alt="karte" src="https://github.com/user-attachments/assets/469fd649-f029-4f9b-8d57-f8d59bde4473" />
Remorc-e commented 2026-11-28 01:18:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T01:18:53Z.


Double checking now, went with native legacy UI path to avoid needing to do per-screen type patches like in #391 .

I wasn't seeing that in my build which is just main + #541 . Not sure if there are compounding conflicts when you add all the others in.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231577055 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7231577055). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T01:18:53Z. --- Double checking now, went with native legacy UI path to avoid needing to do per-screen type patches like in #391 . I wasn't seeing that in my build which is just main + #541 . Not sure if there are compounding conflicts when you add all the others in.
Remorc-e commented 2026-11-28 01:33:13 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T01:33:13Z.


Screenshot 2026-11-27 202605

Not able to replicate that screenshot you shared earlier.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7231747800 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7231747800). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T01:33:13Z. --- <img width="2427" height="1344" alt="Screenshot 2026-11-27 202605" src="https://github.com/user-attachments/assets/8e46c9a8-a656-4f85-bfc3-5719080d169f" /> Not able to replicate that screenshot you shared earlier.
SeaLife commented 2026-11-28 02:00:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SeaLife on 2026-11-28T02:00:53Z.


Screenshot 2026-11-27 202605

Not able to replicate that screenshot you shared earlier.

As you can see in your screenshot, the red dot is not where its supposed to be. I just ran main + 541 and you can see here, its not scaling right. So #391 plus the changes i made are working well on 1440p.

https://cdn.discordapp.com/attachments/1575253173256462492/1576055187502530560/2026-11-28_02-58-30.mp4?ex=6b0b8746&is=6b0a35c6&hm=cf0df1070905fc3fd8a74a2fa61e032a8d39f0fea3afbe90832e0c3384a87d7c&

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7232069111 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7232069111). Originally posted by [SeaLife](https://github.com/SeaLife) on 2026-11-28T02:00:53Z. --- > <img alt="Screenshot 2026-11-27 202605" width="2000" height="1108" src="https://private-user-images.githubusercontent.com/176498006/721950350-8e46c9a8-a656-4f85-bfc3-5719080d169f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU4MzEzNjUsIm5iZiI6MTc5NTgzMTA2NSwicGF0aCI6Ii8xNzY0OTgwMDYvNzIxOTUwMzUwLThlNDZjOWE4LWE2NTYtNGY4NS1iZmMzLTU3MTkwODBkMTY5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyOFQwMTU3NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNTBjNWY5Yzk3NmFkZjdkYWYxMzcyZTQ4ODc2ZTA4MWFmNmJkODQyOGFiMjJhN2YyNjJjMWYxN2Q3YjhhNmQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.E3LrxrKaPwD8w8kRLU0i111dbizCExcdop7kiSmsmE8"> > > Not able to replicate that screenshot you shared earlier. As you can see in your screenshot, the red dot is not where its supposed to be. I just ran main + 541 and you can see here, its not scaling right. So #391 plus the changes i made are working well on 1440p. https://cdn.discordapp.com/attachments/1575253173256462492/1576055187502530560/2026-11-28_02-58-30.mp4?ex=6b0b8746&is=6b0a35c6&hm=cf0df1070905fc3fd8a74a2fa61e032a8d39f0fea3afbe90832e0c3384a87d7c&
Remorc-e commented 2026-11-28 02:02:39 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T02:02:39Z.


Screenshot 2026-11-27 202605 Not able to replicate that screenshot you shared earlier.

As you can see in your screenshot, the red dot is not where its supposed to be. I just ran main + 541 and you can see here, its not scaling right. So #391 plus the changes i made are working well on 1440p.

https://cdn.discordapp.com/attachments/1575253173256462492/1576055187502530560/2026-11-28_02-58-30.mp4?ex=6b0b8746&is=6b0a35c6&hm=cf0df1070905fc3fd8a74a2fa61e032a8d39f0fea3afbe90832e0c3384a87d7c&

I misunderstood then, I thought you were referring to the double image you have in your screenshot where it looks like the map is pulled up 3/4 of the way to the top.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7232090144 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7232090144). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T02:02:39Z. --- > > <img alt="Screenshot 2026-11-27 202605" width="2000" height="1108" src="https://private-user-images.githubusercontent.com/176498006/721950350-8e46c9a8-a656-4f85-bfc3-5719080d169f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU4MzEzNjUsIm5iZiI6MTc5NTgzMTA2NSwicGF0aCI6Ii8xNzY0OTgwMDYvNzIxOTUwMzUwLThlNDZjOWE4LWE2NTYtNGY4NS1iZmMzLTU3MTkwODBkMTY5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyOFQwMTU3NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNTBjNWY5Yzk3NmFkZjdkYWYxMzcyZTQ4ODc2ZTA4MWFmNmJkODQyOGFiMjJhN2YyNjJjMWYxN2Q3YjhhNmQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.E3LrxrKaPwD8w8kRLU0i111dbizCExcdop7kiSmsmE8"> > > Not able to replicate that screenshot you shared earlier. > > As you can see in your screenshot, the red dot is not where its supposed to be. I just ran main + 541 and you can see here, its not scaling right. So #391 plus the changes i made are working well on 1440p. > > https://cdn.discordapp.com/attachments/1575253173256462492/1576055187502530560/2026-11-28_02-58-30.mp4?ex=6b0b8746&is=6b0a35c6&hm=cf0df1070905fc3fd8a74a2fa61e032a8d39f0fea3afbe90832e0c3384a87d7c& I misunderstood then, I thought you were referring to the double image you have in your screenshot where it looks like the map is pulled up 3/4 of the way to the top.
Remorc-e commented 2026-11-28 06:23:12 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Remorc-e on 2026-11-28T06:23:12Z.


Updated: the map icons are fixed, by having the game run with Series S's own output settings.

  • Why the icons were off: the pause map's targets are sized from the game's own UI layout size. The first version set the legacy UI flag where the game reads it. The settings themselves still said "flag off", so the map was drawn at 2560x1440 while its icons were placed for 3840x2160.
  • The fix: the three output settings Series S's preset sets (legacy UI flag on, layout size 3840x2160, output size) are now written into the game's settings themselves, with a 2560x1440 output. One patch, in the routine every settings change goes through. Every reader (menus, HUD, the game's screen size, the pause map) then gets the Series S arrangement.
  • The SDR mode and the reported display stay at stock 3840x2160, as on Series S. The old SDR mode patch and the VICTORY_DISPLAY_MODE override are gone.
  • Removed: the two flag patches (0x1E0FB69, 0x26192F9).
  • Kept: the UI pool size (0x247AD4A) and the temporal scene scale.
  • No renderer workaround: nothing changes in draw.rs (unlike #391's viewport scaling).
  • Tested on an RTX 4070 Ti at 1440p: map icons, the player arrow, menus and HUD line up. Unit tests with the retail image pass; asset policy ok; no clippy warnings in the changed files.

Thanks for the report on the map icons.

Pause map at 1440p

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7235261641 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7235261641). Originally posted by [Remorc-e](https://github.com/Remorc-e) on 2026-11-28T06:23:12Z. --- Updated: the map icons are fixed, by having the game run with Series S's own output settings. - **Why the icons were off:** the pause map's targets are sized from the game's own UI layout size. The first version set the legacy UI flag where the game *reads* it. The settings themselves still said "flag off", so the map was drawn at 2560x1440 while its icons were placed for 3840x2160. - **The fix:** the three output settings Series S's preset sets (legacy UI flag on, layout size 3840x2160, output size) are now written into the game's settings themselves, with a 2560x1440 output. One patch, in the routine every settings change goes through. Every reader (menus, HUD, the game's screen size, the pause map) then gets the Series S arrangement. - **The SDR mode and the reported display stay at stock 3840x2160**, as on Series S. The old SDR mode patch and the `VICTORY_DISPLAY_MODE` override are gone. - **Removed:** the two flag patches (`0x1E0FB69`, `0x26192F9`). - **Kept:** the UI pool size (`0x247AD4A`) and the temporal scene scale. - **No renderer workaround:** nothing changes in `draw.rs` (unlike #391's viewport scaling). - **Tested** on an RTX 4070 Ti at 1440p: map icons, the player arrow, menus and HUD line up. Unit tests with the retail image pass; asset policy ok; no clippy warnings in the changed files. Thanks for the report on the map icons. ![Pause map at 1440p](https://raw.githubusercontent.com/Remorc-e/VIctory-NVIDIA/pr541-screenshots/screenshots/1440p-native-map.webp)
abilliontokens commented 2026-11-28 09:26:15 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-28T09:26:15Z.


Tested: works here.

Setup: RTX 5060 Ti 16 GB, Windows 11 (26200), retail 1.0.2.1, Series X profile, -Res 1440, DLSS off, diag build. Base 63b902f + this PR (head 0c0d466, applied unchanged) + #937.

  • Before: every Settings page overlapped at 1440p (Control Scheme, Controller, Gameplay, UI). Writing 2560x1440 into resolutionFullscreen in settings.xml (the lever suggested in #828) and dropping the 0x58048D4 viewport redirect each changed nothing.
  • After: Control Scheme and Controller are laid out as at 4K output.
  • Memory: a VICTORY_WATCH on 0xA9438F4/0xA9438EC/0xA9438CC showed the game set the legacy UI flag to 1 and the legacy size to 3840x2160 itself during start-up. Forcing the flag to 1 at run time instead crashes the title (null at 0x1EB9AAE), so setting it through the settings, as this PR does, is the way that works.
  • Test: patches_the_retail_image_for_1440p passes against the retail exe (VICTORY_DISPLAY_PROFILE_TEST_IMAGE).

Not checked here: the pause map icons and the 1080to1440 profile.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7237239013 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7237239013). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-28T09:26:15Z. --- Tested: works here. **Setup:** RTX 5060 Ti 16 GB, Windows 11 (26200), retail 1.0.2.1, Series X profile, `-Res 1440`, DLSS off, diag build. Base `63b902f` + this PR (head `0c0d466`, applied unchanged) + #937. - **Before:** every Settings page overlapped at 1440p (Control Scheme, Controller, Gameplay, UI). Writing 2560x1440 into `resolutionFullscreen` in `settings.xml` (the lever suggested in #828) and dropping the `0x58048D4` viewport redirect each changed nothing. - **After:** Control Scheme and Controller are laid out as at 4K output. - **Memory:** a `VICTORY_WATCH` on `0xA9438F4`/`0xA9438EC`/`0xA9438CC` showed the game set the legacy UI flag to 1 and the legacy size to 3840x2160 itself during start-up. Forcing the flag to 1 at run time instead crashes the title (null at `0x1EB9AAE`), so setting it through the settings, as this PR does, is the way that works. - **Test:** `patches_the_retail_image_for_1440p` passes against the retail exe (`VICTORY_DISPLAY_PROFILE_TEST_IMAGE`). Not checked here: the pause map icons and the `1080to1440` profile.
ZackariaB commented 2026-11-28 12:22:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ZackariaB on 2026-11-28T12:22:52Z.


Tested on main 63b902f + this PR (0c0d466), Series X profile, -Res 1440, DLSS Quality, retail 1.0.2.1: works here.

  • Settings > Control Scheme laid out as at 4K output.
  • HUD in play the right size.
  • Pause map: cursor centred, hovering a point of interest selects it, fog and zone borders in place, player arrow on its place.
  • Shop goods and prices whole, and the car boot prompts (LB/X/Y) in their place.

Thanks, this is the better approach: the title's own Series S path keeps every reader of the UI size consistent, where #391 patched them one by one. Closing #391 in favour of this one.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7239187064 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7239187064). Originally posted by [ZackariaB](https://github.com/ZackariaB) on 2026-11-28T12:22:52Z. --- Tested on main `63b902f` + this PR (`0c0d466`), Series X profile, `-Res 1440`, DLSS Quality, retail 1.0.2.1: works here. - Settings > Control Scheme laid out as at 4K output. - HUD in play the right size. - Pause map: cursor centred, hovering a point of interest selects it, fog and zone borders in place, player arrow on its place. - Shop goods and prices whole, and the car boot prompts (LB/X/Y) in their place. Thanks, this is the better approach: the title's own Series S path keeps every reader of the UI size consistent, where #391 patched them one by one. Closing #391 in favour of this one.
sawetco commented 2026-11-28 12:48:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by sawetco on 2026-11-28T12:48:41Z.


Independent check on the 1080p to 1440p F1 option with the RTX 5070.

Setup: RTX 5070 (621.40), Ryzen 5 7600X, Windows 11 build 26300, retail 1.0.2.1 and the same local save. Series X, F1 picture 1080p to 1440p, DLSS Quality (K), DLSS Frame Generation 2x, ray tracing off. Compared installed v2026.11.27.10 with main 63b902f plus #541 head 0c0d466, with no other PRs applied.

Check Installed release Main + #541
Settings > Control Scheme Controller callouts overlap the setting and preview list, with some content clipped at the bottom. The list, controller diagram and callouts fit in their own areas. The bottom prompts are readable.
Pause map after panning The visible reticle jumps up and left of the center. The reticle stays centered. Set Destination placed the marker directly under the reticle.

Both runs logged DLSS Quality at 1706 × 960 internally and 2560 × 1440 output for this F1 selection. The patched run also logged 4 presents with frame generation on and 8 frames shown in a sample, with status 0x0.

Both native_1440p tests passed with the local retail image, and cargo xtask policy passed. This was a short layout check.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7239482836 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7239482836). Originally posted by [sawetco](https://github.com/sawetco) on 2026-11-28T12:48:41Z. --- Independent check on the `1080p to 1440p` F1 option with the RTX 5070. **Setup:** RTX 5070 (621.40), Ryzen 5 7600X, Windows 11 build 26300, retail 1.0.2.1 and the same local save. Series X, F1 picture `1080p to 1440p`, DLSS Quality (K), DLSS Frame Generation 2x, ray tracing off. Compared installed `v2026.11.27.10` with main `63b902f` plus #541 head `0c0d466`, with no other PRs applied. | Check | Installed release | Main + #541 | | --- | --- | --- | | Settings > Control Scheme | Controller callouts overlap the setting and preview list, with some content clipped at the bottom. | The list, controller diagram and callouts fit in their own areas. The bottom prompts are readable. | | Pause map after panning | The visible reticle jumps up and left of the center. | The reticle stays centered. Set Destination placed the marker directly under the reticle. | Both runs logged DLSS Quality at 1706 × 960 internally and 2560 × 1440 output for this F1 selection. The patched run also logged 4 presents with frame generation on and 8 frames shown in a sample, with status `0x0`. Both `native_1440p` tests passed with the local retail image, and `cargo xtask policy` passed. This was a short layout check.
mokkamokacaffe commented 2026-11-28 17:05:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mokkamokacaffe on 2026-11-28T17:05:41Z.


Hardware validation: RTX 4080 SUPER / Series X 1440p

Tested the current PR head:

  • PR head: 0c0d466238f5187537fa5743e8c91464eb1d0b9f
  • Base: 64d4931b3dd90305134512b805fc98f04119fb6e
  • Windows 11 24H2, build 26100.9711
  • Intel Core i9-14900KF
  • 64 GB RAM
  • NVIDIA GeForce RTX 4080 SUPER
  • NVIDIA driver 621.40
  • Retail build 1.0.2.1
  • Series X profile
  • 2560×1440 output
  • Isolated VIctory data directory with an existing save copied into it

The PR head remained unchanged when rechecked after testing.

Build and automated checks

  • cargo build --release --locked -p victory: pass
  • cargo test --locked -p victory -- --test-threads=4: pass
    • library tests: 23 passed
    • integration tests: 2 passed
    • failures/skips: 0
    • includes both native_1440p retail-image tests
  • cargo xtask policy: pass (290 files ok)
  • git diff --check: pass
  • Source worktree was clean.

Manual results

With DLSS Performance, matching the configuration reported in the PR:

  • Account picker scaling: pass
  • Settings and Control Scheme layout: pass
    • tabs fit correctly;
    • control labels no longer overlap;
    • lists and footer prompts are fully visible.
  • Gameplay HUD placement: pass
  • Pause map: pass
    • player arrow and icons were correctly positioned;
    • point-of-interest selection worked;
    • terrain and fog covered the complete map;
    • no dark area appeared over the right side;
    • bottom prompts were not clipped.
  • World rendering: pass
  • No NGX evaluate feature failed messages were recorded during the DLSS Performance run.

The same UI, HUD, map and world-rendering checks also passed with DLSS disabled.

Separate DLSS Quality observation

One DLSS Quality run produced a black game world while UI/objective symbols remained visible. The log repeatedly reported:

NGX evaluate feature failed 0xbad00005

There was no device-removal or crash record. Relaunching the same PR build with DLSS disabled restored the world, and DLSS Performance subsequently ran cleanly.

I have not compared DLSS Quality against the exact parent under equivalent conditions, so I am not attributing this observation to this PR. It may be a pre-existing or configuration-specific Streamline issue.

Result

The 1440p UI-scaling fix works on the RTX 4080 SUPER. The account picker, menus, HUD and pause map all render and align correctly under the Series X 1440p profile.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7242749076 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/541#issuecomment-7242749076). Originally posted by [mokkamokacaffe](https://github.com/mokkamokacaffe) on 2026-11-28T17:05:41Z. --- ## Hardware validation: RTX 4080 SUPER / Series X 1440p Tested the current PR head: - PR head: `0c0d466238f5187537fa5743e8c91464eb1d0b9f` - Base: `64d4931b3dd90305134512b805fc98f04119fb6e` - Windows 11 24H2, build `26100.9711` - Intel Core i9-14900KF - 64 GB RAM - NVIDIA GeForce RTX 4080 SUPER - NVIDIA driver `621.40` - Retail build `1.0.2.1` - Series X profile - 2560×1440 output - Isolated VIctory data directory with an existing save copied into it The PR head remained unchanged when rechecked after testing. ### Build and automated checks - `cargo build --release --locked -p victory`: **pass** - `cargo test --locked -p victory -- --test-threads=4`: **pass** - library tests: **23 passed** - integration tests: **2 passed** - failures/skips: **0** - includes both `native_1440p` retail-image tests - `cargo xtask policy`: **pass** (`290 files ok`) - `git diff --check`: **pass** - Source worktree was clean. ### Manual results With DLSS Performance, matching the configuration reported in the PR: - Account picker scaling: **pass** - Settings and Control Scheme layout: **pass** - tabs fit correctly; - control labels no longer overlap; - lists and footer prompts are fully visible. - Gameplay HUD placement: **pass** - Pause map: **pass** - player arrow and icons were correctly positioned; - point-of-interest selection worked; - terrain and fog covered the complete map; - no dark area appeared over the right side; - bottom prompts were not clipped. - World rendering: **pass** - No `NGX evaluate feature failed` messages were recorded during the DLSS Performance run. The same UI, HUD, map and world-rendering checks also passed with DLSS disabled. ### Separate DLSS Quality observation One DLSS Quality run produced a black game world while UI/objective symbols remained visible. The log repeatedly reported: `NGX evaluate feature failed 0xbad00005` There was no device-removal or crash record. Relaunching the same PR build with DLSS disabled restored the world, and DLSS Performance subsequently ran cleanly. I have not compared DLSS Quality against the exact parent under equivalent conditions, so I am **not attributing this observation to this PR**. It may be a pre-existing or configuration-specific Streamline issue. ### Result The 1440p UI-scaling fix works on the RTX 4080 SUPER. The account picker, menus, HUD and pause map all render and align correctly under the Series X 1440p profile.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
trustno1-coder/VIctory-NVIDIA!541
No description provided.