feat(agc): add a detailed second page to the performance overlay #10487

Merged
EagleBearerYS merged 4 commits from upstream-pr/10487 into main 2026-10-26 21:24:47 +00:00
EagleBearerYS commented 2026-10-24 03:12:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-24T03:12:46Z.


What

F10 now cycles the performance overlay through three states: off, page 1 (unchanged), page 2 (new), then off again. ANYPS5_OVERLAY=2 starts on page 2, 1 on page 1, and 0 or unset leaves it off. Any other value is refused with ANYPS5_OVERLAY must be 0, 1 or 2. Each change of page resets the statistics.

Page 2 (46 columns, read once a second while it shows; a line or part whose source isn't available in the run is left out):

Line Source
FPS, FRAME page 1's statistics
BUSY % per queue worker the trace totals, as worker_busy_pct counts them
top 5 phases, ms/frame the trace totals, as top_phases_ms_per_frame aggregates them
Q0 WAIT MS/FRAME: MEM … LOCK … GPU … queue 0's packet memory and rendering waits, GPU-mutex waits, and recorder, serial and fence waits
RENDER PASSES/FRAME a count where a draw begins a pass
PIPELINES: COMPILING n NEW/S n the shader-preparation and prebuild backlog, and pipelines created
HIT %: DRAW CACHE … PIPELINES … draw-cache lookups and the pipeline store's hits
FLIPS/S, PRESENTS/S, DROPPED/S, REPEATED/S flips counted, presents, acquires dropped for want of a swapchain image, and presents of the same display buffer
COMMIT: used/limit GB FAULTS/S Windows K32GetPerformanceInfo and PageFaultCount; Linux /proc/meminfo and getrusage
HOST IMPORTS: n used/budget GB the host import counters and budget, when the device imports host memory
CPU COPIES: x MB/S CAP: y% a new per-thread counter of the bytes address-based builds copy, and their largest build against the copy cap
UNIMPLEMENTED: n/S n TOTAL, REFUSED SHADERS: n a new count in NotImplemented_nid_no_patch before it throws, and the refused-shader set under APS5_SKIP_REFUSED_DRAWS
TITLE: id PRESENT: mode the title ID and the present mode

Cost. Page 2 is meant to cost nothing unless it shows:

  • Hidden: the same work as main, plus a Recording() check per render pass begun, the copy counter in address-based builds that copy, one relaxed add on NotImplemented_nid_no_patch's throw path, and one 8-byte store per presented display buffer. Threads the trace names keep their name in a thread-local once, at start.
  • Page 1: as on main, plus two compares per present. Trace totals stay off.
  • Page 2: it turns the trace totals on for the driver's named threads (no slices are buffered), reads its sources once a second, and composes 46 columns per present. Leaving it turns all of that off again.
  • An APS5_TRACE_* run behaves as today: page 2 only reads the totals that trace already records.
  • Locks: the sampler runs on the presenter under the GPU mutex. It only tries the draw-cache, prepare-pool and trace-session locks and keeps its last figures when one is busy. It takes the imports and pipeline-store locks, which are documented to come after the GPU mutex.

Headless, 5 alternating runs each (Xeon 2.10 GHz VM, lavapipe), medians:

per … main this PR
present, hidden 2.6 ns 3.2 ns
timed scope with one stage, hidden 3.1 ns 3.7 ns
timed scope with one stage, page 1 3.5 ns 3.6 ns
present on page 1 11.0 µs 11.4 µs
present on page 2 at 60 fps, with its once-a-second sample 29.7 µs
timed scope with one stage, page 2 115 ns

Page 2's real cost is the last row: each timed scope on a driver thread reads the clock while it shows.

Left out: the upscaler mode (#10043 isn't merged), the shader disk-cache hit rate (its totals are fenced off from other sources in CMake, so I didn't wire them; reviewers can say whether page 2 may read them), and GPU-time lines (no GPU query is added; Q0 WAIT … GPU is the CPU's wait for the GPU).

Docs: docs/user/USAGE.md describes the cycle, every page-2 line with its source on Windows and Linux, and what runs in each state; docs/dev/ENVIRONMENT.md's ANYPS5_OVERLAY row lists page 2.

The commits:

  1. d9626d8500: the panel's width comes from its content (a refactor; page 1 unchanged).
  2. 3c8a2bc895: the second page and the three-state cycle.
  3. f979249e57: page 2's sources, the new counters and the trace totals.
  4. 1eabf2385b: the docs.

Tested

Screenshots, Planet of Lana (PPSA19450) on Windows with an RTX 3070, this PR's head 1eabf2385b, page 2 started with ANYPS5_OVERLAY=2:

Page 2 in play, and its panel at native size:

Page 2 over Planet of Lana in play

The page 2 panel at native size

Page 2 at the title menu:

Page 2 over Planet of Lana's title menu

The in-play spot above with the overlay off:

The same spot in play with the overlay off

  • Planet of Lana (PPSA19450), page 2 against the overlay off, on the same RTX 3070 Laptop GPU (clocks not held), this PR's head 1eabf2385b, 1920x1080 window: B A A B, 540 s per arm, from the title's boot. In play (+420 to +500 s), page 2 averaged 19.8 presents/s and 13.89 ms of GPU busy per present, against 20.15 and 13.56 ms with the overlay off. That's −1.7 % presents/s and +0.33 ms per present, inside the spread between arms (18.7-21.0 presents/s). The menu (+90 to +150 s) varied more between arms (33.7-41.8 presents/s), so it gives no reading of the cost. The second half of the run was faster in both conditions, and the B A A B order cancels that.

    Arm Play presents/s Play p50 (p90) Play GPU busy per present
    page 2 18.7 51.9 ms (62.1) 14.26 ms
    off 19.3 51.2 ms (61.0) 13.76 ms
    off 21.0 46.1 ms (53.1) 13.35 ms
    page 2 20.9 46.7 ms (52.8) 13.52 ms
  • The tests, in the existing overlay test executables:

    • agc_performance_overlay_statistics: parsing, the cycle (including past 2^64 presses), the page-2 composer and layout at four sizes, the trace deltas, hit rates, present-mode names, the OS reads, the copy counter across threads, the unimplemented count, the trace switch on and off;
    • agc_performance_overlay (Vulkan): page 2 drawn bit for bit at 1280x720, the F10 cycle with its resets, and the sampler end to end.
    • Page 1's full panel at 1920x1080 prints the same 12 lines on main and on this PR, apart from the live VRAM value.
  • GitHub's runners (run 40055350747, ×5, at this PR's head; main's tree doesn't build these tests, as they use the new API):

    • Linux: 7 run, 7 pass, 0 skip, 0 fail (agc_performance_overlay, _statistics, _device_selection, _device_selection_cpu, agc_performance_trace, agc_driver_present_mode, agc_driver_presentation_pass).
    • Windows: 7 run, 4 pass, 3 skip, 0 fail. The 3 device tests (agc_performance_overlay, _device_selection, agc_driver_presentation_pass) skip, since the runner has no Vulkan device.
    • The libc and libkernel suites pass on both, run with APS5_SKIP_TIMING_TESTS=1.
  • Linux, CI's configure flags (lavapipe, on a cloud machine): the overlay, trace and present tests --repeat until-fail:20, 8 tests, 20 of 20 each; CI's Linux job mirrored: 1,927 tests, of which 1,837 pass, 86 skip and 4 fail, the four being that machine's IPv6 tests. Each commit's own overlay tests pass at that commit.

  • Validation layer (Khronos 1.3.275, lavapipe), main ef0d8ae3b and this PR over agc_performance_overlay, _device_selection, _device_selection_cpu, agc_driver_present_mode, agc_driver_presentation_pass and agc_resident_present:

    • all 6 pass on both trees;
    • the layer loaded in each of the 4 that create an instance, and page 2 was drawn under it;
    • 0 validation messages on either tree;
    • a control test through the driver's own device (agc_driver_depth_plane_fill) reports the known VUID-VkDeviceCreateInfo-pNext-pNext on both, so the layer was reporting. No new VUID-.
  • Validation layer on an RTX 3070 Laptop GPU (Khronos layer from the LunarG SDK 1.4.363, NVIDIA 617.42, Windows 11, GPU at P0), this PR's head 1eabf2385b, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1, over agc_performance_overlay, _device_selection and agc_driver_presentation_pass, twice:

    • 3 run, 3 pass, 0 skip, 0 fail, both times;
    • the loader inserted the layer in all 3 (VK_LOADER_DEBUG=layer);
    • no VUID- or other validation message in the output. No control test with a known message ran on this GPU, so this rests on the layer's default reporting; the lavapipe control above shows the layer reporting there.
  • 0937d4c6f6, a merge of main 2742004ed2. The one conflict was in GuestBufferMemory.cpp's AcquireRegistered. #9514 reads the address-copy cap there through its own copy of the APS5_ADDRESS_COPY_MAX_MIB lookup, which this PR moves into addressCopyLimit(). The merge takes the cap from addressCopyLimit(), which returns the same value, and keeps this PR's per-thread copy count and #9514's eviction. So #9514's separate copy of the lookup is gone, and the rest of the PR's own diff is unchanged.

    • Focused, 10 runs in a row (run): ^agc_performance_overlay, the presentation-pass, present-mode, resident-present and performance-trace tests, and #9514's agc_address_copy_cap and agc_address_copy_cap_remembered. Linux: 10 run, 10 pass, 0 skip, 0 fail. Windows: 10 run, 6 pass, 4 skip (no Vulkan device), 0 fail.
    • #9514's import-path tests, 10 runs in a row (run): ^agc_driver_guest_memory_lifetime, agc_driver_host_import_lifetime, agc_driver_host_import_mutation_race and agc_driver_host_import_failure_handles. Linux: 14 run, 14 pass, 0 skip, 0 fail. Windows: 13 run, 2 pass, 11 skip (no Vulkan device), 0 fail.
    • Suites: libc and libkernel pass on Linux (144 and 207) and libc on Windows (171). On Windows, libkernel's guest_raise_in_system_call timed out at 30 s once, 221st of 223; this PR changes nothing in libkernel. The import-path run's suites pass on both. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 815dfe12e4, a merge of main 14c99b52ac (run). main's #10160 adds a wait for the DCC key writer in VulkanDevice.cpp's PresentDisplayBuffer, on the lines where this PR records the presented address; the merge keeps both, recording the address first. main's e75a166184 already includes <optional> in Driver/Diagnostics.cpp, so this PR's include there merges into it; this PR's other changed lines are the same as before the merge. The 10 focused tests (the present, overlay and trace tests, agc_resident_present and the agc_address_copy tests) pass 10 runs in a row. Linux: 10 run, 10 pass, 0 skip, 0 fail. Windows: 10 run, 6 pass, 4 skip, 0 fail; the four skipped (agc_driver_presentation_pass, agc_performance_overlay, agc_performance_overlay_device_selection and agc_resident_present) need a Vulkan device, which the Windows runner lacks. Suites: libc and libkernel pass on Linux (145 and 210) and on Windows (172 and 230). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.

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 (none added)
  • Generic behaviour, not specific to one title
  • Depends on: #9129, #9626, #9971, #10043 (merge order only: each touches a line or two this PR also changes, in the overlay, the draw-cache statistics or VulkanDevice.cpp; this PR goes after them and adapts to each when it merges). #10160 merged, and this branch now merges it; #10420 was closed
  • Fixes: none
  • Unblocks: none (a diagnostic page)
  • GPUs tested: lavapipe (llvmpipe), on GitHub's Linux runner and on a cloud machine; an RTX 3070 Laptop GPU (Windows, NVIDIA 617.42) for Planet of Lana (the screenshots and the page 2 against off pair) and the validation run
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4992032181 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10487). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-24T03:12:46Z. --- ### What F10 now cycles the performance overlay through three states: off, page 1 (unchanged), page 2 (new), then off again. `ANYPS5_OVERLAY=2` starts on page 2, `1` on page 1, and `0` or unset leaves it off. Any other value is refused with `ANYPS5_OVERLAY must be 0, 1 or 2`. Each change of page resets the statistics. **Page 2** (46 columns, read once a second while it shows; a line or part whose source isn't available in the run is left out): | Line | Source | |---|---| | `FPS`, `FRAME` | page 1's statistics | | `BUSY %` per queue worker | the trace totals, as `worker_busy_pct` counts them | | top 5 phases, ms/frame | the trace totals, as `top_phases_ms_per_frame` aggregates them | | `Q0 WAIT MS/FRAME: MEM … LOCK … GPU …` | queue 0's packet memory and rendering waits, GPU-mutex waits, and recorder, serial and fence waits | | `RENDER PASSES/FRAME` | a count where a draw begins a pass | | `PIPELINES: COMPILING n NEW/S n` | the shader-preparation and prebuild backlog, and pipelines created | | `HIT %: DRAW CACHE … PIPELINES …` | draw-cache lookups and the pipeline store's hits | | `FLIPS/S`, `PRESENTS/S`, `DROPPED/S`, `REPEATED/S` | flips counted, presents, acquires dropped for want of a swapchain image, and presents of the same display buffer | | `COMMIT: used/limit GB FAULTS/S` | Windows `K32GetPerformanceInfo` and `PageFaultCount`; Linux `/proc/meminfo` and `getrusage` | | `HOST IMPORTS: n used/budget GB` | the host import counters and budget, when the device imports host memory | | `CPU COPIES: x MB/S CAP: y%` | a new per-thread counter of the bytes address-based builds copy, and their largest build against the copy cap | | `UNIMPLEMENTED: n/S n TOTAL`, `REFUSED SHADERS: n` | a new count in `NotImplemented_nid_no_patch` before it throws, and the refused-shader set under `APS5_SKIP_REFUSED_DRAWS` | | `TITLE: id PRESENT: mode` | the title ID and the present mode | **Cost.** Page 2 is meant to cost nothing unless it shows: - **Hidden:** the same work as `main`, plus a `Recording()` check per render pass begun, the copy counter in address-based builds that copy, one relaxed add on `NotImplemented_nid_no_patch`'s throw path, and one 8-byte store per presented display buffer. Threads the trace names keep their name in a thread-local once, at start. - **Page 1:** as on `main`, plus two compares per present. Trace totals stay off. - **Page 2:** it turns the trace totals on for the driver's named threads (no slices are buffered), reads its sources once a second, and composes 46 columns per present. Leaving it turns all of that off again. - **An `APS5_TRACE_*` run** behaves as today: page 2 only reads the totals that trace already records. - **Locks:** the sampler runs on the presenter under the GPU mutex. It only tries the draw-cache, prepare-pool and trace-session locks and keeps its last figures when one is busy. It takes the imports and pipeline-store locks, which are documented to come after the GPU mutex. Headless, 5 alternating runs each (Xeon 2.10 GHz VM, lavapipe), medians: | per … | `main` | this PR | |---|---|---| | present, hidden | 2.6 ns | 3.2 ns | | timed scope with one stage, hidden | 3.1 ns | 3.7 ns | | timed scope with one stage, page 1 | 3.5 ns | 3.6 ns | | present on page 1 | 11.0 µs | 11.4 µs | | present on page 2 at 60 fps, with its once-a-second sample | | 29.7 µs | | timed scope with one stage, page 2 | | 115 ns | Page 2's real cost is the last row: each timed scope on a driver thread reads the clock while it shows. **Left out:** the upscaler mode (#10043 isn't merged), the shader disk-cache hit rate (its totals are fenced off from other sources in CMake, so I didn't wire them; reviewers can say whether page 2 may read them), and GPU-time lines (no GPU query is added; `Q0 WAIT … GPU` is the CPU's wait for the GPU). **Docs:** `docs/user/USAGE.md` describes the cycle, every page-2 line with its source on Windows and Linux, and what runs in each state; `docs/dev/ENVIRONMENT.md`'s `ANYPS5_OVERLAY` row lists page 2. **The commits:** 1. **d9626d8500:** the panel's width comes from its content (a refactor; page 1 unchanged). 2. **3c8a2bc895:** the second page and the three-state cycle. 3. **f979249e57:** page 2's sources, the new counters and the trace totals. 4. **1eabf2385b:** the docs. ### Tested **Screenshots,** Planet of Lana (PPSA19450) on Windows with an RTX 3070, this PR's head 1eabf2385b, page 2 started with `ANYPS5_OVERLAY=2`: Page 2 in play, and its panel at native size: ![Page 2 over Planet of Lana in play](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/03709ef6aedfd30f0f6e4355f0074d26b9eea4b0/page2-play.jpg) ![The page 2 panel at native size](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/03709ef6aedfd30f0f6e4355f0074d26b9eea4b0/page2-panel.jpg) Page 2 at the title menu: ![Page 2 over Planet of Lana's title menu](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/03709ef6aedfd30f0f6e4355f0074d26b9eea4b0/page2-menu.jpg) The in-play spot above with the overlay off: ![The same spot in play with the overlay off](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/03709ef6aedfd30f0f6e4355f0074d26b9eea4b0/off-play.jpg) - **Planet of Lana (PPSA19450), page 2 against the overlay off,** on the same RTX 3070 Laptop GPU (clocks not held), this PR's head 1eabf2385b, 1920x1080 window: B A A B, 540 s per arm, from the title's boot. In play (+420 to +500 s), page 2 averaged 19.8 presents/s and 13.89 ms of GPU busy per present, against 20.15 and 13.56 ms with the overlay off. That's −1.7 % presents/s and +0.33 ms per present, inside the spread between arms (18.7-21.0 presents/s). The menu (+90 to +150 s) varied more between arms (33.7-41.8 presents/s), so it gives no reading of the cost. The second half of the run was faster in both conditions, and the B A A B order cancels that. | Arm | Play presents/s | Play p50 (p90) | Play GPU busy per present | |---|---|---|---| | page 2 | 18.7 | 51.9 ms (62.1) | 14.26 ms | | off | 19.3 | 51.2 ms (61.0) | 13.76 ms | | off | 21.0 | 46.1 ms (53.1) | 13.35 ms | | page 2 | 20.9 | 46.7 ms (52.8) | 13.52 ms | - **The tests,** in the existing overlay test executables: - `agc_performance_overlay_statistics`: parsing, the cycle (including past 2^64 presses), the page-2 composer and layout at four sizes, the trace deltas, hit rates, present-mode names, the OS reads, the copy counter across threads, the unimplemented count, the trace switch on and off; - `agc_performance_overlay` (Vulkan): page 2 drawn bit for bit at 1280x720, the F10 cycle with its resets, and the sampler end to end. - Page 1's full panel at 1920x1080 prints the same 12 lines on `main` and on this PR, apart from the live VRAM value. - **GitHub's runners** ([run 40055350747](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40055350747), ×5, at this PR's head; `main`'s tree doesn't build these tests, as they use the new API): - **Linux:** 7 run, 7 pass, 0 skip, 0 fail (`agc_performance_overlay`, `_statistics`, `_device_selection`, `_device_selection_cpu`, `agc_performance_trace`, `agc_driver_present_mode`, `agc_driver_presentation_pass`). - **Windows:** 7 run, 4 pass, 3 skip, 0 fail. The 3 device tests (`agc_performance_overlay`, `_device_selection`, `agc_driver_presentation_pass`) skip, since the runner has no Vulkan device. - The libc and libkernel suites pass on both, run with `APS5_SKIP_TIMING_TESTS=1`. - **Linux, CI's configure flags (lavapipe, on a cloud machine):** the overlay, trace and present tests `--repeat until-fail:20`, 8 tests, 20 of 20 each; CI's Linux job mirrored: 1,927 tests, of which 1,837 pass, 86 skip and 4 fail, the four being that machine's IPv6 tests. Each commit's own overlay tests pass at that commit. - **Validation layer** (Khronos 1.3.275, lavapipe), `main` ef0d8ae3b and this PR over `agc_performance_overlay`, `_device_selection`, `_device_selection_cpu`, `agc_driver_present_mode`, `agc_driver_presentation_pass` and `agc_resident_present`: - all 6 pass on both trees; - the layer loaded in each of the 4 that create an instance, and page 2 was drawn under it; - 0 validation messages on either tree; - a control test through the driver's own device (`agc_driver_depth_plane_fill`) reports the known `VUID-VkDeviceCreateInfo-pNext-pNext` on both, so the layer was reporting. No new `VUID-`. - **Validation layer on an RTX 3070 Laptop GPU** (Khronos layer from the LunarG SDK 1.4.363, NVIDIA 617.42, Windows 11, GPU at P0), this PR's head 1eabf2385b, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` and `ANYPS5_NO_SHADER_CACHE=1`, over `agc_performance_overlay`, `_device_selection` and `agc_driver_presentation_pass`, twice: - 3 run, 3 pass, 0 skip, 0 fail, both times; - the loader inserted the layer in all 3 (`VK_LOADER_DEBUG=layer`); - no `VUID-` or other validation message in the output. No control test with a known message ran on this GPU, so this rests on the layer's default reporting; the lavapipe control above shows the layer reporting there. - **0937d4c6f6, a merge of `main` 2742004ed2.** The one conflict was in `GuestBufferMemory.cpp`'s `AcquireRegistered`. #9514 reads the address-copy cap there through its own copy of the `APS5_ADDRESS_COPY_MAX_MIB` lookup, which this PR moves into `addressCopyLimit()`. The merge takes the cap from `addressCopyLimit()`, which returns the same value, and keeps this PR's per-thread copy count and #9514's eviction. So #9514's separate copy of the lookup is gone, and the rest of the PR's own diff is unchanged. - **Focused, 10 runs in a row** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40174030572)): `^agc_performance_overlay`, the presentation-pass, present-mode, resident-present and performance-trace tests, and #9514's `agc_address_copy_cap` and `agc_address_copy_cap_remembered`. Linux: 10 run, 10 pass, 0 skip, 0 fail. Windows: 10 run, 6 pass, 4 skip (no Vulkan device), 0 fail. - **#9514's import-path tests, 10 runs in a row** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40174252361)): `^agc_driver_guest_memory_lifetime`, `agc_driver_host_import_lifetime`, `agc_driver_host_import_mutation_race` and `agc_driver_host_import_failure_handles`. Linux: 14 run, 14 pass, 0 skip, 0 fail. Windows: 13 run, 2 pass, 11 skip (no Vulkan device), 0 fail. - **Suites:** libc and libkernel pass on Linux (144 and 207) and libc on Windows (171). On Windows, libkernel's `guest_raise_in_system_call` timed out at 30 s once, 221st of 223; this PR changes nothing in libkernel. The import-path run's suites pass on both. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **815dfe12e4, a merge of `main` 14c99b52ac** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40274643151)). `main`'s #10160 adds a wait for the DCC key writer in `VulkanDevice.cpp`'s `PresentDisplayBuffer`, on the lines where this PR records the presented address; the merge keeps both, recording the address first. `main`'s e75a166184 already includes `<optional>` in `Driver/Diagnostics.cpp`, so this PR's include there merges into it; this PR's other changed lines are the same as before the merge. The 10 focused tests (the present, overlay and trace tests, `agc_resident_present` and the `agc_address_copy` tests) pass 10 runs in a row. Linux: 10 run, 10 pass, 0 skip, 0 fail. Windows: 10 run, 6 pass, 4 skip, 0 fail; the four skipped (`agc_driver_presentation_pass`, `agc_performance_overlay`, `agc_performance_overlay_device_selection` and `agc_resident_present`) need a Vulkan device, which the Windows runner lacks. Suites: libc and libkernel pass on Linux (145 and 210) and on Windows (172 and 230). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. ### Checklist - [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 (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: #9129, #9626, #9971, #10043 (merge order only: each touches a line or two this PR also changes, in the overlay, the draw-cache statistics or `VulkanDevice.cpp`; this PR goes after them and adapts to each when it merges). #10160 merged, and this branch now merges it; #10420 was closed - [x] Fixes: none - [x] Unblocks: none (a diagnostic page) - [x] GPUs tested: lavapipe (llvmpipe), on GitHub's Linux runner and on a cloud machine; an RTX 3070 Laptop GPU (Windows, NVIDIA 617.42) for Planet of Lana (the screenshots and the page 2 against off pair) and the validation run - [x] AI-assisted: yes
MarcZX10 commented 2026-10-24 12:12:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T12:12:54Z.

