perf(hle,gpu): default-on batched map_aliases lock and scoped descriptor note gathering #275

Closed
Androtim wants to merge 0 commits from upstream-pr/275 into main
Androtim commented 2026-12-01 00:42:17 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T00:42:17Z.


Summary

Makes batched map_aliases locking and scoped descriptor invalidation note gathering default-on (replacing per-range lock acquisition / per-range REMAPPED locking on the CPU submission/remapping path; VICTORY_MAP_ONCE=0 acts as a kill-switch):

  • Coalesced alias_all & default-on map_once (crates/victory-hle/src/modules/xmem.rs):
    • aliases_of coalesces contiguous single-page mappings from the same constant source page into Alias { constant: true } spans (alias_constant unmaps once and places per-page views).
    • one_after_another maps all ranges under a single title_memory_remapping() + physical() acquisition (alias_all).
    • On the parallel map_aliases_by_page path, title_memory_notes_gathered is scoped inside each while at < pages.len() group lock so notes flush cleanly before locks are dropped between groups.
    • Default-on (VICTORY_MAP_ONCE=0 disables; VICTORY_REMAP_TIMING removed).
  • Scoped descriptor note gathering (crates/victory-gpu/src/descriptor/host.rs, watch.rs, lib.rs):
    • Buffers per-range remapped calls into thread-local GATHERED inside remapped_gathered and flushes once via remapped_ranges under a single REMAPPED mutex acquisition.
    • remapped_gathered_batches_notes_until_outer_exit tests remapped_gathered_into locally without touching process-global SPANNED or REMAPPED.
<!-- greyfinch-sync:Androtim/MiniVI:issue:5576524556 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T00:42:17Z. --- ### Summary Makes batched `map_aliases` locking and scoped descriptor invalidation note gathering default-on (replacing per-range lock acquisition / per-range `REMAPPED` locking on the CPU submission/remapping path; `VICTORY_MAP_ONCE=0` acts as a kill-switch): - **Coalesced `alias_all` & default-on `map_once` (`crates/victory-hle/src/modules/xmem.rs`)**: - `aliases_of` coalesces contiguous single-page mappings from the same constant source page into `Alias { constant: true }` spans (`alias_constant` unmaps once and places per-page views). - `one_after_another` maps all ranges under a single `title_memory_remapping()` + `physical()` acquisition (`alias_all`). - On the parallel `map_aliases_by_page` path, `title_memory_notes_gathered` is scoped inside each `while at < pages.len()` group lock so notes flush cleanly before locks are dropped between groups. - Default-on (`VICTORY_MAP_ONCE=0` disables; `VICTORY_REMAP_TIMING` removed). - **Scoped descriptor note gathering (`crates/victory-gpu/src/descriptor/host.rs`, `watch.rs`, `lib.rs`)**: - Buffers per-range `remapped` calls into thread-local `GATHERED` inside `remapped_gathered` and flushes once via `remapped_ranges` under a single `REMAPPED` mutex acquisition. - `remapped_gathered_batches_notes_until_outer_exit` tests `remapped_gathered_into` locally without touching process-global `SPANNED` or `REMAPPED`.
Androtim commented 2026-12-01 01:05:35 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:05:35Z.


Automated triage for the maintainers (not an approval).

Verdict: needs-gpu-test · CI (check): passing

Review Summary

CI is passing and the logic looks solid, with clean RAII panic safety and targeted unit tests. Because this enables batched map_aliases locking and scoped descriptor invalidation note gathering by default (VICTORY_MAP_ONCE defaults to on) across the D3D12 descriptor host (crates/victory-gpu/src/descriptor/host.rs) and HLE page-mapping path (crates/victory-hle/src/modules/xmem.rs), a local real-GPU smoke test is warranted before merging.

