feat(agc,videoout): show an optional performance overlay with F10 #6012

Merged
EagleBearerYS merged 25 commits from upstream-pr/6012 into main 2026-10-18 15:26:01 +00:00
EagleBearerYS commented 2026-10-14 19:19:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-14T19:19:06Z.


What

An on-screen performance overlay, drawn over the presented frame. It's off by default; F10 shows or hides it at any time, and ANYPS5_OVERLAY=1 shows it from the first frame. ANYPS5_OVERLAY_POS=tl|tr|bl|br picks the corner.

No title needs this to run. While the overlay is hidden, the present path does one relaxed atomic load and records exactly the commands it recorded before: no pass, no allocation, and frame dumps are unaffected. The only work that also happens while hidden is counting:

  • each draw or dispatch packet adds one to its packet worker's own counter, 0.3 and 2.3 ns per packet in two runs on cloud VMs;
  • each pipeline the driver creates adds one to a shared counter.

Memory is read only while the overlay is shown.

Why: the Game bring-up form asks for "the frame rate there". Today the window title shows one number for it, presents per second averaged over 2 s, and that isn't visible in fullscreen. The overlay shows the frame rate and frame times in a window or fullscreen, and next to them where a frame's time goes:

  • GPU and driver time;
  • draws and dispatches;
  • pipelines created;
  • memory;
  • the display buffer's and the window's resolution.

The panel, plain The panel with APS5_PROFILE_GPU and APS5_PROFILE_DRAW

The panel at 1080p in the top-left corner, plain (left) and with both profile switches on (right). This PR's own code (ComposeOverlay, PerformanceOverlay::Record and its shaders) drew them on lavapipe over a synthetic gradient, with fixed sample values, cropped to the panel. 720p draws at the same scale.

It shows:

  • PROFILED: the first line while APS5_PROFILE_GPU or APS5_PROFILE_DRAW is on. Those switches add timestamp queries to every batch and timers to every packet, so the numbers of such a run aren't comparable with an unprofiled one.
  • FPS: presents per second over the last second, including cleared presents. Below 1 fps it's the last frame's rate: a frame every 2 s reads 0.50.
  • FRAME: the time between the last two presents, plus a graph of the last 120.
  • MIN/AVG/MAX over those 120.
  • GPU (only with APS5_PROFILE_GPU=1): batch spans per frame over the last second, or of the last frame below 1 fps, from the existing timestamp queries.
  • DRIVER (only with APS5_PROFILE_DRAW=1): the packet workers' dispatch and draw time per frame, the [gpu] worker numbers, likewise.
  • DRAWS and DISPATCH: draw and dispatch packets per frame as the packet workers execute them, likewise. Packets that predication skips aren't counted.
  • SHADERS and TOTAL: pipelines created in the last second, or during the last frame below 1 fps, and since the start.
    • That's a graphics pipeline for each draw state the pipeline cache hadn't seen, and a compute pipeline for each new dispatch shader.
    • A rise during a stutter points at pipeline compilation.
  • VRAM: usage and budget of the largest device-local heap from VK_EXT_memory_budget, read once a second. It isn't shown without the extension.
  • RAM: the process's private memory, read once a second: PrivateUsage on Windows, RssAnon plus VmSwap on Linux. The title's direct memory is shared memory and isn't included.
  • RES: the display buffer's size, then the swapchain's, for example RES: 3840X2160 / 1920X1080.

Each of the last five lines appears only once it has data. With nothing counted and no profile switch, the panel shows FPS, FRAME, the graph and MIN/AVG/MAX.

