perf(agc): size the unit shadow from the reported device-local budget #12066

Merged
JJenkx merged 1 commit from upstream-pr/12066 into main 2026-11-06 09:12:33 +00:00
JJenkx commented 2026-10-27 18:25:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-27T18:25:08Z.


What

The unit shadow caches host imports in device-local 8 MiB slabs. Default its cap to one eighth of the first context's reported device-local heap budget, clamped to 128 MiB–1 GiB. An absent/zero budget retains 1 GiB. APS5_UNIT_SHADOW_MIB remains an explicit override. The first context fixes the process-wide cap; later budget changes do not refresh it.

This reduces the default reservation on smaller budgets to leave memory for other caches. It does not increase the 1 GiB maximum. The earlier one-sixteenth policy regressed the measured Trek working set; this PR retains one eighth. No new repeatable title-speed gain is established by the pair below.

Tested

Refreshed 2026-11-05 onto plain main 1e24993fa3a7da25e8fc27152af654687ba64552 with a single topic commit bb89ab2f85c6e0defc44aa52b6702e9586906f9a; no prerequisite PRs or merge commits. The performance run used d456a306626b, preserved on evidence/12066-change-20261105. Its complete source tree and the refreshed public head's tree are identical (84b6f24e4e85bb82880e1147fa1ae5a2553135f8). The actual summary commits below are retained unchanged. After preparing the public commit, rebuilt its full SDK/relinker and reran the focused tests on that exact head.

Linux 7.2.11-arch1-1, GCC 16.2.1, Ryzen 9 7950X (16 cores/32 threads), 128 GB RAM, RX 6650 XT 8 GB, RADV Mesa 26.2.6-arch1.1.

  • Conventions check passed. Full libs and relinker build passed.
  • Same-machine focused main/change gate: ctest --test-dir build -R '^(agc_driver_graphics|agc_driver_sparse_dma_buf_cpu_lead)$' -V -j1 --no-tests=error with ANYPS5_REQUIRE_CPU_LEAD_TEST=ON, ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Each arm passed 2/2, no skips, one verified real validation-layer insertion, no missing-layer warning and zero VUID IDs. The exact public head passed the same gate again after rebuilding.
  • agc_driver_graphics includes the budget policy vectors. The strict shared-backing test imports memfd/dma-buf memory and verifies GPU fill, shadow publication, guest bytes and boundary canaries with --require-cpu-lead. The originally selected private-anonymous backing tests skipped three paths on this RADV host and were rejected as qualification; their results remain in the archive. The strict shared test does not establish coverage of those unavailable private-import paths.

Current-head Windows validation: RX 6700 XT 12 GB report, exact bb89ab2f85c6 against plain main 1e24993fa3a7: each arm had six passing focused tests plus the Linux-only sparse-dma-buf test skipped, repeated three times, with 15 real validation-layer insertions per arm and zero VUIDs. The Windows run did not log the device-local budget; the 12 GB card is expected to reach the existing 1 GiB cap, so this is not evidence of a reduced default on that GPU or a title-performance result.

Trek to Yomi PPSA02629 v02.000.000, same idle COMBAT MOVEMENT dojo scene on both arms. Actual guest rendering was 3840×2160. APS5_OUTPUT_RESOLUTION=1920x1080 changes advertised output information and did not force this title's framebuffer size. Both arms used byte-identical initial save and warm shader/Mesa cache seeds, fixed startup inputs, normal cache behavior, APS5_PLAYGO_UNLISTED_CHUNKS=absent, and APS5_HOST_IMPORT_MIB=16384. This is a warm-cache comparison, not a cold-load benchmark or an installed-content coverage claim.

Main ran first, then the change; each bounded 690-second run separately held the host FIFO through preparation and cleanup. Traces cover seconds 540–660 with only APS5_TRACE_DIR and APS5_TRACE_SECONDS=540:120: no other APS5_TRACE_* or APS5_PROFILE_* switch. Both runs exited 0; source, SDK, seed and protected-input integrity checks passed, with no native leftovers. No external compiler jobs appeared in the sampled measurement-window process records. Twelve before/during/after window captures (both capture channels at 535/605/675 seconds) were reviewed and show the same scene; these are not atomic physical scan-out captures.