What Was Verified

  • Scoped descriptor note gathering (crates/victory-gpu/src/descriptor/host.rs, watch.rs, lib.rs):
    • remapped_gathered / remapped_gathered_into buffers remapped spans in thread-local GATHERED and flushes once via remapped_ranges inside Flush::drop.
    • Nesting is handled safely (if GATHERED.with_borrow(Option::is_some) { return f(); }) and GATHERED is taken before invoking flush, preventing RefCell re-entrancy panics.
    • remapped_ranges lazily acquires REMAPPED only when at least one span overlaps SPANNED, preserving STALE[1]/STALE[2] accounting and acquiring REMAPPED under a subset of the locks previously held (while _changing and physical are still held, before releasing them to readers).
    • Unit test remapped_gathered_batches_notes_until_outer_exit exercises nested gathering and outer-only flushing without mutating global SPANNED/REMAPPED.
  • Batched map_aliases & constant-page coalescing (crates/victory-hle/src/modules/xmem.rs):
    • alias_as -> alias_held is a clean lock-hoisting refactor.
    • aliases_of coalesces only contiguous PAGE-sized non-zero-source mappings sharing the same from page (last.constant || last.len == PAGE), avoiding accidental merges with multi-page non-constant spans or unmaps; covered by pages_from_one_constant_page_join_into_one_range.
    • alias_constant checks overlap (from < to + len && to < from + PAGE) and falls back to per-page alias_held when source and destination overlap, unmaps once otherwise, and preserves MAPPING[15] stream-log accounting.
    • On the parallel map_aliases_by_page path, title_memory_notes_gathered is scoped inside each while at < pages.len() group iteration so notes flush before locks are dropped between groups.
    • VICTORY_MAP_ONCE=0 cleanly restores per-range locking and ungathered notes.

Minor Observation (Non-Blocking)

  • The doc comment on remapped_gathered in crates/victory-gpu/src/descriptor/host.rs mentions VICTORY_MAP_ONCE=0 disables; on by default, though the env-var gating lives in xmem::map_once() rather than inside remapped_gathered itself.

Suggested Local GPU Verification

  1. Run a real-GPU title session with default settings (batched locking + gathered descriptor notes enabled), exercising heavy tiled-resource / CopyPageMappingsBatchX streaming (e.g., cutscene or open-world traversal), and verify no stale/corrupted placed textures, deadlocks, or frame-time stalls.
  2. Re-run with VICTORY_MAP_ONCE=0 to confirm the kill-switch path still behaves cleanly and compare frame-time / remapping overhead.

Generated with Antigravity CLI (agy).

<!-- greyfinch-sync:Androtim/MiniVI:comment:7297077051 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7297077051). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T01:05:35Z. --- <!-- minivi-triage v1 head=5d91edb681ad98a58ad5b1adbba31ab24565ae3e verdict=needs-gpu-test ci=passing at=2026-12-01T03:04:33Z --> Automated triage for the maintainers (not an approval). **Verdict:** `needs-gpu-test` · **CI (`check`):** `passing` ### Review Summary CI is passing and the logic looks solid, with clean RAII panic safety and targeted unit tests. Because this enables batched `map_aliases` locking and scoped descriptor invalidation note gathering **by default** (`VICTORY_MAP_ONCE` defaults to on) across the D3D12 descriptor host (`crates/victory-gpu/src/descriptor/host.rs`) and HLE page-mapping path (`crates/victory-hle/src/modules/xmem.rs`), a local real-GPU smoke test is warranted before merging. ### What Was Verified - **Scoped descriptor note gathering (`crates/victory-gpu/src/descriptor/host.rs`, `watch.rs`, `lib.rs`)**: - `remapped_gathered` / `remapped_gathered_into` buffers `remapped` spans in thread-local `GATHERED` and flushes once via `remapped_ranges` inside `Flush::drop`. - Nesting is handled safely (`if GATHERED.with_borrow(Option::is_some) { return f(); }`) and `GATHERED` is taken before invoking `flush`, preventing `RefCell` re-entrancy panics. - `remapped_ranges` lazily acquires `REMAPPED` only when at least one span overlaps `SPANNED`, preserving `STALE[1]`/`STALE[2]` accounting and acquiring `REMAPPED` under a subset of the locks previously held (while `_changing` and `physical` are still held, before releasing them to readers). - Unit test `remapped_gathered_batches_notes_until_outer_exit` exercises nested gathering and outer-only flushing without mutating global `SPANNED`/`REMAPPED`. - **Batched `map_aliases` & constant-page coalescing (`crates/victory-hle/src/modules/xmem.rs`)**: - `alias_as` -> `alias_held` is a clean lock-hoisting refactor. - `aliases_of` coalesces only contiguous `PAGE`-sized non-zero-source mappings sharing the same `from` page (`last.constant || last.len == PAGE`), avoiding accidental merges with multi-page non-constant spans or unmaps; covered by `pages_from_one_constant_page_join_into_one_range`. - `alias_constant` checks overlap (`from < to + len && to < from + PAGE`) and falls back to per-page `alias_held` when source and destination overlap, unmaps once otherwise, and preserves `MAPPING[15]` stream-log accounting. - On the parallel `map_aliases_by_page` path, `title_memory_notes_gathered` is scoped inside each `while at < pages.len()` group iteration so notes flush before locks are dropped between groups. - `VICTORY_MAP_ONCE=0` cleanly restores per-range locking and ungathered notes. ### Minor Observation (Non-Blocking) - The doc comment on `remapped_gathered` in `crates/victory-gpu/src/descriptor/host.rs` mentions `VICTORY_MAP_ONCE=0 disables; on by default`, though the env-var gating lives in `xmem::map_once()` rather than inside `remapped_gathered` itself. ### Suggested Local GPU Verification 1. Run a real-GPU title session with default settings (batched locking + gathered descriptor notes enabled), exercising heavy tiled-resource / `CopyPageMappingsBatchX` streaming (e.g., cutscene or open-world traversal), and verify no stale/corrupted placed textures, deadlocks, or frame-time stalls. 2. Re-run with `VICTORY_MAP_ONCE=0` to confirm the kill-switch path still behaves cleanly and compare frame-time / remapping overhead. --- _Generated with Antigravity CLI (`agy`)._
Androtim commented 2026-12-01 01:22:15 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:22:15Z.