How:

  • Statistics (OverlayStatistics) are fed at each present. The GPU and driver totals are relaxed atomics, which grow only where those profile switches already measure.
  • Draws and dispatches:
    • Each packet worker leases a 64-byte-aligned counter pair once, and bumps it in Driver::execute's draw and dispatch branches.
    • A bump is a relaxed load, add and store on its own cache line, with no lock prefix.
    • The overlay sums the pairs once per shown frame.
  • Pipelines: one relaxed fetch_add at the end of the Graphics::Pipeline constructor and in CreateComputePipeline, which the dispatch path and the capture replay use. The driver's own pipelines (presentation, detiler, the overlay) aren't counted.
  • VRAM reads the heap the texture-cache budget already uses, through LargestDeviceLocalHeap, a public wrapper around that lookup (commits 7 and 14). RAM uses K32GetProcessMemoryInfo from kernel32, so no psapi is linked, or /proc/self/status.
  • The text is a 5x7 bitmap font kept as glyph data in PerformanceOverlay.cpp; no third-party code is added.
    • It's laid out as rectangles, at an integer scale of about the window height / 480: 2 at 720p and 1080p, 3 at 1440p, 5 at 2160p.
    • The full panel takes at most a third of a 1080p window's height.
  • The pass: one small render pass with alpha blending draws the overlay after the presentation pass or the blit, on all three present paths. It moves the swapchain image to PRESENT_SRC.
  • HDR10: on the HDR10 swapchain (#5697) the palette is converted to BT.2020 and PQ-encoded, with white at 203 nits.
  • F10 is a new TogglePerformanceOverlay input action: keyboard only, like ToggleFullscreen, and remappable in anyps5-input.ini.
  • Bad settings: an invalid ANYPS5_OVERLAY or ANYPS5_OVERLAY_POS value stops at the first frame with an error naming the variable, as ANYPS5_LANGUAGE does.
  • During a present stall the overlay can't update, because it draws inside present(). The next present shows the stall in FRAME.

Commits:

  1. feat(agc): the overlay, its statistics, the font and the pass, with agc_performance_overlay_statistics and agc_performance_overlay.
  2. feat(videoout): F10 and the input action, with the pad_keyboard_mouse and pad_input_mapping cases.
  3. docs: USAGE ("Performance overlay") and INPUT_MAPPING.
  4. docs: what the FPS and GPU lines count.
  5. docs: USAGE's section moves to just before "Windows crash diagnostics", next to the other switches for looking into a run. Other open PRs add their sections right after "HDR output", where it was.
  6. fix(agc): below 1 fps, FPS, GPU and DRIVER come from the last frame. Before this, Resident Evil Village's title at ~0.1 fps read FPS 0.0, GPU 0.0 MS and DRIVER 0.0 MS, because no one-second window held two presents.
  7. refactor(agc): the largest device-local heap lookup becomes public, for VRAM.
  8. feat(agc): the DRAWS/DISPATCH, SHADERS, VRAM, RAM and RES lines, with their counters.
  9. test(agc): their cases.
  10. docs: their USAGE rows, and what counting costs while hidden.
  11. fix(agc): SHADERS counts the last frame's pipelines below 1 fps, like the other lines.
  12. feat(agc): the PROFILED line, from review.
  13. refactor(agc): compute pipelines are counted in CreateComputePipeline, the helper that creates them, rather than in the dispatch path, which #5989 has since moved. The capture replay path counts too.
  14. refactor(agc): LargestDeviceLocalHeap becomes a wrapper around ShaderResources.cpp's private helper, which stays as it is on main, callers included. #6194 adds calls to that helper, so the two build together in either merge order.
  15. test(agc): the statistics test's tolerance helper is named within, since MinGW's headers define near as an empty macro.
  16. docs: like GPU, the DRIVER line can exceed FRAME, because every busy worker's time counts.
  17. refactor(agc): Driver::timed adds the DRIVER time after the worker profile report rather than before it. #6292 moves the APS5_PROFILE_DRAW check to the top and rewrites the report's condition, the two lines it sat between, so the two now merge in either order. It counts the same.
  18. docs(environment): the ANYPS5_OVERLAY and ANYPS5_OVERLAY_POS rows in docs/dev/ENVIRONMENT.md, which lists every switch since #6078.

Tested

The Windows and Linux runs below are at 62022e9362, merged with main d92a8dad39. The two commits since then are a test helper's rename (commit 15, which also builds with near defined empty, as MinGW's headers do) and a docs line (commit 16). The red checks, the Xvfb runs and the RTX 3070 and AMD runs are from the earlier commits named there. 890c321842 (from adriadam10's review) gives the overlay's attachment view the transfer usage its pass layouts need; its checks are in the first bullet. 84cae0bda0 fixes the RADV failure from the same review; its checks are in the second bullet.

  • 890c321842, the view usage:
    • With validation layer 1.4.357 on lavapipe (Mesa 25.2.8): 34 × VUID-vkCmdBeginRenderPass-initialLayout-00898 and 33 × -00899 before it, none with it, also with synchronization validation on (no hazards). Layers 1.3.275 and 1.4.304 check the image's usage rather than the view's and don't show these.
    • The view adds TRANSFER_DST or TRANSFER_SRC only when the pass names that layout: swapchain images have TRANSFER_DST and no TRANSFER_SRC, and their pass ends in PRESENT_SRC_KHR. The test's cost-report image, whose pass ends in TRANSFER_SRC_OPTIMAL, is now created with TRANSFER_SRC.
    • agc_performance_overlay passes, full panel included, on the RTX 3070 Laptop (driver 617.42) and the integrated AMD Radeon Graphics (Ryzen 9 5900HS, driver 31.0.21923.1000), at the same overlay code merged with main 0dc15620d2. It passes on lavapipe too. On GitHub's runners, at the same overlay code, the statistics and pad tests pass on both, and the overlay test passes on Linux (lavapipe) and skips on Windows without a Vulkan device (run).
    • On RADV (AMD Radeon 660M, Linux) adriadam10 saw the full panel's first glyph not drawn; 84cae0bda0, next, fixes it.
  • 84cae0bda0, the palette on RADV:
    • It reproduced on a second RADV machine (AMD Radeon RX 7600, NAVI33, Mesa 26.0.8, Linux), already in the SDR case: '6' of 'FPS: 60.0' glyph pixel 2,0 is not white text: 0x4280161290. The test prints that number in decimal after 0x; it is 0xff1e140a, the clear colour darkened by the panel twice: the text rectangles landed on the right pixels but drew with palette[0], the panel's colour. llvmpipe from the same Mesa passed.
    • The fragment shader indexed its push-constant palette with the flat colour index of each rectangle. The index differs between rectangles, so it can vary within a wave, and on RADV that dynamic index into the push-constant array gave palette[0]; the SPIR-V was valid. The shader now reads each entry at a constant index and selects one by the colour index.
    • With it, every case passes on that RX 7600, full panel included, and on llvmpipe from the same Mesa; on the RTX 3070 Laptop and the integrated AMD Radeon Graphics, at the same overlay code merged with main 0dc15620d2; and on GitHub's runners, 5 runs each: on Linux (lavapipe) the overlay and statistics tests pass, and on Windows the statistics test passes and the overlay test skips without a Vulkan device (run). The runners' only other failure is libkernel's guest_kqueue on Windows, which fails on main there too. In a mirror of CI's Linux job at 84cae0bda0 (lavapipe, Mesa 25.2.8), the overlay and statistics tests pass 20/20.
  • agc_performance_overlay_statistics (no GPU) covers:
    • the FPS window (100 Hz, after a stall, two presents) and out-of-order refusal;
    • below 1 fps:
      • a frame every 2 s reads FPS: 0.50 with that frame's GPU and DRIVER time;
      • one every 12 s reads 0.08 with the 9999 caps;
      • the readings switch modes cleanly around 1 fps;
      • a present alone in its second shows the last frame's draws, dispatches and pipelines;
    • the 120-frame ring and min/avg/max;
    • GPU and driver per frame, formatting and settings parsing;
    • the packet counters: two workers' sums, and a new thread taking over a finished worker's counters without losing counts;
    • the count and memory formats (12K, 999M, NaN and negatives);
    • the composed panel:
      • its exact lines and order;
      • PROFILED only with a profile switch on;
      • each new line dropped without its data;
      • RES's compact form, and RES dropped when it's too wide;
    • drawing:
      • the glyph bits of every line, the graph bars and the four corners;
      • the scale from 720p to 2160p, with the full panel within a third of a 1080p window;
      • the eight new letters, each distinct from every other glyph;
      • the SDR, sRGB and HDR10 palettes;
    • ReadProcessPrivateBytes rising by at least 48 MiB after 64 MiB is touched.
  • agc_performance_overlay (Vulkan):
    • SDR 1280x720: every pixel outside the panel is unchanged and every pixel inside changed. The glyph bits of 60.0 are exact, and alpha is kept.
    • HDR10 1920x1080 A2B10G10R10: text at PQ code 594 ±1, and nothing outside the panel changes.
    • All four corners.
    • The full panel at 1920x1080 with the device's real VRAM and RAM: every glyph pixel of every line is exact, and nothing outside the panel changes.
    • Hidden is bit-identical: frames go through the presentation pass and the blit path, overlay shown and hidden again, and the last frames are byte-identical to the first, with the full panel too.
  • Linux (Ubuntu 24.04, GCC 13.3, CI's configure flags, lavapipe): 1232 tests, 6 failed. Five are the IPv6 tests, which fail on that VM on main too. The sixth, audio_out2_shutdown, then passed 20 of 20 on its own; nothing here touches audio. check_conventions.py and check_test_registration.py pass. Merged with #6194 as well, it builds, and all 579 agc tests pass. Red checks:
    • Commit 6's statistics test fails without it, reading 0.000000 FPS after a 2 s stall, and passes with it.
    • Commit 11's fails without it, reading 0 pipelines for a present alone in its second instead of the last frame's 7, and passes with it.
  • The VideoOut display tests under Xvfb, with and without the overlay, plain and with VK_LAYER_KHRONOS_validation including synchronization validation: no new validation messages. video_out_hdr_present draws the overlay on each of its 6 frames, and its frame dumps still match the CPU conversion. That was at 98b9b57ef for the first lines and ce8e338cf for the new ones, before the rebase.
  • Windows, the Build workflow's Windows job on my fork: 1255 tests, 0 failed (run). The job's first attempt timed out in agc_interpolant_mapping after it printed its pass line, a hang at exit in a test that doesn't reach this PR's code; the rerun passed it in 0.03 s. The runner has no Vulkan device, so the Vulkan tests skip there, agc_performance_overlay included. The RTX 3070 run below covers it.
  • Cost:
    • lavapipe, shown: 1.1-1.3 ms of GPU time at 1080p and 1.8-2.2 ms at 2160p, mostly the fixed cost of a render pass. Recording takes 0.03-0.06 ms.
    • Counting, also while hidden: 0.32 ns and 2.34 ns per draw or dispatch packet in two runs on cloud VMs (the statistics test prints it).
    • Shown: 0.02-0.03 µs to sum the packet counters per frame, 12-15 µs to read the private memory once a second, and 7.9 µs to read the VRAM budget once a second. The full panel takes 1.2-2.9 ms of GPU time at 1080p on lavapipe.
    • RTX 3070 Laptop (driver 617.42), shown, at the code before commit 6 with the first lines: a GPU median of 0.011 ms at 1920x1080 and 0.015 ms at 3840x2160, with recording at 0.02-0.03 ms. With the extra lines, the full panel's GPU median is 0.016 ms at 1920x1080 and 0.022 ms at 3840x2160 (comment). The test takes the first Vulkan device, which on this laptop is the integrated GPU. For the 3070 run the loader was limited to NVIDIA's ICD (VK_DRIVER_FILES) for that process only.
    • The integrated AMD Radeon Graphics (Ryzen 9 5900HS) passes too: 0.011-0.017 ms at 1080p and 0.041-0.057 ms at 4K, at the code before commit 6; the full panel at 890c321842's overlay code, merged with main 0dc15620d2, takes a GPU median of 0.018-0.022 ms at 1080p and 0.102-0.103 ms at 4K (the 3070: 0.016 and 0.022 ms).
  • Resident Evil Village (PPSA01556) on Windows 11 (10.0.26300), RTX 3070 Laptop (driver 617.42), with ANYPS5_OVERLAY=1 APS5_PROFILE_GPU=1 APS5_PROFILE_DRAW=1, at the code before commit 6:
    • It's readable in the game's 1116x658 window, in the top-left corner, and covers nothing on the title.
    • On the way to the title it read FPS: 1.5, FRAME: 674 MS, GPU: 149 MS and DRIVER: 698 MS, with MIN/AVG/MAX 80.9/168/932.
      • The window title's counter read 1.70 at the same moment.
      • The log's 10 s windows around it average 4.6-9.8 presents per second, so the overlay's one-second window caught a short stall within them.
    • At the title, which runs at about 0.1 fps on this main, it read FPS: 0.0, FRAME: 9999 MS, GPU: 0.0 MS and DRIVER: 0.0 MS, because no one-second window held two presents. Commit 6 fixes that: with it, the full panel at the title reads FPS 0.06-0.07, the same as the window title's counter (comment, which compares the other lines with the log).
    • In game the overlay was shown with ANYPS5_OVERLAY=1 from the start, because the test agent can't send keys to the game window. F10 itself is covered by pad_keyboard_mouse and pad_input_mapping, and hiding again by agc_performance_overlay.
    • Setup: this branch on main e34c47921, with #5851, #5703 and #5815's two commits. Also local commits that prepare shaders at their first draw, fix title-stage stops, and approximate the per-pixel sample locations #5861 refuses on this GPU.
  • At the head (ca7ea10d30, commit 18 on 0172d28496, a merge of main 0d078f75d3 with no conflicts), on GitHub's runners (run): the ^agc tests pass on Linux (713, 0 failed), and the suites' only failure is libc's precise_wait timing test. On Windows the only failures are agc_driver_pm4_replay_tool and agc_shader_replay_tool, which fail the same way on that runner for an unrelated branch (run).

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: none
  • Unblocks: none (an opt-in tool; no title needs it)
  • GPUs tested: NVIDIA GeForce RTX 3070 Laptop GPU (driver 617.42) and AMD Radeon Graphics, Ryzen 9 5900HS (driver 31.0.21923.1000), Windows 11 (10.0.26300); lavapipe (Mesa 25.2.8, LLVM 20.1.2, Ubuntu 24.04); AMD Radeon RX 7600 on RADV (Mesa 26.0.8, Linux), from a tester, for the palette fix
  • AI-assisted: yes

Overlap: #4891 (F12 screenshot key) also appends an input action after ToggleFullscreen. Whichever merges second keeps both lines. Its screenshots come from the frame-dump path, which reads the game's image, so they won't contain the overlay.

#6292 (winpthreads locks and TLS off the draw path) restructures Driver::timed: it checks APS5_PROFILE_DRAW first and returns early when it's off. Since commit 17 the two merge cleanly in either order, and the DRIVER total behaves the same with or without it; after #6292 its report check is redundant.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4863230745 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-14T19:19:06Z. --- ### What An on-screen performance overlay, drawn over the presented frame. It's off by default; F10 shows or hides it at any time, and `ANYPS5_OVERLAY=1` shows it from the first frame. `ANYPS5_OVERLAY_POS=tl|tr|bl|br` picks the corner. No title needs this to run. While the overlay is hidden, the present path does one relaxed atomic load and records exactly the commands it recorded before: no pass, no allocation, and frame dumps are unaffected. The only work that also happens while hidden is counting: - each draw or dispatch packet adds one to its packet worker's own counter, 0.3 and 2.3 ns per packet in two runs on cloud VMs; - each pipeline the driver creates adds one to a shared counter. Memory is read only while the overlay is shown. Why: the Game bring-up form asks for "the frame rate there". Today the window title shows one number for it, presents per second averaged over 2 s, and that isn't visible in fullscreen. The overlay shows the frame rate and frame times in a window or fullscreen, and next to them where a frame's time goes: - GPU and driver time; - draws and dispatches; - pipelines created; - memory; - the display buffer's and the window's resolution. ![The panel, plain](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/pr-assets/overlay/plain-1080p-top-left.png) ![The panel with APS5_PROFILE_GPU and APS5_PROFILE_DRAW](https://raw.githubusercontent.com/EagleBearerYS/AnyPS5/pr-assets/overlay/profiled-1080p-top-left.png) The panel at 1080p in the top-left corner, plain (left) and with both profile switches on (right). This PR's own code (`ComposeOverlay`, `PerformanceOverlay::Record` and its shaders) drew them on lavapipe over a synthetic gradient, with fixed sample values, cropped to the panel. 720p draws at the same scale. It shows: - `PROFILED`: the first line while `APS5_PROFILE_GPU` or `APS5_PROFILE_DRAW` is on. Those switches add timestamp queries to every batch and timers to every packet, so the numbers of such a run aren't comparable with an unprofiled one. - `FPS`: presents per second over the last second, including cleared presents. Below 1 fps it's the last frame's rate: a frame every 2 s reads `0.50`. - `FRAME`: the time between the last two presents, plus a graph of the last 120. - `MIN/AVG/MAX` over those 120. - `GPU` (only with `APS5_PROFILE_GPU=1`): batch spans per frame over the last second, or of the last frame below 1 fps, from the existing timestamp queries. - `DRIVER` (only with `APS5_PROFILE_DRAW=1`): the packet workers' dispatch and draw time per frame, the `[gpu] worker` numbers, likewise. - `DRAWS` and `DISPATCH`: draw and dispatch packets per frame as the packet workers execute them, likewise. Packets that predication skips aren't counted. - `SHADERS` and `TOTAL`: pipelines created in the last second, or during the last frame below 1 fps, and since the start. - That's a graphics pipeline for each draw state the pipeline cache hadn't seen, and a compute pipeline for each new dispatch shader. - A rise during a stutter points at pipeline compilation. - `VRAM`: usage and budget of the largest device-local heap from `VK_EXT_memory_budget`, read once a second. It isn't shown without the extension. - `RAM`: the process's private memory, read once a second: `PrivateUsage` on Windows, `RssAnon` plus `VmSwap` on Linux. The title's direct memory is shared memory and isn't included. - `RES`: the display buffer's size, then the swapchain's, for example `RES: 3840X2160 / 1920X1080`. Each of the last five lines appears only once it has data. With nothing counted and no profile switch, the panel shows FPS, FRAME, the graph and MIN/AVG/MAX. How: - **Statistics** (`OverlayStatistics`) are fed at each present. The GPU and driver totals are relaxed atomics, which grow only where those profile switches already measure. - **Draws and dispatches:** - Each packet worker leases a 64-byte-aligned counter pair once, and bumps it in `Driver::execute`'s draw and dispatch branches. - A bump is a relaxed load, add and store on its own cache line, with no lock prefix. - The overlay sums the pairs once per shown frame. - **Pipelines:** one relaxed `fetch_add` at the end of the `Graphics::Pipeline` constructor and in `CreateComputePipeline`, which the dispatch path and the capture replay use. The driver's own pipelines (presentation, detiler, the overlay) aren't counted. - **VRAM** reads the heap the texture-cache budget already uses, through `LargestDeviceLocalHeap`, a public wrapper around that lookup (commits 7 and 14). **RAM** uses `K32GetProcessMemoryInfo` from kernel32, so no psapi is linked, or `/proc/self/status`. - **The text** is a 5x7 bitmap font kept as glyph data in `PerformanceOverlay.cpp`; no third-party code is added. - It's laid out as rectangles, at an integer scale of about the window height / 480: 2 at 720p and 1080p, 3 at 1440p, 5 at 2160p. - The full panel takes at most a third of a 1080p window's height. - **The pass:** one small render pass with alpha blending draws the overlay after the presentation pass or the blit, on all three present paths. It moves the swapchain image to `PRESENT_SRC`. - **HDR10:** on the HDR10 swapchain (#5697) the palette is converted to BT.2020 and PQ-encoded, with white at 203 nits. - **F10** is a new `TogglePerformanceOverlay` input action: keyboard only, like `ToggleFullscreen`, and remappable in `anyps5-input.ini`. - **Bad settings:** an invalid `ANYPS5_OVERLAY` or `ANYPS5_OVERLAY_POS` value stops at the first frame with an error naming the variable, as `ANYPS5_LANGUAGE` does. - **During a present stall** the overlay can't update, because it draws inside `present()`. The next present shows the stall in `FRAME`. Commits: 1. `feat(agc)`: the overlay, its statistics, the font and the pass, with `agc_performance_overlay_statistics` and `agc_performance_overlay`. 2. `feat(videoout)`: F10 and the input action, with the `pad_keyboard_mouse` and `pad_input_mapping` cases. 3. `docs`: USAGE ("Performance overlay") and INPUT_MAPPING. 4. `docs`: what the FPS and GPU lines count. 5. `docs`: USAGE's section moves to just before "Windows crash diagnostics", next to the other switches for looking into a run. Other open PRs add their sections right after "HDR output", where it was. 6. `fix(agc)`: below 1 fps, FPS, GPU and DRIVER come from the last frame. Before this, Resident Evil Village's title at ~0.1 fps read FPS 0.0, GPU 0.0 MS and DRIVER 0.0 MS, because no one-second window held two presents. 7. `refactor(agc)`: the largest device-local heap lookup becomes public, for VRAM. 8. `feat(agc)`: the DRAWS/DISPATCH, SHADERS, VRAM, RAM and RES lines, with their counters. 9. `test(agc)`: their cases. 10. `docs`: their USAGE rows, and what counting costs while hidden. 11. `fix(agc)`: SHADERS counts the last frame's pipelines below 1 fps, like the other lines. 12. `feat(agc)`: the `PROFILED` line, from review. 13. `refactor(agc)`: compute pipelines are counted in `CreateComputePipeline`, the helper that creates them, rather than in the dispatch path, which #5989 has since moved. The capture replay path counts too. 14. `refactor(agc)`: `LargestDeviceLocalHeap` becomes a wrapper around `ShaderResources.cpp`'s private helper, which stays as it is on `main`, callers included. #6194 adds calls to that helper, so the two build together in either merge order. 15. `test(agc)`: the statistics test's tolerance helper is named `within`, since MinGW's headers define `near` as an empty macro. 16. `docs`: like `GPU`, the `DRIVER` line can exceed `FRAME`, because every busy worker's time counts. 17. `refactor(agc)`: `Driver::timed` adds the `DRIVER` time after the worker profile report rather than before it. #6292 moves the `APS5_PROFILE_DRAW` check to the top and rewrites the report's condition, the two lines it sat between, so the two now merge in either order. It counts the same. 18. `docs(environment)`: the `ANYPS5_OVERLAY` and `ANYPS5_OVERLAY_POS` rows in `docs/dev/ENVIRONMENT.md`, which lists every switch since #6078. ### Tested The Windows and Linux runs below are at 62022e9362, merged with `main` d92a8dad39. The two commits since then are a test helper's rename (commit 15, which also builds with `near` defined empty, as MinGW's headers do) and a docs line (commit 16). The red checks, the Xvfb runs and the RTX 3070 and AMD runs are from the earlier commits named there. 890c321842 (from adriadam10's review) gives the overlay's attachment view the transfer usage its pass layouts need; its checks are in the first bullet. 84cae0bda0 fixes the RADV failure from the same review; its checks are in the second bullet. - **890c321842, the view usage:** - With validation layer 1.4.357 on lavapipe (Mesa 25.2.8): 34 × `VUID-vkCmdBeginRenderPass-initialLayout-00898` and 33 × `-00899` before it, none with it, also with synchronization validation on (no hazards). Layers 1.3.275 and 1.4.304 check the image's usage rather than the view's and don't show these. - The view adds TRANSFER_DST or TRANSFER_SRC only when the pass names that layout: swapchain images have TRANSFER_DST and no TRANSFER_SRC, and their pass ends in PRESENT_SRC_KHR. The test's cost-report image, whose pass ends in TRANSFER_SRC_OPTIMAL, is now created with TRANSFER_SRC. - `agc_performance_overlay` passes, full panel included, on the RTX 3070 Laptop (driver 617.42) and the integrated AMD Radeon Graphics (Ryzen 9 5900HS, driver 31.0.21923.1000), at the same overlay code merged with `main` 0dc15620d2. It passes on lavapipe too. On GitHub's runners, at the same overlay code, the statistics and pad tests pass on both, and the overlay test passes on Linux (lavapipe) and skips on Windows without a Vulkan device ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38968726109)). - On RADV (AMD Radeon 660M, Linux) adriadam10 saw the full panel's first glyph not drawn; 84cae0bda0, next, fixes it. - **84cae0bda0, the palette on RADV:** - It reproduced on a second RADV machine (AMD Radeon RX 7600, NAVI33, Mesa 26.0.8, Linux), already in the SDR case: `'6' of 'FPS: 60.0' glyph pixel 2,0 is not white text: 0x4280161290`. The test prints that number in decimal after `0x`; it is 0xff1e140a, the clear colour darkened by the panel twice: the text rectangles landed on the right pixels but drew with `palette[0]`, the panel's colour. llvmpipe from the same Mesa passed. - The fragment shader indexed its push-constant palette with the flat colour index of each rectangle. The index differs between rectangles, so it can vary within a wave, and on RADV that dynamic index into the push-constant array gave `palette[0]`; the SPIR-V was valid. The shader now reads each entry at a constant index and selects one by the colour index. - With it, every case passes on that RX 7600, full panel included, and on llvmpipe from the same Mesa; on the RTX 3070 Laptop and the integrated AMD Radeon Graphics, at the same overlay code merged with `main` 0dc15620d2; and on GitHub's runners, 5 runs each: on Linux (lavapipe) the overlay and statistics tests pass, and on Windows the statistics test passes and the overlay test skips without a Vulkan device ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38977742339)). The runners' only other failure is libkernel's `guest_kqueue` on Windows, which fails on `main` there too. In a mirror of CI's Linux job at 84cae0bda0 (lavapipe, Mesa 25.2.8), the overlay and statistics tests pass 20/20. - **`agc_performance_overlay_statistics`** (no GPU) covers: - the FPS window (100 Hz, after a stall, two presents) and out-of-order refusal; - below 1 fps: - a frame every 2 s reads `FPS: 0.50` with that frame's GPU and DRIVER time; - one every 12 s reads `0.08` with the 9999 caps; - the readings switch modes cleanly around 1 fps; - a present alone in its second shows the last frame's draws, dispatches and pipelines; - the 120-frame ring and min/avg/max; - GPU and driver per frame, formatting and settings parsing; - the packet counters: two workers' sums, and a new thread taking over a finished worker's counters without losing counts; - the count and memory formats (`12K`, `999M`, NaN and negatives); - the composed panel: - its exact lines and order; - `PROFILED` only with a profile switch on; - each new line dropped without its data; - RES's compact form, and RES dropped when it's too wide; - drawing: - the glyph bits of every line, the graph bars and the four corners; - the scale from 720p to 2160p, with the full panel within a third of a 1080p window; - the eight new letters, each distinct from every other glyph; - the SDR, sRGB and HDR10 palettes; - `ReadProcessPrivateBytes` rising by at least 48 MiB after 64 MiB is touched. - **`agc_performance_overlay`** (Vulkan): - SDR 1280x720: every pixel outside the panel is unchanged and every pixel inside changed. The glyph bits of `60.0` are exact, and alpha is kept. - HDR10 1920x1080 A2B10G10R10: text at PQ code 594 ±1, and nothing outside the panel changes. - All four corners. - The full panel at 1920x1080 with the device's real VRAM and RAM: every glyph pixel of every line is exact, and nothing outside the panel changes. - Hidden is bit-identical: frames go through the presentation pass and the blit path, overlay shown and hidden again, and the last frames are byte-identical to the first, with the full panel too. - **Linux** (Ubuntu 24.04, GCC 13.3, CI's configure flags, lavapipe): 1232 tests, 6 failed. Five are the IPv6 tests, which fail on that VM on `main` too. The sixth, `audio_out2_shutdown`, then passed 20 of 20 on its own; nothing here touches audio. `check_conventions.py` and `check_test_registration.py` pass. Merged with #6194 as well, it builds, and all 579 `agc` tests pass. Red checks: - Commit 6's statistics test fails without it, reading `0.000000 FPS` after a 2 s stall, and passes with it. - Commit 11's fails without it, reading 0 pipelines for a present alone in its second instead of the last frame's 7, and passes with it. - **The VideoOut display tests under Xvfb,** with and without the overlay, plain and with `VK_LAYER_KHRONOS_validation` including synchronization validation: no new validation messages. `video_out_hdr_present` draws the overlay on each of its 6 frames, and its frame dumps still match the CPU conversion. That was at 98b9b57ef for the first lines and ce8e338cf for the new ones, before the rebase. - **Windows**, the Build workflow's Windows job on my fork: 1255 tests, 0 failed ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38688178446/job/116277161284)). The job's first attempt timed out in `agc_interpolant_mapping` after it printed its pass line, a hang at exit in a test that doesn't reach this PR's code; the rerun passed it in 0.03 s. The runner has no Vulkan device, so the Vulkan tests skip there, `agc_performance_overlay` included. The RTX 3070 run below covers it. - **Cost:** - lavapipe, shown: 1.1-1.3 ms of GPU time at 1080p and 1.8-2.2 ms at 2160p, mostly the fixed cost of a render pass. Recording takes 0.03-0.06 ms. - Counting, also while hidden: 0.32 ns and 2.34 ns per draw or dispatch packet in two runs on cloud VMs (the statistics test prints it). - Shown: 0.02-0.03 µs to sum the packet counters per frame, 12-15 µs to read the private memory once a second, and 7.9 µs to read the VRAM budget once a second. The full panel takes 1.2-2.9 ms of GPU time at 1080p on lavapipe. - RTX 3070 Laptop (driver 617.42), shown, at the code before commit 6 with the first lines: a GPU median of 0.011 ms at 1920x1080 and 0.015 ms at 3840x2160, with recording at 0.02-0.03 ms. With the extra lines, the full panel's GPU median is 0.016 ms at 1920x1080 and 0.022 ms at 3840x2160 ([comment](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6183627743)). The test takes the first Vulkan device, which on this laptop is the integrated GPU. For the 3070 run the loader was limited to NVIDIA's ICD (`VK_DRIVER_FILES`) for that process only. - The integrated AMD Radeon Graphics (Ryzen 9 5900HS) passes too: 0.011-0.017 ms at 1080p and 0.041-0.057 ms at 4K, at the code before commit 6; the full panel at 890c321842's overlay code, merged with `main` 0dc15620d2, takes a GPU median of 0.018-0.022 ms at 1080p and 0.102-0.103 ms at 4K (the 3070: 0.016 and 0.022 ms). - **Resident Evil Village (PPSA01556)** on Windows 11 (10.0.26300), RTX 3070 Laptop (driver 617.42), with `ANYPS5_OVERLAY=1 APS5_PROFILE_GPU=1 APS5_PROFILE_DRAW=1`, at the code before commit 6: - It's readable in the game's 1116x658 window, in the top-left corner, and covers nothing on the title. - On the way to the title it read `FPS: 1.5`, `FRAME: 674 MS`, `GPU: 149 MS` and `DRIVER: 698 MS`, with MIN/AVG/MAX 80.9/168/932. - The window title's counter read 1.70 at the same moment. - The log's 10 s windows around it average 4.6-9.8 presents per second, so the overlay's one-second window caught a short stall within them. - At the title, which runs at about 0.1 fps on this `main`, it read `FPS: 0.0`, `FRAME: 9999 MS`, `GPU: 0.0 MS` and `DRIVER: 0.0 MS`, because no one-second window held two presents. Commit 6 fixes that: with it, the full panel at the title reads `FPS` 0.06-0.07, the same as the window title's counter ([comment](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6183627743), which compares the other lines with the log). - In game the overlay was shown with `ANYPS5_OVERLAY=1` from the start, because the test agent can't send keys to the game window. F10 itself is covered by `pad_keyboard_mouse` and `pad_input_mapping`, and hiding again by `agc_performance_overlay`. - Setup: this branch on `main` e34c47921, with #5851, #5703 and #5815's two commits. Also local commits that prepare shaders at their first draw, fix title-stage stops, and approximate the per-pixel sample locations #5861 refuses on this GPU. - **At the head** (ca7ea10d30, commit 18 on 0172d28496, a merge of `main` 0d078f75d3 with no conflicts), on GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39126178321)): the `^agc` tests pass on Linux (713, 0 failed), and the suites' only failure is libc's `precise_wait` timing test. On Windows the only failures are `agc_driver_pm4_replay_tool` and `agc_shader_replay_tool`, which fail the same way on that runner for an unrelated branch ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39061670036)). ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical 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: none - [x] Unblocks: none (an opt-in tool; no title needs it) - [x] GPUs tested: NVIDIA GeForce RTX 3070 Laptop GPU (driver 617.42) and AMD Radeon Graphics, Ryzen 9 5900HS (driver 31.0.21923.1000), Windows 11 (10.0.26300); lavapipe (Mesa 25.2.8, LLVM 20.1.2, Ubuntu 24.04); AMD Radeon RX 7600 on RADV (Mesa 26.0.8, Linux), from a tester, for the palette fix - [x] AI-assisted: yes Overlap: #4891 (F12 screenshot key) also appends an input action after `ToggleFullscreen`. Whichever merges second keeps both lines. Its screenshots come from the frame-dump path, which reads the game's image, so they won't contain the overlay. #6292 (winpthreads locks and TLS off the draw path) restructures `Driver::timed`: it checks `APS5_PROFILE_DRAW` first and returns early when it's off. Since commit 17 the two merge cleanly in either order, and the DRIVER total behaves the same with or without it; after #6292 its `report` check is redundant.
CnRJay commented 2026-10-14 19:41:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T19:41:20Z.

Review: COMMENTED


Checked the integration points. While hidden, present does one atomic load and records the same commands as before. The driver counter sits behind the existing report flag in Driver::timed, and the GPU counter is in readGpuTiming, which runs only when GPU profiling is on. So there is no cost when it's off, and the test that hidden frames are byte-identical pins that. Nicely contained.

One request: the GPU and DRIVER lines exist only with APS5_PROFILE_GPU / APS5_PROFILE_DRAW, and those switches change the timings they report (timestamp queries per batch, timers per packet). The Performance report form doesn't accept profiled numbers, yet an overlay screenshot is exactly what people will attach to a performance report. Marking the panel when a profile switch is on, for example a PROFILED line or a different panel colour, would keep FPS and FRAME from a profiled run from being taken as unprofiled numbers.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5523656579 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#pullrequestreview-5523656579). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-14T19:41:20Z. **Review:** COMMENTED --- Checked the integration points. While hidden, `present` does one atomic load and records the same commands as before. The driver counter sits behind the existing `report` flag in `Driver::timed`, and the GPU counter is in `readGpuTiming`, which runs only when GPU profiling is on. So there is no cost when it's off, and the test that hidden frames are byte-identical pins that. Nicely contained. One request: the `GPU` and `DRIVER` lines exist only with `APS5_PROFILE_GPU` / `APS5_PROFILE_DRAW`, and those switches change the timings they report (timestamp queries per batch, timers per packet). The Performance report form doesn't accept profiled numbers, yet an overlay screenshot is exactly what people will attach to a performance report. Marking the panel when a profile switch is on, for example a `PROFILED` line or a different panel colour, would keep FPS and FRAME from a profiled run from being taken as unprofiled numbers.
EagleBearerYS commented 2026-10-14 20:46:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-14T20:46:05Z.


Thanks for checking the integration points. Good point on profiled numbers: 907fc73d14 adds a PROFILED line at the top of the panel while APS5_PROFILE_GPU or APS5_PROFILE_DRAW is on, so a screenshot of a profiled run says so.

One change since your review: the PR now also has the lines I'd planned as a follow-up (DRAWS/DISPATCH, SHADERS, VRAM, RAM, RES). Their counters run while the overlay is hidden too: one increment of the packet worker's own counter per draw or dispatch packet (0.3 and 2.3 ns in two runs on cloud VMs), and one shared increment per pipeline created. So "no cost when it's off" is now that one increment per packet. The description gives the numbers.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6178076535 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6178076535). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-14T20:46:05Z. --- Thanks for checking the integration points. Good point on profiled numbers: 907fc73d14 adds a `PROFILED` line at the top of the panel while `APS5_PROFILE_GPU` or `APS5_PROFILE_DRAW` is on, so a screenshot of a profiled run says so. One change since your review: the PR now also has the lines I'd planned as a follow-up (DRAWS/DISPATCH, SHADERS, VRAM, RAM, RES). Their counters run while the overlay is hidden too: one increment of the packet worker's own counter per draw or dispatch packet (0.3 and 2.3 ns in two runs on cloud VMs), and one shared increment per pipeline created. So "no cost when it's off" is now that one increment per packet. The description gives the numbers.
EagleBearerYS commented 2026-10-15 03:19:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-15T03:19:58Z.


The checks promised in Tested, now with the extra lines in. Windows 11 (10.0.26300), RTX 3070 Laptop (driver 617.42), Ryzen 9 5900HS.

The tree was this PR through 46abaab054 on our Village stack. Since then the head only moves a declaration (af3bd503cb) and one statement (62bbbb5dcc), and merges current main (67acc14910). That merge also renames one call: main's new StorageTextureBudget used the helper's old private name, which this PR made public as LargestDeviceLocalHeap. At 67acc14910 the Build workflow's Windows job on my fork passes: 1254 tests, 0 failed (run). 62bbbb5dcc, before the merge, built and passed on Linux with CI's flags.

Tests on the 3070, with the Vulkan loader limited to NVIDIA's ICD as before:

  • agc_performance_overlay_statistics and agc_performance_overlay both pass.
  • The full panel's GPU cost: a median of 0.016 ms at 1920x1080 and 0.022 ms at 3840x2160, with recording at about 0.03 ms (a median of 0.033 ms at 1920x1080).
  • Counting while hidden: 0.45 ns per draw or dispatch packet on this CPU, against 0.3-2.3 ns on the cloud VMs.
  • Reading while shown: summing the packet counters takes 0.02 µs per frame, and reading private memory takes 0.5 µs once a second.

Resident Evil Village (PPSA01556) at its title, with ANYPS5_OVERLAY=1 APS5_PROFILE_GPU=1 APS5_PROFILE_DRAW=1, read at three moments against the log:

  • PROFILED is the first line, and the full panel fits the game's 1100x619 window.
  • FPS reads 0.06-0.07, the same as the window title's counter.
  • FRAME and DRIVER both show the 9999 MS cap, since a frame takes about 15 s on this main.
  • GPU reads 583-607 ms. The log's [gputime] gives 511-525 ms per frame, averaged over its 10 s window, while the panel covers the last frame.
  • DRAWS and DISPATCH read 790 and 451-452, and the log's per-frame dispatch count is 451-452.
  • SHADERS reads 0 with TOTAL: 196, matching 0 [pipecache] misses.
  • VRAM reads 3.6/7.1 GB, matching the GPU's dedicated memory and the Vulkan budget.
  • RAM reads 9.3-10.4 GB, matching the process's private bytes.
  • RES reads 3840X2160 / 1100X619.
  • The game closed cleanly with exit code 0.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6183627743 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6183627743). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-15T03:19:58Z. --- The checks promised in Tested, now with the extra lines in. Windows 11 (10.0.26300), RTX 3070 Laptop (driver 617.42), Ryzen 9 5900HS. The tree was this PR through 46abaab054 on our Village stack. Since then the head only moves a declaration (af3bd503cb) and one statement (62bbbb5dcc), and merges current `main` (67acc14910). That merge also renames one call: `main`'s new `StorageTextureBudget` used the helper's old private name, which this PR made public as `LargestDeviceLocalHeap`. At 67acc14910 the Build workflow's Windows job on my fork passes: 1254 tests, 0 failed ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38673117503/job/116220599573)). 62bbbb5dcc, before the merge, built and passed on Linux with CI's flags. **Tests on the 3070**, with the Vulkan loader limited to NVIDIA's ICD as before: - `agc_performance_overlay_statistics` and `agc_performance_overlay` both pass. - **The full panel's GPU cost:** a median of 0.016 ms at 1920x1080 and 0.022 ms at 3840x2160, with recording at about 0.03 ms (a median of 0.033 ms at 1920x1080). - **Counting while hidden:** 0.45 ns per draw or dispatch packet on this CPU, against 0.3-2.3 ns on the cloud VMs. - **Reading while shown:** summing the packet counters takes 0.02 µs per frame, and reading private memory takes 0.5 µs once a second. **Resident Evil Village (PPSA01556) at its title,** with `ANYPS5_OVERLAY=1 APS5_PROFILE_GPU=1 APS5_PROFILE_DRAW=1`, read at three moments against the log: - `PROFILED` is the first line, and the full panel fits the game's 1100x619 window. - **FPS** reads 0.06-0.07, the same as the window title's counter. - **FRAME and DRIVER** both show the 9999 MS cap, since a frame takes about 15 s on this `main`. - **GPU** reads 583-607 ms. The log's `[gputime]` gives 511-525 ms per frame, averaged over its 10 s window, while the panel covers the last frame. - **DRAWS and DISPATCH** read 790 and 451-452, and the log's per-frame dispatch count is 451-452. - **SHADERS** reads 0 with `TOTAL: 196`, matching 0 `[pipecache]` misses. - **VRAM** reads 3.6/7.1 GB, matching the GPU's dedicated memory and the Vulkan budget. - **RAM** reads 9.3-10.4 GB, matching the process's private bytes. - **RES** reads `3840X2160 / 1100X619`. - The game closed cleanly with exit code 0.