Plain main Main + this change
Presents / measured window 240 / 120066.762 ms 252 / 120183.211 ms
FPS 1.9989 2.0968
Frame p50 501.519 ms 478.127 ms
Frame p90 / p99 521.178 / 537.849 ms 493.897 / 525.162 ms
GPU busy per present 393.369 ms 367.629 ms

The point difference is +4.898% in one pair. The predeclared plan required at least 5% for a reverse-order confirmation pair; this result is below that threshold, so there was no further run seeking a favorable outcome. It does not demonstrate repeatability or a general speedup.

Both detailed traces dropped events (totals_full=false); frame/present statistics remain available separately. Slice-based waits and phase inventories are incomplete, missing slices are not idle time, and inclusive phase timings must not be added as exclusive CPU/GPU costs. Full digests and the original raw traces are attached in the evidence archive.

Plain main original summary:

{"commit":"1e24993fa3a7","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_PAD_INPUT":"1","APS5_OUTPUT_RESOLUTION":"1920x1080","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"absent","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"540:120"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA02629","title":"Trek To Yomi","content_version":"02.000.000","resolution":"3840x2160","window":{"spec":"seconds 540:120","first_present":5725,"ms":120066.762},"presents":240,"frame_ms":{"p50":501.519,"p90":521.178,"p99":537.849,"max":585.540},"gpu_busy_ms_per_present":393.369,"worker_busy_pct":{"queue worker 0x0":99.651,"queue worker 0x20":99.611},"top_phases_ms_per_frame":{"Driver.Packet":994.259,"Driver.Packet.memory_wait":450.748,"Driver.Packet.dispatch":321.749,"Resources.Complete":294.250,"Driver.Dispatch":264.907,"Vulkan.Dispatch":248.861,"Vulkan.Dispatch.shader_resources":246.969,"Graphics.Wait":153.947},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":48.098,"events_lost":397433,"totals_full":false},"draw committer":{"events_full_after_s":81.811,"events_lost":122143,"totals_full":false}},"trace":"aps5-trace-1e24993fa3a7-4191464.json.gz"}

Change, actual evaluated commit original summary:

{"commit":"d456a306626b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_PAD_INPUT":"1","APS5_OUTPUT_RESOLUTION":"1920x1080","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"absent","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"540:120"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA02629","title":"Trek To Yomi","content_version":"02.000.000","resolution":"3840x2160","window":{"spec":"seconds 540:120","first_present":5117,"ms":120183.211},"presents":252,"frame_ms":{"p50":478.127,"p90":493.897,"p99":525.162,"max":558.286},"gpu_busy_ms_per_present":367.629,"worker_busy_pct":{"queue worker 0x0":99.638,"queue worker 0x20":99.643},"top_phases_ms_per_frame":{"Driver.Packet":948.792,"Driver.Packet.memory_wait":427.409,"Resources.Complete":280.751,"Driver.Packet.dispatch":261.973,"Driver.Dispatch":215.752,"Vulkan.Dispatch":194.519,"Vulkan.Dispatch.shader_resources":192.729,"Graphics.Draw":174.301},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":47.547,"events_lost":404108,"totals_full":false},"draw committer":{"events_full_after_s":79.794,"events_lost":130263,"totals_full":false}},"trace":"aps5-trace-d456a306626b-402212.json.gz"}

Evidence archive (17,933,938 bytes; uploaded and downloaded SHA-256 verified):

b590147c108bbadfd8f3d12226cc3d6c2d587f0473f2090412044c39b4de6350

