GPU diagnostics: sample pages the watch calls unchanged against title memory #2627

Open
r4tedx wants to merge 1 commit from upstream-pr/2629 into main
r4tedx commented 2026-11-25 17:12:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by r4tedx on 2026-11-25T17:12:12Z.


What it changes

This is in the diagnostics feature only and is off unless asked for. Release builds do not change.

  • When it runs: VICTORY_STALE_CHECK=N makes the first submission of each presented frame check its share of the copies. That is one host copy in N, round robin over shadow::all(). The check runs under the submission lock and before any refresh, so nothing is armed or pending.
  • What it compares: every page the copy's tracker calls unchanged, compared with title memory.
  • What a difference means: a write the tracking missed. Either the title wrote through a path that neither faults nor reports, or the shaders wrote through a view nobody declared or marked.
  • What it passes by:
    • pages the title writes during the compare (asked again after a difference: a guard fault marks the page before the write lands);
    • pages with nothing mapped;
    • untracked parts;
    • pages whose withheld shader writes stay in the copies until the frame's end (memory::withheld_until_frame_end).
  • Values: 1 checks every copy every frame. fix checks every copy and also copies the pages that differ, for an A/B of the picture. Any other value means one in 64. Unset, empty or 0 means off.
  • Output (a periodic line with the frame statistics):
    stale check over F frames (one copy in N a frame): C copies, P pages the write tracking called unchanged compared with title memory, D of them differed (B bytes), T in all; first: <up to 10 addresses>
    It prints addresses and counts only, no bytes.

This differs from ka1qux's version in one way. Theirs checks at each update of a copy. Main never updates a copy that its tracker calls clean, so a check there would never see those copies. The frame sweep does see them, and they are the case where a missed write leaves a copy stale for good.

Tests (WARP, --features diagnostics)

  • the_stale_check_finds_writes_the_tracking_missed:
    • A three-page copy is checked with no misses: 3 pages compared, none differ.
    • The title writes page 0 through its guard (changed: passed by). Page 1's guard is opened behind the tracking's back and 2 bytes are written: 2 pages compared, and exactly page 1 is found, with 2 bytes.
    • fix copies page 1, and the next check finds nothing.
    • While a range is declared as written by shaders, the copy is not checked.
  • stale_check_settings: the values above.

Results: victory-gpu WARP 200 passed / 0 failed / 1 ignored; clippy clean with and without diagnostics

What a title run should show

The line, with the target 0 of them differed. Any other count names a missed writer, and the first addresses say where to look. Per the design, N = 64 should cost under about 1 % of preparing. That has not been measured: no title run has been made with this change yet.

Credit

The idea, the variable name and fix come from @ka1qux's VICTORY_STALE_CHECK (30a71b7c on their fork, GPL-3.0-or-later). It is rewritten here for main's copies, and the commit carries ka1qux as co-author.