github-actions[bot] commented 2026-10-15 12:13:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:13:17Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6353 docs/user/INPUT_MAPPING.md L19
PR 7500 docs/user/INPUT_MAPPING.md L19

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.

Pull request Shared files not compared
PR 674 core/libs/prx/libSceVideoOut/src/InputMapping.cpp
core/libs/prx/libSceVideoOut/src/PadInput.cpp
docs/user/INPUT_MAPPING.md
PR 1341 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 3998 docs/user/USAGE.md
PR 4040 core/libs/prx/libSceAgcDriver/Execution/include/Presentation.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
PR 4650 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4891 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libScePad/include/InputMapping.hpp
core/libs/prx/libScePad/include/PadInputTypes.hpp
core/libs/prx/libSceVideoOut/src/InputMapping.cpp
core/libs/prx/libSceVideoOut/src/PadInput.cpp
docs/user/INPUT_MAPPING.md
docs/user/USAGE.md
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/user/USAGE.md
PR 5115 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5441 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
docs/user/USAGE.md
PR 5958 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6082 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6111 docs/user/USAGE.md
PR 6176 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6177 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6194 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6222 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6223 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6259 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6292 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6314 docs/user/USAGE.md
PR 6320 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6360 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6373 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6414 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6490 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6503 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6535 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6538 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
PR 6539 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6615 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6658 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6741 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6763 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6786 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/user/USAGE.md
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6905 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6972 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceVideoOut/src/InputMapping.cpp
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7292 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7390 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 7426 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 7464 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 7505 core/libs/prx/libSceAgcDriver/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191769316 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6191769316). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:13:17Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6353](https://www.github.com/boykopovar/AnyPS5/pull/6353) | `docs/user/INPUT_MAPPING.md` [L19](https://github.com/boykopovar/AnyPS5/blob/5f37c3e09a743c5d16b872edac4f4524a569c984/docs/user/INPUT_MAPPING.md#L19) | | | | [PR 7500](https://www.github.com/boykopovar/AnyPS5/pull/7500) | `docs/user/INPUT_MAPPING.md` [L19](https://github.com/boykopovar/AnyPS5/blob/5f37c3e09a743c5d16b872edac4f4524a569c984/docs/user/INPUT_MAPPING.md#L19) | | | 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. | Pull request | Shared files not compared | |---|---| | [PR 674](https://www.github.com/boykopovar/AnyPS5/pull/674) | `core/libs/prx/libSceVideoOut/src/InputMapping.cpp`<br>`core/libs/prx/libSceVideoOut/src/PadInput.cpp`<br>`docs/user/INPUT_MAPPING.md` | | [PR 1341](https://www.github.com/boykopovar/AnyPS5/pull/1341) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 3998](https://www.github.com/boykopovar/AnyPS5/pull/3998) | `docs/user/USAGE.md` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/Execution/include/Presentation.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libScePad/include/InputMapping.hpp`<br>`core/libs/prx/libScePad/include/PadInputTypes.hpp`<br>`core/libs/prx/libSceVideoOut/src/InputMapping.cpp`<br>`core/libs/prx/libSceVideoOut/src/PadInput.cpp`<br>`docs/user/INPUT_MAPPING.md`<br>`docs/user/USAGE.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/user/USAGE.md` | | [PR 5115](https://www.github.com/boykopovar/AnyPS5/pull/5115) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`docs/user/USAGE.md` | | [PR 5958](https://www.github.com/boykopovar/AnyPS5/pull/5958) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6082](https://www.github.com/boykopovar/AnyPS5/pull/6082) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6111](https://www.github.com/boykopovar/AnyPS5/pull/6111) | `docs/user/USAGE.md` | | [PR 6176](https://www.github.com/boykopovar/AnyPS5/pull/6176) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6222](https://www.github.com/boykopovar/AnyPS5/pull/6222) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6259](https://www.github.com/boykopovar/AnyPS5/pull/6259) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6314](https://www.github.com/boykopovar/AnyPS5/pull/6314) | `docs/user/USAGE.md` | | [PR 6320](https://www.github.com/boykopovar/AnyPS5/pull/6320) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6360](https://www.github.com/boykopovar/AnyPS5/pull/6360) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6373](https://www.github.com/boykopovar/AnyPS5/pull/6373) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6414](https://www.github.com/boykopovar/AnyPS5/pull/6414) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6490](https://www.github.com/boykopovar/AnyPS5/pull/6490) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6499](https://www.github.com/boykopovar/AnyPS5/pull/6499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6503](https://www.github.com/boykopovar/AnyPS5/pull/6503) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6538](https://www.github.com/boykopovar/AnyPS5/pull/6538) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6658](https://www.github.com/boykopovar/AnyPS5/pull/6658) | `core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6741](https://www.github.com/boykopovar/AnyPS5/pull/6741) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6763](https://www.github.com/boykopovar/AnyPS5/pull/6763) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6786](https://www.github.com/boykopovar/AnyPS5/pull/6786) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/user/USAGE.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6905](https://www.github.com/boykopovar/AnyPS5/pull/6905) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceVideoOut/src/InputMapping.cpp` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7292](https://www.github.com/boykopovar/AnyPS5/pull/7292) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 7426](https://www.github.com/boykopovar/AnyPS5/pull/7426) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 7464](https://www.github.com/boykopovar/AnyPS5/pull/7464) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` |
CnRJay commented 2026-10-15 18:21:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-15T18:21:01Z.


Thanks for the PROFILED line and the numbers. One increment of a per-worker counter per packet (well under 1 ns) and 0.016–0.022 ms of GPU time when the panel is shown are both negligible. The RE Village readings matching the log line for line are good evidence. Nothing more from me.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6199204802 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6199204802). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-15T18:21:01Z. --- Thanks for the `PROFILED` line and the numbers. One increment of a per-worker counter per packet (well under 1 ns) and 0.016–0.022 ms of GPU time when the panel is shown are both negligible. The RE Village readings matching the log line for line are good evidence. Nothing more from me.
adriadam10 commented 2026-10-16 21:12:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T21:12:23Z.