Review: APPROVED


Reviewed head 1eabf2385bea808887181ab8f11a8a6adce0557e.

I checked the page cycle and reset path, the page-2 once-per-second sampler and trace on/off behavior, the counter deltas, and the layout/composer changes. The overlay reads trace totals through a try-lock and retains its last sample if that session lock is busy; per-thread trace totals are atomically collected. I did not find a blocking correctness issue in the reviewed diff.

Hosted convention, eligibility/intake, register-context, relinker, write-watch, and ASan checks currently pass. The hosted Linux and Windows product jobs are skipped. The PR describes additional lavapipe and RTX 3070 tests, screenshots, and performance runs; I did not reproduce those hardware, timing, or device-specific results locally, so this approval does not independently validate those reported measurements.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5638196837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10487#pullrequestreview-5638196837). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T12:12:54Z. **Review:** APPROVED --- Reviewed head `1eabf2385bea808887181ab8f11a8a6adce0557e`. I checked the page cycle and reset path, the page-2 once-per-second sampler and trace on/off behavior, the counter deltas, and the layout/composer changes. The overlay reads trace totals through a try-lock and retains its last sample if that session lock is busy; per-thread trace totals are atomically collected. I did not find a blocking correctness issue in the reviewed diff. Hosted convention, eligibility/intake, register-context, relinker, write-watch, and ASan checks currently pass. The hosted Linux and Windows product jobs are skipped. The PR describes additional lavapipe and RTX 3070 tests, screenshots, and performance runs; I did not reproduce those hardware, timing, or device-specific results locally, so this approval does not independently validate those reported measurements.
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!10487
No description provided.