Contains both raw traces, complete digests, 12 reviewed scene captures, per-file hashes, provenance/source-tree pins, predeclared plan, final analysis, focused gate logs/results, evaluated patch and prior PR description. Historical Echoes/private-stack results in that prior description are not current-main measurements. Earlier Windows report and NVIDIA CI report concern earlier heads and are not claimed as exact-head Windows/NVIDIA validation for this refresh.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD RX 6650 XT, RADV Mesa 26.2.6-arch1.1, Linux 7.2.11-arch1-1
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5039054710 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12066). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-27T18:25:08Z. --- ### What The unit shadow caches host imports in device-local 8 MiB slabs. Default its cap to one eighth of the first context's reported device-local heap budget, clamped to 128 MiB–1 GiB. An absent/zero budget retains 1 GiB. `APS5_UNIT_SHADOW_MIB` remains an explicit override. The first context fixes the process-wide cap; later budget changes do not refresh it. This reduces the default reservation on smaller budgets to leave memory for other caches. It does not increase the 1 GiB maximum. The earlier one-sixteenth policy regressed the measured Trek working set; this PR retains one eighth. No new repeatable title-speed gain is established by the pair below. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Refreshed 2026-11-05 onto plain main `1e24993fa3a7da25e8fc27152af654687ba64552` with a single topic commit `bb89ab2f85c6e0defc44aa52b6702e9586906f9a`; no prerequisite PRs or merge commits. The performance run used [d456a306626b](https://github.com/JJenkx/AnyPS5/commit/d456a306626bfea58d1b9b64c17276cf45b996c7), preserved on `evidence/12066-change-20261105`. Its complete source tree and the refreshed public head's tree are identical (`84b6f24e4e85bb82880e1147fa1ae5a2553135f8`). The actual summary commits below are retained unchanged. After preparing the public commit, rebuilt its full SDK/relinker and reran the focused tests on that exact head. Linux 7.2.11-arch1-1, GCC 16.2.1, Ryzen 9 7950X (16 cores/32 threads), 128 GB RAM, RX 6650 XT 8 GB, RADV Mesa 26.2.6-arch1.1. - Conventions check passed. Full `libs` and `relinker` build passed. - Same-machine focused main/change gate: `ctest --test-dir build -R '^(agc_driver_graphics|agc_driver_sparse_dma_buf_cpu_lead)$' -V -j1 --no-tests=error` with `ANYPS5_REQUIRE_CPU_LEAD_TEST=ON`, `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`. Each arm passed 2/2, no skips, one verified real validation-layer insertion, no missing-layer warning and zero VUID IDs. The exact public head passed the same gate again after rebuilding. - `agc_driver_graphics` includes the budget policy vectors. The strict shared-backing test imports memfd/dma-buf memory and verifies GPU fill, shadow publication, guest bytes and boundary canaries with `--require-cpu-lead`. The originally selected private-anonymous backing tests skipped three paths on this RADV host and were rejected as qualification; their results remain in the archive. The strict shared test does not establish coverage of those unavailable private-import paths. **Current-head Windows validation:** [RX 6700 XT 12 GB report](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6652385377), exact `bb89ab2f85c6` against plain main `1e24993fa3a7`: each arm had six passing focused tests plus the Linux-only sparse-dma-buf test skipped, repeated three times, with 15 real validation-layer insertions per arm and zero VUIDs. The Windows run did not log the device-local budget; the 12 GB card is expected to reach the existing 1 GiB cap, so this is not evidence of a reduced default on that GPU or a title-performance result. Trek to Yomi PPSA02629 v02.000.000, same idle COMBAT MOVEMENT dojo scene on both arms. Actual guest rendering was **3840×2160**. `APS5_OUTPUT_RESOLUTION=1920x1080` changes advertised output information and did not force this title's framebuffer size. Both arms used byte-identical initial save and warm shader/Mesa cache seeds, fixed startup inputs, normal cache behavior, `APS5_PLAYGO_UNLISTED_CHUNKS=absent`, and `APS5_HOST_IMPORT_MIB=16384`. This is a warm-cache comparison, not a cold-load benchmark or an installed-content coverage claim. Main ran first, then the change; each bounded 690-second run separately held the host FIFO through preparation and cleanup. Traces cover seconds 540–660 with only `APS5_TRACE_DIR` and `APS5_TRACE_SECONDS=540:120`: no other `APS5_TRACE_*` or `APS5_PROFILE_*` switch. Both runs exited 0; source, SDK, seed and protected-input integrity checks passed, with no native leftovers. No external compiler jobs appeared in the sampled measurement-window process records. Twelve before/during/after window captures (both capture channels at 535/605/675 seconds) were reviewed and show the same scene; these are not atomic physical scan-out captures. | | Plain main | Main + this change | |---|---:|---:| | Presents / measured window | 240 / 120066.762 ms | 252 / 120183.211 ms | | FPS | 1.9989 | 2.0968 | | Frame p50 | 501.519 ms | 478.127 ms | | Frame p90 / p99 | 521.178 / 537.849 ms | 493.897 / 525.162 ms | | GPU busy per present | 393.369 ms | 367.629 ms | The point difference is **+4.898% in one pair**. The predeclared plan required at least 5% for a reverse-order confirmation pair; this result is below that threshold, so there was no further run seeking a favorable outcome. It does not demonstrate repeatability or a general speedup. Both detailed traces dropped events (`totals_full=false`); frame/present statistics remain available separately. Slice-based waits and phase inventories are incomplete, missing slices are not idle time, and inclusive phase timings must not be added as exclusive CPU/GPU costs. Full digests and the original raw traces are attached in the evidence archive. Plain main original summary: ```json {"commit":"1e24993fa3a7","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_PAD_INPUT":"1","APS5_OUTPUT_RESOLUTION":"1920x1080","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"absent","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"540:120"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA02629","title":"Trek To Yomi","content_version":"02.000.000","resolution":"3840x2160","window":{"spec":"seconds 540:120","first_present":5725,"ms":120066.762},"presents":240,"frame_ms":{"p50":501.519,"p90":521.178,"p99":537.849,"max":585.540},"gpu_busy_ms_per_present":393.369,"worker_busy_pct":{"queue worker 0x0":99.651,"queue worker 0x20":99.611},"top_phases_ms_per_frame":{"Driver.Packet":994.259,"Driver.Packet.memory_wait":450.748,"Driver.Packet.dispatch":321.749,"Resources.Complete":294.250,"Driver.Dispatch":264.907,"Vulkan.Dispatch":248.861,"Vulkan.Dispatch.shader_resources":246.969,"Graphics.Wait":153.947},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":48.098,"events_lost":397433,"totals_full":false},"draw committer":{"events_full_after_s":81.811,"events_lost":122143,"totals_full":false}},"trace":"aps5-trace-1e24993fa3a7-4191464.json.gz"} ``` Change, actual evaluated commit original summary: ```json {"commit":"d456a306626b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_PAD_INPUT":"1","APS5_OUTPUT_RESOLUTION":"1920x1080","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"absent","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"540:120"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA02629","title":"Trek To Yomi","content_version":"02.000.000","resolution":"3840x2160","window":{"spec":"seconds 540:120","first_present":5117,"ms":120183.211},"presents":252,"frame_ms":{"p50":478.127,"p90":493.897,"p99":525.162,"max":558.286},"gpu_busy_ms_per_present":367.629,"worker_busy_pct":{"queue worker 0x0":99.638,"queue worker 0x20":99.643},"top_phases_ms_per_frame":{"Driver.Packet":948.792,"Driver.Packet.memory_wait":427.409,"Resources.Complete":280.751,"Driver.Packet.dispatch":261.973,"Driver.Dispatch":215.752,"Vulkan.Dispatch":194.519,"Vulkan.Dispatch.shader_resources":192.729,"Graphics.Draw":174.301},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":47.547,"events_lost":404108,"totals_full":false},"draw committer":{"events_full_after_s":79.794,"events_lost":130263,"totals_full":false}},"trace":"aps5-trace-d456a306626b-402212.json.gz"} ``` [Evidence archive](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/unit-shadow-budget-bb89ab2f-main1e24993-trek-linux-20261105.tar.gz) (17,933,938 bytes; uploaded and downloaded SHA-256 verified): `b590147c108bbadfd8f3d12226cc3d6c2d587f0473f2090412044c39b4de6350` Contains both raw traces, complete digests, 12 reviewed scene captures, per-file hashes, provenance/source-tree pins, predeclared plan, final analysis, focused gate logs/results, evaluated patch and prior PR description. Historical Echoes/private-stack results in that prior description are not current-main measurements. [Earlier Windows report](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6469943348) and [NVIDIA CI report](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6588816889) concern earlier heads and are not claimed as exact-head Windows/NVIDIA validation for this refresh. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> AMD RX 6650 XT, RADV Mesa 26.2.6-arch1.1, Linux 7.2.11-arch1-1 - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-10-27 18:30:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T18:30:44Z.

