A 1280x720 scene under the 1440p output (VICTORY_RENDER_720P=1, off by default) #134

Closed
beamdotdev wants to merge 1 commit from upstream-pr/134 into main
beamdotdev commented 2026-11-27 18:40:58 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by beamdotdev on 2026-11-27T18:40:58Z.


A third scene size for the Series X profile, beside VICTORY_NATIVE_1440P and VICTORY_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). prepare writes the title's temporal scene scale as width / 2560 for 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 through Scene::from_env(); the patched image goes to a cache folder of its own (images/720p-to-1440p-sdr). With VICTORY_DLSS the switch is left out and said so, as VICTORY_RENDER_1080P already is (VICTORY_DLSS_MODE sets the scene's size there).
  • docs/README-foxhound.md: one line in the switch table.

The launcher scripts, -Res and 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.

1080p scene (VICTORY_RENDER_1080P=1) 720p scene (VICTORY_RENDER_720P=1)
"on the GPU", ms a frame 30 to 45 0 to 8
frame at 3,400 to 3,900 draws 69 to 95 ms 57 to 62 ms
frame at 5,000 to 5,900 draws 100 to 109 ms 76 to 83 ms
frame at 6,900 to 7,500 draws 90 to 94 ms 77 ms
the card's own memory, peak 7.3 GB of a budget of 6.9 ("no room, new textures wait") 6.9 GB of a budget of 7.05
private memory, peak 23.1 GB 22.9 GB
  • Heads, faces and hair are right in 12 window captures of the 720p run (the cell, and the day room with a dozen people).
  • It does nothing for private memory, as the table says: the scene's targets are a small part of it.
  • Not judged: one capture of the Settings control-scheme screen had labels over one another at the 720p scene. The 1080p run never opened that screen, so I cannot say it is new; the change does not touch what lays that screen out.

Tests

  • cargo test --locked -p victory --bin victory native_1440p on this branch (on 29d8dbf7): 3 passed. The retail-image test now checks all three sizes (it needs VICTORY_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.
  • The game runs above were of the same commit on d12eb1b2; on 29d8dbf7 it is built and unit-tested, not run in the game.

No game files, shader code or captures are in this pull request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5531516574 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/134). Originally posted by [beamdotdev](https://github.com/beamdotdev) on 2026-11-27T18:40:58Z. --- A third scene size for the Series X profile, beside `VICTORY_NATIVE_1440P` and `VICTORY_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`). `prepare` writes the title's temporal scene scale as `width / 2560` for 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 through `Scene::from_env()`; the patched image goes to a cache folder of its own (`images/720p-to-1440p-sdr`). With `VICTORY_DLSS` the switch is left out and said so, as `VICTORY_RENDER_1080P` already is (`VICTORY_DLSS_MODE` sets the scene's size there). - `docs/README-foxhound.md`: one line in the switch table. The launcher scripts, `-Res` and 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. | | 1080p scene (`VICTORY_RENDER_1080P=1`) | 720p scene (`VICTORY_RENDER_720P=1`) | |---|---|---| | "on the GPU", ms a frame | 30 to 45 | 0 to 8 | | frame at 3,400 to 3,900 draws | 69 to 95 ms | 57 to 62 ms | | frame at 5,000 to 5,900 draws | 100 to 109 ms | 76 to 83 ms | | frame at 6,900 to 7,500 draws | 90 to 94 ms | 77 ms | | the card's own memory, peak | 7.3 GB of a budget of 6.9 ("no room, new textures wait") | 6.9 GB of a budget of 7.05 | | private memory, peak | 23.1 GB | 22.9 GB | - Heads, faces and hair are right in 12 window captures of the 720p run (the cell, and the day room with a dozen people). - It does nothing for private memory, as the table says: the scene's targets are a small part of it. - Not judged: one capture of the Settings control-scheme screen had labels over one another at the 720p scene. The 1080p run never opened that screen, so I cannot say it is new; the change does not touch what lays that screen out. ## Tests - `cargo test --locked -p victory --bin victory native_1440p` on this branch (on 29d8dbf7): 3 passed. The retail-image test now checks all three sizes (it needs `VICTORY_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. - The game runs above were of the same commit on d12eb1b2; on 29d8dbf7 it is built and unit-tested, not run in the game. No game files, shader code or captures are in this pull request.
trustno1-coder commented 2026-11-28 19:23:48 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T19:23:48Z.


Thanks for this. I'm closing it without merging: main changed how the 1440p output is prepared (the title's own Series S UI settings), and this conflicts with it in run.rs and native_1440p.rs. If you'd still like a 720p scene option, please rebase on the current main and open a new pull request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244512647 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/134#issuecomment-7244512647). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T19:23:48Z. --- Thanks for this. I'm closing it without merging: main changed how the 1440p output is prepared (the title's own Series S UI settings), and this conflicts with it in run.rs and native_1440p.rs. If you'd still like a 720p scene option, please rebase on the current main and open a new pull request.

Pull request closed

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!134
No description provided.