Review: CHANGES_REQUESTED


Thanks for the thorough PR. I built it merged onto current main and ran the AgcDriver/Pad/VideoOut tests. agc_performance_overlay_statistics, pad_input_mapping and pad_keyboard_mouse pass, and agc_performance_overlay passes on CI's lavapipe (Mesa 25.2.8). It fails on RADV (AMD Radeon 660M, Linux), though:

  • agc_performance_overlay aborts in the full-panel case: 'P' of 'PROFILED' glyph pixel 0,0 is not white text. The pixel only has the background blended; the text isn't drawn. The SDR, HDR10 and corner cases before it pass.
  • With VK_LAYER_KHRONOS_validation the test reports 28 errors, VUID-vkCmdBeginRenderPass-initialLayout-00898 and -00899 (PerformanceOverlay.cpp:745): the image view is created with VkImageViewUsageCreateInfo usage COLOR_ATTACHMENT only, but the render pass uses TRANSFER_DST_OPTIMAL as initial layout and TRANSFER_SRC_OPTIMAL as final layout, which require TRANSFER_DST/TRANSFER_SRC in the view's usage. The !drawn path in VulkanDevice::present (TRANSFER_DST_OPTIMAL initial layout) hits it in production too.
    • Adding TRANSFER_SRC | TRANSFER_DST to that usage removes the validation errors here, but the full-panel pixel failure remains, so it has a second cause that lavapipe doesn't show. I didn't find it.

