Repository navigation
vk_pipeline_check: enable maintenance8 with the runtime so offline BVH cache seeds hit - #7474
LukeOsland1 wants to merge 2 commits into
Conversation
|
AMD repeat of this, as the description asks for. Tested Setup: Windows 11, MSVC (VS 2022 Build Tools), RX 9070 XT (driver 32.0.32029.2010) and the Radeon gfx1036 iGPU. Check: the
On this driver the key holds One more thing that matters for the build's seed on AMD and may be worth a look on NVIDIA: the AMD driver also keys on the executable's file name (not its folder). You got 52/52 from a AI-assisted. |
|
Independent RTX 3080 Ti result on Arch Linux, Wine 11.20, NVIDIA 615.78.08 and clang-cl 23.1.3/xwin. I ran the same private RT-5 integration binary and the same 52 locally prepared builder shaders twice, with an empty driver cache directory for each run. I changed only the checker-generated application cache. The stock checker was built from main
These are startup outcomes. I did not measure Vulkan creation-feedback hits inside the retail process. Offline, the patched Windows checker reused its own seed for 52/52 hits. No game files or traces attached. AI-assisted. |
|
Tested The diff against the merged upstream main is only Method (no game files). 16 synthetic GLSL compute shaders (64 threads, a 144-byte push-constant block, LDS, a barrier; no descriptors, so none of them asks for
So on Ampere with 617.42, as on the Ada/610.88 card in the description, the driver keys application-cache entries on whether Executable name and folder (the question in @sennecools' AMD comment): loading the PR's seed with the same binary copied as Unit tests (PR worktree, Not covered: the runtime side. I didn't load a seed in AI-assisted (Claude Code). Synthetic shaders only; nothing game-derived was used or attached. |
|
Tested Setup:
On the combined tree, these also pass: AI-assisted (Claude Code). |
|
Tested Rebuilt GPU suite (full) — 224/241 passed, 16 skipped, 1 failed ( Two semantic files fail on this head: Counts and error classes only; no game data. AI-assisted. |
|
Independently checked head 2029116 on Windows 11, NVIDIA RTX 5070 Ti, driver 610.74, MSVC 19.44, Vulkan-Headers 1.4.363. No blocking issue found in the change. The checker now enables maintenance8 whenever supported, matching the runtime's policy. The existing per-module requirement check remains in place. Validation:
This independently reproduces cache incompatibility between the two checker configurations on this NVIDIA driver. It does not establish a retail boot improvement: no game inputs, runtime cache-reader run, AMD hardware, or timing measurements were used. AI-assisted review and synthetic testing with Claude Code; results reviewed by the coordinating agent. |
|
RTX 3090 cache measurement on Windows, using the 52 BVH compute programs from my local copy. This is the checker from this PR on top of
Driver feedback was collected with AI-assisted with OpenAI Codex. |
|
Measured on another NVIDIA card: this fixes the cache miss for me. On: Windows 11, MSVC, NVIDIA GeForce RTX 3060, driver 32.0.16.2124, Vulkan SDK 1.4.363.0, retail 1.0.2.1. Runtime from #8134's head with only this PR's commit (
(AI-assisted run and write-up, Claude Code.) |
|
Independent Windows Sandbox experiment on an NVIDIA GeForce RTX 4070 Ti (driver 610.88), with a temporary boot integration and a private, Python-decoded BVH-only shader set (52 modules passed spirv-val; semantic equivalence was not established):
The Sandbox configuration disabled networking and guest checks found no active adapters or default routes before each execution. No rendered frame or correctness of translated shader behavior is claimed. |
The offline checker can successfully seed every BVH pipeline and the runtime can accept the cache file, yet the driver can report zero application-cache hits. On Windows with an RTX 4070 Ti SUPER (610.88), this happened for all 52 distinct Xbox 1.0.2.1 builder pipelines.
The runtime enables
maintenance8when the device supports it. The checker previously requested it only if a selected module declared that requirement. None of these 52 modules did. In a single-module control I varied device features and isolatedmaintenance8; enabling that feature was sufficient to turn a miss into a hit. This patch uses the existing device-extension and feature query for every batch. The existing per-module requirement check is preserved for devices without the feature.Coordination claim · Original RX 9070 XT boot finding
Runtime measurements
Compared the stock checker at
37f2151with this change. Both created all 52 pipelines from the same locally translated, wave64-emulated BVH modules. I ran the actual builder constructor through the Vulkan D3D12 device inbvh_builder_test(#5680 atac440c30with #7360 at32232957applied for the runtime-saved control). Local instrumentation recorded monotonic time and Vulkan's whole-pipeline creation feedback around each runtimevkCreateComputePipelinescall. Each constructor made 53 successful calls for 52 distinct modules. Hits count only the first request for each module.Three fresh processes per row, interleaved order, valid feedback on all 52 distinct requests. Driver-managed caches were left intact. These are warmed-driver measurements of pipeline creation, not boot times. The reported AMD boot stop still needs a repeat on the affected card with a newly generated seed.
Checks
Windows 11 build 26300, NVIDIA RTX 4070 Ti SUPER, driver 610.88, MSVC x64. All 52 modules passed spirv-val. Both checker unit suites passed (21 tests), as did the CMake CLI test. The patch changes only the offline checker; #5680 and #7360 supplied the measurement setup. AI-assisted with Codex. All game-derived inputs, caches and per-module logs stayed local.