A/B In-World Verification (--features diagnostics, RTX 4060 Ti 8 GB, 1440p Series X, DLSS Performance, 45–60s)

Verified cleanly with 0 crashes and passing visual/VRAM gates (isolate-indoor, isolate-qw):

  • Residency mapped() Stall A/B:
    • baseline-main (origin/main): 26.99 ms/s (21400 calls, 1985.8 ms, max 9.7 ms).
    • isolate-1 (VICTORY_MAP_ONCE=0): 12.75 ms/s (18600 calls, 1792.0 ms, max 8.6 ms).
    • isolate-2 (VICTORY_MAP_ONCE=1): 10.82 ms/s (18800 calls, 1683.6 ms, max 18.7 ms), preparing 49.8 ms (-19.0 ms vs isolate-1).
    • isolate-indoor (VICTORY_MAP_ONCE=1, 60s): 8.97 ms/s (19800 calls, 1526.8 ms, max 8.7 ms), preparing 48.2 ms.
    • isolate-qw (VICTORY_MAP_ONCE=1): 8.92 ms/s (15600 calls, 1457.7 ms, max 22.4 ms, -67% rate vs baseline, -30% vs isolate-1), median 10.45 fps (95.95 ms), preparing 41.75 ms, VRAM 5687 / 6346 MB, [PASS] Visual (edge_energy=6.97).
<!-- greyfinch-sync:Androtim/MiniVI:comment:7297421134 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7297421134). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T01:22:15Z. --- ### A/B In-World Verification (`--features diagnostics`, RTX 4060 Ti 8 GB, 1440p Series X, DLSS Performance, 45–60s) Verified cleanly with **0 crashes** and passing visual/VRAM gates (`isolate-indoor`, `isolate-qw`): - **Residency `mapped()` Stall A/B:** - `baseline-main` (`origin/main`): `26.99 ms/s` (`21400` calls, `1985.8 ms`, max `9.7 ms`). - `isolate-1` (`VICTORY_MAP_ONCE=0`): `12.75 ms/s` (`18600` calls, `1792.0 ms`, max `8.6 ms`). - `isolate-2` (`VICTORY_MAP_ONCE=1`): `10.82 ms/s` (`18800` calls, `1683.6 ms`, max `18.7 ms`), preparing `49.8 ms` (`-19.0 ms` vs `isolate-1`). - `isolate-indoor` (`VICTORY_MAP_ONCE=1`, 60s): `8.97 ms/s` (`19800` calls, `1526.8 ms`, max `8.7 ms`), preparing `48.2 ms`. - `isolate-qw` (`VICTORY_MAP_ONCE=1`): **`8.92 ms/s`** (`15600` calls, `1457.7 ms`, max `22.4 ms`, **`-67%` rate vs baseline**, **`-30%` vs `isolate-1`**), median `10.45 fps` (`95.95 ms`), preparing `41.75 ms`, VRAM `5687 / 6346 MB`, `[PASS]` Visual (`edge_energy=6.97`).
Androtim commented 2026-12-01 01:31:30 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:31:30Z.


