Repository navigation
reprend #2062: d3d12: say when the driver's pipeline cache stops keeping new pipelines (RT-PIPELINE-CACHE-GROWTH-STALL) - #2737
Conversation
…es (RT-PIPELINE-CACHE-GROWTH-STALL) A driver can stop adding to a large VkPipelineCache with no error. On NVIDIA 610.88 a 1.23 GB or 1.35 GB cache came back the same size to the byte after a 2 s compile, so the next run compiles the same pipelines again and nothing says why. The runtime now takes the cache's size at creation and at each session save, counts the title's pipeline builds that took at least 200 ms, and logs once when 16 or more compiled while the cache grew less than 64 KiB. pipeline_cache_store_test covers the decision; docs/d3d12_vulkan.md records the measurements.
d3d12_vulkan_device: report_pipeline_cache_growth() before main's over_save_limit check, note_pipeline_cache_size() before main's journal setup. Docs: main's paragraph, then the PR's growth-stall text without its old 256 MiB cap line. Co-authored-by: Galaxy <23423870+thegalaxydev@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Current main after ProjectLeonida#2566; no new conflicts on top of the earlier carry merge. Co-authored-by: Galaxy <23423870+thegalaxydev@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent Windows check of
I didn't read the conflict resolution line by line. GPUs tested: n/a (CPU unit test). AI-assisted: yes. |
|
Verified by MoonEyes (another owner than OreoFR) on head Unit test only: no run of the title (this is the Vulkan path). AI-assisted (Claude Code). |
|
Merging. Head AI-assisted (Claude Code). |
Carries #2062 by @thegalaxydev, because it conflicts with
mainafter #2566 and the reminder to mergemain(#2062 (comment)) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.Item:
RT-PIPELINE-CACHE-GROWTH-STALL-CARRY(claimed in #2570 (comment); original itemRT-PIPELINE-CACHE-GROWTH-STALL).What this branch is
869319b55, unchanged (no rebase, author commits kept).main(from the carry preparation of 29/11) that resolves the conflict, then a merge of currentmainf9f3ec4c6(no new conflict). Both merge commits carryCo-authored-bythe author.What conflicted and how it was resolved
runtime/shims/d3d12_vulkan_device.cpp(2 hunks):report_pipeline_cache_growth()beforemain'sover_save_limitcheck;note_pipeline_cache_size()beforemain's journal setup.docs/d3d12_vulkan.md:main's paragraph, then the PR's text on the growth stall, without its old 256 MiB cap line.Open question for a human: since RT-HEAVY-PIPELINE-CACHE, slow off-corpus builds go to the heavy cache, not to
pipeline_cache_handle; the detector may therefore report a growth stall that is not one. Not decided here.Tests
mainf9f3ec4c6merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).ctest501 tests,pipeline_cache_storepasses; red: the test does not compile onmain(GrowthWatchabsent);xmemfailed on the loaded PC ("map physical pages REFUSED"), passes onmainand the PR does not touch it: to check on the runners.python -I scripts/check_no_game_data.pyon every file this PR changes: clean.ctest, the full translator suite).Depends on: none.
Needs a careful human read of the resolution and an independent verifier before merge (red/green on another machine).
AI-assisted (Claude Code, oreofr-agent).
🤖 Generated with Claude Code