Review: DISMISSED


The change and its unit budget vectors look coherent on inspection. The reported Vulkan validation gate is detailed and compares main, an intentionally broken eighth-budget variant, and the change on the same RX 6650 XT. I have not independently run the AGC runtime gate on equivalent hardware.

I checked both linked traces with tools/trace_digest.py. Their summaries are internally paired on the same title, GPU, driver and OS, but this report does not meet the repository's performance-report protocol yet:

  1. CONTRIBUTING.md requires a capture on main and one with the change. The reported baseline is explicitly a private integration tree containing several additional PRs, and the summary commits 7e4a65226453 and e039da84f6fa are not present in the public repository, so I cannot verify a main-versus-PR comparison.
  2. Both summary lines set APS5_PROFILE_DRAW=1. The performance issue form says not to set other APS5_TRACE_* or APS5_PROFILE_* switches for these captures.
  3. The prose describes 1080p output, while each summary line reports resolution: 3840x2160 despite APS5_OUTPUT_RESOLUTION=1920x1080. Please clarify the actual capture resolution and correct the description or evidence.

The digests also report dropped: yes: the before trace lost 291,165 slices and the after trace lost 959,791 slices. The summaries say totals_full: false, so the aggregate totals remain available, but most per-event trace detail is missing. Please include each digest in the PR and account for this limitation when presenting the result.