Maintainer triage (strict merge gate): keeping triage: needs work.

Blockers to resolve before re-review:

  1. CI failing & test race: Fix the failing check and the global-state race in remapped_gathered_batches_notes_until_outer_exit.
  2. No new opt-in VICTORY_* switches: Make the batched lock + deferred invalidation-note path the default replacement (at most a =0 safety kill-switch if needed) rather than adding opt-in VICTORY_MAP_ONCE=1 / VICTORY_REMAP_TIMING=1.
  3. Plain --release A/B required: Provide isolated plain --release (no --features diagnostics) A/B measurements vs main (median fps, preparing ms, copyback ms, VRAM max, final_waiting, untranslated, 0 crashes).
<!-- greyfinch-sync:Androtim/MiniVI:comment:7297602750 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7297602750). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T01:31:30Z. --- Maintainer triage (strict merge gate): keeping `triage: needs work`. Blockers to resolve before re-review: 1. **CI failing & test race:** Fix the failing check and the global-state race in `remapped_gathered_batches_notes_until_outer_exit`. 2. **No new opt-in `VICTORY_*` switches:** Make the batched lock + deferred invalidation-note path the default replacement (at most a `=0` safety kill-switch if needed) rather than adding opt-in `VICTORY_MAP_ONCE=1` / `VICTORY_REMAP_TIMING=1`. 3. **Plain `--release` A/B required:** Provide isolated **plain `--release` (no `--features diagnostics`)** A/B measurements vs `main` (`median fps`, `preparing ms`, `copyback ms`, `VRAM max`, `final_waiting`, `untranslated`, `0` crashes).
Androtim commented 2026-12-01 02:49:52 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T02:49:52Z.


Triage Blockers Resolved + Plain --release A/B Verification (5d91edb6)

  1. Default-on replacement (VICTORY_MAP_ONCE=0 kill-switch only): Enabled batched lock + scoped note gathering by default, removed opt-in VICTORY_REMAP_TIMING=1 and the VICTORY_MAP_ONCE=1 opt-in gate, and cleaned up PR title/description escaping.
  2. Scoped note gathering inside group locks: Moved itle_memory_notes_gathered inside each while at < pages.len() lock scope in map_aliases_by_page so locks are never dropped with unflushed invalidation notes.
  3. Eliminated parallel test race & clippy failure: Fixed clippy::match_bool in lias_all, made
    emapped_ranges private, and extracted
    emapped_gathered_into so
    emapped_gathered_batches_notes_until_outer_exit does not mutate/race on global SPANNED or REMAPPED.

Plain --release A/B Benchmark (NO --features diagnostics)

RTX 4060 Ti 8 GB / i7-13700F / 32 GB RAM, 1440p parity preset, DLSS Quality, 45s in-world (aseline-main-release on d79b9432 vs pr275-release):

