Loader: add opt-in reduced render scales #1320
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1323"
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?
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-26T15:10:28Z.
Summary
Set VICTORY_RENDER_SCALE=0.4 or VICTORY_RENDER_SCALE=0.5 to select the title's built-in upscaler with a fixed render scale on the supported Series S build. Lower resolution gives the renderer more headroom on an 8 GB GPU.
The loader verifies the build fingerprint and all expected mapped bytes before patching. It restores the page protections and flushes the instruction cache before launch. The rendering approach follows VIctory-NVIDIA 033be27.
Verification
Bazzite 44, RTX 5060 Laptop 8 GB, NVIDIA 615.78.08, GE-Proton11-14, vkd3d-proton 3.2.0. The matched Series S replays used the same executable, offline checkpoint, shader caches and display settings. The scale setting was the only launch change.
Both settings rendered the same scene and responded to camera input. Ten completed camera-turn frames took about 3.05 seconds in both runs. The 40% view was softer. These are single-run measurements and NVMe activity differed between arms.
The current PR branch passed three focused Windows loader tests under GE-Proton, including both scale choices and the mapped-page check. Windows-target Clippy passed with warnings denied and the staged asset check passed.
Current head
be648a71targets maind154dcb1with the shared #1357 source split. GitHub Windows CI passed both Clippy configurations, workspace tests, asset policy and the serial GPU suite. Passing CIAssisted by Codex (GPT-6.2-Sol High).
Imported from fxceless/victory-fork. Originally posted by m335671 on 2026-11-26T16:42:36Z.
A data point from Windows on an RTX 4070 12 GB (driver 32.0.16.2124), Series X profile: the option works, but the gain here is small.
Setup: diagnostics build of
main58de9bfwith this PR and #1093, #1096 and #799 merged in, warm cache, from a save to the first room, then idle, scripted presses. Switch set as in my last comment on #776, plusVICTORY_RENDER_SCALE=0.5. One launch.title built-in upscaler selected at render scale 0.5.ceb9e1f+ the same PRs, same switches): 8.8–9.9 fps, 75.3 ms on the card.Halving the render size takes only about 8 ms off the card here. In a per-command timing run of the same scene, most of the card's time went to about 5,100 small indirect executions a frame (43.6 ms), not to resolution-bound passes. The preparing thread (45–53 ms) is close behind.
Caveat: the two runs are on different
maincommits (ceb9e1fagainst58de9bf), so a part of the difference may come from those commits.AI use: the run was done on my machine. Claude Code (Claude Opus 5.5) built and ran it, read the log and wrote this comment.
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-26T19:46:59Z.
Both Windows Clippy steps passed, and the loader regressions passed. The full-suite policy check stopped on the same two oversized source files tracked in #1342. PR #1357 addresses both files and its Windows check passed. This run
Assisted by Codex (GPT-6.2-Sol High).
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-26T23:32:17Z.
I retested the 40% option on a build containing main
4c604661and this render-scale change, using a Series S checkpoint on Bazzite with an RTX 5060 Laptop 8 GB, GE-Proton11-14 and vkd3d-proton 3.2.0. Both replays used the same executable, initial data and cache state, and the same local indexed Wine server. Only the render-scale setting changed. The launcher confirmed the built-in upscaler at both scales.Both runs reached the same prison view and responded to camera input. The fixed elapsed-time overlap after both matched gave 5.50 and 5.82 FPS, respectively. These are single replays on a newer test stack than my earlier result. The 40% option provided additional VRAM headroom here, and measured throughput currently favors 50%.
All three focused render-scale tests passed on the Windows-target loader binary under Proton. Assisted by Codex (GPT-6.2-Sol High).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.