From a7c7819db4c1763f29ce21a3551081c47b7dacd2 Mon Sep 17 00:00:00 2001 From: theme613 <66501763+theme613@users.noreply.github.com> Date: Sat, 28 Nov 2026 22:32:11 +0800 Subject: [PATCH] launcher/docs: restore sharp 1080p Half-texture preset with safe VRAM headroom --- README.md | 18 +++++++++--------- scripts/play-6gb.ps1 | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 9a58d2f..dfb1962 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,12 @@ A performance- and low-memory-tuned fork of [VIctory-NVIDIA](https://github.com/ ## What This Fork Adds -- **6 GB / 4 GB VRAM support (`VICTORY_TEXTURE_DROP_MIPS` + ReBAR GPU windows):** Drops top texture mip levels (`2` = Quarter default in `play-6gb.ps1` so `768 MB` of ReBAR GPU windows via `VICTORY_WINDOWS_BAR_MB=768` + `VICTORY_WINDOWS_VRAM_PERCENT=85` fit cleanly inside a 6 GB card's ~5.2 GiB DXGI budget; `1` = Half for sharper textures). Toggleable in the **F1** menu (`TEXTURE SCALE (VRAM)`). +- **6 GB / 4 GB VRAM support (`VICTORY_TEXTURE_DROP_MIPS` + ReBAR GPU windows):** Drops top texture mip levels (`1` = Half default for sharp visuals + ~500 MiB VRAM headroom on 6 GB GPUs; `2` = Quarter for 4 GB GPUs or extra VRAM room with larger ReBAR windows via `VICTORY_WINDOWS_BAR_MB` / `VICTORY_WINDOWS_VRAM_PERCENT`). Toggleable in the **F1** menu (`TEXTURE SCALE (VRAM)`). - **16 GB RAM stability & OOM recovery:** Automatically caps idle `STAGING`, upload `send::SPARE` (`128 MiB`), and CPU snapshot (`128 MiB`) pools on `<= 20 GB` / `<= 32 GB` RAM hosts, drains idle pools under critical commit pressure, and retries `E_OUTOFMEMORY` in command-list preludes instead of crashing. - **Custom windowed output sizes (`VICTORY_OUTPUT`) & DLSS Ultra Performance:** True `1280x720` and `1664x936` windowed output patching plus `640X360 (ULTRA FAST)` (`ultraperformance`) in **F1** (`SERIES S PICTURE` / `OUTPUT SIZE (WINDOW)`), working cleanly alongside DLSS and FSR 3 Frame Generation. - **CPU submit-thread & refresh optimizations:** Fused single-pass write-watch `ask_once` with guarded-view skip, chunked `JOURNAL`-batched `nothing_new` filtering, AVX2 `word_runs` in `Shadow::take`, cached non-watched view-texture checks with zero-alloc `writes_since`, `AddressHash` on `Deferred::textures`, `has_gpu_write` fast-skip, deduplicated `card_before` root bindings, `Batch::last_ahead` 1-entry cache, lock-free `watch::AHEAD_KEPT` + binary-searched `ahead_contains`, `RwLock` shared-read fast path, incremental `HeapRanges` spans, and zero-alloc `HostList::prelude()` fast path. - **DLSS Super Resolution + AMD FSR 3 / DLSS Frame Generation:** Full F1 settings menu, F3 stats panel, HUD-less FSR 3 2X Frame Generation for RTX 20/30 and non-NVIDIA DX12 GPUs, and DLSS FG (2x–6x) for RTX 40/50. -- **Portable 6 GB / 16 GB launcher (`scripts/play-6gb.ps1`):** Pre-configured with verified settings (`VICTORY_FAST_CORES=0` for hybrid P+E CPUs, `VICTORY_PORT_CONSTANTS=1`, `VICTORY_COPY_BESIDE=1` + `VICTORY_STORE_BESIDE=1`, aligned `SLOT_EVICT` thresholds, `VICTORY_PIPELINE_WAIT_MS=50`, and `768 MB` ReBAR GPU windows). +- **Portable 6 GB / 16 GB launcher (`scripts/play-6gb.ps1`):** Pre-configured with verified settings (`VICTORY_FAST_CORES=0` for hybrid P+E CPUs, `VICTORY_PORT_CONSTANTS=1`, `VICTORY_COPY_BESIDE=1` + `VICTORY_STORE_BESIDE=1`, aligned `SLOT_EVICT` thresholds, `VICTORY_PIPELINE_WAIT_MS=50`, and safe `128–256 MB` ReBAR GPU windows). --- @@ -72,17 +72,17 @@ Replace `D:\path\to\your.exe` with the path to **your own game file (`.exe`)**. **Option A — 6–8 GB VRAM GPUs / 16 GB RAM Laptops (Recommended for RTX 3050 / 3060 / 4050 / 4060):** ```powershell -# Fastest 1080p windowed with FSR 3 2X Frame Generation ON (640x360 DLSS Ultra Perf, Quarter textures + 768 MB ReBAR): -powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -FrameGen - -# Same without Frame Generation (raw real FPS): +# Sharp 1080p windowed (960x540 DLSS Performance, Half textures, low-lag FG off): powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -# Sharper textures & higher internal res (960x540 DLSS Performance, Half textures, FSR 3 2X FG ON): -powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -Dlss performance -DropMips 1 -FrameGen +# Same with FSR 3 2X Frame Generation ON: +powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -FrameGen + +# Max FPS mode (640x360 DLSS Ultra Perf + Quarter textures, softer visuals): +powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -Dlss ultraperformance -DropMips 2 -FrameGen # Extra GPU headroom (936p or 720p windowed): -powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -Output 936 -FrameGen +powershell -ExecutionPolicy Bypass -File scripts\play-6gb.ps1 -Exe 'D:\path\to\your.exe' -Output 936 ``` **Option B — 12 GB+ VRAM GPUs / 32 GB+ RAM Desktops:** diff --git a/scripts/play-6gb.ps1 b/scripts/play-6gb.ps1 index 86efb3c..f3f1394 100644 --- a/scripts/play-6gb.ps1 +++ b/scripts/play-6gb.ps1 @@ -9,8 +9,8 @@ param( [string]$Exe = '', [ValidateSet('1080', '936', '720')][string]$Output = '1080', - [ValidateSet('ultraperformance', 'performance', 'balanced', 'quality', 'dlaa', 'off')][string]$Dlss = 'ultraperformance', - [ValidateRange(0, 2)][int]$DropMips = 2, + [ValidateSet('ultraperformance', 'performance', 'balanced', 'quality', 'dlaa', 'off')][string]$Dlss = 'performance', + [ValidateRange(0, 2)][int]$DropMips = 1, [switch]$FrameGen, [ValidateSet('fsr', 'dlss', 'auto')][string]$FgType = 'fsr', [ValidateRange(2, 6)][int]$FrameGenX = 2, @@ -137,7 +137,7 @@ $settings = [ordered]@{ VICTORY_SOFT_VIEWS = 'copies' VICTORY_COPY_BESIDE = '1' VICTORY_STORE_BESIDE = '1' - VICTORY_WINDOWS_VRAM_PERCENT = '85' + VICTORY_WINDOWS_VRAM_PERCENT = '80' # Texture streaming + 6 GB VRAM mip scale VICTORY_TEXTURE_POOL = '1'