VIctory performance (RTX 5060 8 GB): submit thread, textures, and memory #2334

Open
Castyan wants to merge 62 commits from upstream-pr/2334 into main
Castyan commented 2026-11-29 12:06:46 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T12:06:46Z.


Fixes #597.

Changes

  • Launcher defaults. Disable the texture pool by default on GPUs with 8 GB of VRAM or less, raise helper priority while leaving list translators at normal priority, and use finer host-copy windows on PCs with 16 GB of RAM or less. Explicit user settings take precedence.
  • Submit thread and copy refreshes. Add opt-in paths for refreshing copies ahead of submission on multiple threads, plus diagnostics for stale copies and memory waits.
  • Textures, VRAM and RAM. Add configurable texture budget headroom, eviction of idle textures, on-demand CPU memory for selected copies and memory diagnostics in release builds.
  • Measurements. The test reports remain with the engine changes. The benchmark tools have their own PR, #2571.

Tests on RTX 5060 8 GB, Ryzen 5 9600X and 16 GB RAM

Over the first 7 min 31 s of runs H and I on v2026.11.29.01, median FPS was 12.3 with this PR and 10.3 with the stock release. Submit-thread time was 94.5 versus 120.1 ms per frame. Each configuration was played once and the routes were similar. Run J, with 4 MiB copy windows, produced 12 stale-copy warnings and one DLSS VRAM warning.

git diff --check passed. The repository-wide asset policy flags an existing sequence of hexadecimal literals in crates/victory-loader/src/heap_sites/frame_users.rs. That file is identical on the base.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5550541176 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T12:06:46Z. --- Fixes #597. ## Changes - **Launcher defaults.** Disable the texture pool by default on GPUs with 8 GB of VRAM or less, raise helper priority while leaving list translators at normal priority, and use finer host-copy windows on PCs with 16 GB of RAM or less. Explicit user settings take precedence. - **Submit thread and copy refreshes.** Add opt-in paths for refreshing copies ahead of submission on multiple threads, plus diagnostics for stale copies and memory waits. - **Textures, VRAM and RAM.** Add configurable texture budget headroom, eviction of idle textures, on-demand CPU memory for selected copies and memory diagnostics in release builds. - **Measurements.** The [test reports](https://github.com/Castyan/VIctory-NVIDIA/blob/pr/rtx5060-8gb-perf/docs/test-results-2026-11-29.md) remain with the engine changes. The benchmark tools have their own PR, #2571. ## Tests on RTX 5060 8 GB, Ryzen 5 9600X and 16 GB RAM Over the first 7 min 31 s of runs H and I on v2026.11.29.01, median FPS was 12.3 with this PR and 10.3 with the stock release. Submit-thread time was 94.5 versus 120.1 ms per frame. Each configuration was played once and the routes were similar. Run J, with 4 MiB copy windows, produced 12 stale-copy warnings and one DLSS VRAM warning. `git diff --check` passed. The repository-wide asset policy flags an existing sequence of hexadecimal literals in `crates/victory-loader/src/heap_sites/frame_users.rs`. That file is identical on the base.
Castyan commented 2026-11-29 12:20:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T12:20:41Z.


Test on this branch (v2026.11.29.01 + this PR): run H, 12 min 17, closed normally. RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM. --series-s --dlss quality --framegen 2, plus the switches listed in docs/test-results-2026-11-29.md (part H).

What the player saw

  • Freezes are still there, mostly when entering new areas.
  • Textures still take some time to load.
  • Some textures do not show at all, or show wrong.

What the log says (docs/logs/victory-nvidia-play-20261129-115844-29880.log.gz, docs/logs/victory-mem-20261129-125843.csv)

  • 0 out of VRAM, 0 DLSS failures, 0 stale copies (VICTORY_REFRESH_CHECK=1). The game ran stable.
  • Frame rate: median 13.3 fps across the 135 five-second fps lines. 16 of them are under 5 fps (the freezes) and 32 under 10.
  • Submitting thread: 88.5 ms/frame, of which 44.8 ms are refreshes. The same work on v2026.11.28.03 gave 33 and 15 ms. This is a regression on this base: on this base it runs on main's batch path, without #614. A run of plain v2026.11.29.01 with the same options is still needed to tell whether the cause is this branch or the release.
  • Textures: 11,506 textures waiting on average (22,260 at most), against 5,109 on .03. 232 lines say the queue has no room. Textures that wait show main's neutral stand-in, which fits what the player saw as missing or wrong textures.
  • Dropped draws: on average 764 per frame are ray-tracing builder dispatches (VICTORY_BVH_BUILDER off) and 5 are pipelines left out on purpose. Next to nothing is waiting for a pipeline to compile, so the missing textures do not come from shader compiles.
  • RAM: the private commit peaks at 21.5 GB on this 16 GB PC, even with VICTORY_WINDOW_KB=1024. Free RAM falls to 152 MB. On 16 GB, paging stays the main cause of the freezes.
  • scripts/bench.py does not read v2026.11.29.01's new fps and room lines yet. The figures above come from the raw log.

Next

  • A baseline run of plain v2026.11.29.01 with the same options.
  • bench.py reading the new log format.
  • Look at why refreshes cost three times as much on this base.
  • Look at the CPU side of card copies: about 1 GB of RAM that only mirrors title memory.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7255743666 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7255743666). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T12:20:41Z. --- **Test on this branch (v2026.11.29.01 + this PR)**: run H, 12 min 17, closed normally. RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM. `--series-s --dlss quality --framegen 2`, plus the switches listed in `docs/test-results-2026-11-29.md` (part H). **What the player saw** - **Freezes are still there**, mostly when entering new areas. - **Textures still take some time to load.** - **Some textures do not show at all, or show wrong.** **What the log says** (`docs/logs/victory-nvidia-play-20261129-115844-29880.log.gz`, `docs/logs/victory-mem-20261129-125843.csv`) - 0 out of VRAM, 0 DLSS failures, 0 stale copies (`VICTORY_REFRESH_CHECK=1`). The game ran stable. - **Frame rate**: median 13.3 fps across the 135 five-second fps lines. 16 of them are under 5 fps (the freezes) and 32 under 10. - **Submitting thread**: 88.5 ms/frame, of which 44.8 ms are refreshes. The same work on v2026.11.28.03 gave 33 and 15 ms. This is a regression on this base: on this base it runs on `main`'s batch path, without #614. A run of plain v2026.11.29.01 with the same options is still needed to tell whether the cause is this branch or the release. - **Textures**: 11,506 textures waiting on average (22,260 at most), against 5,109 on .03. 232 lines say the queue has no room. Textures that wait show `main`'s neutral stand-in, which fits what the player saw as missing or wrong textures. - **Dropped draws**: on average 764 per frame are ray-tracing builder dispatches (`VICTORY_BVH_BUILDER` off) and 5 are pipelines left out on purpose. Next to nothing is waiting for a pipeline to compile, so the missing textures do not come from shader compiles. - **RAM**: the private commit peaks at 21.5 GB on this 16 GB PC, even with `VICTORY_WINDOW_KB=1024`. Free RAM falls to 152 MB. On 16 GB, paging stays the main cause of the freezes. - `scripts/bench.py` does not read v2026.11.29.01's new fps and room lines yet. The figures above come from the raw log. **Next** - A baseline run of plain v2026.11.29.01 with the same options. - `bench.py` reading the new log format. - Look at why refreshes cost three times as much on this base. - Look at the CPU side of card copies: about 1 GB of RAM that only mirrors title memory.
FIJI1299 commented 2026-11-29 12:44:34 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by FIJI1299 on 2026-11-29T12:44:34Z.


Community Test Report — RTX 5070 12 GB / 32 GB RAM (series-s, DLSS Quality, FG x2)

Tested on RTX 5070 12 GB, 32 GB RAM (32,344 MB), Windows 11 (10.0.26300), driver 621.40.0, series-s, DLSS Quality, FG x2, with C: pagefile expanded (commit_limit_mib=65112).

Switches Tested

VICTORY_REFRESH_AT_SUBMIT=2
VICTORY_REFRESH_CHECK=1
VICTORY_BURY_ASIDE=1
VICTORY_WAIT_RESIDENT_UPLOADS=0
VICTORY_TEXTURE_ROOM_MARGIN_MB=768

(Defaults on 12 GB / 32 GB kept: VICTORY_TEXTURE_POOL=1, VICTORY_HELPER_PRIORITY=on, VICTORY_WINDOW_KB not forced to 1024.)

Observations & Telemetry Highlights (12:36:58Z–12:37:45Z)

  • Frame pacing under heavy load: frame times intervals in this window recorded 7–8 frames with median 131.6–146.2 ms and p95 / longest 261.2–327.9 ms.
  • Early refresh (VICTORY_REFRESH_AT_SUBMIT=2, threads=1):
    • Refreshes ~277–800 copies/frame (~1.3–1.5 MB), taking 2.3–10.1 ms from submission start to end (0.0–0.7 reached by the line before beginning, 0.0–0.1 stopped midway).
    • Leaves ~717–2,193 shader-written copies and ~1,042–1,680 windows outside buffers (VICTORY_REFRESH_WINDOWS=1 off) to the submission; total refreshes across all threads still sit at 1,292–1,408 refreshed/frame (78.3–103.1 ms) out of 7,939–9,831 copies checked, with ~4,386–4,407 live host copies (5,768–5,940 MB PC / 1,822–1,823 MB card).
  • Memory & page faults on 32 GB host:
    • process memory: 26,629 MB private (22,448 MB resident), 40,825 MB committed across 91,325 regions (646 ms walk), 17,406 MB named / 9,223 MB unnamed private, 4,715 MB shared sections, and 1,750 MB free physical RAM (42,567–43,509 / 65,112 MB PC commit).
    • Dedicated GPU memory reached 9,945–10,080 MB (budget ~10,889–10,979 MB) plus 7,090–7,239 MB shared GPU memory.
    • Observed 23,486–40,569 page faults/s and 955–2,270 ms texture queue lock wait per 5 s window.
  • Errors & stale checks:
    • 0 stale-copy warnings (VICTORY_REFRESH_CHECK=1) and 0 out-of-VRAM messages.
    • 1 pipeline failure logged at 12:37:45.470Z: 1 host pipelines failed (1 compute 0x8007000e) (untranslated=0).

Sample Log Excerpt

