GPU: refresh a copy's distant ranges apart, not their span #4808

Closed
github-bot wants to merge 15 commits from github-bot/gh-4807 into main AGit
Owner

@⁠Jineggegg on GitHub · 2026-12-01 09:33 UTC · original
Jineggegg:disjoint-refresh-ranges → main · +298 −66 · 1 files · 15 commits · closed without merging

Based on main at e1251c31; one commit.

Problem

Batch::add (crates/victory-gpu/src/host.rs) merges all of one submission's refreshes of a host copy into a single range, by min/max. So two lists that each ask for 4 KiB, one at each end of a 64 MiB buffer, produce a 64 MiB refresh:

  • If the copy is not write-watched, Shadow::update copies the whole range. The bytes between the two asks are copied for nothing.
  • If it is write-watched, the watch is asked about the whole span. Pages the title wrote in the gap are copied, although nothing has asked for them yet.

Reproduction

In one submission, issue two refreshes of the same buffer copy, far apart: for example at offset 0 and at offset 12 × 64 KiB, each half a page long. Then flush.

  • Before: the batch holds one range of 12.5 pages, and for a copy that is not write-watched PREPARING[1] (bytes copied) grows by up to 12.5 pages.
  • After: the batch holds two ranges, and at most the bytes asked for are copied.

The GPU test host::batch::distant_refreshes_of_a_copy_are_refreshed_apart (below) does exactly this.