Please run the test on a real driver (it should pass on RADV and on your AMD/NVIDIA runs with the current head, the AMD run in the description predates the later lines), fix the usage flags, and check what differs for the full panel (it is the case with the most rectangles; the buffer is recreated above 1024 rects).

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5553751851 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#pullrequestreview-5553751851). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T21:12:23Z. **Review:** CHANGES_REQUESTED --- Thanks for the thorough PR. I built it merged onto current `main` and ran the AgcDriver/Pad/VideoOut tests. `agc_performance_overlay_statistics`, `pad_input_mapping` and `pad_keyboard_mouse` pass, and `agc_performance_overlay` passes on CI's lavapipe (Mesa 25.2.8). It fails on RADV (AMD Radeon 660M, Linux), though: - `agc_performance_overlay` aborts in the full-panel case: `'P' of 'PROFILED' glyph pixel 0,0 is not white text`. The pixel only has the background blended; the text isn't drawn. The SDR, HDR10 and corner cases before it pass. - With `VK_LAYER_KHRONOS_validation` the test reports 28 errors, `VUID-vkCmdBeginRenderPass-initialLayout-00898` and `-00899` (`PerformanceOverlay.cpp:745`): the image view is created with `VkImageViewUsageCreateInfo` usage `COLOR_ATTACHMENT` only, but the render pass uses `TRANSFER_DST_OPTIMAL` as initial layout and `TRANSFER_SRC_OPTIMAL` as final layout, which require `TRANSFER_DST`/`TRANSFER_SRC` in the view's usage. The `!drawn` path in `VulkanDevice::present` (`TRANSFER_DST_OPTIMAL` initial layout) hits it in production too. - Adding `TRANSFER_SRC | TRANSFER_DST` to that usage removes the validation errors here, but the full-panel pixel failure remains, so it has a second cause that lavapipe doesn't show. I didn't find it. Please run the test on a real driver (it should pass on RADV and on your AMD/NVIDIA runs with the current head, the AMD run in the description predates the later lines), fix the usage flags, and check what differs for the full panel (it is the case with the most rectangles; the buffer is recreated above 1024 rects).
EagleBearerYS commented 2026-10-16 22:11:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-16T22:11:10Z.