2026-11-29T12:37:42.763130Z  INFO victory_gpu::procmem: process memory: 26629 MB private by the system (22448 MB in memory), 40825 MB committed found by address in 91325 regions (646 ms): at console addresses (the title's own) 3284 MB private and 7993 MB mapped (4 sections made, 4679 MB reserved), at host addresses 23044 MB private (the layer's heap, stacks, the driver) and 6503 MB mapped (without the pipeline library's file, 961 MB), images 682 MB; the PC has 1750 MB free | held by us, in the process: shader containers 19139 (188 MB), translated shaders 4329 (161 MB host code), host copies of title memory 4386 (5778 MB), XMem heap blocks 0 (0 MB); the pipeline library file 961 MB, last save 0 MB, 6730 MB let go from memory | in the PC's memory shared with the card: staging of textures 60 MB, upload buffers held by lists 0 (0 MB) | named 17406 MB, unnamed 9223 MB of the private bytes; largest at host addresses: 0x21b63910000 3977 MB mapped, 0x21c98f10000 2048 MB mapped, 0x21abd7f0000 961 MB mapped, 0x220ab6b0000 273 MB mapped n=27
2026-11-29T12:37:44.428653Z  INFO victory_gpu::frame_times: frame times: 8 frames, median 139.4 ms, p95 308.4, p99 308.4, longest 308.4; 8 over 50 ms, 6 over 100 ms
2026-11-29T12:37:44.428852Z  INFO victory_gpu::host::early_refresh: host copies refreshed at the title's submit per frame (VICTORY_REFRESH_AT_SUBMIT=2, 1 threads): 20.0 submissions posted, 19.5 begun, 0.4 reached by the line before they were begun, 0.1 stopped by it midway; 689 copies refreshed (689 of them in the card's memory), 1.5 MB, 10.1 ms from a submission's start to its end (2.2 walking its steps; on all threads 2.1 looking whether anything is new, 4.2 refreshing, the longest refresh 17.7 ms); 325 found with nothing new; left to the submission: 2193 written by shaders, 0 in the card's memory, 9 guarded views, 0 not write-watched, 1649 windows outside buffers (VICTORY_REFRESH_WINDOWS=1 takes them), 0 busy or found so under their lock
2026-11-29T12:37:44.428861Z  INFO victory_gpu::host: the submission's refreshes per frame, on all the threads that do them: 7939 copies looked at for something new in 0.3 ms, 1292 refreshed in 78.3 ms; host copies of title memory now: 4391 copies, 5768 MB in the PC's memory (0 MB of it snapshots to compare with), 1823 MB on the card (0 MB of it hashes to compare with)
2026-11-29T12:37:45.470523Z  WARN victory_gpu::pipeline::refused: pipeline failures: 1 host pipelines failed (1 compute 0x8007000e), 0 shaders do not translate failed=1 untranslated=0 retried=0 retry_made=0
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256031163 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256031163). Originally posted by [FIJI1299](https://github.com/FIJI1299) on 2026-11-29T12:44:34Z. --- ### Community Test Report — RTX 5070 12 GB / 32 GB RAM (`series-s`, DLSS Quality, FG x2) Tested on **RTX 5070 12 GB**, **32 GB RAM (`32,344 MB`)**, **Windows 11 (`10.0.26300`)**, driver `621.40.0`, `series-s`, DLSS Quality, FG x2, with `C:` pagefile expanded (`commit_limit_mib=65112`). #### Switches Tested ```text VICTORY_REFRESH_AT_SUBMIT=2 VICTORY_REFRESH_CHECK=1 VICTORY_BURY_ASIDE=1 VICTORY_WAIT_RESIDENT_UPLOADS=0 VICTORY_TEXTURE_ROOM_MARGIN_MB=768 ``` *(Defaults on 12 GB / 32 GB kept: `VICTORY_TEXTURE_POOL=1`, `VICTORY_HELPER_PRIORITY=on`, `VICTORY_WINDOW_KB` not forced to `1024`.)* #### Observations & Telemetry Highlights (`12:36:58Z`–`12:37:45Z`) - **Frame pacing under heavy load:** `frame times` intervals in this window recorded `7–8` frames with **median `131.6–146.2 ms`** and **p95 / longest `261.2–327.9 ms`**. - **Early refresh (`VICTORY_REFRESH_AT_SUBMIT=2`, `threads=1`):** - Refreshes `~277–800` copies/frame (`~1.3–1.5 MB`), taking `2.3–10.1 ms` from submission start to end (`0.0–0.7` reached by the line before beginning, `0.0–0.1` stopped midway). - Leaves `~717–2,193` shader-written copies and `~1,042–1,680` windows outside buffers (`VICTORY_REFRESH_WINDOWS=1` off) to the submission; total refreshes across all threads still sit at **`1,292–1,408` refreshed/frame (`78.3–103.1 ms`)** out of `7,939–9,831` copies checked, with `~4,386–4,407` live host copies (`5,768–5,940 MB` PC / `1,822–1,823 MB` card). - **Memory & page faults on 32 GB host:** - `process memory`: **`26,629 MB` private** (`22,448 MB` resident), **`40,825 MB` committed** across **`91,325` regions** (`646 ms` walk), **`17,406 MB` named** / **`9,223 MB` unnamed** private, **`4,715 MB` shared sections**, and **`1,750 MB` free physical RAM** (`42,567–43,509 / 65,112 MB` PC commit). - Dedicated GPU memory reached **`9,945–10,080 MB`** (`budget ~10,889–10,979 MB`) plus **`7,090–7,239 MB`** shared GPU memory. - Observed **`23,486–40,569` page faults/s** and **`955–2,270 ms` texture queue lock wait** per 5 s window. - **Errors & stale checks:** - **0** stale-copy warnings (`VICTORY_REFRESH_CHECK=1`) and **0** out-of-VRAM messages. - **1** pipeline failure logged at `12:37:45.470Z`: `1 host pipelines failed (1 compute 0x8007000e)` (`untranslated=0`). #### Sample Log Excerpt ```text 2026-11-29T12:37:42.763130Z INFO victory_gpu::procmem: process memory: 26629 MB private by the system (22448 MB in memory), 40825 MB committed found by address in 91325 regions (646 ms): at console addresses (the title's own) 3284 MB private and 7993 MB mapped (4 sections made, 4679 MB reserved), at host addresses 23044 MB private (the layer's heap, stacks, the driver) and 6503 MB mapped (without the pipeline library's file, 961 MB), images 682 MB; the PC has 1750 MB free | held by us, in the process: shader containers 19139 (188 MB), translated shaders 4329 (161 MB host code), host copies of title memory 4386 (5778 MB), XMem heap blocks 0 (0 MB); the pipeline library file 961 MB, last save 0 MB, 6730 MB let go from memory | in the PC's memory shared with the card: staging of textures 60 MB, upload buffers held by lists 0 (0 MB) | named 17406 MB, unnamed 9223 MB of the private bytes; largest at host addresses: 0x21b63910000 3977 MB mapped, 0x21c98f10000 2048 MB mapped, 0x21abd7f0000 961 MB mapped, 0x220ab6b0000 273 MB mapped n=27 2026-11-29T12:37:44.428653Z INFO victory_gpu::frame_times: frame times: 8 frames, median 139.4 ms, p95 308.4, p99 308.4, longest 308.4; 8 over 50 ms, 6 over 100 ms 2026-11-29T12:37:44.428852Z INFO victory_gpu::host::early_refresh: host copies refreshed at the title's submit per frame (VICTORY_REFRESH_AT_SUBMIT=2, 1 threads): 20.0 submissions posted, 19.5 begun, 0.4 reached by the line before they were begun, 0.1 stopped by it midway; 689 copies refreshed (689 of them in the card's memory), 1.5 MB, 10.1 ms from a submission's start to its end (2.2 walking its steps; on all threads 2.1 looking whether anything is new, 4.2 refreshing, the longest refresh 17.7 ms); 325 found with nothing new; left to the submission: 2193 written by shaders, 0 in the card's memory, 9 guarded views, 0 not write-watched, 1649 windows outside buffers (VICTORY_REFRESH_WINDOWS=1 takes them), 0 busy or found so under their lock 2026-11-29T12:37:44.428861Z INFO victory_gpu::host: the submission's refreshes per frame, on all the threads that do them: 7939 copies looked at for something new in 0.3 ms, 1292 refreshed in 78.3 ms; host copies of title memory now: 4391 copies, 5768 MB in the PC's memory (0 MB of it snapshots to compare with), 1823 MB on the card (0 MB of it hashes to compare with) 2026-11-29T12:37:45.470523Z WARN victory_gpu::pipeline::refused: pipeline failures: 1 host pipelines failed (1 compute 0x8007000e), 0 shaders do not translate failed=1 untranslated=0 retried=0 retry_made=0 ```
Aniseto commented 2026-11-29 13:37:49 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-11-29T13:37:49Z.


Ran the full victory-gpu library suite at da37c74c on an NVIDIA Blackwell desktop part.

System

  • GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40)
  • CPU: Intel Core i5-12400F, 64 GB RAM
  • OS: Windows 11 Pro build 26200 x64
  • Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5
  • Build: debug

Results

  • VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1: 927 passed, 1 failed, 57 ignored (exit 101).
  • The failure is again host::packed_present_tests::packed_float_single_planes_are_presented: frame 0 (R8G8B8A8_UNORM) was not presented.

What this adds
The same single failure was measured at PR #1988 (3 of 3 alone) and PR #2346 on this driver: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1988#issuecomment-7255924953 https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2346#issuecomment-7256184818 I am reporting the measured outputs, not attributing the cause to any of these changes. The author's run of this PR reports a different, timing-dependent failure; this run did not reproduce that one. No title run was made.

Not tested
A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - ran the commands above on this machine and wrote this report; no game data was used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256682443 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256682443). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-29T13:37:49Z. --- Ran the full victory-gpu library suite at `da37c74c` on an NVIDIA Blackwell desktop part. **System** - GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40) - CPU: Intel Core i5-12400F, 64 GB RAM - OS: Windows 11 Pro build 26200 x64 - Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by `rust-toolchain.toml`), MSVC 14.44.35207, DXC 1.9.2609.5 - Build: debug **Results** - `VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1`: 927 passed, 1 failed, 57 ignored (exit 101). - The failure is again `host::packed_present_tests::packed_float_single_planes_are_presented`: `frame 0 (R8G8B8A8_UNORM) was not presented`. **What this adds** The same single failure was measured at PR #1988 (3 of 3 alone) and PR #2346 on this driver: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1988#issuecomment-7255924953 https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2346#issuecomment-7256184818 I am reporting the measured outputs, not attributing the cause to any of these changes. The author's run of this PR reports a different, timing-dependent failure; this run did not reproduce that one. No title run was made. **Not tested** A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - ran the commands above on this machine and wrote this report; no game data was used.
Castyan commented 2026-11-29 13:44:28 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T13:44:28Z.


Update at 69fb7e65: run J, plus runs I and four new switches (all off by default)

RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM, --series-s --dlss quality --framegen 2, same route as H, other programs closed. The full reports are in docs/test-results-2026-11-29.md (parts I and J).

Run I: is H's regression from this PR or from the release? v2026.11.29.01 alone, same options and route, compared over the same 7 min 31:

H (.01 + PR) I (.01 alone)
fps median 12.3 10.3
submitting thread, ms/frame 94.5 120.1
of which refreshes 50.3 72.8
private max / free RAM min 21.5 GB / 152 MB 21.7 GB / 63 MB

The regression comes from the release; this PR takes about a quarter off the submitting thread. Why refreshes cost about three times more than on .03 is written up in docs/refresh-cost-h.md: real copies cost 126 µs each instead of 35 µs, 65 MB a frame instead of 40, and the copies run on paged memory. The #614 / nothing_new path is not the cause.

Run J: H + VICTORY_WINDOW_KB=4096 VICTORY_WINDOW_TAILS=0. Edited: 4096 and 0 are the layer's own defaults. The 1024/1 in H came from this PR's launcher default for PCs with 16 GB or less (038cb615, taken from play-foxhound.ps1). So J is H without that override. 12 min 17 against H's 12 min 17, closed normally:

H J
fps p10 / median / p90 3.6 / 12.7 / 15.7 8.3 / 12.4 / 15.8
submitting thread, ms/frame 88.5 68.6 (−22 %)
of which refreshes 44.8 39.0
bytes copied per frame 69.7 MB 49.6 MB
stale copies (VICTORY_REFRESH_CHECK=1) 0 12
card memory avg / max 5,346 / 6,383 MB 5,473 / 6,913 MB
out of VRAM 0 1 (Streamline, on a DLSS upscale, no crash)
private max 21.5 GB 21.2 GB
textures due, avg 11,506 10,384
  • The submitting thread is lighter and the p10 is much better. On this 16 GB PC, the 1024/1 override looks like it costs more than it saves. That is one run each, so it needs a second run before the override is dropped from this PR.
  • J has 12 stale copies, where H and I had none. 11 are on windows (copies 1876 and 3624) and 1 is in the card's memory (copy 3509). Edited: these settings do not cause them. They are the defaults, run E already had one stale window on the default grid, and I and G ran it with 0. It is a rare, older fault. The 11 windows all lie where two windows cover the same memory, and the copy itself changed between passes while title memory did not. A diagnostic for the REFRESH_CHECK=1 stale line comes next; there is no fix yet.
  • 4 freezes in the world under 5 fps, the longest about 11 s.

New in this push, each off by default, not measured in game yet

  • VICTORY_REFRESH_BESIDE=1: a flush's copies run on the kept threads while the submitting thread goes on, waited for only where order requires it (before a title write on their pages, a step whose reads are unknown, shaders being given the copy, the next flush, and the end of the steps). Tests check that no copy goes stale.
  • VICTORY_CARD_CPU_LAZY=1 (with VICTORY_CARD_CPU_HEAP=1): the CPU mirror of card copies, about 1.1 GB in H, is reserved and committed only where it is touched. The numbers behind this are in docs/ram-prive-2026-11-29.md.
  • VICTORY_DUE_HOT_FIRST=1: texture slots that shaders sampled lately are served before re-checks. VICTORY_COLD_EVICT_S=<s> lets go of indexed textures that no shader marked for that long (10 to 110 s), since slot eviction freed 0 textures in H. The cause is written up in docs/textures-h-cause.md.
  • scripts/bench.py reads the v2026.11.29.01 fps and room lines, and .gz logs.

cargo test -p victory-gpu --release: 935 passed, 0 failed, 57 ignored.

Thanks to FIJI1299 and Aniseto for the runs. The 32 GB report shows the same picture (refreshes around 78 ms a frame, 26.6 GB private, heavy page faults), so the submitting thread and memory limits are not specific to 16 GB. The packed_float_single_planes_are_presented failure is noted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256765600 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256765600). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T13:44:28Z. --- **Update at 69fb7e65: run J, plus runs I and four new switches (all off by default)** RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM, `--series-s --dlss quality --framegen 2`, same route as H, other programs closed. The full reports are in `docs/test-results-2026-11-29.md` (parts I and J). **Run I: is H's regression from this PR or from the release?** v2026.11.29.01 alone, same options and route, compared over the same 7 min 31: | | H (.01 + PR) | I (.01 alone) | |---|---|---| | fps median | 12.3 | 10.3 | | submitting thread, ms/frame | 94.5 | 120.1 | | of which refreshes | 50.3 | 72.8 | | private max / free RAM min | 21.5 GB / 152 MB | 21.7 GB / 63 MB | The regression comes from the release; this PR takes about a quarter off the submitting thread. Why refreshes cost about three times more than on .03 is written up in `docs/refresh-cost-h.md`: real copies cost 126 µs each instead of 35 µs, 65 MB a frame instead of 40, and the copies run on paged memory. The `#614` / `nothing_new` path is not the cause. **Run J: H + `VICTORY_WINDOW_KB=4096 VICTORY_WINDOW_TAILS=0`.** *Edited:* 4096 and 0 are the layer's own defaults. The 1024/1 in H came from this PR's launcher default for PCs with 16 GB or less (038cb615, taken from `play-foxhound.ps1`). So J is H without that override. 12 min 17 against H's 12 min 17, closed normally: | | H | J | |---|---|---| | fps p10 / median / p90 | 3.6 / 12.7 / 15.7 | 8.3 / 12.4 / 15.8 | | submitting thread, ms/frame | 88.5 | 68.6 (−22 %) | | of which refreshes | 44.8 | 39.0 | | bytes copied per frame | 69.7 MB | 49.6 MB | | **stale copies (`VICTORY_REFRESH_CHECK=1`)** | **0** | **12** | | card memory avg / max | 5,346 / 6,383 MB | 5,473 / 6,913 MB | | out of VRAM | 0 | 1 (Streamline, on a DLSS upscale, no crash) | | private max | 21.5 GB | 21.2 GB | | textures due, avg | 11,506 | 10,384 | - The submitting thread is lighter and the p10 is much better. On this 16 GB PC, the 1024/1 override looks like it costs more than it saves. That is one run each, so it needs a second run before the override is dropped from this PR. - **J has 12 stale copies, where H and I had none.** 11 are on windows (copies 1876 and 3624) and 1 is in the card's memory (copy 3509). *Edited:* these settings do not cause them. They are the defaults, run E already had one stale window on the default grid, and I and G ran it with 0. It is a rare, older fault. The 11 windows all lie where two windows cover the same memory, and the copy itself changed between passes while title memory did not. A diagnostic for the `REFRESH_CHECK=1` stale line comes next; there is no fix yet. - 4 freezes in the world under 5 fps, the longest about 11 s. **New in this push, each off by default, not measured in game yet** - `VICTORY_REFRESH_BESIDE=1`: a flush's copies run on the kept threads while the submitting thread goes on, waited for only where order requires it (before a title write on their pages, a step whose reads are unknown, shaders being given the copy, the next flush, and the end of the steps). Tests check that no copy goes stale. - `VICTORY_CARD_CPU_LAZY=1` (with `VICTORY_CARD_CPU_HEAP=1`): the CPU mirror of card copies, about 1.1 GB in H, is reserved and committed only where it is touched. The numbers behind this are in `docs/ram-prive-2026-11-29.md`. - `VICTORY_DUE_HOT_FIRST=1`: texture slots that shaders sampled lately are served before re-checks. `VICTORY_COLD_EVICT_S=<s>` lets go of indexed textures that no shader marked for that long (10 to 110 s), since slot eviction freed 0 textures in H. The cause is written up in `docs/textures-h-cause.md`. - `scripts/bench.py` reads the v2026.11.29.01 fps and room lines, and `.gz` logs. `cargo test -p victory-gpu --release`: 935 passed, 0 failed, 57 ignored. Thanks to FIJI1299 and Aniseto for the runs. The 32 GB report shows the same picture (refreshes around 78 ms a frame, 26.6 GB private, heavy page faults), so the submitting thread and memory limits are not specific to 16 GB. The `packed_float_single_planes_are_presented` failure is noted.
Aniseto commented 2026-11-29 13:59:42 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-11-29T13:59:42Z.


