Align verify-world.ps1 & analyze-world-run.py with Series X 1440p / 30 fps / open-world play parity #151

Closed
opened 2026-12-01 20:13:36 +00:00 by github-bot · 1 comment
Owner

@⁠Androtim on GitHub · 2026-11-29 17:27 UTC · original

Goal

Align the automated in-world GPU test harness (scripts/verify-world.ps1 and scripts/analyze-world-run.py) with the actual target experience: Xbox Series X, 1440p, >= 30 fps, open-world gameplay on an 8 GB GPU (RTX 4060 Ti).

Gaps in Current Harness

  1. series-s / ictory run drift vs ictory play:
    • scripts/verify-world.ps1 defaults to -Console series-s and invokes ictory run --execute directly, skipping ictory play's 1440p profile (--res 1440) and PR #74's 8 GiB VRAM tier defaults.
    • Automated runs also override VICTORY_LEVELS_ON_DEMAND=1, whereas ictory play defaults to VICTORY_LEVELS_ON_DEMAND=0 (with VICTORY_TEXTURE_ROOM_PERCENT=80), masking issues like #149 (
      o room for new ones -> black/missing textures).
  2. Cutscene-only testing: Current runs test the ~3,000 draws/frame Mission 1 indoor cutscene rather than open-world streaming (5,700–7,800 draws/frame).
  3. Missing gates for active blockers: nalyze-world-run.py does not yet track
    o room for new ones (#149), decoration bakes' sources other_bytes / showed_another_view mismatches (#150), or progress toward the 30 fps (33.3 ms) target.

Requested Changes

  1. scripts/verify-world.ps1:
    • Add a Series X 1440p play-parity mode/preset (applying the exact pps/victory/src/play.rs defaults, including #74's 8 GiB VRAM tier and VICTORY_LEVELS_ON_DEMAND=0, while keeping deterministic capture/DRED flags).
    • Ensure menu nudging / save loading works cleanly with both cutscene and open-world saves.
  2. scripts/analyze-world-run.py:
    • Report progress toward 30 fps (33.3 ms) (e.g., % of 30 fps target and ms budget over 33.3 ms) while keeping A/B non-regression as the PR merge gate so incremental improvements aren't falsely blocked.
    • Add hard A/B non-regression gates for:
      • **
        o room for new ones count &
        oom=false ratio** (Issue #149)
      • Decoration bake mismatches (other_bytes, showed_another_view, settled=false from ictory_gpu::draw — Issue #150)
      • Dropped draws without a host pipeline spikes
**@⁠Androtim** on GitHub · 2026-11-29 17:27 UTC · [original](https://github.com/Androtim/MiniVI/issues/151) ### Goal Align the automated in-world GPU test harness (scripts/verify-world.ps1 and scripts/analyze-world-run.py) with the actual target experience: **Xbox Series X, 1440p, >= 30 fps, open-world gameplay** on an 8 GB GPU (RTX 4060 Ti). ### Gaps in Current Harness 1. **series-s / ictory run drift vs ictory play:** - scripts/verify-world.ps1 defaults to -Console series-s and invokes ictory run --execute directly, skipping ictory play's 1440p profile (--res 1440) and PR #74's 8 GiB VRAM tier defaults. - Automated runs also override VICTORY_LEVELS_ON_DEMAND=1, whereas ictory play defaults to VICTORY_LEVELS_ON_DEMAND=0 (with VICTORY_TEXTURE_ROOM_PERCENT=80), masking issues like #149 ( o room for new ones -> black/missing textures). 2. **Cutscene-only testing:** Current runs test the ~3,000 draws/frame Mission 1 indoor cutscene rather than open-world streaming (5,700–7,800 draws/frame). 3. **Missing gates for active blockers:** nalyze-world-run.py does not yet track o room for new ones (#149), decoration bakes' sources other_bytes / showed_another_view mismatches (#150), or progress toward the 30 fps (33.3 ms) target. ### Requested Changes 1. **scripts/verify-world.ps1:** - Add a **Series X 1440p play-parity mode/preset** (applying the exact pps/victory/src/play.rs defaults, including #74's 8 GiB VRAM tier and VICTORY_LEVELS_ON_DEMAND=0, while keeping deterministic capture/DRED flags). - Ensure menu nudging / save loading works cleanly with both cutscene and open-world saves. 2. **scripts/analyze-world-run.py:** - Report **progress toward 30 fps (33.3 ms)** (e.g., % of 30 fps target and ms budget over 33.3 ms) while keeping **A/B non-regression** as the PR merge gate so incremental improvements aren't falsely blocked. - Add hard A/B non-regression gates for: - ** o room for new ones count & oom=false ratio** (Issue #149) - **Decoration bake mismatches** (other_bytes, showed_another_view, settled=false from ictory_gpu::draw — Issue #150) - **Dropped draws without a host pipeline** spikes
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:13:36 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-11-29 23:08 UTC · original · edited 2026-12-02 08:04 UTC

Verified against origin/main (apps/victory/src/play.rs, scripts/verify-world.ps1, and scripts/analyze-world-run.py).

Most of Issue #151 is already implemented on origin/main, with a few specific parity and A/B gating gaps remaining:

Already Implemented on origin/main

  1. scripts/verify-world.ps1:
    • -PlayParity (lines 26-28, lines 155-165) defaults -Console to series-x, sets VICTORY_NATIVE_1440P=1 for -Res 1440 (or VICTORY_RENDER_1080P=1 for 1080to1440), and keeps VICTORY_LEVELS_ON_DEMAND=0 unless -LevelsOnDemand is passed.
    • if ($LowVram -or $PlayParity) (lines 173-191) applies the 8 GiB VRAM caps (VICTORY_CARD_BUFFERS_MB, VICTORY_CARD_WINDOWS_MB, VICTORY_CARD_ROOM_FOR_TARGETS_MB, and RT caps).
    • -AutoNudgeMenu (lines 198-201, lines 250-255) sends Enter 0.3 via VICTORY_KEYS_FILE until draws/frame >= 500.
  2. scripts/analyze-world-run.py:
    • Tracks 30 fps progress (fps_pct_of_30, ms_over_33_3 at lines 543-545) while keeping A/B non-regression (median_fps >= b_fps * 0.90 at lines 789-793).
    • Tracks and A/B-gates no room for new ones + room_false_ratio (lines 817-830), decoration bake other_bytes / showed_another_view / failed (lines 832-848), and median_dropped_no_pipeline (lines 810-815).

Remaining Gaps

  1. 8 GiB PlayParity drift in scripts/verify-world.ps1 vs apps/victory/src/play.rs:
    • VICTORY_TEXTURE_CATCHUP=0 and VICTORY_TEXTURE_STAGE_MS=16 are gated on if ($LowVram -and $Console -eq 'series-x') (lines 175-178), so -PlayParity without -LowVram still uses 1 and 24.
    • VICTORY_SLOT_EVICT_PERCENT / VICTORY_SLOT_EVICT_LOW_PERCENT (86/80 for 1440p non-FG in play.rs) are only set in verify-world.ps1 for $FrameGen or $is4k, and VICTORY_DSTORAGE_STAGING_MB=64 (play.rs line 444) is missing.
    • Base settings drift: verify-world.ps1 sets VICTORY_AMBIENT_AIR=1.5 (line 116) vs 1 in play.rs line 102, and omits VICTORY_BVH_MISS=1 (play.rs line 104) when -RayTracing is off.
  2. Remaining A/B gate gaps in scripts/analyze-world-run.py:
    • flush_unsettled_events (settled=false) is parsed (lines 516-519) and reported, but not included in "A/B Decoration bake sources non-regression" (lines 832-848).
    • "A/B Pipeline drops non-regression" (lines 810-815) only checks median_dropped_no_pipeline, not max_dropped_no_pipeline spikes.
  3. Open-world save coverage: Exercising 5,700–7,800 draws/frame open-world streaming still relies on supplying an open-world -GoldenDataDir to verify-world.ps1.

Automated triage generated with Antigravity CLI (agy).

**@⁠Androtim** on GitHub · 2026-11-29 23:08 UTC · [original](https://github.com/Androtim/MiniVI/issues/151#issuecomment-7264223912) · edited 2026-12-02 08:04 UTC <!-- minivi-triage v1 updated=2026-12-02T07:04:15Z verdict=confirmed at=2026-12-02T08:04:49Z --> Verified against `origin/main` ([`apps/victory/src/play.rs`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs), [`scripts/verify-world.ps1`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1), and [`scripts/analyze-world-run.py`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py)). Most of Issue #151 is already implemented on `origin/main`, with a few specific parity and A/B gating gaps remaining: ### Already Implemented on `origin/main` 1. **[`scripts/verify-world.ps1`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1)**: - `-PlayParity` ([lines 26-28](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L26-L28), [lines 155-165](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L155-L165)) defaults `-Console` to `series-x`, sets `VICTORY_NATIVE_1440P=1` for `-Res 1440` (or `VICTORY_RENDER_1080P=1` for `1080to1440`), and keeps `VICTORY_LEVELS_ON_DEMAND=0` unless `-LevelsOnDemand` is passed. - `if ($LowVram -or $PlayParity)` ([lines 173-191](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L173-L191)) applies the 8 GiB VRAM caps (`VICTORY_CARD_BUFFERS_MB`, `VICTORY_CARD_WINDOWS_MB`, `VICTORY_CARD_ROOM_FOR_TARGETS_MB`, and RT caps). - `-AutoNudgeMenu` ([lines 198-201](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L198-L201), [lines 250-255](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L250-L255)) sends `Enter 0.3` via `VICTORY_KEYS_FILE` until `draws/frame >= 500`. 2. **[`scripts/analyze-world-run.py`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py)**: - Tracks 30 fps progress (`fps_pct_of_30`, `ms_over_33_3` at [lines 543-545](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L543-L545)) while keeping A/B non-regression (`median_fps >= b_fps * 0.90` at [lines 789-793](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L789-L793)). - Tracks and A/B-gates `no room for new ones` + `room_false_ratio` ([lines 817-830](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L817-L830)), decoration bake `other_bytes` / `showed_another_view` / `failed` ([lines 832-848](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L832-L848)), and `median_dropped_no_pipeline` ([lines 810-815](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L810-L815)). ### Remaining Gaps 1. **8 GiB `PlayParity` drift in [`scripts/verify-world.ps1`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1) vs [`apps/victory/src/play.rs`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs#L422-L448):** - `VICTORY_TEXTURE_CATCHUP=0` and `VICTORY_TEXTURE_STAGE_MS=16` are gated on `if ($LowVram -and $Console -eq 'series-x')` ([lines 175-178](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L175-L178)), so `-PlayParity` without `-LowVram` still uses `1` and `24`. - `VICTORY_SLOT_EVICT_PERCENT` / `VICTORY_SLOT_EVICT_LOW_PERCENT` (`86`/`80` for 1440p non-FG in [`play.rs`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs#L427-L434)) are only set in `verify-world.ps1` for `$FrameGen` or `$is4k`, and `VICTORY_DSTORAGE_STAGING_MB=64` ([`play.rs` line 444](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs#L444)) is missing. - Base settings drift: `verify-world.ps1` sets `VICTORY_AMBIENT_AIR=1.5` ([line 116](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/verify-world.ps1#L116)) vs `1` in [`play.rs` line 102](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs#L102), and omits `VICTORY_BVH_MISS=1` ([`play.rs` line 104](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/apps/victory/src/play.rs#L104)) when `-RayTracing` is off. 2. **Remaining A/B gate gaps in [`scripts/analyze-world-run.py`](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py):** - `flush_unsettled_events` (`settled=false`) is parsed ([lines 516-519](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L516-L519)) and reported, but not included in `"A/B Decoration bake sources non-regression"` ([lines 832-848](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L832-L848)). - `"A/B Pipeline drops non-regression"` ([lines 810-815](file:///C:/Users/Androtim/Documents/My%20Games/CopGame/minivi-triage/repo-main/scripts/analyze-world-run.py#L810-L815)) only checks `median_dropped_no_pipeline`, not `max_dropped_no_pipeline` spikes. 3. **Open-world save coverage:** Exercising 5,700–7,800 draws/frame open-world streaming still relies on supplying an open-world `-GoldenDataDir` to `verify-world.ps1`. --- _Automated triage generated with Antigravity CLI (`agy`)._
This discussion has been locked. Commenting is limited to contributors.
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/Androtim--MiniVI#151
No description provided.