native_1440p: a 32:9 output (5120x1440) takes the display mode with it (on top of #2060) #2210
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!2210
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2210"
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?
@kanade333 on GitHub · 2026-11-29 10:35 UTC · original
kanade333:32-9-display-mode→main· +90 −12 · 2 files · 2 commits · openOn a 32:9 monitor the output follows the monitor's shape since #1808 (5120x1440), but the image's SDR mode stays the stock 3840x2160. The title does not take an output wider than that mode. Its UI setup then makes its two UI targets at 3840x2160, four surfaces of 0x1FE0000, and the title's allocator asserts (
int3at0x56A2AFD) during System Init. #2060 fixes 21:9 and 16:10, whose outputs fit in the stock mode. A 5120-wide output does not fit in it.This builds on #2060 (its commit is the first of the two here; merge #2060 first):
mode_for(output): where the output is wider or higher than 3840x2160, the image's SDR mode is written to the output's size, as Kemerd/VIctory-NVIDIA-RT685f4c08does for wide sizes. The runner reports the same mode to the title throughVICTORY_DISPLAY_MODE, whichdxgi::display_sizealready reads.ui_pool_size(output): for such an output the UI pool holds two targets of the output's size. Every output that fits in the stock mode (16:9, 21:9, 16:10) keeps #2060's fixed0x5E00000. The test checks both cases.Tested on an RTX 5080 16 GB (driver 621.40), a Ryzen 9 9950X with 32 GB and Windows 11 26200, with my own dump of 1.0.2.1 on a 5120x1440 monitor. Profile: Series X, DLSS ultra performance, frame generation 2X, no ray tracing.
829188e+ #2060): the display mode reported is 3840x2160, and the title stops 6 s after the start withunhandled exception 0x80000003 at victory-image+0x56a2afd, the allocator's assert under the UI setup.cargo test --release -p victory native_1440p: 6 passed. The tests that need the retail image return early withoutVICTORY_DISPLAY_PROFILE_TEST_IMAGE.On a 16:9, 21:9 or 16:10 monitor nothing changes:
mode_forreturnsNone, the mode stays stock and the pool keeps #2060's size.The UI is still laid out at the 16:9 legacy size and stretched across the 32:9 picture. Keeping it in a 16:9 band in the middle would be a separate change.
🤖 Generated with Claude Code
@ALERTua on GitHub · 2026-11-29 11:04 UTC · original
I can confirm this fix on a 5120x1440 monitor. The interface is stretched, but the game is the right proportions.
@ALERTua on GitHub · 2026-11-29 11:08 UTC · original
fixes #2055
@RomanFama592 on GitHub · 2026-11-29 12:53 UTC · original
Tested on a 2560x1080 (21:9) primary monitor: RTX 4060 Ti 8 GB, Ryzen 9 5900X, 64 GB, Windows 11 26300, Series X, 1080p to 1440p, DLSS balanced.
main(829188e9): stops at start every time,0x80000003at+0x56a2afd. In this case the title never asks for its 6236 MB TileHeap, takes an 88 MB block instead, andcreate_committed's 15 MBXMemAllocruns past it.main+VICTORY_NATIVE_SIZE=2560x1440: starts and reaches the world.native-2560x1080cache) while the F3 panel showsOUTPUT 2560X1440, and the bottom quarter and a band on the left are filled with garbage. So on a monitor lower than 1440, the host side seems to keep a 2560x1440 output while the title draws 2560x1080.@kanade333 on GitHub · 2026-11-29 13:23 UTC · original
Thanks for testing on 2560x1080. This PR only changes outputs that are wider or higher than 3840x2160 (
mode_forreturnsNonebelow that). At 2560x1080 it runs exactly as #2060 alone. The wrong picture looks like the artifacts reported on #2060 at 2752x1152: since #1808 the title draws at the monitor's shape, and on a monitor lower than 1440 the host side keeps a 2560x1440 output, as your F3 panel shows.VICTORY_NATIVE_SIZE=2560x1440avoids it for now. A fix for monitors lower than 1440 would be a separate change.@ALERTua on GitHub · 2026-11-29 20:43 UTC · original
mainatf72cec77still stops at start on 5120x1440: the same assert at+0x56a2afd, called from the UI pool setup (+0x247aeb6). The layer reports 3840x2160 to the title, and33e9fed2sizes the pool for 2560x1440 targets. So33e9fed2alone does not fix 32:9, and this PR is still needed.The PR now conflicts with
mainin one place: thepool_sizeline innative_1440p.rs. The PR side (ui_pool_size((width(), height()))) already covers what33e9fed2does for outputs that fit in 3840x2160.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.