Re-ran the full victory-gpu library suite at 69fb7e65 after the head moved from da37c74c; this is a new response in the same thread, not an edit of my earlier report: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256682443

System

  • GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40)
  • CPU: Intel Core i5-12400F, 64 GB RAM
  • OS: Windows 11 Pro build 26200 x64
  • Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5
  • Build: debug

Results

  • VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1: 934 passed, 1 failed, 57 ignored (exit 101).
  • The failure is again host::packed_present_tests::packed_float_single_planes_are_presented: frame 0 (R8G8B8A8_UNORM) was not presented.

What this adds
The same single failure was measured on #1988, #2346 and the previous head of this PR, all on driver 32.0.16.2140. This run adds the new head with the same result. I am reporting measured outputs, not attributing the cause to any change. No title run was made.

Not tested
A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - ran the commands above on this machine and wrote this report; no game data was used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256957579 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256957579). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-29T13:59:42Z. --- Re-ran the full victory-gpu library suite at `69fb7e65` after the head moved from `da37c74c`; this is a new response in the same thread, not an edit of my earlier report: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256682443 **System** - GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40) - CPU: Intel Core i5-12400F, 64 GB RAM - OS: Windows 11 Pro build 26200 x64 - Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by `rust-toolchain.toml`), MSVC 14.44.35207, DXC 1.9.2609.5 - Build: debug **Results** - `VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1`: 934 passed, 1 failed, 57 ignored (exit 101). - The failure is again `host::packed_present_tests::packed_float_single_planes_are_presented`: `frame 0 (R8G8B8A8_UNORM) was not presented`. **What this adds** The same single failure was measured on #1988, #2346 and the previous head of this PR, all on driver 32.0.16.2140. This run adds the new head with the same result. I am reporting measured outputs, not attributing the cause to any change. No title run was made. **Not tested** A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - ran the commands above on this machine and wrote this report; no game data was used.
Aniseto commented 2026-11-29 14:40:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-11-29T14:40:07Z.


Re-ran the full victory-gpu library suite at faa1d7cf after the head moved from 69fb7e65; this is a new response in the same thread, not an edit of my earlier report: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256957579

System

  • GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40)
  • CPU: Intel Core i5-12400F, 64 GB RAM
  • OS: Windows 11 Pro build 26200 x64
  • Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5
  • Build: debug

Results

  • VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1: 933 passed, 2 failed, 57 ignored (exit 101).
  • Failures: host::card_steps::tests::places_written_after_sending_are_learned and host::packed_present_tests::packed_float_single_planes_are_presented.

What this adds
The packed_float_single_planes_are_presented failure was also measured on #1988, #2346 and the two previous heads of this PR on driver 32.0.16.2140; the places_written_after_sending_are_learned failure is the one the author reports as timing-dependent. I am reporting the measured outputs, not attributing either failure to this change. The new head moves benchmarking out of this PR; no title run was made here.

Not tested
A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - ran the commands above on this machine and wrote this report; no game data was used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7257482345 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7257482345). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-29T14:40:07Z. --- Re-ran the full victory-gpu library suite at `faa1d7cf` after the head moved from `69fb7e65`; this is a new response in the same thread, not an edit of my earlier report: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7256957579 **System** - GPU: NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, mesh shaders), driver 32.0.16.2140 (621.40) - CPU: Intel Core i5-12400F, 64 GB RAM - OS: Windows 11 Pro build 26200 x64 - Toolchain: Rust 1.98.1 (48a229cea 2026-09-01, pinned by `rust-toolchain.toml`), MSVC 14.44.35207, DXC 1.9.2609.5 - Build: debug **Results** - `VICTORY_D3D12_ADAPTER=NVIDIA cargo test -p victory-gpu --lib --locked -- --test-threads=1`: 933 passed, 2 failed, 57 ignored (exit 101). - Failures: `host::card_steps::tests::places_written_after_sending_are_learned` and `host::packed_present_tests::packed_float_single_planes_are_presented`. **What this adds** The `packed_float_single_planes_are_presented` failure was also measured on #1988, #2346 and the two previous heads of this PR on driver 32.0.16.2140; the `places_written_after_sending_are_learned` failure is the one the author reports as timing-dependent. I am reporting the measured outputs, not attributing either failure to this change. The new head moves benchmarking out of this PR; no title run was made here. **Not tested** A retail title, a paired smoke run, the whole workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - ran the commands above on this machine and wrote this report; no game data was used.
Razen114514 commented 2026-11-29 14:57:08 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-11-29T14:57:08Z.


Measured on an RTX 5060 8 GB: the two launcher defaults take the texture queue from over its line to under it

Same card as your rig (RTX 5060 8 GB, 32 GB RAM here rather than 16), Series S, DLSS Performance, frame generation 2x, image b99f876b74d4a77f.

I had VICTORY_TEXTURE_POOL at the launcher's 1 and VICTORY_HELPER_PRIORITY unset. Your PR's first two defaults are what I was missing, so I tested them.

Method. One fixed scene — the balcony of the safehouse, the save the title loads into, no input — started fresh each round, 90 s warm-up, three screenshots 30 s apart, then closed. On a timer the log prints the texture queue's room every 5 s:

in use − free in blocks + buffer reserve + target reserve   against the line

The number below is total − line. Positive is over.

Six rounds, alternating A/B/A/B/A/B, so any drift in the scene lands on both sides:

round texture pool over the line (median) worst free in blocks preparing
a1 1 (launcher) +862 MB +1577 343 MB 33.0 ms
c1 0 −167 MB +1439 0 MB 46.2 ms
a2 1 +1201 MB +1701 584 MB 36.6 ms
c2 0 −110 MB +1454 0 MB 37.1 ms
a3 1 +1012 MB +1557 305 MB 34.1 ms
c3 0 +459 MB +1508 0 MB 39.2 ms

The two groups do not overlap at all: the worst of the pool-off rounds (+459) is still 403 MB under the best of the pool-on rounds (+862). Medians +1012 → −110 MB.

Free in blocks going to 0 on the pool-off rounds is expected — there is no pool to have holes in. That is the point of the change, and it is why the same number reads as an improvement here rather than as pressure.

What it costs on this card:

pool on pool off
worst over the line (median of 3) +1577 MB +1454 MB
textures waiting 367–372 359–362
preparing per frame 34.1 ms 39.2 ms

preparing is 5 ms a frame higher with the two switches on. I cannot say which of them does that: I turned TEXTURE_POOL=0 and HELPER_PRIORITY=on on together, so this is the effect of both, not of either. If you want them separated I can run the four combinations, it is about 3 minutes a round.

What this does not show. Six short runs of one scene; each round is one run, so the 39–40 samples per round are time points through the same loading, not independent draws. It covers standing on a balcony, not driving or cutscene cuts, which is where the queue is worst. It also cannot tell whether the pool-off rounds stay under the line for a long session — all three were still rising when I closed them.

The queue numbers are the part I think is worth having: the pool holding 1–1.7 GB of holes is exactly what +862 … +1201 looks like from the outside, and turning it off takes that away. Thanks for the write-up — the hole figure is what made me try it.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7257702990 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7257702990). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-11-29T14:57:08Z. --- ## Measured on an RTX 5060 8 GB: the two launcher defaults take the texture queue from over its line to under it Same card as your rig (RTX 5060 8 GB, 32 GB RAM here rather than 16), Series S, DLSS Performance, frame generation 2x, image `b99f876b74d4a77f`. I had `VICTORY_TEXTURE_POOL` at the launcher's `1` and `VICTORY_HELPER_PRIORITY` unset. Your PR's first two defaults are what I was missing, so I tested them. **Method.** One fixed scene — the balcony of the safehouse, the save the title loads into, no input — started fresh each round, 90 s warm-up, three screenshots 30 s apart, then closed. On a timer the log prints the texture queue's room every 5 s: ``` in use − free in blocks + buffer reserve + target reserve against the line ``` The number below is `total − line`. Positive is over. **Six rounds, alternating A/B/A/B/A/B**, so any drift in the scene lands on both sides: | round | texture pool | over the line (median) | worst | free in blocks | preparing | | --- | --- | ---: | ---: | ---: | ---: | | a1 | `1` (launcher) | **+862 MB** | +1577 | 343 MB | 33.0 ms | | c1 | **`0`** | **−167 MB** | +1439 | 0 MB | 46.2 ms | | a2 | `1` | **+1201 MB** | +1701 | 584 MB | 36.6 ms | | c2 | **`0`** | **−110 MB** | +1454 | 0 MB | 37.1 ms | | a3 | `1` | **+1012 MB** | +1557 | 305 MB | 34.1 ms | | c3 | **`0`** | **+459 MB** | +1508 | 0 MB | 39.2 ms | **The two groups do not overlap at all:** the worst of the pool-off rounds (+459) is still 403 MB under the best of the pool-on rounds (+862). Medians +1012 → −110 MB. Free in blocks going to 0 on the pool-off rounds is expected — there is no pool to have holes in. That is the point of the change, and it is why the same number reads as an improvement here rather than as pressure. **What it costs on this card:** | | pool on | pool off | | --- | ---: | ---: | | worst over the line (median of 3) | +1577 MB | +1454 MB | | textures waiting | 367–372 | 359–362 | | **preparing per frame** | **34.1 ms** | **39.2 ms** | `preparing` is 5 ms a frame higher with the two switches on. I cannot say which of them does that: **I turned `TEXTURE_POOL=0` and `HELPER_PRIORITY=on` on together, so this is the effect of both, not of either.** If you want them separated I can run the four combinations, it is about 3 minutes a round. **What this does not show.** Six short runs of one scene; each round is one run, so the 39–40 samples per round are time points through the same loading, not independent draws. It covers standing on a balcony, not driving or cutscene cuts, which is where the queue is worst. It also cannot tell whether the pool-off rounds stay under the line for a long session — all three were still rising when I closed them. The queue numbers are the part I think is worth having: the pool holding 1–1.7 GB of holes is exactly what `+862 … +1201` looks like from the outside, and turning it off takes that away. Thanks for the write-up — the hole figure is what made me try it.
Castyan commented 2026-11-29 15:56:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T15:56:00Z.


Run K — this PR + three opt-in fixes (RTX 5060 8 GB, Ryzen 5 9600X, 16 GB RAM)

Three branches were merged locally on top of the PR head (40f8c3da → c670cd1f; pushed with the report in 679169d1). Each adds or changes one setting, off by default, with a test:

Branch Commit Setting
fix/texture-queue d7a39cc7 VICTORY_HELD_HOT=1 (with VICTORY_SAMPLED_MARKS=1): while the card has no room, every 8th frame the held texture slots a shader sampled in the last 60 frames are due again instead of waiting ~4 s or for room
fix/transitions 7e896f79 VICTORY_REFRESH_CHECK only counts a block as stale while its copy holds still (a copy the refresh just updated means the title wrote again, not a stale copy)
fix/reflections 471c81b5 VICTORY_RAYMISS_SKY=<share>: runs the miss program for opaque/transparent surfaces and scales its sky by share in a small compute pass (fixes multicoloured patches on glass/car bodies with RT off)

cargo build --release OK, cargo test -p victory-gpu: 939 passed, 0 failed.

Setup

--series-s --res 1440 --dlss quality --framegen 2, same --set as the reference run (REFRESH_CHECK=1, TEXTURE_ROOM_MARGIN_MB=768, TEXSPK_PASS_MS=8, WINDOW_KB=1024, WINDOW_TAILS=1, …). Compared with the reference, K replaces RAYMISS_KEEP=1 with SAMPLED_MARKS=1 HELD_HOT=1 RAYMISS_SKY=0.25, so several settings change at once. Same save and route, game closed cleanly (end = closed), 5 min 58 s (4 min 45 s in the world).

Results

World lines are the 5 s fps lines with ≥ 1000 draws/frame.

