Prepare AMD beta9: NVIDIA reference defaults, read-only GPU pages, split retired queue #25

Manually merged
github merged 1 commit from gh-pr/25/head into gh-pr/25/base 2026-12-01 20:34:38 +00:00
Owner

@⁠ByBogdy on GitHub · 2026-11-29 10:49 UTC · original
ByBogdy:perf/amd-beta9 → experiment/amd-preload · +916 −32 · 20 files · 1 commits · merged 2026-11-29 10:59 UTC

Beta.9 work so far, played on an RX 9060 XT + 6-core Zen 2. Record: docs/reports/AUDIT_013_BETA9_SOURCE.md.

  • Read-only GPU pages (adapted from trustno1-coder/VIctory-NVIDIA PR #1014 by mikael-jarvinen, merge 2d53cf8e): PAGE_GRAPHICS_READONLY/EXECUTE/EXECUTE_READ ranges from XMemVirtualAlloc (incl. MEM_REPLACE_PLACEHOLDER) and VirtualProtect are subtracted from root, table and small-buffer UAV write declarations (VICTORY_GPU_RO_SKIP, on unless 0; VICTORY_GPU_RO_CHECK=1 diagnostics). Eight hunks adapted by hand; 4 new tests in required validation. In play: ~310–340 MB/frame clipped, card-step fills 2,096 → ~190/frame, their planning 2.2 → 0.8 ms, 0 check warnings.
  • Retired-object queue split in 16 by thread (VIctory-NVIDIA PR #139 by dcastell1); each part drains in order, nothing is dropped earlier.
  • NVIDIA reference portable defaults: VICTORY_CARD_AWAKE=0 (was 1), PLACED_ORDER=1, FAULT_UNLOCKED=1, PASSES_HOT=1, TEXSPK_PASS_MS=8.
  • PLAY_AMD.ps1 -Experiment none|ro-off|beta8-defaults: fixed, allow-listed comparison sets recorded in the launch metadata; the portable profile keeps a value the launcher chose (docs/PERFORMANCE_EXPERIMENTS.md). Launcher tests 30.
  • Same-place comparisons (one executable c5100a72…40be, three sessions): submitting thread median 41.2 ms as built, 37.6 ms with the NVIDIA reference defaults, 40.7 ms with #1014 off; 0 errors, 0 device removals, 0 null raw twins. Release confirmation with the exact executable f8ce6751…b993 (128fa5b): submitting thread 37.1 ms, 17.8 / 17.0 base FPS at 3–4k / 4–5k draws, 0 errors. Release notes docs/releases/v0.2.0-beta.9.md. Short sessions; 30 FPS not reached.

victory-gpu library: 466 passed, 0 failed. Required source validation passes on the exact tree. Paired 0030 ES/EN updates. No private assets, tables, SDK DLLs, raw logs, saves, identifiers or credentials.

🤖 Generated with Claude Code

https://claude.ai/code/session_016xAoUgzGsXsLb7Tz9AztjQ

**@⁠ByBogdy** on GitHub · 2026-11-29 10:49 UTC · [original](https://github.com/ByBogdy/victory-bogdy/pull/25) `ByBogdy:perf/amd-beta9` → `experiment/amd-preload` · +916 −32 · 20 files · 1 commits · merged 2026-11-29 10:59 UTC Beta.9 work so far, played on an RX 9060 XT + 6-core Zen 2. Record: `docs/reports/AUDIT_013_BETA9_SOURCE.md`. - **Read-only GPU pages** (adapted from trustno1-coder/VIctory-NVIDIA PR #1014 by mikael-jarvinen, merge `2d53cf8e`): `PAGE_GRAPHICS_READONLY/EXECUTE/EXECUTE_READ` ranges from `XMemVirtualAlloc` (incl. `MEM_REPLACE_PLACEHOLDER`) and `VirtualProtect` are subtracted from root, table and small-buffer UAV write declarations (`VICTORY_GPU_RO_SKIP`, on unless 0; `VICTORY_GPU_RO_CHECK=1` diagnostics). Eight hunks adapted by hand; 4 new tests in required validation. In play: ~310–340 MB/frame clipped, card-step fills 2,096 → ~190/frame, their planning 2.2 → 0.8 ms, 0 check warnings. - **Retired-object queue split in 16 by thread** (VIctory-NVIDIA PR #139 by dcastell1); each part drains in order, nothing is dropped earlier. - **NVIDIA reference portable defaults**: `VICTORY_CARD_AWAKE=0` (was 1), `PLACED_ORDER=1`, `FAULT_UNLOCKED=1`, `PASSES_HOT=1`, `TEXSPK_PASS_MS=8`. - **`PLAY_AMD.ps1 -Experiment none|ro-off|beta8-defaults`**: fixed, allow-listed comparison sets recorded in the launch metadata; the portable profile keeps a value the launcher chose (`docs/PERFORMANCE_EXPERIMENTS.md`). Launcher tests 30. - **Same-place comparisons** (one executable `c5100a72…40be`, three sessions): submitting thread median 41.2 ms as built, 37.6 ms with the NVIDIA reference defaults, 40.7 ms with #1014 off; 0 errors, 0 device removals, 0 null raw twins. Release confirmation with the exact executable `f8ce6751…b993` (`128fa5b`): submitting thread 37.1 ms, 17.8 / 17.0 base FPS at 3–4k / 4–5k draws, 0 errors. Release notes `docs/releases/v0.2.0-beta.9.md`. Short sessions; 30 FPS not reached. `victory-gpu` library: 466 passed, 0 failed. Required source validation passes on the exact tree. Paired 0030 ES/EN updates. No private assets, tables, SDK DLLs, raw logs, saves, identifiers or credentials. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_016xAoUgzGsXsLb7Tz9AztjQ
Exact reviewed tree 854b6e5 (local 1395a79, 3d2b1de, 128fa5b, e21245c, 854b6e5) on experiment 103ab71. Adapts VIctory-NVIDIA PR #1014 (mikael-jarvinen) and PR #139 (dcastell1); adopts the NVIDIA reference portable defaults; -Experiment comparison sets; audit 013, v0.2.0-beta.9 release notes; paired 0030 ES/EN.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016xAoUgzGsXsLb7Tz9AztjQ
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:34:36 +00:00
github manually merged commit d80255b6a3 into gh-pr/25/base 2026-12-01 20:34:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.