Opt-in benchmark reporting and 8 GiB investigation #290

Closed
github-bot wants to merge 0 commits from github-bot/gh-290 into main AGit
Owner

@⁠Z2VvZ2Vv on GitHub · 2026-12-01 10:08 UTC · original
Z2VvZ2Vv:codex/foxhound-8gb-review → main · +0 −0 · 0 files · 73 commits · closed without merging

Scope

This revision follows the maintainer's review by keeping the benchmark reporting and the 8 GiB investigation in one reviewable diff. Enable it with VICTORY_BENCHMARK=1 and victory_gpu::benchmark=info in the log filter.

  • Present samples emit individual frame intervals, draw counts, and submission and copy timings.
  • Existing DXGI and Windows samples report local and shared usage, the current budget, and commit headroom.
  • A pipeline reports its first missed use while pending and its first missed use after failure. The reason is tied to the state observed by the requesting draw or dispatch. Intentionally omitted passes stay in their existing aggregate counter.
  • scripts/report-benchmark.ps1 summarizes selected samples and retains compatibility with earlier benchmark logs. Usage

8 GiB follow-up

TODO.md retains the prototype measurements, the unresolved visual defects and the plan for matched before/after runs. The resource and descriptor work includes tracking an asset from storage through mapping and its first correct draw, measuring fully rendered shots, and checking for unintended material changes throughout each shot.

The launcher, strict preflight, compositor and memory-policy changes are preserved on the experimental branch. The preparation lock there now uses an exclusive Windows file handle compatible with the workspace's Rust 1.88 minimum. The memory experiments need separate 8 GiB comparisons alongside #276 and #277.

Validation

The opt-in reporting diff is based on upstream 94c3c5f. Local checks cover Clippy with and without diagnostics, repository asset policy, and a synthetic benchmark log with known intervals, draw counts, and memory samples. The prior in-game figures are historical prototype measurements.

**@⁠Z2VvZ2Vv** on GitHub · 2026-12-01 10:08 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/290) `Z2VvZ2Vv:codex/foxhound-8gb-review` → `main` · +0 −0 · 0 files · 73 commits · closed without merging ## Scope This revision follows the maintainer's review by keeping the benchmark reporting and the 8 GiB investigation in one reviewable diff. Enable it with `VICTORY_BENCHMARK=1` and `victory_gpu::benchmark=info` in the log filter. - Present samples emit individual frame intervals, draw counts, and submission and copy timings. - Existing DXGI and Windows samples report local and shared usage, the current budget, and commit headroom. - A pipeline reports its first missed use while pending and its first missed use after failure. The reason is tied to the state observed by the requesting draw or dispatch. Intentionally omitted passes stay in their existing aggregate counter. - `scripts/report-benchmark.ps1` summarizes selected samples and retains compatibility with earlier benchmark logs. [Usage](README.md#benchmark-logs) ## 8 GiB follow-up [TODO.md](TODO.md) retains the prototype measurements, the unresolved visual defects and the plan for matched before/after runs. The resource and descriptor work includes tracking an asset from storage through mapping and its first correct draw, measuring fully rendered shots, and checking for unintended material changes throughout each shot. The launcher, strict preflight, compositor and memory-policy changes are preserved on the [experimental branch](https://github.com/Z2VvZ2Vv/foxhound/tree/codex/foxhound-8gb-experimental). The preparation lock there now uses an exclusive Windows file handle compatible with the workspace's Rust 1.88 minimum. The memory experiments need separate 8 GiB comparisons alongside #276 and #277. ## Validation The opt-in reporting diff is based on upstream `94c3c5f`. Local checks cover Clippy with and without diagnostics, repository asset policy, and a synthetic benchmark log with known intervals, draw counts, and memory samples. The prior in-game figures are historical prototype measurements.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 10:11:54 +00:00
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-12-01 10:50 UTC · original

Noted as a draft; not merged for now. Two things from the check:

  1. The lint gate fails: apps/victory/src/prepare.rs:38 uses File::try_lock, stable since Rust 1.89, while the workspace's minimum is 1.88 (clippy::incompatible_msrv).
  2. The description says a visually matched fix is not shown yet, and it changes memory behaviour at default in several places (xmem.rs, shadow.rs, residency.rs, resource.rs, the launcher).

The measurements and the plan are useful. If you split it, the parts that only report (timing lines, the reason a pipeline is missing, the report script) can go in first without a game run; the memory controls would each need a before/after run on an 8 GB card. #276 and #277 cover part of the same ground and are being tested now.

**@⁠readmet3xt-lab** on GitHub · 2026-12-01 10:50 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/290#issuecomment-7308795179) Noted as a draft; not merged for now. Two things from the check: 1. The lint gate fails: `apps/victory/src/prepare.rs:38` uses `File::try_lock`, stable since Rust 1.89, while the workspace's minimum is 1.88 (`clippy::incompatible_msrv`). 2. The description says a visually matched fix is not shown yet, and it changes memory behaviour at default in several places (`xmem.rs`, `shadow.rs`, `residency.rs`, `resource.rs`, the launcher). The measurements and the plan are useful. If you split it, the parts that only report (timing lines, the reason a pipeline is missing, the report script) can go in first without a game run; the memory controls would each need a before/after run on an 8 GB card. #276 and #277 cover part of the same ground and are being tested now.
github-bot changed title from Experimental 8 GiB profile and plan for stable rendering to Opt-in benchmark reporting and 8 GiB investigation 2026-12-01 14:20:50 +00:00
github-bot closed this pull request 2026-12-02 07:54:52 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.