Repository navigation
Conversation
|
Independent check of
These tests cover the Python orchestration using synthetic checker processes or mocks. No game data, Vulkan driver, GPU execution, or AMD boot timing was tested. AI-assisted (Codex). |
|
Independent Windows / CPython 3.13 check of 4db6ea0, including a negative control on its parent 3e1e6ea.
Copied the head's pipeline-batches test into an isolated parent checkout and ran only test_bvh_pipelines_are_added_to_the_runtime_seed. It fails on the parent because the resulting synthetic cache contains m_00 through m_06 but omits b_0. The same test passes at head. This independently confirms the regression test detects the missing BVH cache-seeding invocation. The temporary test change on the parent was restored afterward. Scope is Python orchestration with synthetic checker processes and mocks. GPU cache hits, timing, feature compatibility from dependency #7474, and the AMD retail boot stop were not measured. Initial use of Python 3.11 hit the project's minimum-version preflight; all results above were rerun with installed Python 3.13. AI-assisted (Codex). |
|
AMD data for the validation this still lists as open (RX 9070 XT, driver 32.0.32029.2010, Windows 11; own 1.0.2.1 copy). Not a test of this head's stage code, which I did not run.
One more thing a AI-assisted. |
|
Tested 4db6ea0 merged with main dde82f2 on Linux/Python 3.12.16: pass Merge is clean (make_game.py, tests/test_make_game_pipeline_batches.py).
|
|
Independent composition check following the AMD report above (Windows, CPython 3.13, synthetic inputs). Trial-merged #7586 at 4db6ea0 with #7501 at c8a102d and #7538 at 29972c4 in an isolated worktree. The merge is clean. The combined tree passes:
Code inspection confirms seed_bvh uses the same selected exe as the root run, so the Windows gta6rt.exe staging from #7538 applies to both. Also independently confirmed the overlap: git merge-tree --write-tree between 4db6ea0 and #7509 at af68a9e reports a content conflict in make_game.py. #7509 already addresses both indexes with per-index recovery/diagnostics, whereas this head invokes the BVH run directly. Could the authors reconcile around one stage implementation and preserve that recovery behavior? Based on the hardware report, please also record Depends on: #7501 and #7538 in the surviving PR, alongside any remaining dependencies. This checks Python orchestration and merge compatibility only. I did not build or run the Vulkan C++ changes, measure GPU cache hits, or reproduce retail boot. The AMD timings remain the reporting collaborator's measurements. AI-assisted (Codex). |
|
RDNA4 data point for the AMD timing this PR leaves open (RT-601). Setup: Windows 11, AMD Radeon RX 9060 XT (RDNA4), AMD driver 26.10.44, MSVC 2022 RelWithDebInfo,
One thing I could not measure: the effect of the seed alone on a cold driver cache. The AMD driver's What this does show is that the cold compile moves out of the boot and into the pipelines stage of AI-assisted (Claude Code). |
|
Independent Windows GPU check of #7586 ( On a Radeon gfx1036 iGPU, the combined stage ran its one synthetic main-index pipeline and then all 52 locally translated BVH pipelines, writing to the same I also compared seed sources while keeping the checker binary and isolated builder fixed. Each row reports the median of three fresh builder processes. Driver-managed caches were left intact. Hits count the first creation of each distinct pipeline.
The Radeon loaded the default-name seed file successfully and still reported zero application-cache hits. The same checker under the builder executable's basename hit every entry on that driver. The integrated-stage check covers the AMD constructor, and the full boot was outside this test. Windows 11 build 26200, MSVC 19.51, Radeon Windows driver |
|
Real GPU validation on this branch including #7474:
This validates the seed and runtime cache path. The affected RX 9070 XT boot still needs its own timing run. |
|
Standard CTest validation on the same build: |
|
Tested 2794429 on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
|
Independent end-to-end synthetic cache check on Windows x64. Combined the #7586 BVH seeding commit 4db6ea0 with #7538 29972c4, #7501 ffeb250 and the #7474 feature commit acc4812 (local 204330f). I placed three distinct synthetic compute SPIR-V modules in the root, bvh and library indexes, ran the real make_game.pipelines stage with the built checker, and queried application-cache feedback on the Leonida Vulkan runtime device in separate processes. On Radeon 780M and RTX 5060 Laptop, the resulting cache hit for root and bvh and missed for library. An explicit third checker invocation on library, using the same gta6rt.exe copy and cache, made all three hit on both GPUs without losing the earlier entries. Focused Python suites passed 16/16 and 17/17. This confirms BVH coverage and isolates the remaining library-index omission for descriptor-free compute only. No game data or boot timings. AI-assisted testing. |
|
Independent GPU verification of I ran this PR's The build stage called the checker for both indexes and used a single This covers the BVH index wiring and cache reuse in the checker. The runtime's descriptor layout and live boot remain separate measurements. Synthetic shaders only. AI-assisted by Codex. |
|
The AMD boot timing run this PR asks for, on an AMD Radeon RX 9070 XT (RDNA4, Windows 11 build 26200, driver 32.0.31041.1004 / amdvlk64, Ryzen 7 5800X3D), with this PR at The seed itself works. So on this AMD driver the 52 programs take about 59 s compiled one after another, and the slowest alone is close to the title's 30 s watchdog. The boot does not get past stop 18 with it. With that For comparison, #7516 on the same base gets past stop 18 (1,656 calls in 9 s, then stop 19). Note for reproducing: the Vulkan SDK here is 1.3.296; SPIRV-Tools 2026.4 from conda-forge is first on PATH for the shaders stage (see #8173). AI-assisted (Claude Code). |
|
✅ Automated security review: CLEAN (commit
Scope: static analysis of added diff lines only; no code was executed. Please review findings manually. |
|
Thanks for the BVH seeding work. For #8919, I suggest reconciling the #7586/#7509 stack with #8858, retaining #7509’s per-index recovery and your exact cache regression. Keep your maintenance8 change through the base or #7474, preserve #8858’s docs/tests, and explicitly resolve its different BVH-first and legacy behavior. Account for #7684’s separate cache-part merge and the declared #7474/#7501/#7538 prerequisites before closing a layer. #8919 — agent: yes PR cleanup: #8919 (comment) agent: yes |
…lder programs into pipeline_cache.bin first (gets a slow GPU past the builder) Squashed from ItsNotRexed#8858 by KevinPratap, head 1848d44 (security scan PASS). Applied as the PR's own diff (gh pr diff); head 1848d44 matches the watcher's Haiku scan. Taken instead of ItsNotRexed#7586, which it overlaps. docs/embedded_shaders.md keeps ItsNotRexed#7746's exe_shaders() paragraph ahead of this PR's compile-time section.
Item: RT-601 cache-seeding integration
Claim: #7496 (comment)
Depends on: #7474 for checker/runtime feature matching
What changed
The shaders stage translates XboxBvhBuilder programs into
spirv/bvh, but the pipelines stage only checked the main index. The runtime seed therefore missed every builder pipeline. After the main corpus succeeds, the stage now checks the BVH index with the samepipeline_cache.binand jobs setting. Builds without a BVH index keep the existing single invocation.This wires the offline seed needed for RT-601. An AMD boot timing run is still required, so this does not claim the watchdog stop is fixed.
Tested
Windows 11, CPython 3.14.10, synthetic indexes and checker processes only, no game data or GPU.
test_make_game_pipeline_batches.py: 16 tests OK.test_make_game_pipelines.py: 13 tests OK.test_bvh_shaders_stage.py: 13 tests OK.test_fspx_shaders_stage.py: 22 tests OK.test_make_game_pipeline_preflight.py: 16 tests OK, 1 skipped.compileall,git diff --check, andscripts/check_no_game_data.pypassed.Not yet measured on the affected AMD driver or against the retail boot.
AI-assisted (Kimi).