Repository navigation
fix(agc): report draw cache validation miss reasons - #23550
oneandonlydean merged 1 commit into
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the inspected code supports the stated diagnostic behavior.
What I ran
Reviewed head 1eb68bccbb012081619888aa1b3102b65619198b using the prepared diff and repo_read.py for targeted source context. No commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Diff and targeted source review | passed | Four changed files read |
| Build and tests | not run | Results in the PR description were not independently verified |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Builds, tests, native run, and attached validation artifacts were not independently verified. The four changed files in manifest.json were all read; files.json was not available in the review folder listing.
To get this to a good state
Nothing is required.
|
The Windows CI build completed, but its selected test run finished 3,714 passed, 1,519 skipped, and 1 failed (5,234 selected). The sole failure is Failing Windows job. This is a CI failure report, not a claim of a clean Windows run or a paired Windows regression result. The focused paired Linux/RADV results in the description remain unchanged. AI-assisted: yes |
|
Windows + NVIDIA run of head Setup: Windows 11 Pro 10.0.26300, NVIDIA GeForce RTX 3070 Ti (Ampere), driver 610.88 (Vulkan 1.4.341), WinLibs GCC 15.2.0 r7, Release, Tests: the description does not name its six tests, so I ran every draw-cache and data-hit test:
Not covered: the new AI-assisted: yes (Claude Code). I ran the tests; this summary was written from their logs. |
|
Ran the draw-cache tests with the Khronos validation layer on Linux and an NVIDIA GPU, since CI runs the GPU tests only on lavapipe, the Tested section is on AMD and the NVIDIA run in the comments is on Windows. Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor
The Tested section does not name its six tests, so this runs every draw-cache and data-hit test (26 here; the loader inserts the layer twice per test). Every device selected the RTX 4090. The change only adds miss-reason counters to the statistics, so there is no negative control. No new AI-assisted: yes (Claude Code) |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
|
Thanks for the Windows + NVIDIA run. The six tests the description refers to are On the counters: as you note, the unit tests end before the first 10 s report, so the new line is only covered by the native PPSA06652 run in the description (22 report intervals, the six detailed counts summing to the existing AI-assisted: yes |
|
Windows follow-up on the failing It doesn't reproduce here:
This PR changes how the AGC draw cache reports validation misses; the WTF CPU-time test doesn't touch that code. So the failure looks like runner timing, inferred from not reproducing it. Re-running the Setup: Windows 11 Enterprise 22621, AMD Ryzen 9 5950X, WinLibs GCC 15.2 UCRT r7, Release. AI-assisted: yes. |
ligmaSec
left a comment
There was a problem hiding this comment.
The counters use the same selected layout-compatible candidate as the existing gate miss, and the interval reset clears both sets together. Please add a report assertion that the six reasons sum to gate for a controlled interval. That would pin the public log behavior without requiring a second validation walk. The existing draw-cache fixture is queued on lavapipe.
AI-assisted: yes.
What
Draw-cache reports group six validation refusals under
gate. A saved Hamster workshop run ended an interval with 121,626 such misses, leaving the cause hidden.Count the existing selected
EntryOutcomealongside that aggregate and report inaccessible memory, queued labels, unfinished image publication, and changed publication/pending/forget serials separately. Selection, validation and synchronization stay as they are. The counts describe failed lookups using the same first layout-compatible candidate as the existing classification, rather than every attempted variant. Existing interval reset and cache locking cover the new counters.Tested
Main
bf10f075132aand change1eb68bccbb01: full Release SDK/relinker builds and the same six draw-cache reuse/verification and user-word data-hit tests on Linux 7.2.14, GCC 16.2.1, AMD Radeon RX 6650 XT/RADV Mesa 26.2.7.ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, Khronos validation 1.4.363 andVK_LOADER_DEBUG=layerwere set on both arms. All 12 cases passed: 24 confirmed layer insertions, no skips orVUID-errors. Pinned Vulkan-Headers version 335. Frozen SDK hashes and patched/unpatched module identity were checked.Native PPSA06652 01.009.000, saved workshop,
APS5_TRACE_DRAW_CACHE=1withAPS5_PROFILE_DRAWunset: normal close, exit 0 after 222.6 seconds. In all 22 report intervals the six detailed counts sum exactly to the existinggatecount. Total: 1,063,404flushing image, 37publish moved, the other four zero. Original inputs, SDK and kernel settings remained intact; no native process remained. This is diagnostic validation, not a title speedup claim.Example new output:
Source patch, paired builds, complete GPU logs, native counter intervals and provenance, SHA-256
c3efb221b44bbcef3b13063a0ace827ea0e4a1f415ae14ad6d38f39203381c5c. Download and all 37 payload hashes verified. Game binaries and raw game traces are excluded.Branch overlap scan completed. Eleven PRs with base conflicts required manual shared-file review; their indexed heads matched live GitHub heads, and none adds these outcome counters. The branch merges cleanly with
d7e3a494470b; its four upstream files are unchanged since the tested base.The six focused Linux cases are
agc_driver_draw_cache_reuse,agc_driver_draw_cache_reuse_verify,agc_driver_draw_cache_reuse_entry_verify,agc_driver_draw_data_hit_user_words,agc_driver_draw_data_hit_user_words_verify, andagc_driver_draw_data_hit_user_words_table_keep.Independent Windows/NVIDIA evidence: artor410's report tested this head on
mainded746ea12, Windows 11 Pro 26300, RTX 3070 Ti, NVIDIA 610.88, WinLibs GCC 15.2.0 r7 and Khronos 1.4.363. The author reports 27/27 selected draw-cache/data-hit tests passing on both sides, the layer inserted in every test and no VUIDs. Those short tests do not exercise the new 10-second counter reports; no title or full-suite run is claimed by that report.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)