Reference (PR, no branches) K
fps p10 / median / p90 7.5 / 14.9 / 16.9 3.9 / 15.4 / 18.3
ms/frame mean 93 136
Copies ms / MB per frame (world) 47.5 / 63.6 76.2 / 67.1
Submitting thread ms/frame (refreshes) 73.9 (38.6) 76.1 (42.0)
Frames with refreshes > 300 ms 1 5
World lines under 5 fps 4 (lowest 2.2) 6 (0.8 and 0.9)
Stale copies (REFRESH_CHECK) 0 0
Out of VRAM 0 0
Card memory mean / max MB (queue line) 6035 / 6811 (6022) 6130 / 7168 (6099)
Texture queue with no room (lines) 55 / 62 56 / 65
Textures due mean / max 19,124 / 31,729 22,280 / 31,330
"texture picked by index changed after its upload with nothing to tell" 185 44
Frame gen frames shown /s 17.3 21.9
Private bytes max / free RAM min 20.9 GB / 70 MB 21.3 GB / 39 MB
Log excerpts: the two freezes (times UTC)
15:50:54 host: preparing per frame, the submitting thread: 1185.3 ms in its submissions: … 1176.9 in the lists' steps (refreshes 1168.9 in 41 flushes of 2994, …
15:50:54 host: 0.8 fps, 1195.9 ms/frame (1182.6 preparing: copies 1176.6 ms 238.7 MB, textures 0.3 ms 12.3 MB; 0.0 on the GPU; …), 7151 draws/frame
15:52:02 host: preparing per frame, the submitting thread: 764.3 ms in its submissions: … 397.0 in the lists' steps (refreshes 380.5 in 39 flushes of 17900, …
15:52:02 host: 0.9 fps, 1146.9 ms/frame (586.4 preparing: copies 384.0 ms 108.2 MB, …), 13993 draws/frame
15:49:05 ambient: the reflections' sky scaled after the miss program (VICTORY_RAYMISS_SKY) share=0.25

Logs: victory-nvidia-play-20261129-154741-11008.log (K) and victory-nvidia-play-20261129-152010-27184.log (reference), with the mem-watch.ps1 CSVs. I can share them on request (8–9 MB each).

Interpretation

  • The two freezes come from the submitting thread's refresh copies, not from these branches. At 15:50:54 one frame takes 1.2 s: refreshes copy 239 MB in 1169 ms. At 15:52:02 they copy 108 MB in 380 ms. Free RAM was down to 39 MB, so this is paging. None of the three branches touches the refresh copies (fix/transitions only changes how REFRESH_CHECK counts). These two frames account for the lower p10 and the higher mean.
  • Outside those spikes K is slightly better: median 15.4 vs 14.9, p90 18.3 vs 16.9, and more frame gen frames shown (21.9/s vs 17.3/s). With one 5-minute run, that is within noise.
  • Textures: warnings about textures changing after upload drop from 185 to 44. Card memory peaks higher (7168 MB, ~1 GB over the queue line), as expected from HELD_HOT bringing on-screen textures back without room, and there is no out-of-VRAM event. The due count does not drop, so the queue is not shorter. The log has no counter for how many slots HELD_HOT brought back. That counter should be added.
  • Reflections: the RAYMISS_SKY pass ran. No visual notes were taken in this run, so the fix for the coloured patches still needs to be checked on screen.
  • Transitions: 0 stale copies with the new count. The intro did not produce the 65 false warnings seen before.
  • Still the bottleneck: RAM (21.3 GB committed on 16 GB) and the copies on the single submitting thread.

Limits: a single 5-minute run, several settings changed together, no visual notes. All three settings stay off by default. Full report: docs/test-results-2026-11-29.md, run K.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7258482892 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7258482892). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T15:56:00Z. --- ## Run K — this PR + three opt-in fixes (RTX 5060 8 GB, Ryzen 5 9600X, 16 GB RAM) Three branches were merged locally on top of the PR head (`40f8c3da` → `c670cd1f`; pushed with the report in `679169d1`). Each adds or changes one setting, off by default, with a test: | Branch | Commit | Setting | |---|---|---| | `fix/texture-queue` | d7a39cc7 | `VICTORY_HELD_HOT=1` (with `VICTORY_SAMPLED_MARKS=1`): while the card has no room, every 8th frame the held texture slots a shader sampled in the last 60 frames are due again instead of waiting ~4 s or for room | | `fix/transitions` | 7e896f79 | `VICTORY_REFRESH_CHECK` only counts a block as stale while its copy holds still (a copy the refresh just updated means the title wrote again, not a stale copy) | | `fix/reflections` | 471c81b5 | `VICTORY_RAYMISS_SKY=<share>`: runs the miss program for opaque/transparent surfaces and scales its sky by `share` in a small compute pass (fixes multicoloured patches on glass/car bodies with RT off) | `cargo build --release` OK, `cargo test -p victory-gpu`: 939 passed, 0 failed. ### Setup `--series-s --res 1440 --dlss quality --framegen 2`, same `--set` as the reference run (`REFRESH_CHECK=1`, `TEXTURE_ROOM_MARGIN_MB=768`, `TEXSPK_PASS_MS=8`, `WINDOW_KB=1024`, `WINDOW_TAILS=1`, …). Compared with the reference, K replaces `RAYMISS_KEEP=1` with `SAMPLED_MARKS=1 HELD_HOT=1 RAYMISS_SKY=0.25`, so **several settings change at once**. Same save and route, game closed cleanly (`end = closed`), 5 min 58 s (4 min 45 s in the world). ### Results World lines are the 5 s fps lines with ≥ 1000 draws/frame. | | Reference (PR, no branches) | **K** | |---|---|---| | fps p10 / median / p90 | 7.5 / 14.9 / 16.9 | **3.9 / 15.4 / 18.3** | | ms/frame mean | 93 | **136** | | Copies ms / MB per frame (world) | 47.5 / 63.6 | **76.2 / 67.1** | | Submitting thread ms/frame (refreshes) | 73.9 (38.6) | **76.1 (42.0)** | | Frames with refreshes > 300 ms | 1 | **5** | | World lines under 5 fps | 4 (lowest 2.2) | **6 (0.8 and 0.9)** | | Stale copies (`REFRESH_CHECK`) | 0 | **0** | | Out of VRAM | 0 | **0** | | Card memory mean / max MB (queue line) | 6035 / 6811 (6022) | **6130 / 7168 (6099)** | | Texture queue with no room (lines) | 55 / 62 | **56 / 65** | | Textures due mean / max | 19,124 / 31,729 | **22,280 / 31,330** | | "texture picked by index changed after its upload with nothing to tell" | 185 | **44** | | Frame gen frames shown /s | 17.3 | **21.9** | | Private bytes max / free RAM min | 20.9 GB / 70 MB | **21.3 GB / 39 MB** | <details><summary>Log excerpts: the two freezes (times UTC)</summary> ``` 15:50:54 host: preparing per frame, the submitting thread: 1185.3 ms in its submissions: … 1176.9 in the lists' steps (refreshes 1168.9 in 41 flushes of 2994, … 15:50:54 host: 0.8 fps, 1195.9 ms/frame (1182.6 preparing: copies 1176.6 ms 238.7 MB, textures 0.3 ms 12.3 MB; 0.0 on the GPU; …), 7151 draws/frame 15:52:02 host: preparing per frame, the submitting thread: 764.3 ms in its submissions: … 397.0 in the lists' steps (refreshes 380.5 in 39 flushes of 17900, … 15:52:02 host: 0.9 fps, 1146.9 ms/frame (586.4 preparing: copies 384.0 ms 108.2 MB, …), 13993 draws/frame 15:49:05 ambient: the reflections' sky scaled after the miss program (VICTORY_RAYMISS_SKY) share=0.25 ``` Logs: `victory-nvidia-play-20261129-154741-11008.log` (K) and `victory-nvidia-play-20261129-152010-27184.log` (reference), with the `mem-watch.ps1` CSVs. I can share them on request (8–9 MB each). </details> ### Interpretation - **The two freezes come from the submitting thread's refresh copies, not from these branches.** At 15:50:54 one frame takes 1.2 s: refreshes copy 239 MB in 1169 ms. At 15:52:02 they copy 108 MB in 380 ms. Free RAM was down to 39 MB, so this is paging. None of the three branches touches the refresh copies (`fix/transitions` only changes how `REFRESH_CHECK` counts). These two frames account for the lower p10 and the higher mean. - **Outside those spikes K is slightly better**: median 15.4 vs 14.9, p90 18.3 vs 16.9, and more frame gen frames shown (21.9/s vs 17.3/s). With one 5-minute run, that is within noise. - **Textures**: warnings about textures changing after upload drop from 185 to 44. Card memory peaks higher (7168 MB, ~1 GB over the queue line), as expected from `HELD_HOT` bringing on-screen textures back without room, and there is no out-of-VRAM event. The due count does not drop, so the queue is not shorter. The log has no counter for how many slots `HELD_HOT` brought back. That counter should be added. - **Reflections**: the `RAYMISS_SKY` pass ran. No visual notes were taken in this run, so the fix for the coloured patches still needs to be checked on screen. - **Transitions**: 0 stale copies with the new count. The intro did not produce the 65 false warnings seen before. - **Still the bottleneck**: RAM (21.3 GB committed on 16 GB) and the copies on the single submitting thread. **Limits**: a single 5-minute run, several settings changed together, no visual notes. All three settings stay off by default. Full report: `docs/test-results-2026-11-29.md`, run K. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Castyan commented 2026-11-29 17:36:56 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T17:36:56Z.


Test request at 77427629: VICTORY_MEM_ATTRS=1, a count of title memory by what it was asked to be

The layer serves every title block as cacheable CPU memory. The memory type in XMemAlloc's attributes and the write-combined/uncached bits of XMemVirtualAlloc are dropped (xmem.rs). So all of the title's memory is write-watched, refreshed and kept as a host copy alike. On 16 GB, those refreshes are what freeze the submitting thread while the PC pages (run K).

This commit only measures; it does not skip anything yet. With VICTORY_MEM_ATTRS=1 (off by default), for each attribute class (memory type, page size, alignment and 32-bit for XMemAlloc; protection, page size and commit state for XMemVirtualAlloc), it logs:

  • calls and live bytes;
  • bytes of host copies;
  • bytes copied at the first upload;
  • bytes the CPU wrote after the first upload;
  • bytes refreshed on the submitting thread.

A class with large host copies and close to 0 written after upload (for example the GPU read-only types 2 and 4) is a class that could skip watching, refreshing and the host copy. That is the next step, behind its own switch, keeping 0 stale copies under VICTORY_REFRESH_CHECK=1.

What would help, on any card and RAM size:

  1. Build 77427629 (cargo build --release --locked -p victory).
  2. Play as you usually do, with your usual switches plus VICTORY_MEM_ATTRS=1, at least 5 minutes in the world, and close the game by its window so the log ends normally.
  3. Post the mem attrs (exit): ... lines from the log (one per class, largest first), or the last mem attrs (5s) block if the exit ones are missing, along with your GPU, VRAM, RAM, and the switches you used.

Overhead with the switch on is one map lookup per allocation and per host copy made, plus a counter per refresh. Nothing changes with it off.

cargo test -p victory-gpu -p victory-hle --release here: 939 passed. The 2 texback tests fail only when the whole suite runs in parallel and pass on their own (known shared-state flakiness). The cargo clippy errors in victory-loader and victory-shader were already on the base; this commit does not touch those crates.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7259829381 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7259829381). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T17:36:56Z. --- **Test request at 77427629: `VICTORY_MEM_ATTRS=1`, a count of title memory by what it was asked to be** The layer serves every title block as cacheable CPU memory. The memory type in `XMemAlloc`'s attributes and the write-combined/uncached bits of `XMemVirtualAlloc` are dropped (`xmem.rs`). So all of the title's memory is write-watched, refreshed and kept as a host copy alike. On 16 GB, those refreshes are what freeze the submitting thread while the PC pages (run K). This commit only **measures**; it does not skip anything yet. With `VICTORY_MEM_ATTRS=1` (off by default), for each attribute class (memory type, page size, alignment and 32-bit for `XMemAlloc`; protection, page size and commit state for `XMemVirtualAlloc`), it logs: - calls and live bytes; - bytes of host copies; - bytes copied at the first upload; - **bytes the CPU wrote after the first upload**; - bytes refreshed on the submitting thread. A class with large host copies and close to 0 written after upload (for example the GPU read-only types 2 and 4) is a class that could skip watching, refreshing and the host copy. That is the next step, behind its own switch, keeping 0 stale copies under `VICTORY_REFRESH_CHECK=1`. **What would help**, on any card and RAM size: 1. Build 77427629 (`cargo build --release --locked -p victory`). 2. Play as you usually do, with your usual switches plus `VICTORY_MEM_ATTRS=1`, at least 5 minutes in the world, and close the game by its window so the log ends normally. 3. Post the `mem attrs (exit): ...` lines from the log (one per class, largest first), or the last `mem attrs (5s)` block if the exit ones are missing, along with your GPU, VRAM, RAM, and the switches you used. Overhead with the switch on is one map lookup per allocation and per host copy made, plus a counter per refresh. Nothing changes with it off. `cargo test -p victory-gpu -p victory-hle --release` here: 939 passed. The 2 `texback` tests fail only when the whole suite runs in parallel and pass on their own (known shared-state flakiness). The `cargo clippy` errors in `victory-loader` and `victory-shader` were already on the base; this commit does not touch those crates.
DrDarkDK commented 2026-11-29 17:55:16 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by DrDarkDK on 2026-11-29T17:55:16Z.


I ran the requested VICTORY_MEM_ATTRS=1 test on a clean release build at 77427629. Windows 11, Ryzen 9 7900X, RTX 4070 Ti 12 GB, 32 GB RAM. Series X at 2560×1440, DLSS Ultra Performance, VICTORY_TEXTURE_POOL=1, VICTORY_HELPER_PRIORITY=on, and VICTORY_WARMUP_RESTART=0. I kept the existing shader cache for both runs.

Memory attributes with DLSS Frame Generation 2×

I was stuck in one place at about 0.2 FPS for just over five minutes. I closed the game normally and attached all 17 mem attrs (exit) rows.

Largest host-copy classes at exit Host copies (MiB) CPU-written after upload (MiB, cumulative)
Class 2, 0x801, 64K placeholder 3,540.9 2,256.1
Class 4, 0x2404, 2M committed 701.5 790.7
Class 18, 0x2404, 64K placeholder 385.5 330.6

