reprend #2062: d3d12: say when the driver's pipeline cache stops keeping new pipelines (RT-PIPELINE-CACHE-GROWTH-STALL) #2737
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2737
Loading…
Reference in a new issue
No description provided.
Delete branch "carry/pr-2062"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Carries #2062 by @thegalaxydev, because it conflicts with
mainafter #2566 and the reminder to mergemain(https://github.com/ProjectLeonida/mandy/pull/2062#issuecomment-7243415354) 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 https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7280119323; 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
Independent Windows check of
bede3ad0don currentmainb17b22d33(no conflict, tree08d87c24d). Native Windows 11, MSVC 19.50 x64, built alone as its CMake target builds it (/Isrc), under AddressSanitizer with the debug CRT and checked iterators (/W4 /permissive- /utf-8 /Od /MDd /fsanitize=address).test/pipeline_cache_store_test.cppexits 0, no ASan report, 0 warnings.GrowthWatch,stalled_after_buildsandstalled_below_bytes, which this PR adds topipeline_cache_store, so it doesn't build againstmain.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
bede3ad0dmerged withmainbe7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA).ctest -R ^pipeline_cache_store$: 1/1 passed. No red: the test uses names this pull request adds (GrowthWatch,stalled_after_builds,stalled_below_bytes), so it does not build againstmain.Unit test only: no run of the title (this is the Vulkan path).
AI-assisted (Claude Code).
Merging. Head
bede3ad0dmerges cleanly withmainf0143cd5fand does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes.AI-assisted (Claude Code).