@adriadam10 thanks for running it on RADV. Here's where both findings stand.

1. The view usage (VUID-vkCmdBeginRenderPass-initialLayout-00898 / -00899): fixed in 890c321842. The view's VkImageViewUsageCreateInfo now adds TRANSFER_DST or TRANSFER_SRC only when the pass's initial or final layout names it. Adding both bits unconditionally would break VUID-VkImageViewCreateInfo-pNext-02662 on the present path, because our swapchain images are TRANSFER_DST | COLOR_ATTACHMENT only and that pass ends in PRESENT_SRC_KHR. The test's cost-report image ended its pass in TRANSFER_SRC_OPTIMAL without that usage, so it now gets TRANSFER_SRC too.

  • With validation layer 1.4.357 on lavapipe (Mesa 25.2.8): 34 × 00898 and 33 × 00899 at e09870006d, none at 890c321842, also with synchronization validation on (no hazards). Layers 1.3.275 and 1.4.304 check the image's usage rather than the view's, so they don't show these errors.

2. The full panel's text: not reproduced on our side, so there's no fix for it yet.

  • With 890c321842's overlay code merged with main 0dc15620d2, agc_performance_overlay passes, full panel included ("every line drawn bit for bit"), on an NVIDIA GeForce RTX 3070 Laptop GPU (driver 617.42, Windows 11) and an AMD Radeon iGPU (Ryzen 9 5900HS, Windows driver 31.0.21923.1000). It passes on lavapipe too.
  • The full panel is the one case that replaces the slot's vertex buffer (1,518 rects; the other cases have 445). On lavapipe, forcing the first capacity to 64, 1,024 or 4,096 changes nothing. The replacement reads right to us: an exact-size buffer bound at its slab slot and mapped at the same offset, in host-coherent memory.
  • It's also the only case that checks the first glyphs of a line. SDR checks only "60.0", and HDR10 the centre of the '6'. So on RADV the cause could be the first text instances, or column 0, as much as the rect count.