Please recapture the comparison on current main and this PR, in the same session with the same scene/settings and without APS5_PROFILE_DRAW, then replace the summary lines/traces and clarify resolution. I am requesting changes for the required performance evidence, not asserting that the code change itself is defective.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5672356732 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12066#pullrequestreview-5672356732). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-27T18:30:44Z. **Review:** DISMISSED --- The change and its unit budget vectors look coherent on inspection. The reported Vulkan validation gate is detailed and compares `main`, an intentionally broken eighth-budget variant, and the change on the same RX 6650 XT. I have not independently run the AGC runtime gate on equivalent hardware. I checked both linked traces with `tools/trace_digest.py`. Their summaries are internally paired on the same title, GPU, driver and OS, but this report does not meet the repository's performance-report protocol yet: 1. `CONTRIBUTING.md` requires a capture on `main` and one with the change. The reported baseline is explicitly a private integration tree containing several additional PRs, and the summary commits `7e4a65226453` and `e039da84f6fa` are not present in the public repository, so I cannot verify a main-versus-PR comparison. 2. Both summary lines set `APS5_PROFILE_DRAW=1`. The performance issue form says not to set other `APS5_TRACE_*` or `APS5_PROFILE_*` switches for these captures. 3. The prose describes 1080p output, while each summary line reports `resolution: 3840x2160` despite `APS5_OUTPUT_RESOLUTION=1920x1080`. Please clarify the actual capture resolution and correct the description or evidence. The digests also report `dropped: yes`: the before trace lost 291,165 slices and the after trace lost 959,791 slices. The summaries say `totals_full: false`, so the aggregate totals remain available, but most per-event trace detail is missing. Please include each digest in the PR and account for this limitation when presenting the result. Please recapture the comparison on current `main` and this PR, in the same session with the same scene/settings and without `APS5_PROFILE_DRAW`, then replace the summary lines/traces and clarify resolution. I am requesting changes for the required performance evidence, not asserting that the code change itself is defective.
adriadam10 commented 2026-10-28 18:17:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-28T18:17:17Z.

Review: DISMISSED


@MarcZX10 the author's recapture of 2026-10-28 addresses the three points of your request: the base and change are public commits (evidence/12066-base, evidence/12066-change), no APS5_PROFILE_DRAW is set, and the 3840x2160 resolution is explained. The dropped trace slices are accounted for (the figures come from the presenter, which dropped nothing). The head is unchanged (9ba10e7a84), so the merge queue keeps refusing the PR until you re-review or dismiss the request. Could you take another look?