The title was not used in these tests.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:5495788518 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629). Originally posted by [r4tedx](https://github.com/r4tedx) on 2026-11-25T17:12:12Z. --- ### What it changes This is in the `diagnostics` feature only and is off unless asked for. Release builds do not change. - **When it runs:** `VICTORY_STALE_CHECK=N` makes the first submission of each presented frame check its share of the copies. That is one host copy in N, round robin over `shadow::all()`. The check runs under the submission lock and before any refresh, so nothing is armed or pending. - **What it compares:** every page the copy's tracker calls unchanged, compared with title memory. - **What a difference means:** a write the tracking missed. Either the title wrote through a path that neither faults nor reports, or the shaders wrote through a view nobody declared or marked. - **What it passes by:** - pages the title writes during the compare (asked again after a difference: a guard fault marks the page before the write lands); - pages with nothing mapped; - untracked parts; - pages whose withheld shader writes stay in the copies until the frame's end (`memory::withheld_until_frame_end`). - **Values:** `1` checks every copy every frame. `fix` checks every copy and also copies the pages that differ, for an A/B of the picture. Any other value means one in 64. Unset, empty or `0` means off. - **Output** (a periodic line with the frame statistics): `stale check over F frames (one copy in N a frame): C copies, P pages the write tracking called unchanged compared with title memory, D of them differed (B bytes), T in all; first: <up to 10 addresses>` It prints addresses and counts only, no bytes. This differs from ka1qux's version in one way. Theirs checks at each update of a copy. Main never updates a copy that its tracker calls clean, so a check there would never see those copies. The frame sweep does see them, and they are the case where a missed write leaves a copy stale for good. ### Tests (WARP, `--features diagnostics`) - `the_stale_check_finds_writes_the_tracking_missed`: - A three-page copy is checked with no misses: 3 pages compared, none differ. - The title writes page 0 through its guard (changed: passed by). Page 1's guard is opened behind the tracking's back and 2 bytes are written: 2 pages compared, and exactly page 1 is found, with 2 bytes. - `fix` copies page 1, and the next check finds nothing. - While a range is declared as written by shaders, the copy is not checked. - `stale_check_settings`: the values above. Results: victory-gpu WARP 200 passed / 0 failed / 1 ignored; clippy clean with and without diagnostics ### What a title run should show The line, with the target `0 of them differed`. Any other count names a missed writer, and the first addresses say where to look. Per the design, N = 64 should cost under about 1 % of preparing. That has not been measured: no title run has been made with this change yet. ### Credit The idea, the variable name and `fix` come from @ka1qux's `VICTORY_STALE_CHECK` (30a71b7c on their fork, GPL-3.0-or-later). It is rewritten here for main's copies, and the commit carries ka1qux as co-author. The title was not used in these tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kotekompotek commented 2026-11-25 18:02:53 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T17:52:22Z.


Reviewed: VICTORY_STALE_CHECK samples pages the watch calls unchanged and compares them against live title memory — catching the failure mode where a page's write went unseen. The withheld_until_frame_end exemption is necessary and correct (intentional divergence, not a missed refresh). Diagnostics-only, zero cost otherwise. CI green.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170117843 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#issuecomment-7170117843). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T17:52:22Z. --- Reviewed: `VICTORY_STALE_CHECK` samples pages the watch calls unchanged and compares them against live title memory — catching the failure mode where a page's write went unseen. The `withheld_until_frame_end` exemption is necessary and correct (intentional divergence, not a missed refresh). Diagnostics-only, zero cost otherwise. CI green.
Marvisak commented 2026-11-25 23:06:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:20:35Z.


Automated triage for the maintainers.

Thanks for the in-game runs: across about 19 million page compares, no page the tracking called unchanged had changed. That fills the gap noted earlier. Same head, verdict unchanged (merge candidate). CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7176242576 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#issuecomment-7176242576). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T22:20:35Z. --- <!-- victory-triage v1 head=bba19981021bd38daaab13558cbe8d6ec71447ac verdict=merge-candidate at=2026-11-26T07:18:24Z --> Automated triage for the maintainers. Thanks for the in-game runs: across about 19 million page compares, no page the tracking called unchanged had changed. That fills the gap noted earlier. Same head, verdict unchanged (merge candidate). CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
futurepro62 commented 2026-11-26 01:04:03 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by futurepro62 on 2026-11-26T00:22:58Z.


Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head bba1998 (on its base f3578e3).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), dxil.dll from Windows SDK 10.0.26100 (the loader's default), debug.
  • cargo build --workspace --locked, then cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 863 passed, 0 failed, 10 ignored.
  • The new tests only build with the diagnostics feature, so the run above doesn't include them. Run on their own: cargo test -p victory-gpu --lib --locked --features diagnostics stale_check: the_stale_check_finds_writes_the_tracking_missed and stale_check_settings pass (2 passed, 0 failed).
  • --skip leaves out tests that fail on main 842b0cb on this card too, not because of this PR: heap_direct_texture_reads_mark_their_heap_index ends the victory-shader test process with 0xc0000005 (#2571), so without the skip the rest of that crate never reports; dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views and the two stride_tests hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); gathers_at_a_level_match_the_hardware fails on lane 0 (#1744).

Not tested

  • AMD (the tests take the default adapter), a release build, the title (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7178697003 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#issuecomment-7178697003). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T00:22:58Z. --- Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head `bba1998` (on its base `f3578e3`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), `dxil.dll` from Windows SDK 10.0.26100 (the loader's default), debug. - `cargo build --workspace --locked`, then `cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware`: **863 passed, 0 failed, 10 ignored**. - The new tests only build with the `diagnostics` feature, so the run above doesn't include them. Run on their own: `cargo test -p victory-gpu --lib --locked --features diagnostics stale_check`: `the_stale_check_finds_writes_the_tracking_missed` and `stale_check_settings` pass (**2 passed, 0 failed**). - `--skip` leaves out tests that fail on main `842b0cb` on this card too, not because of this PR: `heap_direct_texture_reads_mark_their_heap_index` ends the `victory-shader` test process with `0xc0000005` (#2571), so without the skip the rest of that crate never reports; `dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views` and the two `stride_tests` hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); `gathers_at_a_level_match_the_hardware` fails on lane 0 (#1744). **Not tested** - AMD (the tests take the default adapter), a release build, the title (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
fuzeofficlal commented 2026-11-26 01:04:09 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T00:36:00Z.


Code review and hardware + WARP verification at head bba19981021b merged cleanly onto main (63bcca43c6a0):

  • Code review: Entirely gated behind #[cfg(feature = "diagnostics")] across host.rs, memory.rs, and shadow.rs (zero default-build impact). check_stale runs under self.submitted at submit entry (at most once per presented frame); stale_pages properly excludes dirty (t.changed(page)), untracked, withheld_until_frame_end, and pending shader-write pages. Reading title memory through host::read_into (ReadProcessMemory) leaves page protections intact without triggering the watch.rs VEH handler, and re-checking t.changed(page) after comparison cleanly filters concurrent title writes racing the read.
  • Verified (Windows 11, NVIDIA RTX 5090 + WARP, VICTORY_D3D12_DEBUG=1, Rust 1.98.1):
    • cargo xtask policy: 191 files ok
    • cargo clippy --locked -p victory-gpu --tests -- -D warnings (default + --features diagnostics): 0 warnings
    • Default shadow::tests watch::tests: 24/24 passed
    • RTX 5090 (--features diagnostics, VICTORY_D3D12_DEBUG=1, shadow::tests watch::tests host::tests excluding descriptor::/pipeline::): 38/38 passed (including stale_check_settings and the_stale_check_finds_writes_the_tracking_missed)
    • WARP (--features diagnostics, VICTORY_D3D12_DEBUG=1, same filter): 38/38 passed

Looks clean and ready to merge.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7178923562 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#issuecomment-7178923562). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T00:36:00Z. --- Code review and hardware + WARP verification at head `bba19981021b` merged cleanly onto `main` (`63bcca43c6a0`): - **Code review**: Entirely gated behind `#[cfg(feature = "diagnostics")]` across `host.rs`, `memory.rs`, and `shadow.rs` (zero default-build impact). `check_stale` runs under `self.submitted` at submit entry (at most once per presented frame); `stale_pages` properly excludes dirty (`t.changed(page)`), untracked, `withheld_until_frame_end`, and pending shader-write pages. Reading title memory through `host::read_into` (`ReadProcessMemory`) leaves page protections intact without triggering the `watch.rs` VEH handler, and re-checking `t.changed(page)` after comparison cleanly filters concurrent title writes racing the read. - **Verified (Windows 11, NVIDIA RTX 5090 + WARP, `VICTORY_D3D12_DEBUG=1`, Rust 1.98.1)**: - `cargo xtask policy`: `191 files ok` - `cargo clippy --locked -p victory-gpu --tests -- -D warnings` (default + `--features diagnostics`): 0 warnings - Default `shadow::tests watch::tests`: 24/24 passed - RTX 5090 (`--features diagnostics`, `VICTORY_D3D12_DEBUG=1`, `shadow::tests watch::tests host::tests` excluding `descriptor::`/`pipeline::`): 38/38 passed (including `stale_check_settings` and `the_stale_check_finds_writes_the_tracking_missed`) - WARP (`--features diagnostics`, `VICTORY_D3D12_DEBUG=1`, same filter): 38/38 passed Looks clean and ready to merge.
r4tedx commented 2026-11-26 05:04:06 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by r4tedx on 2026-11-26T04:21:37Z.


In-game result for the stale check, as triage asked: two runs with VICTORY_STALE_CHECK=1 on an RTX 5070 (12 GB, Windows 11), the same open-world save. The build is our play line on main 781e846d with this PR cherry-picked (it needs none of the 24 commits after its parent), diagnostics on.

run stale-check lines frames covered pages the write tracking called unchanged, compared differed
1 (stopped about 1:43 in, while loading; see below) 30 1,964 8,929,705 0 (0 bytes)
2 (the full 6 min, with main's 219878a0) 59 1,734 10,216,128 0 (0 bytes)

So over 89 lines and about 19 million page compares, the write tracking never called a page unchanged that wasn't. Neither run had a device removal. Run 1 crashed during loading on a null view in alias_source, which is main 781e846d's own bug, fixed by main's 219878a0 and unrelated to this PR; its 30 lines are from before that point. Run 2 carries 219878a0 and ran the full 6 minutes, into the world.

One caveat on what this covers: that play line's picture is wrong for other reasons we're still tracing, outside this PR's code (this PR only reads and compares). The pages compared are the ones the title wrote through that run, so the result holds for the tracking, not for the picture.

Local title data was used for these runs; only the counts from the diagnostics lines are given here.

AI-assisted

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182525935 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#issuecomment-7182525935). Originally posted by [r4tedx](https://github.com/r4tedx) on 2026-11-26T04:21:37Z. --- In-game result for the stale check, as triage asked: two runs with `VICTORY_STALE_CHECK=1` on an RTX 5070 (12 GB, Windows 11), the same open-world save. The build is our play line on `main` 781e846d with this PR cherry-picked (it needs none of the 24 commits after its parent), diagnostics on. | run | stale-check lines | frames covered | pages the write tracking called unchanged, compared | differed | |---|---:|---:|---:|---:| | 1 (stopped about 1:43 in, while loading; see below) | 30 | 1,964 | 8,929,705 | 0 (0 bytes) | | 2 (the full 6 min, with main's 219878a0) | 59 | 1,734 | 10,216,128 | 0 (0 bytes) | So over 89 lines and about 19 million page compares, the write tracking never called a page unchanged that wasn't. Neither run had a device removal. Run 1 crashed during loading on a null view in `alias_source`, which is main 781e846d's own bug, fixed by main's 219878a0 and unrelated to this PR; its 30 lines are from before that point. Run 2 carries 219878a0 and ran the full 6 minutes, into the world. One caveat on what this covers: that play line's picture is wrong for other reasons we're still tracing, outside this PR's code (this PR only reads and compares). The pages compared are the ones the title wrote through that run, so the result holds for the tracking, not for the picture. Local title data was used for these runs; only the counts from the diagnostics lines are given here. AI-assisted
fuzeofficlal commented 2026-11-26 14:29:00 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T14:29:00Z.

Review: APPROVED


Reviewed bba19981021bd38daaab13558cbe8d6ec71447ac merged cleanly onto main (63bcca43c6a0) and verified on Windows 11 x64 (NVIDIA GeForce RTX 5090 + Microsoft WARP, VICTORY_D3D12_DEBUG=1, Rust 1.98.1).

Code Review

  • Strict diagnostics gating (crates/victory-gpu/src/host.rs:1146,3113, memory.rs:348, shadow.rs:690,1212-1315): All stale-check code and state are compiled out unless --features diagnostics is enabled, leaving default and release builds untouched.
  • Safety & concurrency (shadow.rs:690-740, memory.rs:348): check_stale runs under self.submitted at submit entry (at most once per presented frame); stale_pages skips copies with pending shader writes, dirty pages (t.changed(page)), untracked subranges, and withheld_until_frame_end ranges. Reading through host::read_into (ReadProcessMemory) leaves page guards intact and safely skips unmapped/decommitted pages without faulting, while the post-compare t.changed(page) recheck filters concurrent title writes racing the read.

Verification (RTX 5090 + WARP + VICTORY_D3D12_DEBUG=1, Rust 1.98.1)

  • cargo run --locked -p xtask -- policy: 191 files ok.
  • cargo clippy --locked -p victory-gpu --all-targets -- -D warnings (default and --features diagnostics): 0 warnings.
  • cargo check --release --locked -p victory-gpu: clean (zero diagnostics code compiled).
  • Default shadow:: watch:: (RTX 5090): 25/25 passed.
  • --features diagnostics + VICTORY_D3D12_DEBUG=1:
    • RTX 5090 shadow:: watch::: 27/27 passed (including the_stale_check_finds_writes_the_tracking_missed and stale_check_settings).
    • WARP shadow:: watch:: memory::: 35/35 passed.
  • Additional probe on both RTX 5090 and WARP (VICTORY_D3D12_DEBUG=1): verified stale_pages(false) safely skips an unmapped MEM_RESERVE/PAGE_NOACCESS middle page without AV (compared=2, differ=[]), skips a diverging page registered via memory::drop_withheld (compared=1, differ=[]), and continues skipping it cleanly after memory::log_frame() triggers retake_dropped (compared=1, differ=[]).
  • Combined merge check with #2612: merges cleanly, clippy (--all-features) clean, shadow:: watch:: 35/35 passed on RTX 5090 and shadow:: watch:: memory:: 43/43 passed on WARP (both with --features diagnostics and VICTORY_D3D12_DEBUG=1).

LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:review:6075833656 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#pullrequestreview-6075833656). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T14:29:00Z. **Review:** APPROVED --- Reviewed `bba19981021bd38daaab13558cbe8d6ec71447ac` merged cleanly onto `main` (`63bcca43c6a0`) and verified on Windows 11 x64 (NVIDIA GeForce RTX 5090 + Microsoft WARP, `VICTORY_D3D12_DEBUG=1`, Rust `1.98.1`). ### Code Review - **Strict diagnostics gating (`crates/victory-gpu/src/host.rs:1146,3113`, `memory.rs:348`, `shadow.rs:690,1212-1315`)**: All stale-check code and state are compiled out unless `--features diagnostics` is enabled, leaving default and release builds untouched. - **Safety & concurrency (`shadow.rs:690-740`, `memory.rs:348`)**: `check_stale` runs under `self.submitted` at submit entry (at most once per presented frame); `stale_pages` skips copies with pending shader writes, dirty pages (`t.changed(page)`), untracked subranges, and `withheld_until_frame_end` ranges. Reading through `host::read_into` (`ReadProcessMemory`) leaves page guards intact and safely skips unmapped/decommitted pages without faulting, while the post-compare `t.changed(page)` recheck filters concurrent title writes racing the read. ### Verification (RTX 5090 + WARP + `VICTORY_D3D12_DEBUG=1`, Rust `1.98.1`) - `cargo run --locked -p xtask -- policy`: `191 files ok`. - `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` (default and `--features diagnostics`): 0 warnings. - `cargo check --release --locked -p victory-gpu`: clean (zero diagnostics code compiled). - Default `shadow:: watch::` (RTX 5090): **25/25 passed**. - `--features diagnostics` + `VICTORY_D3D12_DEBUG=1`: - RTX 5090 `shadow:: watch::`: **27/27 passed** (including `the_stale_check_finds_writes_the_tracking_missed` and `stale_check_settings`). - WARP `shadow:: watch:: memory::`: **35/35 passed**. - Additional probe on both RTX 5090 and WARP (`VICTORY_D3D12_DEBUG=1`): verified `stale_pages(false)` safely skips an unmapped `MEM_RESERVE`/`PAGE_NOACCESS` middle page without AV (`compared=2, differ=[]`), skips a diverging page registered via `memory::drop_withheld` (`compared=1, differ=[]`), and continues skipping it cleanly after `memory::log_frame()` triggers `retake_dropped` (`compared=1, differ=[]`). - Combined merge check with `#2612`: merges cleanly, clippy (`--all-features`) clean, `shadow:: watch::` **35/35 passed** on RTX 5090 and `shadow:: watch:: memory::` **43/43 passed** on WARP (both with `--features diagnostics` and `VICTORY_D3D12_DEBUG=1`). LGTM.
Dukestar69 commented 2026-11-26 23:50:42 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-26T23:50:42Z.

Review: APPROVED


LGTM — verified on RTX 5090 (Windows / D3D12) against origin/main (63bcca4).

  • Sampling watch-unchanged pages against title memory under --features diagnostics builds and passes cleanly in both default and diagnostics configurations.
  • cargo test -p victory-gpu --lib --features diagnostics shadow:: -- --test-threads=1: all passed.
  • cargo clippy -p victory-gpu --all-targets -- -D warnings (default + --features diagnostics): clean.
  • cargo xtask policy: 191 files ok.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6081688483 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2629#pullrequestreview-6081688483). Originally posted by [Dukestar69](https://github.com/Dukestar69) on 2026-11-26T23:50:42Z. **Review:** APPROVED --- LGTM — verified on RTX 5090 (Windows / D3D12) against `origin/main` (`63bcca4`). - Sampling watch-unchanged pages against title memory under `--features diagnostics` builds and passes cleanly in both default and diagnostics configurations. - `cargo test -p victory-gpu --lib --features diagnostics shadow:: -- --test-threads=1`: all passed. - `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default + `--features diagnostics`): clean. - `cargo xtask policy`: 191 files ok. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
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/2629:upstream-pr/2629'
git switch 'upstream-pr/2629'

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/2629'
git switch 'upstream-pr/2629'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2629'
git switch 'upstream-pr/2629'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2629'
git switch 'main'
git merge --squash 'upstream-pr/2629'
git switch 'main'
git merge --ff-only 'upstream-pr/2629'
git switch 'main'
git merge 'upstream-pr/2629'
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
Marvisak/VIctory!2627
No description provided.