If you have a moment, two quick runs on RADV would tell those apart:

  1. The full panel with the buffer never replaced:
-        const auto capacity = std::max<std::size_t>(layout.rects.size(), 1024);
+        const auto capacity = std::max<std::size_t>(layout.rects.size(), 4096);

(PerformanceOverlay.cpp, in Record)
2. The SDR case checking its whole line from the 'F':

-    requireTextDrawn(drawn, extent, bounds, scale, reference.front(), content.above.front(), OverlayMetrics::Padding, firstColumn, digits.size());
+    requireTextDrawn(drawn, extent, bounds, scale, reference.front(), content.above.front(), OverlayMetrics::Padding);

(tests/PerformanceOverlay.cpp, sdrOverlayTest)

If either run fails, the number after "0x" in its message (printed in decimal) says what's on that pixel: about 4283183898 is the panel over the clear colour, which matches what you saw, and any other value means something else was drawn there. Your Mesa version would help too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6225675890 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6225675890). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-16T22:11:10Z. --- @adriadam10 thanks for running it on RADV. Here's where both findings stand. **1. The view usage** (`VUID-vkCmdBeginRenderPass-initialLayout-00898` / `-00899`): fixed in 890c321842. The view's `VkImageViewUsageCreateInfo` now adds `TRANSFER_DST` or `TRANSFER_SRC` only when the pass's initial or final layout names it. Adding both bits unconditionally would break `VUID-VkImageViewCreateInfo-pNext-02662` on the present path, because our swapchain images are `TRANSFER_DST | COLOR_ATTACHMENT` only and that pass ends in `PRESENT_SRC_KHR`. The test's cost-report image ended its pass in `TRANSFER_SRC_OPTIMAL` without that usage, so it now gets `TRANSFER_SRC` too. - With validation layer 1.4.357 on lavapipe (Mesa 25.2.8): 34 × 00898 and 33 × 00899 at e09870006d, none at 890c321842, also with synchronization validation on (no hazards). Layers 1.3.275 and 1.4.304 check the image's usage rather than the view's, so they don't show these errors. **2. The full panel's text:** not reproduced on our side, so there's no fix for it yet. - With 890c321842's overlay code merged with `main` 0dc15620d2, `agc_performance_overlay` passes, full panel included ("every line drawn bit for bit"), on an NVIDIA GeForce RTX 3070 Laptop GPU (driver 617.42, Windows 11) and an AMD Radeon iGPU (Ryzen 9 5900HS, Windows driver 31.0.21923.1000). It passes on lavapipe too. - The full panel is the one case that replaces the slot's vertex buffer (1,518 rects; the other cases have 445). On lavapipe, forcing the first capacity to 64, 1,024 or 4,096 changes nothing. The replacement reads right to us: an exact-size buffer bound at its slab slot and mapped at the same offset, in host-coherent memory. - It's also the only case that checks the first glyphs of a line. SDR checks only "60.0", and HDR10 the centre of the '6'. So on RADV the cause could be the first text instances, or column 0, as much as the rect count. If you have a moment, two quick runs on RADV would tell those apart: 1. The full panel with the buffer never replaced: ```diff - const auto capacity = std::max<std::size_t>(layout.rects.size(), 1024); + const auto capacity = std::max<std::size_t>(layout.rects.size(), 4096); ``` (`PerformanceOverlay.cpp`, in `Record`) 2. The SDR case checking its whole line from the 'F': ```diff - requireTextDrawn(drawn, extent, bounds, scale, reference.front(), content.above.front(), OverlayMetrics::Padding, firstColumn, digits.size()); + requireTextDrawn(drawn, extent, bounds, scale, reference.front(), content.above.front(), OverlayMetrics::Padding); ``` (`tests/PerformanceOverlay.cpp`, `sdrOverlayTest`) If either run fails, the number after "0x" in its message (printed in decimal) says what's on that pixel: about 4283183898 is the panel over the clear colour, which matches what you saw, and any other value means something else was drawn there. Your Mesa version would help too.
adriadam10 commented 2026-10-16 22:46:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T22:46:39Z.