Class 2 accounted for about 71% of the host-copy bytes at exit and recorded substantial writes after upload, even in this stationary sample.

Follow-up with Frame Generation off

I ran the same executable again. The only effective settings changes were VICTORY_FRAMEGEN=0, VICTORY_FRAMEGEN_X=0, and VICTORY_FSR_FRAMEGEN=0.

First 55 seconds of gameplay DLSS FG 2× FG off
Median rendered FPS 0.2 16.4
Median async submission wait at Present 4,974 ms 15.8 ms
Median draws per frame 12,757 10,290
Peak private memory 25,418 MiB 28,378 MiB

With FG on, the recurring five-second queue waits began just after DLSS FG activated. Streamline’s actual Present call took about 0.4 ms. With FG off, the longest reported queue wait in the matched window was 482 ms.

This was one run per setting, with different draw counts. Disabling FG removed the recurring five-second stall in this comparison, while private memory remained high. The underlying queue dependency is still unclear.

AI-assisted with Codex.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260067149 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7260067149). Originally posted by [DrDarkDK](https://github.com/DrDarkDK) on 2026-11-29T17:55:16Z. --- I ran the requested `VICTORY_MEM_ATTRS=1` test on a clean release build at `77427629`. Windows 11, Ryzen 9 7900X, RTX 4070 Ti 12 GB, 32 GB RAM. Series X at 2560×1440, DLSS Ultra Performance, `VICTORY_TEXTURE_POOL=1`, `VICTORY_HELPER_PRIORITY=on`, and `VICTORY_WARMUP_RESTART=0`. I kept the existing shader cache for both runs. ### Memory attributes with DLSS Frame Generation 2× I was stuck in one place at about 0.2 FPS for just over five minutes. I closed the game normally and attached all 17 `mem attrs (exit)` rows. | Largest host-copy classes at exit | Host copies (MiB) | CPU-written after upload (MiB, cumulative) | |---|---:|---:| | Class 2, `0x801`, 64K placeholder | 3,540.9 | 2,256.1 | | Class 4, `0x2404`, 2M committed | 701.5 | 790.7 | | Class 18, `0x2404`, 64K placeholder | 385.5 | 330.6 | Class 2 accounted for about 71% of the host-copy bytes at exit and recorded substantial writes after upload, even in this stationary sample. ### Follow-up with Frame Generation off I ran the same executable again. The only effective settings changes were `VICTORY_FRAMEGEN=0`, `VICTORY_FRAMEGEN_X=0`, and `VICTORY_FSR_FRAMEGEN=0`. | First 55 seconds of gameplay | DLSS FG 2× | FG off | |---|---:|---:| | Median rendered FPS | 0.2 | 16.4 | | Median async submission wait at Present | 4,974 ms | 15.8 ms | | Median draws per frame | 12,757 | 10,290 | | Peak private memory | 25,418 MiB | 28,378 MiB | With FG on, the recurring five-second queue waits began just after DLSS FG activated. Streamline’s actual Present call took about 0.4 ms. With FG off, the longest reported queue wait in the matched window was 482 ms. This was one run per setting, with different draw counts. Disabling FG removed the recurring five-second stall in this comparison, while private memory remained high. The underlying queue dependency is still unclear. *AI-assisted with Codex.*
Castyan commented 2026-11-29 18:27:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T18:27:41Z.


Thanks a lot @DrDarkDK for the run and the careful write-up, including the FG on/off comparison. Here is the same test on the author's PC, for a second data point.

VICTORY_MEM_ATTRS=1 at 77427629: RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM, --series-s --dlss quality --framegen 2, the switches of run K. Firefox and Discord stayed open (4.6 GB free at the start), so fps and memory are not comparable to K, but the class table is. About 9 min, closed by its window, 0 stale copies with VICTORY_REFRESH_CHECK=1.

Class at exit Live MiB Host copies MiB First upload MiB CPU-written after upload MiB Refreshed on the submitting thread MiB
2: 0x801 (PAGE_NOACCESS | PAGE_GRAPHICS_NOACCESS), 64K placeholder, 1 call 16,384 4,516.5 40,873 53,599 94,472
7: 0x1, 4K reserved, 32-bit 185 174.1 0.6 58,919 58,835
4: 0x2404 write-combined, 2M committed 1,277 379.6 275.5 26,800 20,393
18: 0x2404 write-combined, 64K placeholder 1,791 304.2 304.2 19,409 19,708
3: 0x22004, 2M committed 1,614 42.1 141.0 1,190 1,309

The other 11 classes hold no host copies (class 1 is 16.7 GB live, class 12 is 4.0 GB).

What both runs say:

  • The largest class is the same on both PCs: one 16 GB 0x801 placeholder, 71 % of host copies on yours and 79 % here. Its label is the reservation's, not what the title asks of the pages it maps there. The GDKX docs say pages mapped by XMemMapPhysicalPages take their reservation's protection, so a NOACCESS pool must get its real protection later, through VirtualProtect. The counter did not hook that yet; the next commit does.
  • A small class rewritten all the time: class 7, 185 MiB reserved below 4 GB, had 58.9 GB written after its first upload, all refreshed on the submitting thread. It looks like ring or constant buffers. Those would be better served from memory the GPU reads directly, without host copies.
  • No large class is "written once" as labeled now, so nothing can be skipped yet. The next commit also records the D3D object type (XALLOC_ATTRIBUTES.ObjectType when the allocator id is D3D's) to tell static resources from dynamic and staging ones.

On the FG stall at 0.2 fps: frame generation works on this 5060 (about 20 generated frames/s in run K), so your Series X / VICTORY_TEXTURE_POOL=1 / VICTORY_WARMUP_RESTART=0 setup is the difference to look at. Noted as a separate issue.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260500679 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7260500679). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T18:27:41Z. --- Thanks a lot @DrDarkDK for the run and the careful write-up, including the FG on/off comparison. Here is the same test on the author's PC, for a second data point. **`VICTORY_MEM_ATTRS=1` at 77427629**: RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM, `--series-s --dlss quality --framegen 2`, the switches of run K. Firefox and Discord stayed open (4.6 GB free at the start), so fps and memory are not comparable to K, but the class table is. About 9 min, closed by its window, 0 stale copies with `VICTORY_REFRESH_CHECK=1`. | Class at exit | Live MiB | Host copies MiB | First upload MiB | CPU-written after upload MiB | Refreshed on the submitting thread MiB | |---|---:|---:|---:|---:|---:| | 2: `0x801` (`PAGE_NOACCESS \| PAGE_GRAPHICS_NOACCESS`), 64K placeholder, 1 call | 16,384 | 4,516.5 | 40,873 | 53,599 | 94,472 | | 7: `0x1`, 4K reserved, 32-bit | 185 | 174.1 | 0.6 | 58,919 | 58,835 | | 4: `0x2404` write-combined, 2M committed | 1,277 | 379.6 | 275.5 | 26,800 | 20,393 | | 18: `0x2404` write-combined, 64K placeholder | 1,791 | 304.2 | 304.2 | 19,409 | 19,708 | | 3: `0x22004`, 2M committed | 1,614 | 42.1 | 141.0 | 1,190 | 1,309 | The other 11 classes hold no host copies (class 1 is 16.7 GB live, class 12 is 4.0 GB). What both runs say: - The largest class is the same on both PCs: one 16 GB `0x801` placeholder, 71 % of host copies on yours and 79 % here. Its label is the reservation's, not what the title asks of the pages it maps there. The GDKX docs say pages mapped by `XMemMapPhysicalPages` take their reservation's protection, so a `NOACCESS` pool must get its real protection later, through `VirtualProtect`. The counter did not hook that yet; the next commit does. - A small class rewritten all the time: class 7, 185 MiB reserved below 4 GB, had 58.9 GB written after its first upload, all refreshed on the submitting thread. It looks like ring or constant buffers. Those would be better served from memory the GPU reads directly, without host copies. - No large class is "written once" as labeled now, so nothing can be skipped yet. The next commit also records the D3D object type (`XALLOC_ATTRIBUTES.ObjectType` when the allocator id is D3D's) to tell static resources from dynamic and staging ones. On the FG stall at 0.2 fps: frame generation works on this 5060 (about 20 generated frames/s in run K), so your Series X / `VICTORY_TEXTURE_POOL=1` / `VICTORY_WARMUP_RESTART=0` setup is the difference to look at. Noted as a separate issue.
Castyan commented 2026-11-29 18:32:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T18:32:07Z.


Pushed e0b7a854: the memory-attribute counter now sees what the big placeholder really holds (VICTORY_MEM_ATTRS=1, still off by default and still measurement only)

Following the two runs above:

  • VirtualProtect is counted. The title's VirtualProtect (already hooked as title_virtual_protect) now repaints its range under a class of its own, shown as ... set by VirtualProtect with the protection asked. Pages that XMemMapPhysicalPages maps take their reservation's protection, so this is where the 16 GB 0x801 pool should split into its real kinds. If it stays large after this, the title sets those pages some other way, and that is worth knowing too.
  • Direct3D's object type is kept. When the XALLOC_ATTRIBUTES allocator id is Direct3D's (128), the class keeps its ObjectType, named in the log: resource, dynamic resource, staging resource, tiled resource, shader, command buffer, ring temporary, and so on. That is the line between memory written once and memory the CPU rewrites every frame, which is what a skip needs.

Tests: cargo test -p victory-gpu -p victory-hle --release pass (4 memattrs tests, 2 of them new). host::menu::tests::a_change_is_saved_at_once... failed once in the full parallel run and passes on its own (known shared-state flakiness). The release build is fine.

Same request as before, now on e0b7a854: play at least 5 minutes in the world with your usual switches plus VICTORY_MEM_ATTRS=1, close by the window, and post the mem attrs (exit) lines with your GPU, VRAM and RAM. The most useful lines are those marked set by VirtualProtect and those with a D3D object. Thanks in advance.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260558832 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7260558832). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T18:32:07Z. --- **Pushed e0b7a854: the memory-attribute counter now sees what the big placeholder really holds** (`VICTORY_MEM_ATTRS=1`, still off by default and still measurement only) Following the two runs above: - **`VirtualProtect` is counted.** The title's `VirtualProtect` (already hooked as `title_virtual_protect`) now repaints its range under a class of its own, shown as `... set by VirtualProtect` with the protection asked. Pages that `XMemMapPhysicalPages` maps take their reservation's protection, so this is where the 16 GB `0x801` pool should split into its real kinds. If it stays large after this, the title sets those pages some other way, and that is worth knowing too. - **Direct3D's object type is kept.** When the `XALLOC_ATTRIBUTES` allocator id is Direct3D's (128), the class keeps its `ObjectType`, named in the log: `resource`, `dynamic resource`, `staging resource`, `tiled resource`, `shader`, `command buffer`, `ring temporary`, and so on. That is the line between memory written once and memory the CPU rewrites every frame, which is what a skip needs. Tests: `cargo test -p victory-gpu -p victory-hle --release` pass (4 `memattrs` tests, 2 of them new). `host::menu::tests::a_change_is_saved_at_once...` failed once in the full parallel run and passes on its own (known shared-state flakiness). The release build is fine. **Same request as before, now on e0b7a854:** play at least 5 minutes in the world with your usual switches plus `VICTORY_MEM_ATTRS=1`, close by the window, and post the `mem attrs (exit)` lines with your GPU, VRAM and RAM. The most useful lines are those marked `set by VirtualProtect` and those with a `D3D object`. Thanks in advance.
Razen114514 commented 2026-11-29 19:04:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-11-29T19:04:41Z.


VICTORY_MEM_ATTRS=1 on an 8 GB card with 32 GB of RAM

The missing cell from your two runs: same VRAM as yours, twice the system RAM.
e0b7a854, release build, the switches below, 8 min 45 s from start at the
safehouse.

These are the last mem attrs (5s) block, not an mem attrs (exit) one. The
process was ended rather than closed by its window, so the log has no exit block:
0 mem attrs (exit) lines, 2,736 of the 5 s kind (14 classes over 195 windows).
Your step 3 allows the last 5 s block in that case.

The figures accumulate rather than roll. The same class 7 reads 9.7 MB
refreshed in the first block, 63,379 MB at block 100 and 112,010 MB in the last,
so the last block is the whole run and every number below is a total.

Testbed. RTX 5060 8 GB, Intel Core i5-13490F, 32 GB RAM (yours is 16 GB),
Windows 11 26300, driver 32.0.16.2124, image b99f876b74d4a77f, Series S,
--dlss performance, frame generation 2×.

Switches: VICTORY_MEM_ATTRS=1 plus the set I normally play with —
AMBIENT_SHADE=0,0.6 AMBIENT_ONCE=1 INPLACE=1 TEXTURE_NO_WAIT=0 TEXTURE_POOL=0 HELPER_PRIORITY=on WAVE_PAIRS=1.

The last mem attrs (5s) block, largest first

class 18  XMemVirtualAlloc 0x2404 (host 0x4 writecombine, graphics 0x2000) 64K placeholder
          calls 1,  live 1632.4 MB, host copies 290.3, first upload 290.3,
          CPU-written after upload 12695.5 MB, refreshed on the submitting thread 12985.8 MB

class 3   XMemVirtualAlloc 0x22004 (host 0x4, graphics 0x22000) 2M committed
          calls 3,  live 1614.0 MB, host copies 7.1, first upload 4.4,
          CPU-written after upload 2010.9 MB, refreshed 2015.3 MB

class 4   XMemVirtualAlloc 0x2404 (host 0x4 writecombine, graphics 0x2000) 2M committed
          calls 1,  live 1277.0 MB, host copies 216.3, first upload 216.3,
          CPU-written after upload 24636.7 MB, refreshed 24853.1 MB

class 7   XMemVirtualAlloc 0x1 (host 0x1, graphics 0x0) 4K reserved 32-bit
          calls 1,  live 185.0 MB, host copies 174.0, first upload 3.7,
          CPU-written after upload 112006.1 MB, refreshed 112009.8 MB

