RTX 3060 12 GB (Wave32) Progress Report, Benchmarks & Findings (a803c87 → 9376fd6 + PR/Community Ports) #878

Open
opened 2026-11-25 11:36:28 +00:00 by 1337tr · 0 comments
1337tr commented 2026-11-25 11:36:28 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by 1337tr on 2026-11-25T11:36:28Z.


Overview

Testing on an RTX 3060 12 GB (32-lane NVIDIA) + Ryzen 7 5800X (8C/16T) + 32 GB RAM (Windows 11 26200, Series X @ 1920x1080, driver 621.24, default 2 s TDR) comparing our earlier a803c87-based build against a 9376fd6-based build combining recent fxceless/victory-fork PRs, community ports (victory-perf, VItoriaBr, Marvisak/VIctory), and targeted local fixes.

Key results (measured in live world diag runs, 0 crashes / 0 device losses):

  • Complete 32-lane NVIDIA shader & descriptor coverage: 0 untranslated shaders (down from 6), 0 refused compute pipelines (0x80070057, down from 17 / 12 in-world), 0 dropped indirect draws (down from 6–9/frame), and 0 null / 0 stale heap buffer views. Once making = 0, 100% of remaining dropped dispatches are solely the opt-in ray-tracing BVH builder (off by default; its remaining Wave32 stages now also compile cleanly via #823).
  • Full mip-0 textures now fit comfortably in 12 GB VRAM: VICTORY_LEVELS_ON_DEMAND=1 + VICTORY_LEAN_WINDOWS=1 + #822 dropped VRAM from 10,389 MB (280 out-of-room passes, +4,834 MB shared) to 9,117 MB / 11,119 MB (2.0 GB free, 0 out-of-room passes, +4,049 MB shared) and private RAM from 25,294 MB (1,404 MB commit left) to 22,482 MB (2,870 MB commit left). Optional VICTORY_TEXTURE_DROP_MIPS=1 drops VRAM further to 8,194–8,433 MB (2.7–3.1 GB free).
  • Major GPU & CPU copy speedups: Scoped indirect clamp barriers + UAV barrier merging eliminated 2,831–3,494 global UAV barriers/frame, cutting GPU time to 57.0–98.3 ms at 3.5k–5.1k draws/frame (down from 87–113 ms at 4.0k draws). CPU copy preparation dropped ~40% (56.8–69.4 ms for 103–128 MB → 32.5–41.3 ms for 170–190 MB), submission-lock waits fell 9.3× (77.0 ms → 8.3 ms), and indexed textures uploaded in the same ~3 min window rose 2.5× (27,713 → 69,436, with unmapped skips cut -81%).
  • Per-command GPU timing profile (VICTORY_GPU_TIMING=1 + VICTORY_D3D12_DRED=1): At 8,332 draws/frame (full mip-0, all Wave32 shaders active), total GPU command time across all 1,248 command kinds was only 187.0 ms/frame (heaviest single shader: dispatch [compute cb6adcc6da2613ff] at 22.56 ms; second heaviest 7.35 ms). The remaining frame-time limit on this machine is purely CPU-side (GPU is only 45–64% busy).

Live Telemetry Comparison (measured, diag build, Series X @ 1920x1080)

Metric Earlier (a803c87 + lot-8/PRs) Current (9376fd6 + ports/fixes, mip-0) Current (DropMips=1)
Untranslated shaders 6 0 0
Refused compute PSOs (0x80070057) 17 (12 in-world) 0 0
Dropped indirect draws / frame 6–9 0 0
Null / stale heap buffer views 1,636 / 83 (in 310c6eb) 0 / 0 0 / 0
Steady FPS / frame time (diag) 4.0–4.7 fps (214–248 ms) @ 4.0k draws 3.8–4.0 fps (251–260 ms) @ 3.5k–3.7k draws (2.6 fps @ 5.1k) 2.8–3.2 fps (314–357 ms) @ 4.9k–5.4k draws
On the GPU / frame 87.0–113.1 ms (~61% busy) 57.0–98.3 ms (~45% busy) 77.6–108.2 ms (~57–69% busy)
Global UAV barriers skipped / frame 0 2,831–3,262 2,696–3,494
Preparing: total 96.4–120.1 ms 92.7–110.5 ms 116.9–146.3 ms
↳ Copies 56.8–69.4 ms (103–128 MB) 32.5–41.3 ms (170–190 MB) 38.7–55.4 ms (212–241 MB)
↳ Textures 6.0–19.2 ms (bursts 53 ms) 12.4–16.7 ms (20–36 MB) 10.1–26.2 ms (16–65 MB)
↳ Heap buffer + texture pass 14.5 ms (bursts 290 ms, no HEAP_SYNC) 53.1–89.7 ms (16–39 ms HEAP_SYNC + 55–74 ms catch-up) 90.8–121.2 ms
Copying back (relay thread) 52.2–64.6 ms (61–64 MB) 61.7–71.2 ms (74–79 MB merged / 94 MB fetched) 71.7–86.1 ms (83–92 MB)
Submission lock wait / frame 77.0 ms 8.3 ms —
Write-watch checks / frame 35.0 ms (8,748 MB) 27.6 ms (6,362 MB; 16 failed kernel calls, 1,704 skipped by view guard) 23–24 failed kernel calls
Indexed textures uploaded (cumulative) 27,713 (10.7 GB) 69,436 (29.7 GB) 71,390
Indexed textures skipped unmapped 16,224 3,129 —
Texture passes blocked (no VRAM room) 280 0 0
VRAM in use / budget 10,389 / 11,203 MB (+4,834 MB shared) 9,117 / 11,119 MB (+4,049 MB shared) 8,194–8,433 / 11,119 MB (+4,337 MB shared)
System RAM private (resident) 25,294 MB (20,687 MB) 22,482 MB (18,563 MB) 21,924 MB (19,204 MB)
System commit headroom left 1,404 MB 2,870 MB 1,272 MB
Crashes / Device Removed 0 / 0 0 / 0 0 / 0

(Note on FPS: steady diag FPS is slightly lower than a803c87's 4.7 fps because 9376fd6 adds VICTORY_HEAP_SYNC (16–39 ms/frame, fixing missing walls/descriptors) and our run was still inside the heap_textures 4K backlog catch-up window (55–74 ms/frame while due.len() >= 1024).)


Actionable Findings & Bugs Caught During Live Testing

  1. VICTORY_CARD_FETCH_INFLIGHT=1 (#648) caused a 7–9× GPU stall on RTX 3060 12 GB:
    • With VICTORY_CARD_FETCH_INFLIGHT=1 active alongside VICTORY_RELAY=2, on the GPU jumped from 57–118 ms → 737–1,076 ms (~1.0 fps), while disabling it immediately restored 57–118 ms (3.8–4.0 fps) with the dedicated COPY queue fetching ~94 MB in only 10–11 ms. (Confirms the f85101b README observation that in-flight fetch is slower on NVIDIA and should stay off in favor of the copy queue.)
  2. PR #824 relay_card_back coalescing + per-shadow sharding regressed copying back 2.6× (61.5 ms → 150–189 ms) — and a clean fix:
    • Coalescing adjacent 64 KiB dirty pieces into 1 MiB runs on the CPU side inflated [first..=last] read/merge/write spans across unchanged interior gaps (+20 MB/frame written back), and grouping wide_merge buckets by Shadow pointer serialized large heap buffers onto 1 CPU core.
    • Fix: Change Shadow::before from Mutex<Option<Vec<u8>>> to RwLock<Option<Vec<u8>>> (shared .read() for strictly disjoint 64 KiB card_merge_relay slices; exclusive .write() for merge_under_writes / snapshot / drop_snapshot). Coalesce adjacent pieces up to 4 MiB only for CopyBufferRegion GPU DMA, while keeping 64 KiB CPU slices evenly sharded across all 8 cores.
    • Result: copying back dropped from 150.5–189.0 ms → 61.7–71.2 ms (~2.6× faster) while retaining coalesced GPU DMA.
  3. PR #800 (inactive-lane wave prefix exchange) broke 6 culling/compute shaders on Wave32:
    • Caused 4 culling shaders (17af15c4015cb4b6, fdd56d97a806bcca, 2809db6c31de483d, 8dd8d739047fe557) to fail translation (a lane mask exchanged where not every lane runs) and 2 compute PSOs (89d08e561897d4e5, 55679a0547649d0b) to be refused (0x80070057). Reverting #800 immediately restored 0 untranslated / 0 refused.
  4. PR #550 (evict_placed_in) caused a 30.9 s startup freeze / watchdog crash:
    • Rescanning every texture on xmem::map/unmap stalled frame 128→256 for 30.9 s (tripping the 30 s hang watchdog). Adding a 4 MiB-bucket PlacedIndex in resource.rs + range coalescing in xmem::wrote_physical dropped frame 128→256 from 30.9 s + crash → 5.1 s.
  5. VICTORY_TABLED_SKIP_FRAMES=2 (#827) inflated CPU heap sync 5.5×:
    • Shrinking the table-skip window from the default 240 frames to 2 frames pushed VICTORY_HEAP_SYNC from 16 ms → 90 ms and heap_buffers from 66 ms → 155 ms. Keeping the 240-frame default kept 0 stale views at 16–39 ms.
  6. Diagnostic note (VICTORY_GPU_TIMING=1):
    • HostList::note early-returns unless dred_on() is true, so VICTORY_GPU_TIMING=1 logs commands=0 unless VICTORY_D3D12_DRED=1 is also set.

PRs & Fixes Validated Working Together (423 targeted unit tests passing, 0 failed)

  • From fxceless/victory-fork: main (9376fd6) + #188 (Series S 2-plane UI + stretch), #400 (ES+GS geometry shaders), #500/#592/#799/#823/#657 (full 32-lane NVIDIA Wave32 shader coverage), #578, #644, #651, #653, #687, #694, #703, #708/#714, #712, #720, #776, #781, #785, #794, #796, #798, #804, #806, #807, #808, #809, #818, #822, #824 (with RwLock 8-core relay_card_back fix above), #827 (64 KiB refresh-gap coalescing only; skipped watch::forgot and VICTORY_COPY_FAST).
  • From vitutu1/victory-perf: VICTORY_BARRIER_MERGE=1, VICTORY_CLAMP_SCOPED=1 (~2.8k–3.5k global UAV barriers skipped/frame), VICTORY_INDIRECT_WINDOW (4096) + VICTORY_CLAMP_LIGHT_RESTORE=1, VICTORY_INDIRECT_MERGE, >65,535 compute group split (USER_GROUP_BASE = 0x104), 64-bucket HeapBufferCache with pre-aggregated bucket_spans, bounded heap_textures (24 ms / 80 ms catch-up).
  • From uiliannn/VItoriaBr: immediate-sampler static-sampler range with join-path phi including pixel shaders (fixes 37 PS_TexturedLit shaders), SHADER_HEAPS lock across descriptor mirror + resolve_queries offset overflow check, copy_back_done ordering after line.written/LINE_LANDED. (Skipped faca57e: its 64 MiB per-texture cap broke out of early_textures after 1 texture/frame.)
  • From Marvisak/VIctory: SPARE exact-view buffer pool (#1979), NtReadVirtualMemory, plus #2007–#2059 fixes.
  • Custom local shader/GPU fixes: generalized 32-lane half_sum_present + pure register-only WQM skip in walks_with_empty_exec; PlacedIndex 4 MiB buckets; Shadow::before RwLock + 4 MiB coalesced GPU DMA / 64 KiB 8-core relay merge.

Environment Settings Used (RTX 3060 12 GB, Series X, 1920x1080)

VICTORY_DISPLAY_MODE=1920x1080
VICTORY_LEVELS_ON_DEMAND=1
VICTORY_CARD_BUFFERS_MIN_MB=1
VICTORY_CARD_BUFFERS_MB=1024
VICTORY_CARD_WINDOWS_MB=1024
VICTORY_LEAN_WINDOWS=1
VICTORY_TEXTURE_SPILL=1
VICTORY_RELAY=2
VICTORY_LATE_WAIT=3
VICTORY_INDIRECT_WINDOW=1
VICTORY_CARD_REHASH_RUNS=1
VICTORY_WIDE_BACK=1
VICTORY_WIDE_MERGE=1
VICTORY_WIDE_REFRESH=1
VICTORY_JOIN_COPIES=1
VICTORY_EARLY_TEXTURES_MS=40
VICTORY_TEXTURE_NO_WAIT=1
VICTORY_XMEM_PERSISTENT_VIEW=1
VICTORY_D3D12_BACKGROUND=0
VICTORY_PIPELINE_WAIT_MS=32
VICTORY_LDS_EXACT=1
VICTORY_LDS_FLAGS=1
VICTORY_SHADER_LOOP_LIMIT=256
VICTORY_MEMORY_MAP=0            # diag runs only
# Off intentionally: VICTORY_CARD_FETCH_INFLIGHT, VICTORY_TABLED_SKIP_FRAMES
# Active by default in binary: VICTORY_BARRIER_MERGE=1, VICTORY_CLAMP_SCOPED=1,
#   VICTORY_CLAMP_LIGHT_RESTORE=1, VICTORY_INDIRECT_WINDOW_MOST=4096

Remaining Bottlenecks & Next Steps

  1. Rebase/test f85101b ("Frame rate, second night") on top of this stack — specifically VICTORY_ASYNC_SUBMIT=1 and default fill-wait removal, which directly target the remaining CPU submit-thread bottleneck (GPU is only 45–64% busy).
  2. Reduce remaining CPU frame budget: heap_textures catch-up (55–74 ms/frame while draining initial 4K backlog), VICTORY_HEAP_SYNC (16–39 ms/frame), and copying back (62–71 ms/frame — view-marked dirty-page copy-backs like Marvisak cd94d35/940d32f are a strong candidate).
  3. Visual & RT verification in release: Test -BvhBuilder now that #823 enables the remaining Wave32 BVH structure-builder stages, and run a longer release soak past the initial texture-streaming backlog.

Policy note: No game files, paths, executables, archives, dumps, or extracted assets are included. All telemetry and test counts are locally measured; prepared with AI assistance for PR auditing, porting, and log analysis.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6603589687 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/879). Originally posted by [1337tr](https://github.com/1337tr) on 2026-11-25T11:36:28Z. --- ## Overview Testing on an **RTX 3060 12 GB (32-lane NVIDIA) + Ryzen 7 5800X (8C/16T) + 32 GB RAM** (Windows 11 26200, Series X @ `1920x1080`, driver `621.24`, default 2 s TDR) comparing our earlier `a803c87`-based build against a **`9376fd6`-based** build combining recent `fxceless/victory-fork` PRs, community ports (`victory-perf`, `VItoriaBr`, `Marvisak/VIctory`), and targeted local fixes. **Key results (`measured` in live world `diag` runs, 0 crashes / 0 device losses):** - **Complete 32-lane NVIDIA shader & descriptor coverage:** **`0` untranslated shaders** (down from `6`), **`0` refused compute pipelines** (`0x80070057`, down from `17` / `12` in-world), **`0` dropped indirect draws** (down from `6–9/frame`), and **`0` null / `0` stale heap buffer views**. Once `making = 0`, 100% of remaining dropped dispatches are solely the opt-in ray-tracing BVH builder (off by default; its remaining Wave32 stages now also compile cleanly via `#823`). - **Full mip-0 textures now fit comfortably in 12 GB VRAM:** `VICTORY_LEVELS_ON_DEMAND=1` + `VICTORY_LEAN_WINDOWS=1` + `#822` dropped VRAM from `10,389 MB` (`280` out-of-room passes, `+4,834 MB` shared) to **`9,117 MB / 11,119 MB`** (`2.0 GB` free, **`0` out-of-room passes**, `+4,049 MB` shared) and private RAM from `25,294 MB` (`1,404 MB` commit left) to **`22,482 MB`** (`2,870 MB` commit left). Optional `VICTORY_TEXTURE_DROP_MIPS=1` drops VRAM further to **`8,194–8,433 MB`** (`2.7–3.1 GB` free). - **Major GPU & CPU copy speedups:** Scoped indirect clamp barriers + UAV barrier merging eliminated **`2,831–3,494` global UAV barriers/frame**, cutting GPU time to **`57.0–98.3 ms`** at `3.5k–5.1k` draws/frame (down from `87–113 ms` at `4.0k` draws). CPU copy preparation dropped **~40%** (`56.8–69.4 ms` for `103–128 MB` → **`32.5–41.3 ms`** for `170–190 MB`), submission-lock waits fell **9.3×** (`77.0 ms → 8.3 ms`), and indexed textures uploaded in the same ~3 min window rose **2.5×** (`27,713 → 69,436`, with unmapped skips cut **-81%**). - **Per-command GPU timing profile (`VICTORY_GPU_TIMING=1` + `VICTORY_D3D12_DRED=1`):** At `8,332` draws/frame (full mip-0, all Wave32 shaders active), total GPU command time across all `1,248` command kinds was only **`187.0 ms/frame`** (heaviest single shader: `dispatch [compute cb6adcc6da2613ff]` at `22.56 ms`; second heaviest `7.35 ms`). The remaining frame-time limit on this machine is purely CPU-side (GPU is only `45–64%` busy). --- ## Live Telemetry Comparison (`measured`, `diag` build, Series X @ `1920x1080`) | Metric | Earlier (`a803c87` + lot-8/PRs) | Current (`9376fd6` + ports/fixes, mip-0) | Current (`DropMips=1`) | | --- | --- | --- | --- | | **Untranslated shaders** | `6` | **`0`** | **`0`** | | **Refused compute PSOs (`0x80070057`)** | `17` (`12` in-world) | **`0`** | **`0`** | | **Dropped indirect draws / frame** | `6–9` | **`0`** | **`0`** | | **Null / stale heap buffer views** | `1,636` / `83` (in `310c6eb`) | **`0` / `0`** | **`0` / `0`** | | **Steady FPS / frame time (`diag`)** | `4.0–4.7 fps` (`214–248 ms`) @ 4.0k draws | **`3.8–4.0 fps` (`251–260 ms`)** @ 3.5k–3.7k draws (`2.6 fps` @ 5.1k) | `2.8–3.2 fps` (`314–357 ms`) @ 4.9k–5.4k draws | | **On the GPU / frame** | `87.0–113.1 ms` (~`61%` busy) | **`57.0–98.3 ms`** (~`45%` busy) | **`77.6–108.2 ms`** (~`57–69%` busy) | | **Global UAV barriers skipped / frame** | `0` | **`2,831–3,262`** | **`2,696–3,494`** | | **Preparing: total** | `96.4–120.1 ms` | **`92.7–110.5 ms`** | `116.9–146.3 ms` | | ↳ **Copies** | `56.8–69.4 ms` (`103–128 MB`) | **`32.5–41.3 ms`** (`170–190 MB`) | `38.7–55.4 ms` (`212–241 MB`) | | ↳ **Textures** | `6.0–19.2 ms` (bursts `53 ms`) | `12.4–16.7 ms` (`20–36 MB`) | `10.1–26.2 ms` (`16–65 MB`) | | ↳ **Heap buffer + texture pass** | `14.5 ms` (bursts `290 ms`, no `HEAP_SYNC`) | `53.1–89.7 ms` (`16–39 ms` `HEAP_SYNC` + `55–74 ms` catch-up) | `90.8–121.2 ms` | | **Copying back (relay thread)** | `52.2–64.6 ms` (`61–64 MB`) | **`61.7–71.2 ms`** (`74–79 MB` merged / `94 MB` fetched) | `71.7–86.1 ms` (`83–92 MB`) | | **Submission lock wait / frame** | `77.0 ms` | **`8.3 ms`** | — | | **Write-watch checks / frame** | `35.0 ms` (`8,748 MB`) | **`27.6 ms`** (`6,362 MB`; `16` failed kernel calls, `1,704` skipped by view guard) | `23–24` failed kernel calls | | **Indexed textures uploaded (cumulative)** | `27,713` (`10.7 GB`) | **`69,436` (`29.7 GB`)** | **`71,390`** | | **Indexed textures skipped unmapped** | `16,224` | **`3,129`** | — | | **Texture passes blocked (no VRAM room)** | `280` | **`0`** | **`0`** | | **VRAM in use / budget** | `10,389 / 11,203 MB` (`+4,834 MB` shared) | **`9,117 / 11,119 MB`** (`+4,049 MB` shared) | **`8,194–8,433 / 11,119 MB`** (`+4,337 MB` shared) | | **System RAM private (resident)** | `25,294 MB` (`20,687 MB`) | **`22,482 MB` (`18,563 MB`)** | **`21,924 MB` (`19,204 MB`)** | | **System commit headroom left** | `1,404 MB` | **`2,870 MB`** | `1,272 MB` | | **Crashes / Device Removed** | `0` / `0` | **`0` / `0`** | **`0` / `0`** | *(Note on FPS: steady `diag` FPS is slightly lower than `a803c87`'s `4.7 fps` because `9376fd6` adds `VICTORY_HEAP_SYNC` (`16–39 ms/frame`, fixing missing walls/descriptors) and our run was still inside the `heap_textures` 4K backlog catch-up window (`55–74 ms/frame` while `due.len() >= 1024`).)* --- ## Actionable Findings & Bugs Caught During Live Testing 1. **`VICTORY_CARD_FETCH_INFLIGHT=1` (`#648`) caused a 7–9× GPU stall on RTX 3060 12 GB:** - With `VICTORY_CARD_FETCH_INFLIGHT=1` active alongside `VICTORY_RELAY=2`, `on the GPU` jumped from **`57–118 ms` → `737–1,076 ms`** (`~1.0 fps`), while disabling it immediately restored **`57–118 ms`** (`3.8–4.0 fps`) with the dedicated `COPY` queue fetching ~94 MB in only **`10–11 ms`**. (Confirms the `f85101b` README observation that in-flight fetch is slower on NVIDIA and should stay off in favor of the copy queue.) 2. **PR `#824` `relay_card_back` coalescing + per-shadow sharding regressed `copying back` 2.6× (`61.5 ms → 150–189 ms`) — and a clean fix:** - Coalescing adjacent 64 KiB dirty pieces into 1 MiB runs on the CPU side inflated `[first..=last]` read/merge/write spans across unchanged interior gaps (`+20 MB/frame` written back), and grouping `wide_merge` buckets by `Shadow` pointer serialized large heap buffers onto **1 CPU core**. - **Fix:** Change `Shadow::before` from `Mutex<Option<Vec<u8>>>` to `RwLock<Option<Vec<u8>>>` (shared `.read()` for strictly disjoint 64 KiB `card_merge_relay` slices; exclusive `.write()` for `merge_under_writes` / `snapshot` / `drop_snapshot`). Coalesce adjacent pieces up to **4 MiB** *only* for `CopyBufferRegion` GPU DMA, while keeping **64 KiB** CPU slices evenly sharded across all **8 cores**. - **Result:** `copying back` dropped from **`150.5–189.0 ms` → `61.7–71.2 ms`** (`~2.6×` faster) while retaining coalesced GPU DMA. 3. **PR `#800` (inactive-lane wave prefix exchange) broke 6 culling/compute shaders on Wave32:** - Caused 4 culling shaders (`17af15c4015cb4b6`, `fdd56d97a806bcca`, `2809db6c31de483d`, `8dd8d739047fe557`) to fail translation (`a lane mask exchanged where not every lane runs`) and 2 compute PSOs (`89d08e561897d4e5`, `55679a0547649d0b`) to be refused (`0x80070057`). Reverting `#800` immediately restored `0` untranslated / `0` refused. 4. **PR `#550` (`evict_placed_in`) caused a 30.9 s startup freeze / watchdog crash:** - Rescanning every texture on `xmem::map/unmap` stalled `frame 128→256` for `30.9 s` (tripping the 30 s hang watchdog). Adding a 4 MiB-bucket `PlacedIndex` in `resource.rs` + range coalescing in `xmem::wrote_physical` dropped `frame 128→256` from **`30.9 s` + crash → `5.1 s`**. 5. **`VICTORY_TABLED_SKIP_FRAMES=2` (`#827`) inflated CPU heap sync 5.5×:** - Shrinking the table-skip window from the default 240 frames to 2 frames pushed `VICTORY_HEAP_SYNC` from `16 ms → 90 ms` and `heap_buffers` from `66 ms → 155 ms`. Keeping the 240-frame default kept `0` stale views at `16–39 ms`. 6. **Diagnostic note (`VICTORY_GPU_TIMING=1`):** - `HostList::note` early-returns unless `dred_on()` is true, so `VICTORY_GPU_TIMING=1` logs `commands=0` unless `VICTORY_D3D12_DRED=1` is also set. --- ## PRs & Fixes Validated Working Together (`423` targeted unit tests passing, 0 failed) - **From `fxceless/victory-fork`:** `main` (`9376fd6`) + `#188` (Series S 2-plane UI + stretch), `#400` (ES+GS geometry shaders), `#500`/`#592`/`#799`/`#823`/`#657` (full 32-lane NVIDIA Wave32 shader coverage), `#578`, `#644`, `#651`, `#653`, `#687`, `#694`, `#703`, `#708`/`#714`, `#712`, `#720`, `#776`, `#781`, `#785`, `#794`, `#796`, `#798`, `#804`, `#806`, `#807`, `#808`, `#809`, `#818`, `#822`, `#824` (with `RwLock` 8-core `relay_card_back` fix above), `#827` (64 KiB refresh-gap coalescing only; skipped `watch::forgot` and `VICTORY_COPY_FAST`). - **From `vitutu1/victory-perf`:** `VICTORY_BARRIER_MERGE=1`, `VICTORY_CLAMP_SCOPED=1` (~2.8k–3.5k global UAV barriers skipped/frame), `VICTORY_INDIRECT_WINDOW` (`4096`) + `VICTORY_CLAMP_LIGHT_RESTORE=1`, `VICTORY_INDIRECT_MERGE`, >65,535 compute group split (`USER_GROUP_BASE = 0x104`), 64-bucket `HeapBufferCache` with pre-aggregated `bucket_spans`, bounded `heap_textures` (`24 ms` / `80 ms` catch-up). - **From `uiliannn/VItoriaBr`:** immediate-sampler static-sampler range with join-path phi including pixel shaders (fixes 37 `PS_TexturedLit` shaders), `SHADER_HEAPS` lock across descriptor mirror + `resolve_queries` offset overflow check, `copy_back_done` ordering after `line.written`/`LINE_LANDED`. *(Skipped `faca57e`: its 64 MiB per-texture cap broke out of `early_textures` after 1 texture/frame.)* - **From `Marvisak/VIctory`:** `SPARE` exact-view buffer pool (`#1979`), `NtReadVirtualMemory`, plus `#2007`–`#2059` fixes. - **Custom local shader/GPU fixes:** generalized 32-lane `half_sum_present` + pure register-only WQM skip in `walks_with_empty_exec`; `PlacedIndex` 4 MiB buckets; `Shadow::before` `RwLock` + 4 MiB coalesced GPU DMA / 64 KiB 8-core relay merge. --- ## Environment Settings Used (RTX 3060 12 GB, Series X, `1920x1080`) ```text VICTORY_DISPLAY_MODE=1920x1080 VICTORY_LEVELS_ON_DEMAND=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_CARD_WINDOWS_MB=1024 VICTORY_LEAN_WINDOWS=1 VICTORY_TEXTURE_SPILL=1 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_INDIRECT_WINDOW=1 VICTORY_CARD_REHASH_RUNS=1 VICTORY_WIDE_BACK=1 VICTORY_WIDE_MERGE=1 VICTORY_WIDE_REFRESH=1 VICTORY_JOIN_COPIES=1 VICTORY_EARLY_TEXTURES_MS=40 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_XMEM_PERSISTENT_VIEW=1 VICTORY_D3D12_BACKGROUND=0 VICTORY_PIPELINE_WAIT_MS=32 VICTORY_LDS_EXACT=1 VICTORY_LDS_FLAGS=1 VICTORY_SHADER_LOOP_LIMIT=256 VICTORY_MEMORY_MAP=0 # diag runs only # Off intentionally: VICTORY_CARD_FETCH_INFLIGHT, VICTORY_TABLED_SKIP_FRAMES # Active by default in binary: VICTORY_BARRIER_MERGE=1, VICTORY_CLAMP_SCOPED=1, # VICTORY_CLAMP_LIGHT_RESTORE=1, VICTORY_INDIRECT_WINDOW_MOST=4096 ``` --- ## Remaining Bottlenecks & Next Steps 1. **Rebase/test `f85101b` ("Frame rate, second night")** on top of this stack — specifically `VICTORY_ASYNC_SUBMIT=1` and default fill-wait removal, which directly target the remaining CPU submit-thread bottleneck (GPU is only `45–64%` busy). 2. **Reduce remaining CPU frame budget:** `heap_textures` catch-up (`55–74 ms/frame` while draining initial 4K backlog), `VICTORY_HEAP_SYNC` (`16–39 ms/frame`), and `copying back` (`62–71 ms/frame` — view-marked dirty-page copy-backs like `Marvisak cd94d35`/`940d32f` are a strong candidate). 3. **Visual & RT verification in `release`:** Test `-BvhBuilder` now that `#823` enables the remaining Wave32 BVH structure-builder stages, and run a longer `release` soak past the initial texture-streaming backlog. --- *Policy note: No game files, paths, executables, archives, dumps, or extracted assets are included. All telemetry and test counts are locally measured; prepared with AI assistance for PR auditing, porting, and log analysis.*
Sign in to join this conversation.
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
fxceless/victory-fork#878
No description provided.