Change

  • New Spans: one copy's ranges to refresh, kept sorted and disjoint.
    • A new range joins every range it overlaps, or comes within JOIN_WITHIN of (one write-watch page, 64 KiB). Ranges it bridges join together.
    • Ranges farther apart stay separate.
    • The first range is stored inline, so a copy refreshed in one range (the common case) allocates nothing.
  • Batch::refreshes holds (copy, Spans) instead of (copy, from, to). add, flush_one and flush_all go through the ranges.
  • In flush_all:
    • The batched "known unchanged" query (nothing_new_all) gets one entry per range. Spans::retain consumes the answers in the same order.
    • The other paths ask nothing_new_with per range, against the same snapshot of what was asked ahead (ahead_snap) that main uses.
    • sift_spans (one span per copy) becomes sift_refreshes (all of a copy's ranges). It is the same parallel, 64-item chunked sift over the same snapshot, and it keeps the Vec's capacity. A copy is kept if any of its ranges may copy something. Its existing test now checks sift_refreshes and keeps the same subset.
    • ask_ahead gets every range.
    • wide_each_scoped, wide_run, the sequential no-op path and the plain sequential path refresh a copy's ranges one after the other.

What is not changed:

  • Parallelism. A copy's ranges are refreshed sequentially on one thread, as its single range was. So no two threads refresh the same copy at once where they did not before.
  • Ranges are more than a page apart, so two ranges never share a page or its write-watch state.
  • The ahead / refresh-front coverage is still one span per copy and is untouched.

Tests

New unit tests, no GPU needed (host::spans_tests):

  • distant_ranges_stay_apart_and_near_ones_join: a gap of exactly a page joins, a page and one byte does not, a bridging range joins all, and insertion below the first range works.
  • spans_match_a_brute_force_join: 2,000 random submissions of 1–12 ranges over a 32-page window, compared with a brute-force join. It checks that no byte asked for is dropped and that the gap between any two kept ranges is more than a page.
  • retain_keeps_what_is_kept.

A test that needs a GPU (#[ignore = "needs a host GPU: run in the GPU window"]), host::batch::distant_refreshes_of_a_copy_are_refreshed_apart. It registers a 16-page title buffer, adds two distant refreshes and one near one through Batch::add, checks the two Spans, flushes, and checks that at most the bytes asked for were copied.

Results on Windows (toolchain pinned in rust-toolchain.toml, Rust 1.98.1; RTX 5090, driver 621.14):

  • Clippy. main (e1251c31) does not pass -D warnings at the moment: 4 warnings without --all-features (field loop_caps is never read in crates/victory-shader/src/emit/lower.rs; manual implementation of .is_multiple_of() in crates/victory-gpu/src/host.rs; match can be simplified with .unwrap_or_default() in crates/victory-hle/src/modules/xmem.rs; method ranged is never used in crates/victory-gpu/src/shadow.rs) and 5 with it (also function mb is never used in crates/victory-gpu/src/copystat.rs). Both CI configurations were therefore run without -D and compared with main's diagnostics. This branch adds none, in either configuration.
  • cargo test --workspace --locked --no-run: builds.
  • Unit tests that need no device, cargo test -p victory-gpu --lib: host::spans_tests: 3 passed, 0 failed; host::refresh_tests: 7 passed, 0 failed.
  • cargo test --workspace --locked --no-fail-fast on the GPU: 2523 passed, 5 failed, 97 ignored (main: 2520 passed, 5 failed, 96 ignored). No new failure: the failures are the ones main has itself (list::thin::tests::bindings_record_no_work, shader_cache::tests::every_switch_of_the_translator_is_in_the_key, modules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it, emit::bitcode::opt::tests::hw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity, policy::tests::repository_passes_policy). host::batch::distant_refreshes_of_a_copy_are_refreshed_apart (ignored, run by name): passed (1 passed, 0 failed).

Performance

There is no micro-benchmark in the repository that isolates this, and the effect does not need timing to show: it is in the bytes a refresh copies. Where a submission asks for distant parts of one buffer, fewer bytes are copied and fewer write-watch pages are queried. In the reproduction above, an unwatched copy goes from up to 12.5 pages copied to at most the 1.25 pages asked for. That bound is asserted by the GPU test. Where every copy is asked for in one range (most copies), the code path does the same work as before, through the inline first range. This is an edge-case improvement, not a frame-time claim.

Risk

  • Correctness. The set of bytes refreshed is a superset of what was asked for (gaps up to 64 KiB are still joined), so nothing asked for is skipped. The only bytes no longer refreshed are the gap that no list asked for in this submission. A later ask for them refreshes them then.
  • Cost. A copy refreshed in many distant pieces now makes several update calls instead of one, and each is a write-watch query of its own range. With the 64 KiB join rule, the number of calls is bounded by the number of separate asks.

Attribution

The idea and the join-within-a-page rule come from upstream Marvisak/VIctory#2428 by borosf (open, not merged). This is an adaptation to this repository's Batch (refresh ahead, wide refresh). The upstream PR also tracks what flushes have copied; that is not needed here, because this Batch keeps no such coverage. The commit carries Co-authored-by: borosf <[email protected]>.

AI assistance: the change, its tests and this description were prepared with an AI coding assistant (Claude Code) and checked by the results above.

🤖 Generated with Claude Code

**@⁠Jineggegg** on GitHub · 2026-12-01 09:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4807) `Jineggegg:disjoint-refresh-ranges` → `main` · +298 −66 · 1 files · 15 commits · closed without merging Based on `main` at `e1251c31`; one commit. ## Problem `Batch::add` (`crates/victory-gpu/src/host.rs`) merges all of one submission's refreshes of a host copy into a single range, by `min`/`max`. So two lists that each ask for 4 KiB, one at each end of a 64 MiB buffer, produce a 64 MiB refresh: - If the copy is not write-watched, `Shadow::update` copies the whole range. The bytes between the two asks are copied for nothing. - If it is write-watched, the watch is asked about the whole span. Pages the title wrote in the gap are copied, although nothing has asked for them yet. ## Reproduction In one submission, issue two refreshes of the same buffer copy, far apart: for example at offset 0 and at offset 12 × 64 KiB, each half a page long. Then flush. - Before: the batch holds one range of 12.5 pages, and for a copy that is not write-watched `PREPARING[1]` (bytes copied) grows by up to 12.5 pages. - After: the batch holds two ranges, and at most the bytes asked for are copied. The GPU test `host::batch::distant_refreshes_of_a_copy_are_refreshed_apart` (below) does exactly this. ## Change - New `Spans`: one copy's ranges to refresh, kept sorted and disjoint. - A new range joins every range it overlaps, or comes within `JOIN_WITHIN` of (one write-watch page, 64 KiB). Ranges it bridges join together. - Ranges farther apart stay separate. - The first range is stored inline, so a copy refreshed in one range (the common case) allocates nothing. - `Batch::refreshes` holds `(copy, Spans)` instead of `(copy, from, to)`. `add`, `flush_one` and `flush_all` go through the ranges. - In `flush_all`: - The batched "known unchanged" query (`nothing_new_all`) gets one entry per range. `Spans::retain` consumes the answers in the same order. - The other paths ask `nothing_new_with` per range, against the same snapshot of what was asked ahead (`ahead_snap`) that `main` uses. - `sift_spans` (one span per copy) becomes `sift_refreshes` (all of a copy's ranges). It is the same parallel, 64-item chunked sift over the same snapshot, and it keeps the `Vec`'s capacity. A copy is kept if any of its ranges may copy something. Its existing test now checks `sift_refreshes` and keeps the same subset. - `ask_ahead` gets every range. - `wide_each_scoped`, `wide_run`, the sequential no-op path and the plain sequential path refresh a copy's ranges one after the other. What is not changed: - Parallelism. A copy's ranges are refreshed **sequentially on one thread**, as its single range was. So no two threads refresh the same copy at once where they did not before. - Ranges are more than a page apart, so two ranges never share a page or its write-watch state. - The `ahead` / refresh-front coverage is still one span per copy and is untouched. ## Tests New unit tests, no GPU needed (`host::spans_tests`): - `distant_ranges_stay_apart_and_near_ones_join`: a gap of exactly a page joins, a page and one byte does not, a bridging range joins all, and insertion below the first range works. - `spans_match_a_brute_force_join`: 2,000 random submissions of 1–12 ranges over a 32-page window, compared with a brute-force join. It checks that no byte asked for is dropped and that the gap between any two kept ranges is more than a page. - `retain_keeps_what_is_kept`. A test that needs a GPU (`#[ignore = "needs a host GPU: run in the GPU window"]`), `host::batch::distant_refreshes_of_a_copy_are_refreshed_apart`. It registers a 16-page title buffer, adds two distant refreshes and one near one through `Batch::add`, checks the two `Spans`, flushes, and checks that at most the bytes asked for were copied. Results on Windows (toolchain pinned in `rust-toolchain.toml`, Rust 1.98.1; RTX 5090, driver 621.14): - Clippy. `main` (`e1251c31`) does not pass `-D warnings` at the moment: 4 warnings without `--all-features` (field `loop_caps` is never read in `crates/victory-shader/src/emit/lower.rs`; manual implementation of `.is_multiple_of()` in `crates/victory-gpu/src/host.rs`; match can be simplified with `.unwrap_or_default()` in `crates/victory-hle/src/modules/xmem.rs`; method `ranged` is never used in `crates/victory-gpu/src/shadow.rs`) and 5 with it (also function `mb` is never used in `crates/victory-gpu/src/copystat.rs`). Both CI configurations were therefore run without `-D` and compared with `main`'s diagnostics. This branch adds none, in either configuration. - `cargo test --workspace --locked --no-run`: builds. - Unit tests that need no device, `cargo test -p victory-gpu --lib`: `host::spans_tests`: 3 passed, 0 failed; `host::refresh_tests`: 7 passed, 0 failed. - `cargo test --workspace --locked --no-fail-fast` on the GPU: 2523 passed, 5 failed, 97 ignored (`main`: 2520 passed, 5 failed, 96 ignored). No new failure: the failures are the ones `main` has itself (`list::thin::tests::bindings_record_no_work`, `shader_cache::tests::every_switch_of_the_translator_is_in_the_key`, `modules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it`, `emit::bitcode::opt::tests::hw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity`, `policy::tests::repository_passes_policy`). `host::batch::distant_refreshes_of_a_copy_are_refreshed_apart` (ignored, run by name): passed (1 passed, 0 failed). ## Performance There is no micro-benchmark in the repository that isolates this, and the effect does not need timing to show: it is in the bytes a refresh copies. Where a submission asks for distant parts of one buffer, fewer bytes are copied and fewer write-watch pages are queried. In the reproduction above, an unwatched copy goes from up to 12.5 pages copied to at most the 1.25 pages asked for. That bound is asserted by the GPU test. Where every copy is asked for in one range (most copies), the code path does the same work as before, through the inline first range. This is an edge-case improvement, not a frame-time claim. ## Risk - Correctness. The set of bytes refreshed is a superset of what was asked for (gaps up to 64 KiB are still joined), so nothing asked for is skipped. The only bytes no longer refreshed are the gap that no list asked for in this submission. A later ask for them refreshes them then. - Cost. A copy refreshed in many distant pieces now makes several `update` calls instead of one, and each is a write-watch query of its own range. With the 64 KiB join rule, the number of calls is bounded by the number of separate asks. ## Attribution The idea and the join-within-a-page rule come from upstream [Marvisak/VIctory#2428](https://github.com/Marvisak/VIctory/pull/2428) by **borosf** (open, not merged). This is an adaptation to this repository's `Batch` (refresh ahead, wide refresh). The upstream PR also tracks what flushes have copied; that is not needed here, because this `Batch` keeps no such coverage. The commit carries `Co-authored-by: borosf <[email protected]>`. AI assistance: the change, its tests and this description were prepared with an AI coding assistant (Claude Code) and checked by the results above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`slots_showing` took the slot's `Made` key with `?`, but `Made` has keys
for the title's `count` slots only while `kept` also has the dynamic
ones: a host texture shown by a dynamic slot was no longer reported, so
it was no longer blocked and could be chosen (freeing nothing, as the
dynamic slot holds a reference, while the title made a second copy).
Those slots are reported again with key 0, as before the key was carried;
they are never put back to waiting, only counted as blocking. Test:
`a_dynamic_slot_showing_a_texture_still_blocks_its_eviction`.

`SLOT_LOOKING` is now cleared by a drop guard, so a look that panics does
not stop every later look.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit b23c0c4038)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A submission's refreshes of one host copy were merged into the one range
covering them (`min`/`max`): two lists asking for 4 KiB at either end of
a 64 MiB buffer refreshed the whole 64 MiB. Where the copy is not
write-watched, `update` copies all of it; where it is, the write watch is
asked about all of it and pages the title wrote between the two ranges
are copied though nothing asked for them yet.