class 9   XMemAlloc type 1 (graphics write-combined) 2M align 65536
          calls 6,  live 102.1 MB, host copies 0.0, first upload 0.0, written 0.0, refreshed 0.0
class 15  XMemAlloc type 1 (graphics write-combined) 2M align 256
          calls 4,  live 47.5 MB, host copies 0.0, written 0.0, refreshed 0.0
class 5   XMemVirtualAlloc 0x4 64K committed
          calls 2,  live 33.0 MB, host copies 0.0, written 0.0, refreshed 0.0
class 14  XMemAlloc type 7 (physical cacheable) 64K
          calls 2,  live 10.4 MB, all 0.0
class 13  XMemVirtualAlloc 0x2004 2M committed
          calls 1,  live 3.2 MB, all 0.0
class 11  XMemAlloc type 3 (graphics cacheable) 64K
          calls 16, live 1.4 MB, all 0.0
class 16  XMemAlloc type 1 64K
          calls 2,  live 0.2 MB, all 0.0
class 6   XMemVirtualAlloc 0x42404 64K committed
          calls 1,  live 0.1 MB, all 0.0
class 17  XMemAlloc type 1 64K align 256
          calls 3,  live 0.0 MB, all 0.0
class 0   not allocated through XMem
          calls 0,  live 0.0 MB, host copies 92.0, first upload 80.0,
          CPU-written after upload 24.5 MB, refreshed 104.6 MB

What stands out

Three classes carry 150 GB of the 152 GB refreshed, and one of them is not
write-combined.

class live refreshed refreshed ÷ live
7 185 MB 112,010 MB 605×
4 1277 MB 24,853 MB 19×
18 1632 MB 12,986 MB 8×
3 1614 MB 2,015 MB 1.2×
0 and the rest 197 MB 105 MB —

class 7 alone is 73% of everything refreshed on the submitting thread, on 185 MB
of memory — a 605× amplification. It is protect 0x1 with 4K pages and the 32-bit
flag, so it is not one of the write-combined classes and it does not fit the shape
you were looking for: the CPU writes 112 GB into it. Something about a small
4K-page 32-bit block is costing as much refresh as everything else together. I do
not know what it holds; that is the question I would ask next.

Your "large host copies, almost nothing written" shape is class 0, not the
write-combined ones: 92 MB of host copies, 80 MB uploaded once, 24.5 MB written
after — but 104.6 MB refreshed, so it is being refreshed more than it is written.
At 92 MB it is not where the time goes.

The write-combined classes are hot. class 4 writes 24,636 MB after upload and
class 18 writes 12,695 MB, so neither can skip watching on this title. Their host
copies (216 MB and 290 MB) are also far smaller than their live bytes (1277 MB and
1632 MB) — most of what they hold is never copied at all.

The five classes that read all zeros hold 185 MB between them (9, 15, 5, 14, 13,
plus 11, 16, 6, 17 below them). All are XMemAlloc with 2, 4, 16, 2 and 3
allocations respectively — so few, and possibly late in the run, that a zero here
may mean "not touched" rather than "never needs watching". Together they are 0.3%
of the refreshed bytes.

The rest of the frame, for context

From the same log, so you can compare against your 16 GB run:

the texture queue's room: 6169 MB in use - 0 MB free in texture blocks
  + 144 MB kept for card copies + ... against a line of ...
textures picked by index: 25708 slots, 20522 of them due
the pass over textures picked by index, in the last 5 seconds: 1172 ms in all
the texture queue's lock in the last 5 seconds: taken 50826 times
textures with levels on demand: 1172 alive, 57 MB of the card given to 633 levels
11 fps, 87.3 ms/frame, 5834 draws/frame   (one window, not a median)

the pass over textures picked by index: 1172 ms in the last 5 seconds — a
fifth of the wall clock spent in the texture pass, with 20,522 of 25,708 slots due
and 0 MB free in the blocks. That matches the queue pressure you and I both see on
8 GB.

Limits

One run, one scene, my own switches. The block above is a mid-run 5 s window and
not an exit block, so the byte figures are what moved in those five seconds, not
what moved over the whole run — the class 7 amplification in particular would be
worth confirming against an exit total. I did not run with frame generation off,
so I cannot separate its share. The frame line in the excerpt is one window's
figure, not a median.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260988410 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7260988410). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-11-29T19:04:41Z. --- ## `VICTORY_MEM_ATTRS=1` on an 8 GB card with 32 GB of RAM The missing cell from your two runs: same VRAM as yours, twice the system RAM. `e0b7a854`, release build, the switches below, 8 min 45 s from start at the safehouse. **These are the last `mem attrs (5s)` block, not an `mem attrs (exit)` one.** The process was ended rather than closed by its window, so the log has no exit block: 0 `mem attrs (exit)` lines, 2,736 of the 5 s kind (14 classes over 195 windows). Your step 3 allows the last 5 s block in that case. **The figures accumulate rather than roll.** The same class 7 reads 9.7 MB refreshed in the first block, 63,379 MB at block 100 and 112,010 MB in the last, so the last block is the whole run and every number below is a total. **Testbed.** RTX 5060 8 GB, **Intel Core i5-13490F**, **32 GB RAM** (yours is 16 GB), Windows 11 26300, driver 32.0.16.2124, image `b99f876b74d4a77f`, Series S, `--dlss performance`, frame generation 2×. Switches: `VICTORY_MEM_ATTRS=1` plus the set I normally play with — `AMBIENT_SHADE=0,0.6 AMBIENT_ONCE=1 INPLACE=1 TEXTURE_NO_WAIT=0 TEXTURE_POOL=0 HELPER_PRIORITY=on WAVE_PAIRS=1`. ### The last `mem attrs (5s)` block, largest first ``` class 18 XMemVirtualAlloc 0x2404 (host 0x4 writecombine, graphics 0x2000) 64K placeholder calls 1, live 1632.4 MB, host copies 290.3, first upload 290.3, CPU-written after upload 12695.5 MB, refreshed on the submitting thread 12985.8 MB class 3 XMemVirtualAlloc 0x22004 (host 0x4, graphics 0x22000) 2M committed calls 3, live 1614.0 MB, host copies 7.1, first upload 4.4, CPU-written after upload 2010.9 MB, refreshed 2015.3 MB class 4 XMemVirtualAlloc 0x2404 (host 0x4 writecombine, graphics 0x2000) 2M committed calls 1, live 1277.0 MB, host copies 216.3, first upload 216.3, CPU-written after upload 24636.7 MB, refreshed 24853.1 MB class 7 XMemVirtualAlloc 0x1 (host 0x1, graphics 0x0) 4K reserved 32-bit calls 1, live 185.0 MB, host copies 174.0, first upload 3.7, CPU-written after upload 112006.1 MB, refreshed 112009.8 MB class 9 XMemAlloc type 1 (graphics write-combined) 2M align 65536 calls 6, live 102.1 MB, host copies 0.0, first upload 0.0, written 0.0, refreshed 0.0 class 15 XMemAlloc type 1 (graphics write-combined) 2M align 256 calls 4, live 47.5 MB, host copies 0.0, written 0.0, refreshed 0.0 class 5 XMemVirtualAlloc 0x4 64K committed calls 2, live 33.0 MB, host copies 0.0, written 0.0, refreshed 0.0 class 14 XMemAlloc type 7 (physical cacheable) 64K calls 2, live 10.4 MB, all 0.0 class 13 XMemVirtualAlloc 0x2004 2M committed calls 1, live 3.2 MB, all 0.0 class 11 XMemAlloc type 3 (graphics cacheable) 64K calls 16, live 1.4 MB, all 0.0 class 16 XMemAlloc type 1 64K calls 2, live 0.2 MB, all 0.0 class 6 XMemVirtualAlloc 0x42404 64K committed calls 1, live 0.1 MB, all 0.0 class 17 XMemAlloc type 1 64K align 256 calls 3, live 0.0 MB, all 0.0 class 0 not allocated through XMem calls 0, live 0.0 MB, host copies 92.0, first upload 80.0, CPU-written after upload 24.5 MB, refreshed 104.6 MB ``` ### What stands out **Three classes carry 150 GB of the 152 GB refreshed, and one of them is not write-combined.** | class | live | refreshed | refreshed ÷ live | | --- | ---: | ---: | ---: | | 7 | 185 MB | **112,010 MB** | **605×** | | 4 | 1277 MB | 24,853 MB | 19× | | 18 | 1632 MB | 12,986 MB | 8× | | 3 | 1614 MB | 2,015 MB | 1.2× | | 0 and the rest | 197 MB | 105 MB | — | **class 7 alone is 73% of everything refreshed on the submitting thread**, on 185 MB of memory — a 605× amplification. It is `protect 0x1` with 4K pages and the 32-bit flag, so it is not one of the write-combined classes and it does not fit the shape you were looking for: the CPU writes 112 GB into it. Something about a small 4K-page 32-bit block is costing as much refresh as everything else together. I do not know what it holds; that is the question I would ask next. **Your "large host copies, almost nothing written" shape is class 0**, not the write-combined ones: 92 MB of host copies, 80 MB uploaded once, 24.5 MB written after — but 104.6 MB refreshed, so it is being refreshed more than it is written. At 92 MB it is not where the time goes. **The write-combined classes are hot.** class 4 writes 24,636 MB after upload and class 18 writes 12,695 MB, so neither can skip watching on this title. Their host copies (216 MB and 290 MB) are also far smaller than their live bytes (1277 MB and 1632 MB) — most of what they hold is never copied at all. **The five classes that read all zeros hold 185 MB between them** (9, 15, 5, 14, 13, plus 11, 16, 6, 17 below them). All are `XMemAlloc` with 2, 4, 16, 2 and 3 allocations respectively — so few, and possibly late in the run, that a zero here may mean "not touched" rather than "never needs watching". Together they are 0.3% of the refreshed bytes. ### The rest of the frame, for context From the same log, so you can compare against your 16 GB run: ``` the texture queue's room: 6169 MB in use - 0 MB free in texture blocks + 144 MB kept for card copies + ... against a line of ... textures picked by index: 25708 slots, 20522 of them due the pass over textures picked by index, in the last 5 seconds: 1172 ms in all the texture queue's lock in the last 5 seconds: taken 50826 times textures with levels on demand: 1172 alive, 57 MB of the card given to 633 levels 11 fps, 87.3 ms/frame, 5834 draws/frame (one window, not a median) ``` **`the pass over textures picked by index: 1172 ms in the last 5 seconds`** — a fifth of the wall clock spent in the texture pass, with 20,522 of 25,708 slots due and 0 MB free in the blocks. That matches the queue pressure you and I both see on 8 GB. ### Limits One run, one scene, my own switches. The block above is a mid-run `5 s` window and not an exit block, so the byte figures are what moved in those five seconds, not what moved over the whole run — the class 7 amplification in particular would be worth confirming against an exit total. I did not run with frame generation off, so I cannot separate its share. The frame line in the excerpt is one window's figure, not a median.
Castyan commented 2026-11-29 22:05:26 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T22:05:26Z.


I added an opt-in loading screen for the first 3D scene in 36c6eba. Enable it with --set VICTORY_STARTUP_TEXTURE_WAIT=1 and frame generation off. Texture uploads and game updates continue behind the loading screen. The scene is shown when the texture queue falls below the threshold, stops making progress, or reaches the safety limit.

In a local RTX 5060 8 GB / 16 GB RAM trial on the .02 base, the queue grew from 881 to 14,774 due texture slots while uploads continued. The screen released at the 10.024-second safety limit, with the queue still above the threshold. The game later stopped with 0x8007000E while closing a D3D12 command list. This run confirms the loading screen and fallback paths. It does not establish an improvement to the first visible frames.

