Repository navigation
Run: Series S by default on PCs with less than 24 GB, with an upscaler that is there - #24
spy0eye-beep wants to merge 1 commit into
Conversation
…pscaler that is there Without --console, a PC with less than 24 GB of physical memory runs as Series S (1280x720, upscaled), which commits less than Series X; 24 GB or more (or unknown) stays Series X. --console as given is used as is. On Series S the upscale goes to AMD's FidelityFX when VICTORY_FFX_DIR holds amd_fidelityfx_loader_dx12.dll; otherwise VICTORY_FFX_SIMPLE=1 (the bilinear stand-in) is set instead of letting the title stop once it upscales. A user VICTORY_FFX_SIMPLE is left alone. Both choices are printed with the reason. The decisions are pure functions in apps/victory/src/lowspec.rs, with tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ine (from Belobug PastiiJay#24, PastiiJay#25) Ported from Belobug/VIctory-Belobug-AMD (romainhedouin): - PastiiJay#24 (84ea9c1): a root constant buffer not 256-byte aligned is copied into the list's scratch memory once for all the draws that bind it, until a title copy or title work intervenes (HostList::fill_scratch; up to 64 KiB less copied per repeat). Cleared at the same points as `refreshed`. - PastiiJay#25 (92d353f): a pipeline the list binds again is not named and kept again (HostList::bind_pipeline: one set lookup by address instead of two QueryInterface calls, three locks and a name search per switch). The list keeps the first, so the address names the same pipeline until reset. New test: the same title bytes share one fill, and are filled again after a title copy and after title work. victory-gpu 130/130 under Proton; clippy clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks a lot @spy0eye-beep! Noted. It goes into tonight's RX 9070 XT test queue and I'll report the result here. |
|
I ran the bilinear fallback from On the same runner, Windows reported 17,174,360,064 bytes of visible physical RAM (just under 16 GiB). The normal CLI bound the repository’s synthetic title as Series S and selected the fallback with no FidelityFX settings. Explicit Series X and Series S both reached the requested console. This gives the hardware test a pixel reference; the fixture measures neither in-game memory usage nor frame rate. Windows CLI and pixel readback |
|
Thanks for the pixel check on the fallback upscaler. Changing the default needs an in-game pass first, we'll do it soon. |
What
The recommended low-memory settings only apply if the user types them. On a PC with 16 GB the default (
--consolenot given) is Series X, which per the guide commits about 20 GB, and a tester's 16 GB machine ran out on Series X where Series S held (fxceless/victory-fork#13). And with--console series-sbut noVICTORY_FFX_DIR, the title stops once it upscales (README: "Without it ... the game crashes once it starts upscaling").Change
victory runwithout--console:series-s, elseseries-x(also when memory is unknown).--consolegiven: used as is.series-s, the upscaler that is actually there:VICTORY_FFX_DIRholdsamd_fidelityfx_loader_dx12.dll→ AMD FidelityFX, as now;VICTORY_FFX_SIMPLE=1(the existing bilinear stand-in) instead of letting the title stop. AVICTORY_FFX_SIMPLEthe user set is left alone.The decisions are pure functions in a new
apps/victory/src/lowspec.rs;main.rsonly calls them.--consolekeeps the same values. Behaviour on 24 GB+ machines is unchanged.Testing
lowspec::tests): the user's--consolealways stands; 15/16/23 GB → Series S, 24/32 GB and unknown → Series X; Series S gets AMD only when the loader DLL is in the folder, the stand-in otherwise, and a user-setVICTORY_FFX_SIMPLEor Series X is left alone.cargo test -p victory --bins: 7 passed.victory.exeon a 16 GB laptop (RTX 4060 Laptop, Windows 11),runwithout--executeon a stand-in executable, so only the settings were exercised:--console, noVICTORY_FFX_DIR→series-s+ bilinear stand-in;--console series-x→series-x (chosen with --console);VICTORY_FFX_DIRwith the loader DLL →series-s+ AMD FidelityFX.cargo build --release -p victory: OK. Clippy on the app shows onlyvictory-gpu's existing errors (resource.rsplaced_filler_twins,draw.rssort_unstable_by_key, as onbeta). rustfmt: no new differences.VICTORY_FFX_SIMPLEpath; I have not seen it in game.Related: #22 (use the discrete GPU on laptops), #23 (less memory per texture).
AI-assisted (Claude).
🤖 Generated with Claude Code