Proposal: a shared frame capture & replay tool with a "first diverging pass" report #2368
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 KENAJBBY on 2026-11-25T12:04:37Z.
Graphics fixes are often checked by launching a game, looking at the final image, patching, and launching again. Competing PRs for the same problem are also hard to compare, because there is no common input to test them on.
Idea (no code attached):
Shader and ray-tracing fixes could then be verified in seconds, and competing PRs compared on the same capture. Timing issues (late uploads, flicker, frame pacing) would still need a live run.
Other emulators have used this approach for years (Dolphin's FIFO player, Xenia's trace viewer), and some building blocks already exist in this ecosystem (frame capture, translated-shader diffs, a CPU ISA interpreter).
If something like this already exists, a pointer would be appreciated.
Drafted with the help of an AI assistant.
upstream-sync referenced this issue2026-11-25 16:09:36 +00:00
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T18:49:02Z.
Automated triage for the maintainers.
Nothing like this exists in main yet. The closest tool is
VICTORY_CAPTUREin diagnostics builds (crates/victory-gpu/src/capture.rs). It saves presented frames as PNG at power-of-two frame numbers. WithVICTORY_CAPTURE_FRAMESorVICTORY_CAPTURE_WORLD, it also saves the listed frames and traces their draws at debug level. It records no command lists or memory, and it cannot replay anything.The request fits the project's scope as offline developer tooling. One constraint for any design: a capture holds title memory, shaders and descriptors, so captures could only be compared locally on each person's own machine and could never be shared in this repository.
Kept open as a request.
Generated by Claude Code