framegate: turn VICTORY_CAPTURE dumps into per-build PASS/FAIL JSON #3283
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by Hcosse on 2026-11-26T15:54:39Z.
I built framegate (MIT, https://github.com/Hcosse/framegate): it turns frame captures into per-build PASS/FAIL JSON, so visual regressions stop relying on eyeballing screenshots.
Point it at your existing
VICTORY_CAPTUREdumps, no integration:black_screen,severe_artifacts,missing_surfaces,crushed_lightinglighting_qualityscore, optional--referencecomparisonrunmode launches the target itself: crash detection, RAM/VRAM caps — your ~33 GB commit / ~10 GB VRAM budgets map straight ontomax_ram_gb/max_vram_gbChecks and thresholds live in one JSON config; frames are judged by a vision model (Jev via the TypeSafe SDK). Validated on real emulator regression captures (RPCS3/shadPS4 issues): clean → PASS, pitch-black models → FAIL, stretched vertices → FAIL.
Where it fits: your status table gets comparable numbers per build ("pink band", missing RT shadows — as probabilities/scores, not impressions), and PortWatch VI's race (https://portwatch-vi.xyz/#race) could cite a committed, dated JSON per build instead of self-reported screenshots.
Useful here? Name the failure modes you chase most and I'll tune the default checks.
Imported from Marvisak/VIctory. Originally posted by Ingenioeren on 2026-11-26T18:47:05Z.
I checked the capture interface on public main
63bcca4with synthetic pixels. The existing writer produced 8-bit RGB PNGs at half width and height from padded BGRA input. An independent PNG readback matched the expected pixels and verified the chunk CRCs. The reduction selects every other row and pixel, so a small feature can disappear before a classifier sees it. Capture writerOne pairing detail matters for
--reference. WithVICTORY_CAPTURE_WORLD=5, I injected first-world-frame indices of 90 and 233 in separate test processes. The corresponding captures came out asframe-95.pngandframe-238.png; both directories also contained the automaticframe-64.png. The filenames contain absolute frame numbers. The world anchor is the first present with at least 500 host draws, so build reports would benefit from recording the anchor and requested offset alongside the filename. Scene alignment still needs a check if the change affects draws. Selection and anchorThese results cover the upstream capture format and naming. The probe used synthetic pixels and made no calls to a vision service.
AI-assisted verification with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T03:05:02Z.
I reproduced the capture issue with generated pixels on
63bcca43. Two one-pixel marks in a padded 5×3 frame disappeared from the default 2×1 thumbnail. WithVICTORY_CAPTURE_FULL_RES=1in #3652, both marks survived in the decoded 5×3 PNG for RGBA and BGRA input. Unset and0gave byte-identical thumbnails to main. Windows Clippy and the workspace tests passed in CI, and the PR is ready for review.If reusing the patch, please retain its Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding it into another commit.AI-assisted with OpenAI Codex.