A copy's refreshes are now kept as disjoint ranges (`Spans`): what a
range overlaps, or lies within a write-watch page (64 KiB) of, joins it,
and ranges it bridges join together; distant ranges stay apart. The
first range is held inline, so a copy refreshed in one range (most)
allocates nothing. A copy's ranges are refreshed one after the other on
one thread, as its one range was, so nothing about refreshing one copy
runs concurrently that did not before. Ranges are more than a page
apart, so no two share a page or its write-watch state. What is known to
copy nothing is still sifted out, per range now: `sift_spans` (one span
a copy) becomes `sift_refreshes` (a copy's ranges), the same chunked
parallel sift over the same snapshot of what was asked ahead.

The idea and the join-within-a-page rule are from Marvisak/VIctory#2428
(borosf), adapted to this Batch (refresh ahead, wide refresh); the
upstream PR's tracking of what flushes copied is not needed here, as
this Batch keeps no such coverage.

Tests: the join rule against a brute force over random submissions,
`retain`; a Batch test that needs a host GPU is #[ignore]d for a GPU
window (`distant_refreshes_of_a_copy_are_refreshed_apart`).

Co-authored-by: borosf <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 09:39:52 +00:00
Author
Owner

@⁠KruIN689 on GitHub · 2026-12-01 10:36 UTC · original

Independent in-game test: neutral on a CPU-bound PC with hardware RT.

Setup

  • Hardware: RTX 5080 16 GB, Ryzen 9 9950X3D, Windows 11.
  • Builds: release builds of Lyrnc/palmlight main 5d627f85, which carries upstream 84bd61e2 plus #4760's port. One build as is ("main"); one with this PR's 22e0b79e cherry-picked. Only host.rs changes; it applies cleanly to that tree although GitHub shows the PR as conflicting.
  • Settings: VICTORY_HW_RT=1, Series X native 1440p.
  • Runs: the same save, then 6 minutes of scripted walking and driving per run, six runs in one session in turns (PR, main ×3). Gameplay seconds only.
run fps submitting thread refreshes preparing copies frames over 50 ms per 1000 over 100 ms BLAS built
PR 26.9 30.0 ms 11.6 ms 25.1 ms 86.8 MB 183.7 36 22.2 k
main 28.6 26.1 ms 9.3 ms 21.9 ms 69.1 MB 59.8 3 20.0 k
PR 28.8 29.7 ms 11.0 ms 24.8 ms 82.8 MB 86.5 4 16.1 k
main 29.8 27.9 ms 10.5 ms 23.9 ms 77.6 MB 84.5 5 23.6 k
PR 29.6 28.8 ms 10.9 ms 24.6 ms 77.0 MB 76.6 3 20.4 k
main 25.9 32.8 ms 13.2 ms 27.9 ms 93.5 MB 81.7 35 30.8 k

What I read from it

  • fps averages 28.4 with the PR and 28.1 without, a tie within this session's noise. The refresh time on the submitting thread doesn't move either: 10.9–11.6 ms against 9.3–13.2 ms. So in this game's roaming, refreshes far apart in one copy within one submission don't seem to be where the refresh time goes. Or the bytes saved are small next to the per-range costs.
  • The first PR run had one 3.1 s frame in its sixth minute. The last main run had an 827 ms one at about the same point. Earlier today I saw a 3.5 s frame at the same point in a run without this PR. So I take it to be a spot on the route, not this change.
  • No lost device or hang, and the same error/warning line count (86–87). cargo test -p victory-gpu --lib batch gives 30 passed, 4 ignored.

Limits

  • One session, three pairs, release builds. I didn't count the bytes the refreshes copy (that needs a diagnostics build), so I can't say how often the split case happens here.

Tested with the help of Claude Code (Claude Opus 5.5).

**@⁠KruIN689** on GitHub · 2026-12-01 10:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4807#issuecomment-7308443316) **Independent in-game test: neutral on a CPU-bound PC with hardware RT.** **Setup** - Hardware: RTX 5080 16 GB, Ryzen 9 9950X3D, Windows 11. - Builds: release builds of Lyrnc/palmlight main 5d627f85, which carries upstream 84bd61e2 plus #4760's port. One build as is ("main"); one with this PR's 22e0b79e cherry-picked. Only `host.rs` changes; it applies cleanly to that tree although GitHub shows the PR as conflicting. - Settings: `VICTORY_HW_RT=1`, Series X native 1440p. - Runs: the same save, then 6 minutes of scripted walking and driving per run, six runs in one session in turns (PR, main ×3). Gameplay seconds only. | run | fps | submitting thread | refreshes | preparing | copies | frames over 50 ms per 1000 | over 100 ms | BLAS built | |---|---|---|---|---|---|---|---|---| | PR | 26.9 | 30.0 ms | 11.6 ms | 25.1 ms | 86.8 MB | 183.7 | 36 | 22.2 k | | main | 28.6 | 26.1 ms | 9.3 ms | 21.9 ms | 69.1 MB | 59.8 | 3 | 20.0 k | | PR | 28.8 | 29.7 ms | 11.0 ms | 24.8 ms | 82.8 MB | 86.5 | 4 | 16.1 k | | main | 29.8 | 27.9 ms | 10.5 ms | 23.9 ms | 77.6 MB | 84.5 | 5 | 23.6 k | | PR | 29.6 | 28.8 ms | 10.9 ms | 24.6 ms | 77.0 MB | 76.6 | 3 | 20.4 k | | main | 25.9 | 32.8 ms | 13.2 ms | 27.9 ms | 93.5 MB | 81.7 | 35 | 30.8 k | **What I read from it** - **fps averages 28.4 with the PR and 28.1 without, a tie within this session's noise.** The refresh time on the submitting thread doesn't move either: 10.9–11.6 ms against 9.3–13.2 ms. So in this game's roaming, refreshes far apart in one copy within one submission don't seem to be where the refresh time goes. Or the bytes saved are small next to the per-range costs. - **The first PR run had one 3.1 s frame in its sixth minute.** The last main run had an 827 ms one at about the same point. Earlier today I saw a 3.5 s frame at the same point in a run without this PR. So I take it to be a spot on the route, not this change. - **No lost device or hang, and the same error/warning line count (86–87).** `cargo test -p victory-gpu --lib batch` gives 30 passed, 4 ignored. **Limits** - One session, three pairs, release builds. I didn't count the bytes the refreshes copy (that needs a diagnostics build), so I can't say how often the split case happens here. *Tested with the help of Claude Code (Claude Opus 5.5).*
Author
Owner

@⁠KruIN689 on GitHub · 2026-12-01 10:37 UTC · original

Correction on the 3.1 s frame above: it was a compute program met for the first time, made inline. The log shows compute pipelines: this frame waited its most for them ... waited_ms=5919, and the run saved 8 new pipelines to the library. That is the deliberate first-run wait (VICTORY_PIPELINE_COMPUTE_WAIT_MS, 3 s, with one make running over it). It has nothing to do with this PR or with the route. The verdict stays neutral.

Claude Code (Claude Opus 5.5).

**@⁠KruIN689** on GitHub · 2026-12-01 10:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4807#issuecomment-7308472865) Correction on the 3.1 s frame above: it was a compute program met for the first time, made inline. The log shows `compute pipelines: this frame waited its most for them ... waited_ms=5919`, and the run saved 8 new pipelines to the library. That is the deliberate first-run wait (`VICTORY_PIPELINE_COMPUTE_WAIT_MS`, 3 s, with one make running over it). It has nothing to do with this PR or with the route. The verdict stays neutral. *Claude Code (Claude Opus 5.5).*
main was rewritten after this branch was made: e1251c31 and the 13 commits
before it are no longer on main, so GitHub showed the branch as conflicting
(in host/menu.rs and modules/xmem.rs, which this branch does not change).
This merge takes main as it is now and keeps only this branch's change,
which applies to it without conflicts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠tillo88 on GitHub · 2026-12-01 15:26 UTC · original

Measured this PR (head 52d9c5ff) merged on top of v2026.11.30.03 (it applied without conflicts), 2 runs, against the release as it is.

fps submitting thread ms refresh ms p95 ms p99 ms
v2026.11.30.03, 21 runs (mean, range) 32.01 (31.49–32.46) 20.51 6.43 48.3 63.7
with #4808, run 1 31.75 20.05 6.20 47.4 69.4
with #4808, run 2 32.10 20.28 6.30 47.3 60.1
  • No measurable difference: 31.93 vs 32.01 fps (-0.3%). Base runs on this route spread 31.49–32.46 fps (sd 0.21).
  • Refresh time was 6.20 and 6.30 ms a frame against a base mean of 6.43, but inside the base runs' range (6.19–6.93), so it does not show a clear drop either. The release build has no counter of the bytes a refresh copies, so I can't say how often the split case happened on this route.
  • No crash in 3 runs (warm-up included).

Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up run not counted for speed.

Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.

**@⁠tillo88** on GitHub · 2026-12-01 15:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4807#issuecomment-7315902835) Measured this PR (head 52d9c5ff) merged on top of **v2026.11.30.03** (it applied without conflicts), 2 runs, against the release as it is. | | fps | submitting thread ms | refresh ms | p95 ms | p99 ms | |---|---|---|---|---|---| | v2026.11.30.03, 21 runs (mean, range) | 32.01 (31.49–32.46) | 20.51 | 6.43 | 48.3 | 63.7 | | with #4808, run 1 | 31.75 | 20.05 | 6.20 | 47.4 | 69.4 | | with #4808, run 2 | 32.10 | 20.28 | 6.30 | 47.3 | 60.1 | - **No measurable difference:** 31.93 vs 32.01 fps (-0.3%). Base runs on this route spread 31.49–32.46 fps (sd 0.21). - Refresh time was 6.20 and 6.30 ms a frame against a base mean of 6.43, but inside the base runs' range (6.19–6.93), so it does not show a clear drop either. The release build has no counter of the bytes a refresh copies, so I can't say how often the split case happened on this route. - No crash in 3 runs (warm-up included). Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up run not counted for speed. Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
github-bot closed this pull request 2026-12-01 18:36:30 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:31 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4807#issuecomment-7321087923) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4808
No description provided.