Review: CHANGES_REQUESTED


Thanks for the A/B diffs; I ran both on RADV (AMD Radeon 660M, Linux, PR merged onto current main). Neither points at the buffer replacement:

  • With the capacity at 4096 (buffer never replaced) the full panel still fails the same way: 'P' of 'PROFILED' glyph pixel 0,0 is not white text: 0x4280161290.
  • With sdrOverlayTest checking its whole line from the 'F', the SDR case fails too: 'F' of 'FPS: 60.0' glyph pixel 0,0 is not white text: 0x4280161290. That value is the panel blended over the clear colour, so nothing was drawn there.

So on RADV the pixel (0,0) of the first glyph of the first line is not drawn, in SDR as well; the full panel was only the first case that checked it. The rest of the line passes (60.0 is exact), so look at what is special about a text rect at column 0 / row 0 of its glyph: the first text instance, or the rect's left/top edge landing exactly on a pixel boundary (rasterization of an axis-aligned rect with gl_Position computed in float, where a rounding of the edge could drop the first pixel column), or a rect that begins right after the background rect in the same draw.

Please check that on a driver other than lavapipe and NVIDIA (RADV, or your AMD at the current head) and make the rect edges exact (e.g. positions that are exactly representable in NDC, or a half-pixel-safe rasterization), then the test should pass here.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5554463984 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#pullrequestreview-5554463984). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T22:46:39Z. **Review:** CHANGES_REQUESTED --- Thanks for the A/B diffs; I ran both on RADV (AMD Radeon 660M, Linux, PR merged onto current `main`). Neither points at the buffer replacement: - With the capacity at 4096 (buffer never replaced) the full panel still fails the same way: `'P' of 'PROFILED' glyph pixel 0,0 is not white text: 0x4280161290`. - With `sdrOverlayTest` checking its whole line from the 'F', the SDR case fails too: `'F' of 'FPS: 60.0' glyph pixel 0,0 is not white text: 0x4280161290`. That value is the panel blended over the clear colour, so nothing was drawn there. So on RADV the pixel (0,0) of the first glyph of the first line is not drawn, in SDR as well; the full panel was only the first case that checked it. The rest of the line passes (`60.0` is exact), so look at what is special about a text rect at column 0 / row 0 of its glyph: the first text instance, or the rect's left/top edge landing exactly on a pixel boundary (rasterization of an axis-aligned rect with `gl_Position` computed in float, where a rounding of the edge could drop the first pixel column), or a rect that begins right after the background rect in the same draw. Please check that on a driver other than lavapipe and NVIDIA (RADV, or your AMD at the current head) and make the rect edges exact (e.g. positions that are exactly representable in NDC, or a half-pixel-safe rasterization), then the test should pass here.
EagleBearerYS commented 2026-10-16 22:52:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-16T22:52:14Z.


@adriadam10 Thanks for running both. They pointed us at the shader: it's fixed in 84cae0bda0, now on the branch.

The failing value says a rect was drawn there, in the panel's colour. 0x4280161290 (the test prints the number in decimal) is 0xff1e140a: the clear colour (191, 128, 64) darkened by 0.4 twice. The panel alone gives 0xff4c331a, darkened once. So the glyph's rect covered the right pixel, but it drew with palette[0] (0, 0, 0, 0.6), the panel's colour, instead of white.

It reproduced on a second RADV machine (AMD Radeon RX 7600, NAVI33, Mesa 26.0.8), already in the SDR case: '6' of 'FPS: 60.0' glyph pixel 2,0 is not white text: 0x4280161290, while the unset pixels before it passed. llvmpipe from the same Mesa passed.

The cause: the fragment shader read parameters.palette[paletteIndex], where paletteIndex is the flat colour index of each rect. The index differs between rects, so it can vary within a wave, and on RADV that dynamic index into the push-constant array gave palette[0]. The SPIR-V was valid, and NVIDIA, AMD's Windows driver and lavapipe drew it right. How fragments pack into waves may also explain why your 660M drew "60.0" right but not the first glyph. The shader now reads each entry at a constant index and selects one by the colour index (one line).

I've left the rect edges as they are: the pixel was covered (darkened a second time), so rasterization wasn't dropping it, and the other drivers match every text pixel bit for bit. If your run at 84cae0bda0 still shows a missing edge, I'll look at the edges next.

With the fix, every case passes on that RX 7600, full panel included, and on llvmpipe from the same Mesa, the RTX 3070 Laptop and the integrated AMD Radeon on Windows. GitHub's Windows and Linux runners are running it now (run). Could you rerun agc_performance_overlay on your 660M at 84cae0bda0?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226185797 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#issuecomment-6226185797). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-16T22:52:14Z. --- @adriadam10 Thanks for running both. They pointed us at the shader: it's fixed in 84cae0bda0, now on the branch. The failing value says a rect *was* drawn there, in the panel's colour. `0x4280161290` (the test prints the number in decimal) is 0xff1e140a: the clear colour (191, 128, 64) darkened by 0.4 twice. The panel alone gives 0xff4c331a, darkened once. So the glyph's rect covered the right pixel, but it drew with `palette[0]` (0, 0, 0, 0.6), the panel's colour, instead of white. It reproduced on a second RADV machine (AMD Radeon RX 7600, NAVI33, Mesa 26.0.8), already in the SDR case: `'6' of 'FPS: 60.0' glyph pixel 2,0 is not white text: 0x4280161290`, while the unset pixels before it passed. llvmpipe from the same Mesa passed. The cause: the fragment shader read `parameters.palette[paletteIndex]`, where `paletteIndex` is the flat colour index of each rect. The index differs between rects, so it can vary within a wave, and on RADV that dynamic index into the push-constant array gave `palette[0]`. The SPIR-V was valid, and NVIDIA, AMD's Windows driver and lavapipe drew it right. How fragments pack into waves may also explain why your 660M drew "60.0" right but not the first glyph. The shader now reads each entry at a constant index and selects one by the colour index (one line). I've left the rect edges as they are: the pixel was covered (darkened a second time), so rasterization wasn't dropping it, and the other drivers match every text pixel bit for bit. If your run at 84cae0bda0 still shows a missing edge, I'll look at the edges next. With the fix, every case passes on that RX 7600, full panel included, and on llvmpipe from the same Mesa, the RTX 3070 Laptop and the integrated AMD Radeon on Windows. GitHub's Windows and Linux runners are running it now ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38977742339)). Could you rerun `agc_performance_overlay` on your 660M at 84cae0bda0?
adriadam10 commented 2026-10-16 23:12:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T23:12:28Z.

Review: APPROVED


Checked 84cae0bda0 on RADV (AMD Radeon 660M, Linux, PR merged onto current main): agc_performance_overlay now passes, full panel included, along with agc_performance_overlay_statistics, pad_input_mapping and pad_keyboard_mouse. The palette read with constant indices fixes the divergent push-constant index; merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5554606590 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6012#pullrequestreview-5554606590). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T23:12:28Z. **Review:** APPROVED --- Checked 84cae0bda0 on RADV (AMD Radeon 660M, Linux, PR merged onto current `main`): `agc_performance_overlay` now passes, full panel included, along with `agc_performance_overlay_statistics`, `pad_input_mapping` and `pad_keyboard_mouse`. The palette read with constant indices fixes the divergent push-constant index; merging once the full Build is green.
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!6012
No description provided.