A 1280x720 scene under the 1440p output (VICTORY_RENDER_720P=1, off by default) #134
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!134
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-134"
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?
@beamdotdev on GitHub · 2026-11-27 18:40 UTC · original
beamdotdev:render-720p→main· +90 −17 · 3 files · 1 commits · openA third scene size for the Series X profile, beside
VICTORY_NATIVE_1440PandVICTORY_RENDER_1080P: the same 2560x1440 output with the scene drawn at 1280x720 (VICTORY_RENDER_720P=1). Off by default; nothing changes unless it is set.Why
On a card with 8 GB the 1080p scene leaves no room: the card's memory is over its budget, new textures wait, and the card takes 30 to 45 ms of every frame. The Series S profile is the lighter way today, but on this card it draws every character without a head (#100 may be the same fault; a likely cause is being tested here and I will write it up there, not in this pull request). The Series X profile with a 720p scene has the heads and takes the card out of the frame.
What it does
native_1440p.rs: the scene sizes are one enum (Scene:Native,P1080,P720).preparewrites the title's temporal scene scale aswidth / 2560for the size asked for, 0.5 here; the display mode, the scanout reservation and the Settings viewport load are patched as before, the same for all three. If more than one switch is set the smallest scene wins.run.rs: reads the switch throughScene::from_env(); the patched image goes to a cache folder of its own (images/720p-to-1440p-sdr). WithVICTORY_DLSSthe switch is left out and said so, asVICTORY_RENDER_1080Palready is (VICTORY_DLSS_MODEsets the scene's size there).docs/README-foxhound.md: one line in the switch table.The launcher scripts,
-Resand the F1 menu are not touched: they do not know the size yet, the switch does. I left that to you, since the menu and the scripts are yours to shape.Measured
One PC: RTX 3070 8 GB, i5-9600K (6 cores, 6 threads), 32 GB, Windows 11; diagnostics builds, the launcher's switch set without DLSS and frame generation, 13 to 15 minute runs of the opening, the layer's own frame-rate lines in 30 s stretches once pipelines were made. The two runs are not at the same place of the title at the same second, so they are held against each other at like draw counts.
VICTORY_RENDER_1080P=1)VICTORY_RENDER_720P=1)Tests
cargo test --locked -p victory --bin victory native_1440pon this branch (on29d8dbf7): 3 passed. The retail-image test now checks all three sizes (it needsVICTORY_DISPLAY_PROFILE_TEST_IMAGE; run here with it set), and a new test that needs no image checks that each scene keeps the output's 16:9 shape and that its scale gives its width back.d12eb1b2; on29d8dbf7it is built and unit-tested, not run in the game.No game files, shader code or captures are in this pull request.
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.