Validation Framework: asset-free differential testing, regression detection and synthetic replay #2470
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2470
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?
@FunWithFlagsDev on GitHub · 2026-11-25 14:15 UTC · original
<html>Proposal: VIctory Validation Framework v0.10
Following my previous investigations, I have developed a validation framework intended to complement the existing Fxceless testing infrastructure and reduce dependence on full title execution when investigating correctness and performance regressions.
The objective is to move as much validation as possible toward isolated, reproducible and automated tests, without requiring title files or proprietary assets.
Implemented modules
Wave64 differential testing with independent per-lane outputs.
Sparse BVH addressing across 64 KiB page and backing-buffer boundaries.
Title-memory directory and descriptor coherence, extending the investigation in #937.
Texture layout, pitch and buffer-boundary validation.
Automated test execution and regression reporting.
Paired performance benchmarks with bootstrap confidence intervals.
Synthetic command-list and memory replay.
Proposed native D3D12 test adapter.
Validation results
All 109 Python tests passed:
Component | Tests passed -- | -- Mathematical models and synthetic replay | 59/59 Existing runners and comparators | 25/25 Native adapter and fixture generator | 9/9 Release audit and integrity checks | 16/16 Total | 109/109The proposed adapter reuses the project's existing shader translator and D3D12 test infrastructure rather than implementing an alternative translator.
No title files or console SDK are required by the proposed fixtures.
Requested independent validation
I would appreciate assistance from contributors with suitable Windows environments, particularly for:
Reviewing and compiling the proposed test-only Rust changes.
Running the sparse BVH tests on WARP.
Running the Wave64 tests on compatible hardware.
Running the CPU-only texture controls.
Identifying compilation errors, unsupported features or unexpected results.
Please use the dedicated checkout and execution instructions provided in the README, including
native_release.pyrather than the historical native runner.Limitations
The Python suite has been executed successfully. The complete source transformation against the actual checkout, native Rust compilation and D3D12 execution have not yet been performed in my environment.
The replay engine is currently a CPU abstraction, not a native GPU capture-and-replay implementation.
This is a release candidate for independent validation, not a claim of native correctness, a confirmed title fix or improved game performance.
Attached package
victory_validation_v10.zipcontains the consolidated framework, source proposals, synthetic fixtures, execution reports and technical documentation.The long-term objective is to help contributors isolate failures, verify proposed fixes and prevent regressions without needing to launch the entire title for every hypothesis.
victory_validation_v10.zip
All current limitations are documented in the README.
Feedback and independent validation are welcome.
</html>@Marvisak on GitHub · 2026-11-25 15:55 UTC · original
Automated triage for the maintainers.
Request: a test and validation framework, offered as an attached zip. Triage does not open attachments, so the contents have not been reviewed. Tests that need no title files fit the project's scope. PRs are open to everyone: please open a PR with the Rust test changes you want merged, so they can be reviewed and run in CI (
cargo test --workspaceand thecargo xtaskpolicy check). Say there what you measured on Windows. Your notes say native compilation and D3D12 runs have not been done yet. Whether a Python harness belongs in the repository is the maintainers' call.Generated by Claude Code
@Ingenioeren on GitHub · 2026-11-26 12:45 UTC · original
I ran an independent, asset-free boundary check on public main
63bcca4using the existing BVH test harness. The fixture placed the first 64 bytes of one synthetic box32 node at the end of a 64 KiB page and its final 48 bytes at the start of the next page, in a separate D3D12 backing buffer. The seeded ray was chosen so that clearing the tail changes the reference result. BVH read path · Existing single-page fixture0x5559a4e5, matching the full-node CPU reference0xffffffffwords, matching the zero-tail referenceBoth outcomes matched on all 256 lanes for each of the narrow and wide pointer instructions. The 16 existing
victory-formatstexture tests also passed offline, including the pitch-overflow and overlapping-slice cases. This verifies these two baseline controls on upstream source. The proposed framework itself still needs its own native build and run.AI-assisted verification with OpenAI Codex.