Preserve HUD and world-marker placement on ultrawide displays #3350
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3350
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3350"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@invismann on GitHub · 2026-11-29 22:09 UTC · original
invismann:feat/ultrawide-hud→main· +2186 −203 · 17 files · 9 commits · closed without mergingDependency and merge order
This PR depends on #2400, which carries #2210 and #2060. Merge #2400 first. Its commits are included here so the display and HUD changes can be built and tested from one checkout.
What it changes
The Series X pause menu and map use the full width at ultrawide resolutions. The map cursor, waypoint placement, and region selection share the same position. Startup screens, intro videos, and loading artwork keep a centered 16:9 presentation. Save confirmations keep their proportions and the minimap keeps its player marker.
HUD POSITION in F1 switches between CENTERED and SCREEN EDGES. World markers and interaction prompts keep their projected positions and proportions across the full display, including outside the centered HUD.
Use
--res 1440 --aspect 21:9for a supported 3440×1440 display, or--res 1440 --aspect 32:9for a supported 32:9 display. At 3440×1440, the display and output targets stay at 3440×1440 and the UI layout is 5160×2160. The UI pool accounts for both sizes. #2400 still selects automatic scene budgets from the rendered scene size.How it was tested
VICTORY_RT_HEAP_MB=8000andVICTORY_SCENE_POOL_MB=1600.Checked for overlap
@Kassadd on GitHub · 2026-11-30 20:34 UTC · original
A question rather than a report: how are #2400 and #3350 meant to go together? I tried to
run both and they conflict in the design, not just in the text.
Context. Following your pointer from #2400, I built
main(e1251c3) + #2400 + #3350 totry
HUD POSITIONat 3440x1440 on a real wide monitor. #2400 applies cleanly on its own;#3350 on top of it gives 8 hunks in
native_1440p.rsand 2 inrun.rs, and the ones Ilooked at are not textual:
ui_pool_size(output), 106 MiB at 3440x1440)ui_layout_size,wide_ui_width)settings_cave_bytes(output)settings_cave_bytes(output, layout)— signature changesmode_forULTRAWIDE_1440 | WIDE_1080(3440,1440) | (3840,1080)plus anoutput > LEGACYtestimage_folder_with(… "ui{width}")Both are yours, both are
MERGEABLEagainstmain, and both solve the same problem two ways:grow the UI targets with the output (#2400) versus keep the authored 2160 height and
extend the layout horizontally (#3350). I can drive either, but I should not be the one
picking which of your designs wins by resolving 164 lines of conflict by hand.
What I would like to know:
ui_layout_sizelooks like it couldreplace #2400's output-sized targets entirely — then a note on which supersedes which would
save anyone building both.
ui_pool_size/settings_cave_bytes? That is the one decision I would otherwise be makingfor you.
What I can offer either way. From the #2400 run I have the numbers and a capture at
3440x1440 on real hardware (
display mode 3440x1440,OUTPUT 3440x1440,VRAM 13.5/13.6 GB, 15.2 fps, frame 65.7 ms, world open). Once I know the order I will run#3350 the same way and post here — both
HUD POSITIONvalues, centred and screen edges — so itgets a run on a real 21:9 rather than a windowed one.
Not blocked on you: #2400 alone is enough for the game to run at 21:9 here, so nothing is
waiting on this answer; it is only the HUD work that needs the order settled.
@invismann on GitHub · 2026-11-30 21:16 UTC · original · edited 2026-11-30 21:18 UTC
@Kassadd Thanks for flagging the conflicts. #3350 now includes #2400, so you can build this PR branch directly. Feel free to test both HUD POSITION modes at 3440×1440 under Proton and report any problems here.
A text description and relevant log lines are enough. Please leave out in-game screenshots in keeping with the asset policy.
@Kassadd on GitHub · 2026-11-30 23:04 UTC · original
Both HUD POSITION modes checked on a real 3440x1440 monitor under Proton, and everything
lines up. Thank you for folding #2400 in — building the branch directly made this a single run.
Environment: RTX 4080 SUPER 16 GiB, i9-14900K, 62 GiB, CachyOS, Hyprland/Wayland,
NVIDIA 620.73.04, Proton Experimental
…-w0be231-d1011dd-v71cae0, Series X1.0.2.1, a3440x1440@360 monitor,
--res 1440 --aspect 21:9 --dlss off --no-framegen-ready, plusVICTORY_VRAM_BUDGET_MB=12800(see below). No screenshots, per the asset policy — a descriptioninstead.
What I checked, in both
CENTEREDandSCREEN EDGES:[button] actiongroups stay beside their object, and thebutton and its text keep the same baseline. I looked specifically at whether a prompt drifted
away from the thing it belongs to when the HUD moved, since that is the failure I would expect
from a viewport change rather than a layout one.
and still disappear behind geometry as they should — the depth-occluded behaviour survives.
selection): the selection cursor, the waypoint placement and the highlight land where the
cursor is, not offset. This is the one I expected to break first, since the map is drawn on
the legacy stage and the selection is a second pass over it.
Nothing drifted, nothing clipped, nothing double-drawn in either mode. I could not make either
mode produce a wrong picture.
Something that may be worth a line in the description, because it is a pleasant surprise:
on this machine the PR is faster, not just correct.
main+ #2400 + #2585 at the samesettings, world open, medians over frames with more than 5,000 draws:
copiescopying back34 frames before, 52 after, so it is not a lucky window. The likely reason is the one your
design implies: drawing the UI onto a narrower canvas is less work, and the copy volume follows.
Whether that holds on other cards I cannot say, but it is repeatable here.
On
HUD POSITIONitself — a personal preference, not a defect:SCREEN EDGESreads betterto me at 21:9, because the extra width is what the display is for.
CENTEREDlooks correct tooand I would not call either wrong. If the default has to pick one, that is the only argument I
have for edges.
One unrelated note from the same tree, in case it helps someone else building it: I also
carry #2585 on top, because the console-instruction race it fixes is still in
mainand thisrun can otherwise end in
0xc000001dat+0x5084782. Nothing to do with this PR — it is justwhat the tree needs to survive a long session.
fa6a77f9abto72d7edb20fPull request closed