The two targeted tests and the staged asset policy passed on the PR branch. The setup and results are in the test notes.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7263393071 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7263393071). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T22:05:26Z. --- I added an opt-in loading screen for the first 3D scene in [36c6eba](https://github.com/Castyan/VIctory-NVIDIA/commit/36c6eba06f75684184acc4e59d2ff90238e5be9b). Enable it with `--set VICTORY_STARTUP_TEXTURE_WAIT=1` and frame generation off. Texture uploads and game updates continue behind the loading screen. The scene is shown when the texture queue falls below the threshold, stops making progress, or reaches the safety limit. In a local RTX 5060 8 GB / 16 GB RAM trial on the `.02` base, the queue grew from 881 to 14,774 due texture slots while uploads continued. The screen released at the 10.024-second safety limit, with the queue still above the threshold. The game later stopped with `0x8007000E` while closing a D3D12 command list. This run confirms the loading screen and fallback paths. It does not establish an improvement to the first visible frames. The two targeted tests and the staged asset policy passed on the PR branch. The setup and results are in [the test notes](https://github.com/Castyan/VIctory-NVIDIA/blob/36c6eba06f75684184acc4e59d2ff90238e5be9b/docs/startup-texture-wait.md).
Castyan commented 2026-11-29 23:04:20 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T23:04:20Z.


37bce66 uses the GDKX sampler-feedback model to prioritize indexed textures that shaders sampled recently. When the regular texture pass hits its VRAM budget, these slots move ahead of background checks. Rechecks keep their fingerprints and the existing VRAM, RAM and per-pass limits still apply. Set VICTORY_DUE_HOT_FIRST=0 to compare with the former queue order.

The release built and 73 descriptor tests passed. Both local sessions reached gameplay and closed normally. In the matched 45-second opening-scene windows on RTX 5060 8 GB, warnings about textures changing after upload went from 4 to 0 and skipped prelude uploads from 1 to 0. Median rendered FPS was 5.6 vs 8.1, and median buffer-copy time was 80.4 vs 60.8 ms/frame. Both windows had eight queue samples blocked by the VRAM budget. This was one run per build with different scene timing and draw counts. It does not establish a causal FPS improvement or confirm that all visual texture problems are resolved.

The settings, method and limitations are in the test notes.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7264171661 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7264171661). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T23:04:20Z. --- [37bce66](https://github.com/Castyan/VIctory-NVIDIA/commit/37bce66c39f1cc40dc6687637825fd77a24e72ce) uses the GDKX sampler-feedback model to prioritize indexed textures that shaders sampled recently. When the regular texture pass hits its VRAM budget, these slots move ahead of background checks. Rechecks keep their fingerprints and the existing VRAM, RAM and per-pass limits still apply. Set `VICTORY_DUE_HOT_FIRST=0` to compare with the former queue order. The release built and 73 descriptor tests passed. Both local sessions reached gameplay and closed normally. In the matched 45-second opening-scene windows on RTX 5060 8 GB, warnings about textures changing after upload went from 4 to 0 and skipped prelude uploads from 1 to 0. Median rendered FPS was 5.6 vs 8.1, and median buffer-copy time was 80.4 vs 60.8 ms/frame. Both windows had eight queue samples blocked by the VRAM budget. This was one run per build with different scene timing and draw counts. It does not establish a causal FPS improvement or confirm that all visual texture problems are resolved. The settings, method and limitations are in [the test notes](https://github.com/Castyan/VIctory-NVIDIA/blob/37bce66c39f1cc40dc6687637825fd77a24e72ce/docs/texture-queue-under-pressure.md).
Castyan commented 2026-11-29 23:53:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-29T23:53:10Z.


A/B of VICTORY_DUE_HOT_FIRST on the same binary (37bce66), runs 1 and 2 of 4: not conclusive yet

RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM. One binary built from 37bce66 exactly. Each run starts from a fresh copy of one reference cache and save (VICTORY_CACHE_DIR / VICTORY_DATA_DIR per run), uses the preset of docs/prompt-reprise-pr-2334.md (--series-s --res 1440 --dlss quality --framegen 2, VICTORY_LOG=info, VICTORY_MEM_ATTRS=1, VICTORY_SAMPLED_MARKS=1, …), loads the same save, and leaves the camera still in the world. The setting is checked in each log's switch line. Both runs were closed by their window.

45 s window from the first 5 s line with at least 2,000 draws (scripts/bench.py on the cut logs):

Run 1: default (absent) Run 2: =0 Earlier 37bce66 run (23:00) Earlier parent 4c20058 (22:50)
free RAM at launch, MiB 4,060 (Firefox, Edge open) 7,721 (Edge open) 9,034 8,419
rendered fps p10 / median 0.2 / 0.7 1.5 / 4.2 1.9 / 8.3 2.6 / 5.6
buffer copies, ms/frame 1,344 173 105 85
submitting thread / refreshes, ms/frame 750 / 436 211 / 96 109 / 56 206 / 133
queue full (no room) lines 6 7 8 8
textures due, mean / max 14,060 / 16,568 19,931 / 22,633 27,960 / 33,035 27,844 / 29,016
"changed after its upload", "prelude upload left out" 0, 0 3, 0 0, 0 4, 1
card memory in use MB, mean 6,024 5,663 5,638 5,403
stale copies, out of VRAM 0, 0 0, 0 0, 0 0, 0

What this says, and what it does not:

  • Run 1 paged hard (4 GB free, a browser open): copies took 1.3 s a frame. It measures the PC's memory, not the queue's order. Across these four runs, the spread from RAM and route (copies 85 to 1,344 ms) is far larger than any effect the setting could have, so nothing here shows or rules out a gain from VICTORY_DUE_HOT_FIRST. The one hint in its favour, 3 late texture changes with =0 against 0 with the default in both default runs, rests on single counts.
  • No visual note was taken in the same shot for these two runs. Runs 3 (default) and 4 (=0) follow, with other programs closed.

Over the whole of run 1, two "HERO LEAD" lines turned out to be memory reused by another texture (a 6-face BC6H cube map at the start of a 1-face BC7, and BC1 blocks inside a BC3), not a GPU copy the view missed. Filling those views from title memory is right. The real risk is a later view with the old layout at the same address being sent back to the old copy. A fix, VICTORY_HOST_WRITTEN_REUSE=1 (off by default), is written but not pushed or measured yet.

Next run on the same binary: VICTORY_PORT_CONSTANTS=1. It turns on xmem::arrange(), which gives the 185 MB below-4 GB graphics heap its section's slices in address order (XMemMapPhysicalPages maps them out of order here), so the in-place port can serve it with no host copy and no refreshes. That path has been off since the GPU half of the port became default without that switch.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7264800032 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7264800032). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-29T23:53:10Z. --- **A/B of `VICTORY_DUE_HOT_FIRST` on the same binary (37bce66), runs 1 and 2 of 4: not conclusive yet** RTX 5060 8 GB, Ryzen 5 9600X, 16 GB of RAM. One binary built from `37bce66` exactly. Each run starts from a fresh copy of one reference cache and save (`VICTORY_CACHE_DIR` / `VICTORY_DATA_DIR` per run), uses the preset of `docs/prompt-reprise-pr-2334.md` (`--series-s --res 1440 --dlss quality --framegen 2`, `VICTORY_LOG=info`, `VICTORY_MEM_ATTRS=1`, `VICTORY_SAMPLED_MARKS=1`, …), loads the same save, and leaves the camera still in the world. The setting is checked in each log's switch line. Both runs were closed by their window. 45 s window from the first 5 s line with at least 2,000 draws (`scripts/bench.py` on the cut logs): | | Run 1: default (absent) | Run 2: `=0` | Earlier 37bce66 run (23:00) | Earlier parent 4c20058 (22:50) | |---|---:|---:|---:|---:| | free RAM at launch, MiB | **4,060** (Firefox, Edge open) | 7,721 (Edge open) | 9,034 | 8,419 | | rendered fps p10 / median | 0.2 / 0.7 | 1.5 / 4.2 | 1.9 / 8.3 | 2.6 / 5.6 | | buffer copies, ms/frame | 1,344 | 173 | 105 | 85 | | submitting thread / refreshes, ms/frame | 750 / 436 | 211 / 96 | 109 / 56 | 206 / 133 | | queue full (no room) lines | 6 | 7 | 8 | 8 | | textures due, mean / max | 14,060 / 16,568 | 19,931 / 22,633 | 27,960 / 33,035 | 27,844 / 29,016 | | "changed after its upload", "prelude upload left out" | 0, 0 | 3, 0 | 0, 0 | 4, 1 | | card memory in use MB, mean | 6,024 | 5,663 | 5,638 | 5,403 | | stale copies, out of VRAM | 0, 0 | 0, 0 | 0, 0 | 0, 0 | What this says, and what it does not: - Run 1 paged hard (4 GB free, a browser open): copies took 1.3 s a frame. It measures the PC's memory, not the queue's order. Across these four runs, the spread from RAM and route (copies 85 to 1,344 ms) is far larger than any effect the setting could have, so **nothing here shows or rules out a gain from `VICTORY_DUE_HOT_FIRST`**. The one hint in its favour, 3 late texture changes with `=0` against 0 with the default in both default runs, rests on single counts. - No visual note was taken in the same shot for these two runs. Runs 3 (default) and 4 (`=0`) follow, with other programs closed. Over the whole of run 1, two "HERO LEAD" lines turned out to be memory reused by another texture (a 6-face BC6H cube map at the start of a 1-face BC7, and BC1 blocks inside a BC3), not a GPU copy the view missed. Filling those views from title memory is right. The real risk is a later view with the old layout at the same address being sent back to the old copy. A fix, `VICTORY_HOST_WRITTEN_REUSE=1` (off by default), is written but not pushed or measured yet. Next run on the same binary: `VICTORY_PORT_CONSTANTS=1`. It turns on `xmem::arrange()`, which gives the 185 MB below-4 GB graphics heap its section's slices in address order (`XMemMapPhysicalPages` maps them out of order here), so the in-place port can serve it with no host copy and no refreshes. That path has been off since the GPU half of the port became default without that switch.
Castyan commented 2026-11-30 00:10:09 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-30T00:10:09Z.


VICTORY_PORT_CONSTANTS=1 on the same 37bce66 binary: the 185 MB below-4 GB graphics heap is served in place, its host copy is gone

Same binary, same reference cache and save, same preset as the A/B above, plus VICTORY_PORT_CONSTANTS=1. This run was driven unattended: Enter sent to the window from 10 s after launch, every 15 s, until the title left its waiting screen. Then 60 s with the camera still in the world, then closed by its window (end = closed). Free RAM at launch was 8,237 MiB (Edge open). 0 stale copies with VICTORY_REFRESH_CHECK=1, 0 out of VRAM, 0 ERROR lines.

Why it was off. xmem::arrange() gives the pages of the title's 32-bit graphics heap their section's slices in address order. The title makes one XMemAllocatePhysicalPages call and maps it out of the addresses' order (3rd, 4th, 1st, 2nd part), and a host heap cannot be opened over views out of their section's order (OpenExistingHeapFromAddress1 refuses with E_INVALIDARG; WARP test in agent 2's branch). That function only ran with VICTORY_PORT_CONSTANTS=1 written out, while the GPU half of the port has been on by default without it. So every run on this PC logged "not one native-import-eligible stretch of a section: Scattered", and the 174 MB title buffer in that heap stayed a host copy refreshed on the submitting thread.

What the log shows with the switch:

  • the title's 32-bit graphics pages given their section's slices in address order ... moved=752 ... not_fresh=0 (five maps, 2,944 pages): no page was used before its map.
  • a stretch of the title's graphics memory opened as a host heap through a view of ours ... bytes=193986560, then title memory in place ... len=182452224 window=false.
Run 2 (A/B, without the switch) This run (with it)
class 7 (that heap, VICTORY_MEM_ATTRS): host copies 174.1 MB 0.1 MB
class 7: bytes the CPU wrote after the first upload, refreshed on the submitting thread 26,430 MB / 26,351 MB 0.0 / 0.1 MB
host copies of title memory in the PC's memory (last lines) 4,192–4,201 MB 3,235–3,271 MB
refreshes per frame on all threads (last two 5 s lines) 77.2 / 88.7 ms 55.9 / 59.6 ms
45 s window at world entry: fps p10 / median, refreshes on the submitting thread 1.5 / 4.2, 96.4 ms 0.4 / 6.6, 106.8 ms

Limits. One run of 2 min 29 with 60 s in the world. The 45 s window starts at world entry, where streaming dominates, and does not show the gain yet; the steady-state lines above do. The camera was still, and the runs it is compared with were played by hand. A longer unattended pair (with and without, same start) comes next.

What to watch. The buffer now has one home, the title's memory, but our CPU steps at submit read from it (9,799 constant-buffer fills a frame, 3.3 MB, and 6 buffer copies) without waiting for submissions still in flight, and buffer views that are not on an element of the buffer's host copy still get exact copies of their own. Neither showed up as a stale copy in this run. If they do, a targeted fix is written (VICTORY_INPLACE_VIEWS=1, off by default, not pushed). A stricter switch, VICTORY_XMEM_ORDERED=1, runs the same ordering without PORT_CONSTANTS and gives a section up for good on the first page used before its map. It is written and tested, not pushed yet.

Edited: do not turn this on. A longer pair (next comment) shows the GPU time going from 3 to 50 ms a frame and the median frame rate halving, because the shaders then read this heap from the PC's RAM.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7265027061 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7265027061). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-30T00:10:09Z. --- **`VICTORY_PORT_CONSTANTS=1` on the same 37bce66 binary: the 185 MB below-4 GB graphics heap is served in place, its host copy is gone** Same binary, same reference cache and save, same preset as the A/B above, plus `VICTORY_PORT_CONSTANTS=1`. This run was driven unattended: Enter sent to the window from 10 s after launch, every 15 s, until the title left its waiting screen. Then 60 s with the camera still in the world, then closed by its window (`end = closed`). Free RAM at launch was 8,237 MiB (Edge open). 0 stale copies with `VICTORY_REFRESH_CHECK=1`, 0 out of VRAM, 0 ERROR lines. **Why it was off.** `xmem::arrange()` gives the pages of the title's 32-bit graphics heap their section's slices in address order. The title makes one `XMemAllocatePhysicalPages` call and maps it out of the addresses' order (3rd, 4th, 1st, 2nd part), and a host heap cannot be opened over views out of their section's order (`OpenExistingHeapFromAddress1` refuses with E_INVALIDARG; WARP test in agent 2's branch). That function only ran with `VICTORY_PORT_CONSTANTS=1` written out, while the GPU half of the port has been on by default without it. So every run on this PC logged "not one native-import-eligible stretch of a section: Scattered", and the 174 MB title buffer in that heap stayed a host copy refreshed on the submitting thread. **What the log shows with the switch:** - `the title's 32-bit graphics pages given their section's slices in address order ... moved=752 ... not_fresh=0` (five maps, 2,944 pages): no page was used before its map. - `a stretch of the title's graphics memory opened as a host heap through a view of ours ... bytes=193986560`, then `title memory in place ... len=182452224 window=false`. | | Run 2 (A/B, without the switch) | This run (with it) | |---|---:|---:| | class 7 (that heap, `VICTORY_MEM_ATTRS`): host copies | 174.1 MB | **0.1 MB** | | class 7: bytes the CPU wrote after the first upload, refreshed on the submitting thread | 26,430 MB / 26,351 MB | **0.0 / 0.1 MB** | | host copies of title memory in the PC's memory (last lines) | 4,192–4,201 MB | **3,235–3,271 MB** | | refreshes per frame on all threads (last two 5 s lines) | 77.2 / 88.7 ms | **55.9 / 59.6 ms** | | 45 s window at world entry: fps p10 / median, refreshes on the submitting thread | 1.5 / 4.2, 96.4 ms | 0.4 / 6.6, 106.8 ms | **Limits.** One run of 2 min 29 with 60 s in the world. The 45 s window starts at world entry, where streaming dominates, and does not show the gain yet; the steady-state lines above do. The camera was still, and the runs it is compared with were played by hand. A longer unattended pair (with and without, same start) comes next. **What to watch.** The buffer now has one home, the title's memory, but our CPU steps at submit read from it (9,799 constant-buffer fills a frame, 3.3 MB, and 6 buffer copies) without waiting for submissions still in flight, and buffer views that are not on an element of the buffer's host copy still get exact copies of their own. Neither showed up as a stale copy in this run. If they do, a targeted fix is written (`VICTORY_INPLACE_VIEWS=1`, off by default, not pushed). A stricter switch, `VICTORY_XMEM_ORDERED=1`, runs the same ordering without `PORT_CONSTANTS` and gives a section up for good on the first page used before its map. It is written and tested, not pushed yet. *Edited:* **do not turn this on.** A longer pair (next comment) shows the GPU time going from 3 to 50 ms a frame and the median frame rate halving, because the shaders then read this heap from the PC's RAM.
Castyan commented 2026-11-30 00:21:27 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-30T00:21:27Z.


Correction to the comment above: VICTORY_PORT_CONSTANTS=1 moves the cost from the CPU to the GPU, and halves the frame rate here. Please do not turn it on.

I ran a longer unattended pair on the same 37bce66 binary: same reference cache and save, Enter sent from 10 s until the title left its waiting screen, 180 s with the camera still in the world, closed by its window (end = closed for both). Free RAM was 9,255 and 10,356 MiB (Edge open). 0 stale copies and 0 out of VRAM in both.

Without VICTORY_PORT_CONSTANTS=1
Steady state (60–180 s in the world)
rendered fps p10 / median / p90 6.5 / 16.5 / 17.6 7.7 / 8.5 / 9.8
buffer copies on the CPU, ms/frame 96.3 23.6
on the GPU, ms/frame 3.0 50.0
submitting thread / refreshes, ms/frame 79.2 / 46.6 87.8 / 39.1
textures due, mean 25,186 17,936
"changed after its upload with nothing to tell of it" 5 63
World entry (first 45 s)
fps p10 / median 1.4 / 4.2 1.8 / 3.6
copies / refreshes, ms/frame 155.7 / 117.3 132.3 / 85.9
  • The in-place heap is title memory, which is the PC's RAM. On this RTX 5060, the shaders that read the 174 MB buffer (constant rings, skinning) now go over PCIe. A synthetic bench measured about 10 GB/s from system RAM against about 430 GB/s from VRAM. The CPU saves 73 ms of copies a frame, but the GPU spends 47 ms more, and the GPU becomes the limit.
  • The rise of late texture changes, from 5 to 63, is not explained yet. It is one more reason not to use the switch as it is.
  • Single pair, camera still. The direction is clear, though: the median halved, and GPU time grew 16-fold.

What it does show is where the CPU cost goes: about three quarters of the steady-state copy time is this one heap. The next step is to keep the shaders reading VRAM and take only the copy work off the CPU: the in-place heap stays as a source, and the bytes the title wrote since the last submission are carried into the card copy by the GPU's copy engine (CopyBufferRegion from the placed host buffer) instead of by CPU memcpy. That will be behind a switch off by default, measured the same way before anything is proposed here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7265196595 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7265196595). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-30T00:21:27Z. --- **Correction to the comment above: `VICTORY_PORT_CONSTANTS=1` moves the cost from the CPU to the GPU, and halves the frame rate here. Please do not turn it on.** I ran a longer unattended pair on the same 37bce66 binary: same reference cache and save, Enter sent from 10 s until the title left its waiting screen, 180 s with the camera still in the world, closed by its window (`end = closed` for both). Free RAM was 9,255 and 10,356 MiB (Edge open). 0 stale copies and 0 out of VRAM in both. | | Without | `VICTORY_PORT_CONSTANTS=1` | |---|---:|---:| | **Steady state** (60–180 s in the world) | | | | rendered fps p10 / median / p90 | 6.5 / **16.5** / 17.6 | 7.7 / **8.5** / 9.8 | | buffer copies on the CPU, ms/frame | 96.3 | **23.6** | | **on the GPU, ms/frame** | **3.0** | **50.0** | | submitting thread / refreshes, ms/frame | 79.2 / 46.6 | 87.8 / 39.1 | | textures due, mean | 25,186 | 17,936 | | "changed after its upload with nothing to tell of it" | 5 | **63** | | **World entry** (first 45 s) | | | | fps p10 / median | 1.4 / 4.2 | 1.8 / 3.6 | | copies / refreshes, ms/frame | 155.7 / 117.3 | 132.3 / 85.9 | - The in-place heap is title memory, which is the PC's RAM. On this RTX 5060, the shaders that read the 174 MB buffer (constant rings, skinning) now go over PCIe. A synthetic bench measured about 10 GB/s from system RAM against about 430 GB/s from VRAM. The CPU saves 73 ms of copies a frame, but the GPU spends 47 ms more, and the GPU becomes the limit. - The rise of late texture changes, from 5 to 63, is not explained yet. It is one more reason not to use the switch as it is. - Single pair, camera still. The direction is clear, though: the median halved, and GPU time grew 16-fold. What it does show is where the CPU cost goes: about three quarters of the steady-state copy time is this one heap. The next step is to keep the shaders reading VRAM and take only the copy work off the CPU: the in-place heap stays as a **source**, and the bytes the title wrote since the last submission are carried into the card copy by the GPU's copy engine (`CopyBufferRegion` from the placed host buffer) instead of by CPU memcpy. That will be behind a switch off by default, measured the same way before anything is proposed here.
Castyan commented 2026-11-30 00:35:03 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Castyan on 2026-11-30T00:35:03Z.


Pushed 504d07a9 (fast-forward from 37bce66): one texture fix off by default, and the write-up of tonight's measurements

  • VICTORY_HOST_WRITTEN_REUSE=1 (off by default, texture.rs, docs/placed-view-hero-lead.md). When a placed view of another layout (another block size, another layer count, or other dimensions at its start) lands in the memory of a texture the host copied into, the copied texture's address is forgotten. Without it, a later view laid out like the old texture at the same address, as in a streaming pool, would be served from the old copy and show the wrong texture. The two "HERO LEAD" lines of the A/B runs were such reuse. Not measured in game yet.
  • docs/due-hot-first-ab-2026-11-30.md: the protocol (one binary, a fresh copy of one reference cache and save per run, unattended runs driven by Enter, camera still), all the runs below, their limits, and the GDKX contracts behind them (XALLOC_ATTRIBUTES, XMemVirtualAlloc, XMemMapPhysicalPages, sampler feedback tier).

cargo test -p victory-gpu --release: 947 passed, 0 failed. Asset policy OK. The release build is fine.

VICTORY_REFRESH_BESIDE=1 (already in the PR, off by default) on the same binary, unattended, 180 s still in the world, compared with the run without it from the pair above. Both closed by the window, 0 stale copies, 0 out of VRAM, 0 ERROR lines:

Without VICTORY_REFRESH_BESIDE=1
steady state (60–180 s): fps p10 / median / p90 6.5 / 16.5 / 17.6 16.7 / 17.5 / 18.8
steady state: ms/frame mean 172 57
steady state: copies / submitting thread / refreshes, ms/frame 96.3 / 79.2 / 46.6 32.7 / 55.1 / 28.9
steady state: "changed after its upload", queue-full lines 5 / 195 150 / 342
world entry (45 s): fps p10 / median 1.4 / 4.2 0.6 / 3.6

The steady-state lows rise sharply, which means far fewer long frames. World entry is no better in this single pair. The rise of late texture changes from 5 to 150 is not explained yet: it could be more frames uploading more, or uploads ordered against refreshes that now run beside. It needs checking before this switch can be recommended, so please treat it as experimental. If you try it, the refreshes beside the submitting thread line and any changed after its upload lines would help.

Also from tonight, all in the doc: the VICTORY_DUE_HOT_FIRST A/B is still not conclusive (2 of 4 runs, swamped by RAM and route). VICTORY_PORT_CONSTANTS=1 halves the frame rate on this card, because the shaders then read the 185 MB heap from the PC's RAM. Carrying the written bytes into VRAM with the GPU's copy engine instead was dropped: the CPU side of a card copy is also the reference of the three-way merge that lands what shaders wrote.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7265398016 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7265398016). Originally posted by [Castyan](https://github.com/Castyan) on 2026-11-30T00:35:03Z. --- **Pushed 504d07a9 (fast-forward from 37bce66): one texture fix off by default, and the write-up of tonight's measurements** - `VICTORY_HOST_WRITTEN_REUSE=1` (off by default, `texture.rs`, `docs/placed-view-hero-lead.md`). When a placed view of another layout (another block size, another layer count, or other dimensions at its start) lands in the memory of a texture the host copied into, the copied texture's address is forgotten. Without it, a later view laid out like the old texture at the same address, as in a streaming pool, would be served from the old copy and show the wrong texture. The two "HERO LEAD" lines of the A/B runs were such reuse. Not measured in game yet. - `docs/due-hot-first-ab-2026-11-30.md`: the protocol (one binary, a fresh copy of one reference cache and save per run, unattended runs driven by Enter, camera still), all the runs below, their limits, and the GDKX contracts behind them (`XALLOC_ATTRIBUTES`, `XMemVirtualAlloc`, `XMemMapPhysicalPages`, sampler feedback tier). `cargo test -p victory-gpu --release`: 947 passed, 0 failed. Asset policy OK. The release build is fine. **`VICTORY_REFRESH_BESIDE=1` (already in the PR, off by default) on the same binary**, unattended, 180 s still in the world, compared with the run without it from the pair above. Both closed by the window, 0 stale copies, 0 out of VRAM, 0 ERROR lines: | | Without | `VICTORY_REFRESH_BESIDE=1` | |---|---:|---:| | steady state (60–180 s): fps p10 / median / p90 | 6.5 / 16.5 / 17.6 | **16.7 / 17.5 / 18.8** | | steady state: ms/frame mean | 172 | **57** | | steady state: copies / submitting thread / refreshes, ms/frame | 96.3 / 79.2 / 46.6 | 32.7 / 55.1 / 28.9 | | steady state: "changed after its upload", queue-full lines | 5 / 195 | **150** / 342 | | world entry (45 s): fps p10 / median | 1.4 / 4.2 | 0.6 / 3.6 | The steady-state lows rise sharply, which means far fewer long frames. World entry is no better in this single pair. The rise of late texture changes from 5 to 150 is not explained yet: it could be more frames uploading more, or uploads ordered against refreshes that now run beside. It needs checking before this switch can be recommended, so please treat it as experimental. If you try it, the `refreshes beside the submitting thread` line and any `changed after its upload` lines would help. Also from tonight, all in the doc: the `VICTORY_DUE_HOT_FIRST` A/B is still not conclusive (2 of 4 runs, swamped by RAM and route). `VICTORY_PORT_CONSTANTS=1` halves the frame rate on this card, because the shaders then read the 185 MB heap from the PC's RAM. Carrying the written bytes into VRAM with the GPU's copy engine instead was dropped: the CPU side of a card copy is also the reference of the three-way merge that lands what shaders wrote.
Jirionde commented 2026-11-30 16:55:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jirionde on 2026-11-30T16:55:31Z.


Tested this PR on an 8 GB card, results for the 8 GB side of the PR.

PC: RTX 4060 Ti 8 GB (PCIe 4.0 x8), i9-11900F (power limit 75 W), 32 GB DDR4-3200, Windows 11 26300.
Build: gta6port branch = v2026.11.29.05 + this PR merged (no conflicts), built from source, x86-64-v3, fat LTO.
Run: prison scene save, Series S, DLSS performance, FSR 3 frame generation 2x, VICTORY_TEXTURE_POOL=0, 260 s, muted, stats from 120 s on.

rendered fps p10 / median / p90 ms/frame median / p90 / max
without the PR (same profile) 16 / 18 / 19 56.1 / 62.7 / 166
PR, VICTORY_REFRESH_BESIDE=1 VICTORY_REFRESH_AT_SUBMIT=1 VICTORY_REFRESH_CHECK=1 9 / 10 / 11 100.2 / 111.2 / 218

0 device removed, 1 ERROR line. One run each so far, so treat it as a first signal; I did not get to split the three switches or run the PR build with them off. Happy to run more combinations if you tell me which ones matter.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7285441981 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2334#issuecomment-7285441981). Originally posted by [Jirionde](https://github.com/Jirionde) on 2026-11-30T16:55:31Z. --- Tested this PR on an 8 GB card, results for the 8 GB side of the PR. **PC:** RTX 4060 Ti 8 GB (PCIe 4.0 x8), i9-11900F (power limit 75 W), 32 GB DDR4-3200, Windows 11 26300. **Build:** gta6port branch = v2026.11.29.05 + this PR merged (no conflicts), built from source, x86-64-v3, fat LTO. **Run:** prison scene save, Series S, DLSS performance, FSR 3 frame generation 2x, `VICTORY_TEXTURE_POOL=0`, 260 s, muted, stats from 120 s on. | | rendered fps p10 / median / p90 | ms/frame median / p90 / max | |---|---|---| | without the PR (same profile) | 16 / 18 / 19 | 56.1 / 62.7 / 166 | | PR, `VICTORY_REFRESH_BESIDE=1 VICTORY_REFRESH_AT_SUBMIT=1 VICTORY_REFRESH_CHECK=1` | 9 / 10 / 11 | 100.2 / 111.2 / 218 | 0 device removed, 1 ERROR line. One run each so far, so treat it as a first signal; I did not get to split the three switches or run the PR build with them off. Happy to run more combinations if you tell me which ones matter.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2334:upstream-pr/2334'
git switch 'upstream-pr/2334'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2334'
git switch 'upstream-pr/2334'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2334'
git switch 'upstream-pr/2334'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2334'
git switch 'main'
git merge --squash 'upstream-pr/2334'
git switch 'main'
git merge --ff-only 'upstream-pr/2334'
git switch 'main'
git merge 'upstream-pr/2334'
git push origin 'main'
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!2334
No description provided.