Nothing is needed from @JJenkx for now.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5687568639 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12066#pullrequestreview-5687568639). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-28T18:17:17Z. **Review:** DISMISSED --- @MarcZX10 the author's recapture of 2026-10-28 addresses the three points of your request: the base and change are public commits (`evidence/12066-base`, `evidence/12066-change`), no `APS5_PROFILE_DRAW` is set, and the 3840x2160 resolution is explained. The dropped trace slices are accounted for (the figures come from the presenter, which dropped nothing). The head is unchanged (`9ba10e7a84`), so the merge queue keeps refusing the PR until you re-review or dismiss the request. Could you take another look? Nothing is needed from @JJenkx for now.
MarcZX10 commented 2026-10-29 07:13:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T07:13:59Z.

Review: DISMISSED


Re-checked — new head, changes still requested

The author’s Windows validation run and refreshed A/B report address several earlier evidence gaps, but the A/B still uses main 439d03db387 and the focused gate uses main 750cf6cf48; current main is edf6804cf5.

What I ran

  • Reviewed exact PR head 9ba10e7a842cca14e797e9f76655a29dad83bbf5 against current main edf6804cf52c62eacafc592dd6142cb4efe5bd05.
  • Ran git merge-tree --write-tree, compared AGC/shader paths changed since the reported A/B base and unit-shadow paths changed since the Windows test base, and ran git diff --check.
  • Checked current PR CI and the author’s A/B and Windows validation reports. I did not run GPU tests locally.

Results

Check Result
Current-main merge preview Clean; tree 1c2e2f27c8404a9bcfa6f6b83aea12b23654ff75
Performance report base / current main 439d03db387 / edf6804cf5
Changes since the A/B base AGC draw/dispatch/guest-memory/queue/trace and shader-recompiler paths changed
Changes since the Windows gate base 750cf6cf48 Shared Graphics.cpp test and environment documentation changed
Author-reported Windows gate 8/8 focused suites pass three times on each side, with Vulkan validation and no VUIDs, on base 750cf6cf48 and the PR head
Author-reported A/B Same machine/title/scene, summary lines, attached traces and digests; base includes four still-open prerequisite PRs on 439d03db387
Diff check Passed; no output
Local GPU execution Not run
Unedited available command output
$ git merge-tree --write-tree upstream/main refs/review/upstream-12066
1c2e2f27c8404a9bcfa6f6b83aea12b23654ff75
$ git diff --name-status 750cf6cf48..upstream/main -- core/libs/prx/libSceAgcDriver/Graphics/include/UnitShadow.hpp core/libs/prx/libSceAgcDriver/Graphics/src/UnitShadow.cpp core/libs/prx/libSceAgcDriver/tests/Graphics.cpp docs/dev/ENVIRONMENT.md
M core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
M docs/dev/ENVIRONMENT.md
$ git diff --check upstream/main...refs/review/upstream-12066

Negative control

Comparison Result
Author’s previous main/change pair It is internally paired and reports traces/digests, but its main commit is 439d03db387, not current main

Findings

Blocking

  • Please refresh the performance comparison against current main plus the same exact prerequisite PR revisions that let the title boot, then compare that tree with this PR added. Main has changed many AGC and shader execution paths since 439d03db387, so the reported performance result does not represent current integration. Also rerun the focused unit-shadow gate because the shared test file changed after its base.

Non-blocking

  • The report clearly discloses that the prerequisite PRs remain open and that the captures cover different post-loading portions of the title; keep those limitations beside any refreshed result.

Sources

Not verified

  • Current-main-plus-prerequisites title behavior and refreshed matched captures; no local GPU was available.