Metric origin/main (d79b9432) PR #275 (5d91edb6) Delta
Median FPS (frame ms) 12.7 fps (78.85 ms) 12.8 fps (78.3 ms) +0.1 fps (-0.55 ms)
Min FPS 2.6 fps 6.1 fps +3.5 fps
Preparing / GPU / Copyback ms 36.5 / 2.35 / 23.9 ms 33.0 / 0.0 / 23.6 ms -3.5 / -2.35 / -0.3 ms
VRAM max 7140 MB (over=371 MB) 6908 MB (over=111 MB) -232 MB
Texture queue ( inal_waiting) 13114 16850 +3736
Residency mapped() stalls 14.14 ms/s (3343.2 ms total, longest 683.7 ms) 12.81 ms/s (1602.6 ms total, longest 10.8 ms) -1.33 ms/s (-1740.6 ms total, -672.9 ms max)
Untranslated shaders / Crashes 6 /
<!-- greyfinch-sync:Androtim/MiniVI:comment:7299039487 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7299039487). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T02:49:52Z. --- ### Triage Blockers Resolved + Plain `--release` A/B Verification (`5d91edb6`) 1. **Default-on replacement (VICTORY_MAP_ONCE=0 kill-switch only):** Enabled batched lock + scoped note gathering by default, removed opt-in VICTORY_REMAP_TIMING=1 and the VICTORY_MAP_ONCE=1 opt-in gate, and cleaned up PR title/description escaping. 2. **Scoped note gathering inside group locks:** Moved itle_memory_notes_gathered inside each while at < pages.len() lock scope in map_aliases_by_page so locks are never dropped with unflushed invalidation notes. 3. **Eliminated parallel test race & clippy failure:** Fixed clippy::match_bool in lias_all, made emapped_ranges private, and extracted emapped_gathered_into so emapped_gathered_batches_notes_until_outer_exit does not mutate/race on global SPANNED or REMAPPED. #### Plain --release A/B Benchmark (NO --features diagnostics) RTX 4060 Ti 8 GB / i7-13700F / 32 GB RAM, 1440p parity preset, DLSS Quality, 45s in-world (aseline-main-release on d79b9432 vs pr275-release): | Metric | origin/main (d79b9432) | PR #275 (`5d91edb6`) | Delta | |---|---:|---:|---:| | Median FPS (frame ms) | 12.7 fps (78.85 ms) | **12.8 fps (78.3 ms)** | **+0.1 fps** (-0.55 ms) | | Min FPS | 2.6 fps | **6.1 fps** | **+3.5 fps** | | Preparing / GPU / Copyback ms | 36.5 / 2.35 / 23.9 ms | **33.0 / 0.0 / 23.6 ms** | **-3.5 / -2.35 / -0.3 ms** | | VRAM max | 7140 MB (over=371 MB) | **6908 MB (over=111 MB)** | **-232 MB** | | Texture queue ( inal_waiting) | 13114 | 16850 | +3736 | | Residency mapped() stalls | 14.14 ms/s (3343.2 ms total, longest 683.7 ms) | **12.81 ms/s (1602.6 ms total, longest 10.8 ms)** | **-1.33 ms/s (-1740.6 ms total, -672.9 ms max)** | | Untranslated shaders / Crashes | 6 /
Androtim commented 2026-12-01 03:22:34 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T03:22:34Z.


Maintainer triage (strict merge gate): moving to triage: needs work.

Thank you for fixing CI/test isolation and switching VICTORY_MAP_ONCE to default-on (=0 kill-switch only) with solid preparing (36.5 -> 33.0 ms), min FPS (2.6 -> 6.1), and VRAM (-232 MB) gains and 0 crashes.

Remaining blocker:

  • final_waiting increased 13,114 -> 16,850 (+3,736) while uploaded dropped 43,622 -> 39,449 (-4,173) on plain --release. Please resolve or confirm final_waiting <= baseline on a paired plain --release A/B run.
<!-- greyfinch-sync:Androtim/MiniVI:comment:7299640603 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7299640603). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T03:22:34Z. --- Maintainer triage (strict merge gate): moving to `triage: needs work`. Thank you for fixing CI/test isolation and switching `VICTORY_MAP_ONCE` to default-on (`=0` kill-switch only) with solid `preparing` (`36.5 -> 33.0 ms`), `min FPS` (`2.6 -> 6.1`), and `VRAM` (`-232 MB`) gains and `0` crashes. Remaining blocker: - **`final_waiting` increased `13,114 -> 16,850` (`+3,736`)** while `uploaded` dropped `43,622 -> 39,449` (`-4,173`) on plain `--release`. Please resolve or confirm `final_waiting <= baseline` on a paired plain `--release` A/B run.
Androtim commented 2026-12-01 05:05:25 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T05:05:25Z.


### Paired 60s Plain --release A/B (origin/main d79b9432 vs PR #275 5d91edb6)

Metric paired-main-release-60s paired-pr275-release-60s Delta
Median FPS (frame ms) 14.0 fps (71.4 ms) 14.0 fps (71.7 ms) +0.0 fps (+0.3 ms)
Min FPS 2.1 fps 6.8 fps +4.7 fps
Preparing / GPU / Copyback 33.6 / 0.0 / 23.1 ms 35.1 / 0.0 / 23.8 ms +1.5 / 0.0 / +0.7 ms
VRAM max (budget min) 7031 MB / 6792 MB (over=220 MB) 7032 MB / 6783 MB (over=238 MB) +1 MB (+18 MB over)
Unmapped mips (median) 461 MB 349.5 MB -111.5 MB
Textures uploaded / final_waiting / max_waiting 43,599 / 13,661 / 38,413 41,799 / 15,395 / 38,254 -1,800 / +1,734 / -159
Residency mapped() stalls 12.09 ms/s (max 11.5 ms) 12.03 ms/s (max 29.1 ms) -0.06 ms/s
Untranslated shaders / Crashes 6 / 0 6 / 0 —

