Faster test loop: live switches, replay image gate, shader hot reload (optional agent on top) #1150
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1150
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?
@yoysefA on GitHub · 2026-11-28 14:19 UTC · original
Summary
Each test today means: change a switch (the F1 menu restarts the title) or the
code, reload the save, wait for shaders and streaming, compare by eye, repeat.
This proposes tooling that keeps the title running for most of that loop and,
optionally, lets 1–2 AI agents observe and propose changes checked by an
evaluator they cannot modify. Each phase is useful on its own.
I can't run in-game tests myself, but I can help with the design and the
external tooling, and run
cargo teston an RX 9060 XT (RDNA 4).Related
is complementary: Phase 1's live channel could feed those reports, and Phases 2–3
add what a report can't do: checking a change against a recorded frame and
applying shader fixes without restarting.
optional Phase 4 loop easier to run.
Phase 1: live metrics and switches
uploads/pipelines, dropped draws, readback bytes) through a shared-memory
ring buffer written once per frame. Cost: one copy per frame, no locks.
are safe to change mid-session without the F1 restart, and trigger
VICTORY_RECORDfor the next frame.without restarting.
Phase 2: replay image gate
crates/victory-gpu/src/replay) to replay acaptured frame before and after a change, comparing output images (SSIM or
per-pixel diff) and per-pass GPU times.
cargo testpasses, the image matches the referencewithin a threshold, and timing improves over several runs. This catches
"faster because it stopped drawing" (black or magenta materials, missing objects).
Phase 3: shader hot reload
that use it, and swap them at a frame boundary without restarting.
checked in-session.
and restart; they get checked in replay first.
Phase 4 (optional): agent loop on top of 1–3
check fails, and writes a short report.
in-session, or a core change queued for the next rebuild.
images are measured.
Precedents
evaluators; Google's guidance uses SSIM so loops can't win by skipping rendering.
Engineer, METR reports). This is why the gate sits outside the agent's reach.
Questions
@github-actions[bot] on GitHub · 2026-11-28 14:19 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
[Proposal] Faster test loop: live switches, replay image gate, shader hot reload (optional agent on top)to Faster test loop: live switches, replay image gate, shader hot reload (optional agent on top)@trustno1-coder on GitHub · 2026-11-30 15:47 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.