To get this to a good state

  • Publish the current-main-plus-prerequisites and current-main-plus-PR revisions, repeat the same paired capture protocol, attach summary lines/traces/digests, and rerun the focused unit-shadow gate on both sides.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5694087548 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12066#pullrequestreview-5694087548). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T07:13:59Z. **Review:** DISMISSED --- # Re-checked — new head, changes still requested The author’s Windows validation run and refreshed A/B report address several earlier evidence gaps, but the A/B still uses `main` `439d03db387` and the focused gate uses `main` `750cf6cf48`; current `main` is `edf6804cf5`. ## What I ran - Reviewed exact PR head `9ba10e7a842cca14e797e9f76655a29dad83bbf5` against current `main` `edf6804cf52c62eacafc592dd6142cb4efe5bd05`. - Ran `git merge-tree --write-tree`, compared AGC/shader paths changed since the reported A/B base and unit-shadow paths changed since the Windows test base, and ran `git diff --check`. - Checked current PR CI and the author’s A/B and Windows validation reports. I did not run GPU tests locally. ## Results | Check | Result | |---|---| | Current-main merge preview | Clean; tree `1c2e2f27c8404a9bcfa6f6b83aea12b23654ff75` | | Performance report base / current main | `439d03db387` / `edf6804cf5` | | Changes since the A/B base | AGC draw/dispatch/guest-memory/queue/trace and shader-recompiler paths changed | | Changes since the Windows gate base `750cf6cf48` | Shared `Graphics.cpp` test and environment documentation changed | | Author-reported Windows gate | 8/8 focused suites pass three times on each side, with Vulkan validation and no VUIDs, on base `750cf6cf48` and the PR head | | Author-reported A/B | Same machine/title/scene, summary lines, attached traces and digests; base includes four still-open prerequisite PRs on `439d03db387` | | Diff check | Passed; no output | | Local GPU execution | Not run | <details><summary>Unedited available command output</summary> ```text $ git merge-tree --write-tree upstream/main refs/review/upstream-12066 1c2e2f27c8404a9bcfa6f6b83aea12b23654ff75 $ git diff --name-status 750cf6cf48..upstream/main -- core/libs/prx/libSceAgcDriver/Graphics/include/UnitShadow.hpp core/libs/prx/libSceAgcDriver/Graphics/src/UnitShadow.cpp core/libs/prx/libSceAgcDriver/tests/Graphics.cpp docs/dev/ENVIRONMENT.md M core/libs/prx/libSceAgcDriver/tests/Graphics.cpp M docs/dev/ENVIRONMENT.md $ git diff --check upstream/main...refs/review/upstream-12066 ``` </details> ## Negative control | Comparison | Result | |---|---| | Author’s previous main/change pair | It is internally paired and reports traces/digests, but its main commit is `439d03db387`, not current `main` | ## Findings ### Blocking - Please refresh the performance comparison against current `main` plus the same exact prerequisite PR revisions that let the title boot, then compare that tree with this PR added. Main has changed many AGC and shader execution paths since `439d03db387`, so the reported performance result does not represent current integration. Also rerun the focused unit-shadow gate because the shared test file changed after its base. ### Non-blocking - The report clearly discloses that the prerequisite PRs remain open and that the captures cover different post-loading portions of the title; keep those limitations beside any refreshed result. ## Sources - [Author’s Windows validation report](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6469943348) - [Author’s matched capture report](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6461419758) - [Current-main unit-shadow implementation](https://github.com/boykopovar/AnyPS5/blob/edf6804cf52c62eacafc592dd6142cb4efe5bd05/core/libs/prx/libSceAgcDriver/Graphics/src/UnitShadow.cpp) - [Current-main AGC draw path](https://github.com/boykopovar/AnyPS5/blob/edf6804cf52c62eacafc592dd6142cb4efe5bd05/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp) - [Current-main shader compiler path](https://github.com/boykopovar/AnyPS5/blob/edf6804cf52c62eacafc592dd6142cb4efe5bd05/core/shader/recompiler/Recompiler.cpp) ## Not verified - Current-main-plus-prerequisites title behavior and refreshed matched captures; no local GPU was available. ## To get this to a good state - Publish the current-main-plus-prerequisites and current-main-plus-PR revisions, repeat the same paired capture protocol, attach summary lines/traces/digests, and rerun the focused unit-shadow gate on both sides.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!12066
No description provided.