On the paired 60s plain --release run, final_waiting (13,661 -> 15,395, +1,734), preparing (33.6 -> 35.1 ms), and copyback (23.1 -> 23.8 ms) still regress against paired-main-release-60s (d79b9432).

<!-- greyfinch-sync:Androtim/MiniVI:comment:7301410395 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7301410395). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T05:05:25Z. --- ### Paired 60s Plain `--release` A/B (`origin/main` `d79b9432` vs PR #275 `5d91edb6`) | Metric | `paired-main-release-60s` | `paired-pr275-release-60s` | Delta | |---|---:|---:|---:| | Median FPS (frame ms) | 14.0 fps (71.4 ms) | 14.0 fps (71.7 ms) | +0.0 fps (+0.3 ms) | | Min FPS | 2.1 fps | **6.8 fps** | **+4.7 fps** | | Preparing / GPU / Copyback | 33.6 / 0.0 / 23.1 ms | 35.1 / 0.0 / 23.8 ms | +1.5 / 0.0 / +0.7 ms | | VRAM max (budget min) | 7031 MB / 6792 MB (over=220 MB) | 7032 MB / 6783 MB (over=238 MB) | +1 MB (+18 MB over) | | Unmapped mips (median) | 461 MB | **349.5 MB** | **-111.5 MB** | | Textures uploaded / final_waiting / max_waiting | 43,599 / 13,661 / 38,413 | 41,799 / 15,395 / 38,254 | -1,800 / +1,734 / -159 | | Residency `mapped()` stalls | 12.09 ms/s (max 11.5 ms) | 12.03 ms/s (max 29.1 ms) | -0.06 ms/s | | Untranslated shaders / Crashes | 6 / 0 | 6 / 0 | — | On the paired 60s plain `--release` run, `final_waiting` (`13,661 -> 15,395`, `+1,734`), `preparing` (`33.6 -> 35.1 ms`), and `copyback` (`23.1 -> 23.8 ms`) still regress against `paired-main-release-60s` (`d79b9432`).
Androtim commented 2026-12-01 05:18:54 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T05:18:54Z.


Closing as regressing on paired 60s plain --release A/B vs origin/main d79b9432 (preparing 33.6 -> 35.1 ms, copyback 23.1 -> 23.8 ms, final_waiting 13,661 -> 15,395, median 14.0 -> 14.0 fps).

<!-- greyfinch-sync:Androtim/MiniVI:comment:7301640816 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7301640816). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T05:18:54Z. --- Closing as regressing on paired 60s plain --release A/B vs origin/main d79b9432 (preparing 33.6 -> 35.1 ms, copyback 23.1 -> 23.8 ms, final_waiting 13,661 -> 15,395, median 14.0 -> 14.0 fps).
Androtim commented 2026-12-01 05:20:01 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T05:20:01Z.


Maintainer triage (strict merge gate): keeping triage: needs work.

On paired-pr275-release-60s, median fps was flat (14.0 -> 14.0) while preparing increased 33.6 -> 35.1 ms (+1.5 ms), copyback increased 23.1 -> 23.8 ms (+0.7 ms), and final_waiting increased 13,661 -> 15,395 (+1,734, uploaded -1,800). Please rebase onto updated main and confirm a clear plain --release improvement without regressing preparing, copyback, or final_waiting.

<!-- greyfinch-sync:Androtim/MiniVI:comment:7301660443 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/275#issuecomment-7301660443). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-01T05:20:01Z. --- Maintainer triage (strict merge gate): keeping `triage: needs work`. On `paired-pr275-release-60s`, `median fps` was flat (`14.0 -> 14.0`) while `preparing` increased `33.6 -> 35.1 ms` (`+1.5 ms`), `copyback` increased `23.1 -> 23.8 ms` (`+0.7 ms`), and `final_waiting` increased `13,661 -> 15,395` (`+1,734`, `uploaded -1,800`). Please rebase onto updated `main` and confirm a clear plain `--release` improvement without regressing `preparing`, `copyback`, or `final_waiting`.

Pull request closed

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
Androtim/MiniVI!275
No description provided.