perf(agc): write the frame-dump log line through the asynchronous profile output #9602

Merged
thuanquang merged 1 commit from upstream-pr/9602 into main 2026-10-25 08:29:57 +00:00
thuanquang commented 2026-10-22 04:01:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by thuanquang on 2026-10-22T04:01:44Z.


What

WriteFrameDump (Execution/src/VulkanDevice.cpp) logs each frame that APS5_DUMP_FRAMES dumps with std::fprintf(stderr, "[gpu] frame_NNN.bmp: ..."). It runs on the presenter, inside Driver::Present, before the guest sees the flip complete. The path is the trailing FinishPresent, then RetirePresents(0), then RetireSlot, then WriteFrameDump. VideoOutDriver::processFlip raises the FLIP event and stores the previous buffer's label only after Present returns, so the guest waits for this write. The BMP itself is already written by the dump writer thread; only the log line was synchronous.

The line now goes through ProfilePrint_nid_no_patch, like the periodic reports since #798. Its text and timestamp are unchanged: the time is still taken when the frame is read back.

Why

The CRT's stderr is unbuffered. When it is not a console, a printf-family call writes it one byte per WriteFile, so this 67-character line costs 67 writes on every dumped frame. When stderr is a file redirected with Windows PowerShell's Start-Process -RedirectStandardError (how our scripts start a title), that file is opened write-through, and one write costs 0.11 to 0.39 ms. The line then costs about 7 to 26 ms on the presenter per dumped frame. Every frame-time measurement made with frame dumps on showed it in p99 and max. #9373 does the same for APS5_PROFILE_DRAW's draw reports.

Tested

Rerun on main 048d0f9aa3 (head 1a9f8be3fc, the same one-line change), PPSA14363 (METAL GEAR SOLID Master Collection Vol. 1, own dump), RX 6700 XT: launcher title screen, 150 s, APS5_DUMP_FRAMES=400 with APS5_DUMP_FRAMES_EVERY=30, APS5_TRACE_SUMMARY_EVERY=10, APS5_TRACE_SECONDS=100:20; both sides built clean with only libSceAgcDriver.prx swapped; each run held the exclusive GPU lock and the build lock on an idle PC; two pairs, the second in the opposite order. Per 10 s window from 20 s on, without 110 to 120 s:

presents p99 max
main 048d0f9aa3, pair 1 600 17.5-17.8 ms 17.8-25.7 ms, 4 of 11 windows over 20 ms
main 048d0f9aa3, pair 2 600 17.5-17.8 ms 17.7-21.7 ms, 2 of 11 windows over 20 ms
this PR 1a9f8be3fc, pair 1 600 17.3-17.4 ms 17.5-19.3 ms, 0 of 11 windows over 20 ms
this PR 1a9f8be3fc, pair 2 600 17.2-17.4 ms 17.4-20.7 ms, 1 of 11 windows over 20 ms

Summary lines, tools/performance_compare.py and tools/trace_digest.py output for these runs: this comment.

Before the rebase, on main 3ca07d086d and head 67a69f7d8e:

PPSA14363 (METAL GEAR SOLID Master Collection Vol. 1, own dump), RX 6700 XT:

  • Setup. Launcher title screen, 150 s, APS5_DUMP_FRAMES=400 with APS5_DUMP_FRAMES_EVERY=30, APS5_TRACE_SUMMARY_EVERY=10 and a 20 s trace window at 100 s (APS5_TRACE_SECONDS=100:20), no profiler.
  • Both sides are built clean, main 3ca07d086d and this PR's head 67a69f7d8e, each with #9115's trophy fix (to get past stop 1), with only libSceAgcDriver.prx swapped.
  • Isolation. The runs held this PC's GPU and build locks; this PR ran first, then main.
  • Results. Per 10 s window, from 20 s on, without 110 to 120 s, whose last frame writes the trace on both sides:
presents p99 max
main 3ca07d086d 597-600 17.6-18.0 ms 18.0-75.1 ms, 7 of 11 windows over 20 ms
this PR 67a69f7d8e 600 17.2-17.5 ms 17.3-17.9 ms, 0 of 11 windows over 20 ms

Earlier A/Bs showed the same direction: on main 7e2ba73e4c, 17.6-17.8 ms against 17.2-17.5 ms at p99 and 3 against 1 windows over 20 ms; on main 6ef5a1c4c9, main read 17.8-24.0 ms at p99 and 18.2-208.0 ms at max, with 6 of 12 windows over 20 ms and Vulkan.Retire.dump at 0.6-1.1 ms per frame, while this PR read 17.2-17.4 ms and 17.5-23.0 ms. The cost of each write to the write-through log varies between runs.

Summary lines of the trace window, 100 to 120 s. First main, then this PR:

{"commit":"3ca07d086d5f","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5828,"ms":20003.375},"presents":1198,"frame_ms":{"p50":16.686,"p90":17.007,"p99":17.689,"max":26.245},"gpu_busy_ms_per_present":1.299,"worker_busy_pct":{"queue worker 0x0":2.497},"top_phases_ms_per_frame":{"VideoOut.Flip":2.339,"VideoOut.Flip.present":2.093,"Driver.Present":2.090,"Driver.Present.acquire_image":1.324,"Vulkan.Acquire":1.323,"Vulkan.Acquire.acquire_fence_wait":1.252,"Driver.Present.render_fence_wait":0.585,"Vulkan.Retire":0.584},"trace_dropped":false,"trace":"aps5-trace-3ca07d086d5f-28544.json.gz"}
{"commit":"67a69f7d8e23","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5943,"ms":20003.384},"presents":1199,"frame_ms":{"p50":16.683,"p90":16.917,"p99":17.277,"max":17.673},"gpu_busy_ms_per_present":1.228,"worker_busy_pct":{"queue worker 0x0":2.624},"top_phases_ms_per_frame":{"VideoOut.Flip":15.836,"VideoOut.Flip.vblank_wait":14.989,"VideoOut.Flip.present":0.681,"Driver.Present":0.677,"Driver.Packet":0.435,"Driver.Present.acquire_image":0.256,"Graphics.Draw":0.255,"Vulkan.Acquire":0.255},"trace_dropped":false,"trace":"aps5-trace-67a69f7d8e23-5548.json.gz"}

tools/performance_compare.py on these two lines and the tools/trace_digest.py tables of both runs are in this comment. Traces are not attached, because these runs come from a commercial title.

Tests:

  • video_out_hdr_present dumps frames, reads the BMPs back and prints the [gpu] frame_NNN.bmp line. It passes 3 of 3 together with video_out_hdr_probe, on main 048d0f9aa3 and on this head (and before the rebase on main 3ca07d086d and 67a69f7d8e).
  • Under the Khronos validation layer, on main 048d0f9aa3 and on this head (and before on 3ca07d086d), both pass with 0 VUID- lines on both sides. VK_LOADER_DEBUG=layer shows the layer inserted in the one Vulkan test process, with no "was not found" line.
  • video_out_frame_dump_queue is registered only off Windows, so it was not run here.

tools/check_conventions.py passes.

Ordering and overload: like every line sent through ProfilePrint_nid_no_patch, the frame-dump line now keeps its order only among the profile output: it can land after a later synchronous stderr line, and if the writer falls behind it can be dropped and counted on a [profile-output] dropped ... line instead of being printed.

Not tested: other GPUs, Linux.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD Radeon RX 6700 XT (gfx1031), AMD Windows driver 32.0.21045.16010, Windows 11 26200
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4961898463 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602). Originally posted by [thuanquang](https://github.com/thuanquang) on 2026-10-22T04:01:44Z. --- ### What `WriteFrameDump` (`Execution/src/VulkanDevice.cpp`) logs each frame that `APS5_DUMP_FRAMES` dumps with `std::fprintf(stderr, "[gpu] frame_NNN.bmp: ...")`. It runs on the presenter, inside `Driver::Present`, before the guest sees the flip complete. The path is the trailing `FinishPresent`, then `RetirePresents(0)`, then `RetireSlot`, then `WriteFrameDump`. `VideoOutDriver::processFlip` raises the FLIP event and stores the previous buffer's label only after `Present` returns, so the guest waits for this write. The BMP itself is already written by the dump writer thread; only the log line was synchronous. The line now goes through `ProfilePrint_nid_no_patch`, like the periodic reports since #798. Its text and timestamp are unchanged: the time is still taken when the frame is read back. ### Why The CRT's stderr is unbuffered. When it is not a console, a printf-family call writes it one byte per `WriteFile`, so this 67-character line costs 67 writes on every dumped frame. When stderr is a file redirected with Windows PowerShell's `Start-Process -RedirectStandardError` (how our scripts start a title), that file is opened write-through, and one write costs 0.11 to 0.39 ms. The line then costs about 7 to 26 ms on the presenter per dumped frame. Every frame-time measurement made with frame dumps on showed it in p99 and max. #9373 does the same for `APS5_PROFILE_DRAW`'s draw reports. ### Tested **Rerun on `main` `048d0f9aa3`** (head `1a9f8be3fc`, the same one-line change), PPSA14363 (METAL GEAR SOLID Master Collection Vol. 1, own dump), RX 6700 XT: launcher title screen, 150 s, `APS5_DUMP_FRAMES=400` with `APS5_DUMP_FRAMES_EVERY=30`, `APS5_TRACE_SUMMARY_EVERY=10`, `APS5_TRACE_SECONDS=100:20`; both sides built clean with only `libSceAgcDriver.prx` swapped; each run held the exclusive GPU lock and the build lock on an idle PC; two pairs, the second in the opposite order. Per 10 s window from 20 s on, without 110 to 120 s: | | presents | p99 | max | |---|---|---|---| | `main` `048d0f9aa3`, pair 1 | 600 | 17.5-17.8 ms | 17.8-25.7 ms, 4 of 11 windows over 20 ms | | `main` `048d0f9aa3`, pair 2 | 600 | 17.5-17.8 ms | 17.7-21.7 ms, 2 of 11 windows over 20 ms | | this PR `1a9f8be3fc`, pair 1 | 600 | 17.3-17.4 ms | 17.5-19.3 ms, 0 of 11 windows over 20 ms | | this PR `1a9f8be3fc`, pair 2 | 600 | 17.2-17.4 ms | 17.4-20.7 ms, 1 of 11 windows over 20 ms | Summary lines, `tools/performance_compare.py` and `tools/trace_digest.py` output for these runs: [this comment](https://github.com/boykopovar/AnyPS5/pull/9602#issuecomment-6361263766). Before the rebase, on `main` `3ca07d086d` and head `67a69f7d8e`: **PPSA14363** (METAL GEAR SOLID Master Collection Vol. 1, own dump), RX 6700 XT: - **Setup.** Launcher title screen, 150 s, `APS5_DUMP_FRAMES=400` with `APS5_DUMP_FRAMES_EVERY=30`, `APS5_TRACE_SUMMARY_EVERY=10` and a 20 s trace window at 100 s (`APS5_TRACE_SECONDS=100:20`), no profiler. - **Both sides** are built clean, `main` `3ca07d086d` and this PR's head `67a69f7d8e`, each with #9115's trophy fix (to get past stop 1), with only `libSceAgcDriver.prx` swapped. - **Isolation.** The runs held this PC's GPU and build locks; this PR ran first, then `main`. - **Results.** Per 10 s window, from 20 s on, without 110 to 120 s, whose last frame writes the trace on both sides: | | presents | p99 | max | |---|---|---|---| | `main` `3ca07d086d` | 597-600 | 17.6-18.0 ms | 18.0-75.1 ms, 7 of 11 windows over 20 ms | | this PR `67a69f7d8e` | 600 | 17.2-17.5 ms | 17.3-17.9 ms, 0 of 11 windows over 20 ms | Earlier A/Bs showed the same direction: on `main` `7e2ba73e4c`, 17.6-17.8 ms against 17.2-17.5 ms at p99 and 3 against 1 windows over 20 ms; on `main` `6ef5a1c4c9`, `main` read 17.8-24.0 ms at p99 and 18.2-208.0 ms at max, with 6 of 12 windows over 20 ms and `Vulkan.Retire.dump` at 0.6-1.1 ms per frame, while this PR read 17.2-17.4 ms and 17.5-23.0 ms. The cost of each write to the write-through log varies between runs. Summary lines of the trace window, 100 to 120 s. First `main`, then this PR: ```json {"commit":"3ca07d086d5f","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5828,"ms":20003.375},"presents":1198,"frame_ms":{"p50":16.686,"p90":17.007,"p99":17.689,"max":26.245},"gpu_busy_ms_per_present":1.299,"worker_busy_pct":{"queue worker 0x0":2.497},"top_phases_ms_per_frame":{"VideoOut.Flip":2.339,"VideoOut.Flip.present":2.093,"Driver.Present":2.090,"Driver.Present.acquire_image":1.324,"Vulkan.Acquire":1.323,"Vulkan.Acquire.acquire_fence_wait":1.252,"Driver.Present.render_fence_wait":0.585,"Vulkan.Retire":0.584},"trace_dropped":false,"trace":"aps5-trace-3ca07d086d5f-28544.json.gz"} ``` ```json {"commit":"67a69f7d8e23","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5943,"ms":20003.384},"presents":1199,"frame_ms":{"p50":16.683,"p90":16.917,"p99":17.277,"max":17.673},"gpu_busy_ms_per_present":1.228,"worker_busy_pct":{"queue worker 0x0":2.624},"top_phases_ms_per_frame":{"VideoOut.Flip":15.836,"VideoOut.Flip.vblank_wait":14.989,"VideoOut.Flip.present":0.681,"Driver.Present":0.677,"Driver.Packet":0.435,"Driver.Present.acquire_image":0.256,"Graphics.Draw":0.255,"Vulkan.Acquire":0.255},"trace_dropped":false,"trace":"aps5-trace-67a69f7d8e23-5548.json.gz"} ``` `tools/performance_compare.py` on these two lines and the `tools/trace_digest.py` tables of both runs are in [this comment](https://github.com/boykopovar/AnyPS5/pull/9602#issuecomment-6349266963). Traces are not attached, because these runs come from a commercial title. **Tests:** - `video_out_hdr_present` dumps frames, reads the BMPs back and prints the `[gpu] frame_NNN.bmp` line. It passes 3 of 3 together with `video_out_hdr_probe`, on `main` `048d0f9aa3` and on this head (and before the rebase on `main` `3ca07d086d` and `67a69f7d8e`). - Under the Khronos validation layer, on `main` `048d0f9aa3` and on this head (and before on `3ca07d086d`), both pass with 0 `VUID-` lines on both sides. `VK_LOADER_DEBUG=layer` shows the layer inserted in the one Vulkan test process, with no "was not found" line. - `video_out_frame_dump_queue` is registered only off Windows, so it was not run here. `tools/check_conventions.py` passes. **Ordering and overload:** like every line sent through `ProfilePrint_nid_no_patch`, the frame-dump line now keeps its order only among the profile output: it can land after a later synchronous stderr line, and if the writer falls behind it can be dropped and counted on a `[profile-output] dropped ...` line instead of being printed. **Not tested:** other GPUs, Linux. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: AMD Radeon RX 6700 XT (gfx1031), AMD Windows driver 32.0.21045.16010, Windows 11 26200 - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-22 04:01:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-22T04:01:57Z.


This pull request is labeled perf, so it needs the summary line of a capture on main and one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste both aps5-summary.jsonl lines, attach the two traces and add the output of tools/trace_digest.py.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6332370012 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#issuecomment-6332370012). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-22T04:01:57Z. --- <!-- pr-labels-perf --> This pull request is labeled `perf`, so it needs the summary line of a capture on `main` and one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste both `aps5-summary.jsonl` lines, attach the two traces and add the output of `tools/trace_digest.py`.
MarcZX10 commented 2026-10-22 04:04:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:04:26Z.

Review: CHANGES_REQUESTED


The change is a one-line replacement on the presenter path; the reported improvement is plausible, and the PR reports focused frame-dump tests with the validation layer. Hosted conventions, eligibility, intake, labels and report checks pass; product/relinker jobs are skipped. I did not run tests locally.

The required perf evidence is not complete yet. Both summary lines identify commit 6ef5a1c4c922; the changed run is marked dirty, and the traces are neither attached nor digested. The repository requires distinct main and change captures from the same title, scene and machine, the traces, and tools/trace_digest.py output. Please rerun against current main and the clean PR head and add those artifacts.

The AGC validation rule also requires the focused tests on both main and the change on the same machine/GPU with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and the Khronos layer, confirming the layer was loaded and comparing VUIDs. The current report documents the PR side only. Finally, this branch is based on 6ef5a1c4, while current upstream main is dce41a89; update the branch and rerun the report and focused validation on the resulting head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609120319 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#pullrequestreview-5609120319). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:04:26Z. **Review:** CHANGES_REQUESTED --- The change is a one-line replacement on the presenter path; the reported improvement is plausible, and the PR reports focused frame-dump tests with the validation layer. Hosted conventions, eligibility, intake, labels and report checks pass; product/relinker jobs are skipped. I did not run tests locally. The required `perf` evidence is not complete yet. Both summary lines identify commit `6ef5a1c4c922`; the changed run is marked dirty, and the traces are neither attached nor digested. The repository requires distinct `main` and change captures from the same title, scene and machine, the traces, and `tools/trace_digest.py` output. Please rerun against current `main` and the clean PR head and add those artifacts. The AGC validation rule also requires the focused tests on both main and the change on the same machine/GPU with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and the Khronos layer, confirming the layer was loaded and comparing VUIDs. The current report documents the PR side only. Finally, this branch is based on `6ef5a1c4`, while current upstream main is `dce41a89`; update the branch and rerun the report and focused validation on the resulting head.
MarcZX10 commented 2026-10-22 04:04:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:04:32Z.

Review: CHANGES_REQUESTED


Correction to my preceding review: the PR branch is based on d9c99c9, not 6ef5a1c4; the report’s paired baseline is 6ef5a1c4, and current upstream main is now dce41a89. Please update the branch and rerun the required captures/tests against current main and the PR head.

The performance evidence remains incomplete: both summary lines identify commit 6ef5a1c4c922, the changed run is marked dirty, and the traces are neither attached nor digested. The repository requires distinct clean main/change captures from the same title, scene and machine, with both traces and tools/trace_digest.py output.

For this AGC change, the repository also requires the focused tests on main and the change on the same machine/GPU with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and the Khronos layer, confirmation the layer loaded, and a VUID comparison. The current report documents PR-side checks, not the required paired baseline comparison. Hosted conventions, eligibility, intake, labels and report checks pass; product/relinker jobs are skipped. I did not run tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609120917 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#pullrequestreview-5609120917). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:04:32Z. **Review:** CHANGES_REQUESTED --- Correction to my preceding review: the PR branch is based on `d9c99c9`, not `6ef5a1c4`; the report’s paired baseline is `6ef5a1c4`, and current upstream `main` is now `dce41a89`. Please update the branch and rerun the required captures/tests against current main and the PR head. The performance evidence remains incomplete: both summary lines identify commit `6ef5a1c4c922`, the changed run is marked dirty, and the traces are neither attached nor digested. The repository requires distinct clean main/change captures from the same title, scene and machine, with both traces and `tools/trace_digest.py` output. For this AGC change, the repository also requires the focused tests on main and the change on the same machine/GPU with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and the Khronos layer, confirmation the layer loaded, and a VUID comparison. The current report documents PR-side checks, not the required paired baseline comparison. Hosted conventions, eligibility, intake, labels and report checks pass; product/relinker jobs are skipped. I did not run tests locally.
MarcZX10 commented 2026-10-22 09:30:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T09:30:55Z.


I rechecked exact head 52d1385bddf4: it remains a one-line switch from synchronous fprintf to ProfilePrint_nid_no_patch; git diff --check and current-main conventions pass. Hosted eligibility, conventions, labels, and report pass, while product/relinker jobs are skipped. The prior change request still applies: provide clean main/change performance captures, both traces plus trace_digest.py output, and the paired validation-layer/no-shader-cache focused tests on the updated main and PR head before asking for re-review.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337489073 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#issuecomment-6337489073). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T09:30:55Z. --- I rechecked exact head `52d1385bddf4`: it remains a one-line switch from synchronous `fprintf` to `ProfilePrint_nid_no_patch`; `git diff --check` and current-main conventions pass. Hosted eligibility, conventions, labels, and report pass, while product/relinker jobs are skipped. The prior change request still applies: provide clean main/change performance captures, both traces plus `trace_digest.py` output, and the paired validation-layer/no-shader-cache focused tests on the updated main and PR head before asking for re-review.
thuanquang commented 2026-10-22 09:38:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by thuanquang on 2026-10-22T09:38:16Z.


Thanks. Rebased on main 7e2ba73e4c (head 52d1385bdd), with the evidence refreshed:

Clean captures, same title, scene and machine. main 7e2ba73e4c against this head, both built clean (dirty: false). Both sides have #9115's trophy fix, which gets the title past stop 1, and only libSceAgcDriver.prx is swapped between them. Launcher title, 150 s, APS5_DUMP_FRAMES=400 with APS5_DUMP_FRAMES_EVERY=30, APS5_TRACE_SUMMARY_EVERY=10 and a 20 s trace window at 100 s (APS5_TRACE_SECONDS=100:20), with the GPU and build locks held. Per 10 s window from 20 s on, leaving out 110 to 120 s on both sides, because its last frame writes the trace (120.0 ms on main, 109.1 ms with this PR):

Launcher title, 11 windows main 7e2ba73e4c this PR 52d1385bdd
presents per 10 s 600 599 to 600
frame p99 17.6 to 17.8 ms 17.2 to 17.5 ms
frame max 17.8 to 25.0 ms, 3 windows over 20 ms 17.5 to 24.2 ms, 1 window over 20 ms

The gap is smaller than in the description's first A/B on main 6ef5a1c4c9, where main had 6 of 12 windows over 20 ms and one 208 ms frame. The cost of each write to the write-through log varies between runs (0.11 to 0.39 ms per WriteFile in the measurement under Why).

The summary lines of the trace window (100 to 120 s), main first:

{"commit":"7e2ba73e4c8c","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5894,"ms":20003.816},"presents":1199,"frame_ms":{"p50":16.684,"p90":17.033,"p99":17.741,"max":18.160},"gpu_busy_ms_per_present":1.145,"worker_busy_pct":{"queue worker 0x0":2.600},"top_phases_ms_per_frame":{"VideoOut.Flip":2.226,"VideoOut.Flip.present":1.892,"Driver.Present":1.890,"Driver.Present.acquire_image":1.297,"Vulkan.Acquire":1.295,"Vulkan.Acquire.acquire_fence_wait":1.220,"Driver.Packet":0.431,"Driver.Present.render_fence_wait":0.415},"trace_dropped":false,"trace":"aps5-trace-7e2ba73e4c8c-18208.json.gz"}
{"commit":"52d1385bddf4","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5947,"ms":20003.301},"presents":1199,"frame_ms":{"p50":16.682,"p90":16.962,"p99":17.377,"max":17.941},"gpu_busy_ms_per_present":1.145,"worker_busy_pct":{"queue worker 0x0":2.313},"top_phases_ms_per_frame":{"VideoOut.Flip":1.744,"VideoOut.Flip.present":1.665,"Driver.Present":1.663,"Driver.Present.acquire_image":1.331,"Vulkan.Acquire":1.330,"Vulkan.Acquire.acquire_fence_wait":1.262,"Driver.Packet":0.383,"Graphics.Draw":0.224},"trace_dropped":false,"trace":"aps5-trace-52d1385bddf4-20000.json.gz"}

tools/performance_compare.py on these two lines. The only configuration difference it reports is window.first_present (5894 and 5947):

Metric (ms) main this PR Change
frame_ms.p50 16.684 16.682 -0.002
frame_ms.p90 17.033 16.962 -0.071
frame_ms.p99 17.741 17.377 -0.364
frame_ms.max 18.160 17.941 -0.219
mean_frame_ms 16.684 16.683 -0.000
gpu_busy_ms_per_present 1.145 1.145 +0.000

In its top phases, VideoOut.Flip goes from 2.226 to 1.744 ms per frame and Driver.Present from 1.890 to 1.663, where WriteFrameDump runs.

tools/trace_digest.py on both runs' summary files

main 7e2ba73e4c:

14 intervals, 0.0 to 140.2 s, 8294 presents
AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (AMD proprietary shader compiler), Windows 10.0.26200, 1920x1080, commit 7e2ba73e4c

# seconds presents p50 p90 p99 max GPU busy busiest worker largest phase
1 0-10 502 16.7 17.0 34.2 831.8 1.3 3 % VideoOut.Flip 15.8
2 10-20 597 16.7 17.0 17.9 62.2 1.4 2 % VideoOut.Flip 8.2
3 20-30 600 16.7 17.0 17.8 17.9 1.1 3 % VideoOut.Flip 2.2
4 30-40 600 16.7 17.0 17.6 23.3 1.1 2 % VideoOut.Flip 2.2
5 40-50 600 16.7 17.0 17.7 25.0 1.1 2 % VideoOut.Flip 2.2
6 50-60 600 16.7 17.1 17.7 18.3 1.1 2 % VideoOut.Flip 2.2
7 60-70 600 16.7 17.0 17.6 21.2 1.1 2 % VideoOut.Flip 2.2
8 70-80 600 16.7 17.0 17.7 18.1 1.1 2 % VideoOut.Flip 2.2
9 80-90 600 16.7 17.0 17.6 18.2 1.1 2 % VideoOut.Flip 2.2
10 90-100 600 16.7 17.0 17.7 17.8 1.1 2 % VideoOut.Flip 2.2
11 100-110 600 16.7 17.0 17.7 18.0 1.1 2 % VideoOut.Flip 2.2
12 110-120 595 16.7 17.1 17.8 120.0 1.1 3 % VideoOut.Flip 2.4
13 120-130 600 16.7 17.0 17.8 18.2 1.1 3 % VideoOut.Flip 6.0
14 130-140 600 16.7 17.0 17.7 18.2 1.1 3 % VideoOut.Flip 2.2
p99 ms  @+++++++++++++  0-34.2
gpu ms  %@############  0-1.4

This PR 52d1385bdd:

14 intervals, 0.0 to 140.1 s, 8346 presents
AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (AMD proprietary shader compiler), Windows 10.0.26200, 1920x1080, commit 52d1385bddf4

# seconds presents p50 p90 p99 max GPU busy busiest worker largest phase
1 0-10 553 16.7 17.0 26.5 599.7 1.2 2 % VideoOut.Flip 15.8
2 10-20 599 16.7 16.9 17.6 46.1 1.4 2 % VideoOut.Flip 11.8
3 20-30 600 16.7 16.9 17.3 17.6 1.1 2 % VideoOut.Flip 1.7
4 30-40 600 16.7 16.9 17.5 17.5 1.1 2 % VideoOut.Flip 1.7
5 40-50 600 16.7 16.9 17.4 18.1 1.1 2 % VideoOut.Flip 1.7
6 50-60 600 16.7 16.9 17.2 17.7 1.1 2 % VideoOut.Flip 1.7
7 60-70 600 16.7 16.9 17.3 17.5 1.1 2 % VideoOut.Flip 1.7
8 70-80 600 16.7 17.0 17.4 17.8 1.1 2 % VideoOut.Flip 1.7
9 80-90 600 16.7 17.0 17.3 17.5 1.1 2 % VideoOut.Flip 1.7
10 90-100 600 16.7 17.0 17.5 18.1 1.1 2 % VideoOut.Flip 1.7
11 100-110 600 16.7 17.0 17.4 17.9 1.1 2 % VideoOut.Flip 1.7
12 110-120 595 16.7 17.0 17.4 109.1 1.1 2 % VideoOut.Flip 1.9
13 120-130 599 16.7 17.0 17.3 24.2 1.1 2 % VideoOut.Flip 1.8
14 130-140 600 16.7 16.9 17.3 17.5 1.1 2 % VideoOut.Flip 1.7
p99 ms  @*************  0-26.5
gpu ms  #@############  0-1.4

Traces. These runs come from a commercial title, so the trace files stay local. I asked the maintainers on #9373 whether summary lines plus the tools' output are enough for such a title.

Validation-layer A/B. video_out_hdr_present and video_out_hdr_probe ran on main and on this head, each 3 rounds without the layer and once with it (ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, implicit layers disabled):

plain, 3 rounds with the layer VUID- lines layer inserted
main 7e2ba73e4c 2 of 2 pass, 3 of 3 2 of 2 0 once, no "was not found"
this PR 52d1385bdd 2 of 2 pass, 3 of 3 2 of 2 0 once, no "was not found"

video_out_hdr_present is the one Vulkan process: it writes six frame dumps through WriteFrameDump, prints their [gpu] frame_NNN.bmp lines and reads the BMPs back, with a largest difference of 0 on both sides. HDR10 presentation is not exercised on this display. video_out_hdr_probe runs without a Vulkan instance. video_out_frame_dump_queue is registered only off Windows.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337624072 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#issuecomment-6337624072). Originally posted by [thuanquang](https://github.com/thuanquang) on 2026-10-22T09:38:16Z. --- Thanks. Rebased on `main` `7e2ba73e4c` (head `52d1385bdd`), with the evidence refreshed: **Clean captures, same title, scene and machine.** `main` `7e2ba73e4c` against this head, both built clean (`dirty: false`). Both sides have #9115's trophy fix, which gets the title past stop 1, and only `libSceAgcDriver.prx` is swapped between them. Launcher title, 150 s, `APS5_DUMP_FRAMES=400` with `APS5_DUMP_FRAMES_EVERY=30`, `APS5_TRACE_SUMMARY_EVERY=10` and a 20 s trace window at 100 s (`APS5_TRACE_SECONDS=100:20`), with the GPU and build locks held. Per 10 s window from 20 s on, leaving out 110 to 120 s on both sides, because its last frame writes the trace (120.0 ms on `main`, 109.1 ms with this PR): | Launcher title, 11 windows | `main` `7e2ba73e4c` | this PR `52d1385bdd` | |---|---|---| | presents per 10 s | 600 | 599 to 600 | | frame p99 | 17.6 to 17.8 ms | 17.2 to 17.5 ms | | frame max | 17.8 to 25.0 ms, 3 windows over 20 ms | 17.5 to 24.2 ms, 1 window over 20 ms | The gap is smaller than in the description's first A/B on `main` `6ef5a1c4c9`, where `main` had 6 of 12 windows over 20 ms and one 208 ms frame. The cost of each write to the write-through log varies between runs (0.11 to 0.39 ms per `WriteFile` in the measurement under Why). The summary lines of the trace window (100 to 120 s), `main` first: ```json {"commit":"7e2ba73e4c8c","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5894,"ms":20003.816},"presents":1199,"frame_ms":{"p50":16.684,"p90":17.033,"p99":17.741,"max":18.160},"gpu_busy_ms_per_present":1.145,"worker_busy_pct":{"queue worker 0x0":2.600},"top_phases_ms_per_frame":{"VideoOut.Flip":2.226,"VideoOut.Flip.present":1.892,"Driver.Present":1.890,"Driver.Present.acquire_image":1.297,"Vulkan.Acquire":1.295,"Vulkan.Acquire.acquire_fence_wait":1.220,"Driver.Packet":0.431,"Driver.Present.render_fence_wait":0.415},"trace_dropped":false,"trace":"aps5-trace-7e2ba73e4c8c-18208.json.gz"} ``` ```json {"commit":"52d1385bddf4","dirty":false,"env":{"APS5_DUMP_FRAMES":"400","APS5_DUMP_FRAMES_EVERY":"30","APS5_TRACE_SECONDS":"100:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 100:20","first_present":5947,"ms":20003.301},"presents":1199,"frame_ms":{"p50":16.682,"p90":16.962,"p99":17.377,"max":17.941},"gpu_busy_ms_per_present":1.145,"worker_busy_pct":{"queue worker 0x0":2.313},"top_phases_ms_per_frame":{"VideoOut.Flip":1.744,"VideoOut.Flip.present":1.665,"Driver.Present":1.663,"Driver.Present.acquire_image":1.331,"Vulkan.Acquire":1.330,"Vulkan.Acquire.acquire_fence_wait":1.262,"Driver.Packet":0.383,"Graphics.Draw":0.224},"trace_dropped":false,"trace":"aps5-trace-52d1385bddf4-20000.json.gz"} ``` `tools/performance_compare.py` on these two lines. The only configuration difference it reports is `window.first_present` (5894 and 5947): | Metric (ms) | `main` | this PR | Change | |---|---:|---:|---:| | `frame_ms.p50` | 16.684 | 16.682 | -0.002 | | `frame_ms.p90` | 17.033 | 16.962 | -0.071 | | `frame_ms.p99` | 17.741 | 17.377 | -0.364 | | `frame_ms.max` | 18.160 | 17.941 | -0.219 | | `mean_frame_ms` | 16.684 | 16.683 | -0.000 | | `gpu_busy_ms_per_present` | 1.145 | 1.145 | +0.000 | In its top phases, `VideoOut.Flip` goes from 2.226 to 1.744 ms per frame and `Driver.Present` from 1.890 to 1.663, where `WriteFrameDump` runs. <details><summary><code>tools/trace_digest.py</code> on both runs' summary files</summary> `main` `7e2ba73e4c`: **14 intervals**, 0.0 to 140.2 s, 8294 presents AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (AMD proprietary shader compiler), Windows 10.0.26200, 1920x1080, commit 7e2ba73e4c8c | # | seconds | presents | p50 | p90 | p99 | max | GPU busy | busiest worker | largest phase | |---|---|---|---|---|---|---|---|---|---| | 1 | 0-10 | 502 | 16.7 | 17.0 | 34.2 | 831.8 | 1.3 | 3 % | VideoOut.Flip 15.8 | | 2 | 10-20 | 597 | 16.7 | 17.0 | 17.9 | 62.2 | 1.4 | 2 % | VideoOut.Flip 8.2 | | 3 | 20-30 | 600 | 16.7 | 17.0 | 17.8 | 17.9 | 1.1 | 3 % | VideoOut.Flip 2.2 | | 4 | 30-40 | 600 | 16.7 | 17.0 | 17.6 | 23.3 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 5 | 40-50 | 600 | 16.7 | 17.0 | 17.7 | 25.0 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 6 | 50-60 | 600 | 16.7 | 17.1 | 17.7 | 18.3 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 7 | 60-70 | 600 | 16.7 | 17.0 | 17.6 | 21.2 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 8 | 70-80 | 600 | 16.7 | 17.0 | 17.7 | 18.1 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 9 | 80-90 | 600 | 16.7 | 17.0 | 17.6 | 18.2 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 10 | 90-100 | 600 | 16.7 | 17.0 | 17.7 | 17.8 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 11 | 100-110 | 600 | 16.7 | 17.0 | 17.7 | 18.0 | 1.1 | 2 % | VideoOut.Flip 2.2 | | 12 | 110-120 | 595 | 16.7 | 17.1 | 17.8 | 120.0 | 1.1 | 3 % | VideoOut.Flip 2.4 | | 13 | 120-130 | 600 | 16.7 | 17.0 | 17.8 | 18.2 | 1.1 | 3 % | VideoOut.Flip 6.0 | | 14 | 130-140 | 600 | 16.7 | 17.0 | 17.7 | 18.2 | 1.1 | 3 % | VideoOut.Flip 2.2 | ``` p99 ms @+++++++++++++ 0-34.2 gpu ms %@############ 0-1.4 ``` This PR `52d1385bdd`: **14 intervals**, 0.0 to 140.1 s, 8346 presents AMD Radeon RX 6700 XT, AMD proprietary driver 26.10.1 (AMD proprietary shader compiler), Windows 10.0.26200, 1920x1080, commit 52d1385bddf4 | # | seconds | presents | p50 | p90 | p99 | max | GPU busy | busiest worker | largest phase | |---|---|---|---|---|---|---|---|---|---| | 1 | 0-10 | 553 | 16.7 | 17.0 | 26.5 | 599.7 | 1.2 | 2 % | VideoOut.Flip 15.8 | | 2 | 10-20 | 599 | 16.7 | 16.9 | 17.6 | 46.1 | 1.4 | 2 % | VideoOut.Flip 11.8 | | 3 | 20-30 | 600 | 16.7 | 16.9 | 17.3 | 17.6 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 4 | 30-40 | 600 | 16.7 | 16.9 | 17.5 | 17.5 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 5 | 40-50 | 600 | 16.7 | 16.9 | 17.4 | 18.1 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 6 | 50-60 | 600 | 16.7 | 16.9 | 17.2 | 17.7 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 7 | 60-70 | 600 | 16.7 | 16.9 | 17.3 | 17.5 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 8 | 70-80 | 600 | 16.7 | 17.0 | 17.4 | 17.8 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 9 | 80-90 | 600 | 16.7 | 17.0 | 17.3 | 17.5 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 10 | 90-100 | 600 | 16.7 | 17.0 | 17.5 | 18.1 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 11 | 100-110 | 600 | 16.7 | 17.0 | 17.4 | 17.9 | 1.1 | 2 % | VideoOut.Flip 1.7 | | 12 | 110-120 | 595 | 16.7 | 17.0 | 17.4 | 109.1 | 1.1 | 2 % | VideoOut.Flip 1.9 | | 13 | 120-130 | 599 | 16.7 | 17.0 | 17.3 | 24.2 | 1.1 | 2 % | VideoOut.Flip 1.8 | | 14 | 130-140 | 600 | 16.7 | 16.9 | 17.3 | 17.5 | 1.1 | 2 % | VideoOut.Flip 1.7 | ``` p99 ms @************* 0-26.5 gpu ms #@############ 0-1.4 ``` </details> **Traces.** These runs come from a commercial title, so the trace files stay local. I asked the maintainers on #9373 whether summary lines plus the tools' output are enough for such a title. **Validation-layer A/B.** `video_out_hdr_present` and `video_out_hdr_probe` ran on `main` and on this head, each 3 rounds without the layer and once with it (`ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, implicit layers disabled): | | plain, 3 rounds | with the layer | `VUID-` lines | layer inserted | |---|---|---|---|---| | `main` `7e2ba73e4c` | 2 of 2 pass, 3 of 3 | 2 of 2 | 0 | once, no "was not found" | | this PR `52d1385bdd` | 2 of 2 pass, 3 of 3 | 2 of 2 | 0 | once, no "was not found" | `video_out_hdr_present` is the one Vulkan process: it writes six frame dumps through `WriteFrameDump`, prints their `[gpu] frame_NNN.bmp` lines and reads the BMPs back, with a largest difference of 0 on both sides. HDR10 presentation is not exercised on this display. `video_out_hdr_probe` runs without a Vulkan instance. `video_out_frame_dump_queue` is registered only off Windows.
MarcZX10 commented 2026-10-22 13:19:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T13:19:35Z.

Review: DISMISSED


The updated comment adds a useful paired Vulkan validation run: the focused tests ran on the reported baseline and this PR, the layer loaded, and both sides show zero VUID- lines. The frame-dump test also passed three times on both sides and read back the BMPs. Exact-head whitespace and conventions pass against current main 3ca07d086d5f44fbe3c00370e7f03953ab46ca1b; the current-main merge tree is clean. The author’s Windows RX 6700 XT results are reported; I did not run GPU tests locally, and hosted product jobs are skipped.

The report still uses main 7e2ba73e4c (with only #9115) and PR head 52d1385bdd, while this branch is based on 7e2ba73e4c8c26b5d632b0d2f46166ffc1b8a29d and current main is now 3ca07d086d5f44fbe3c00370e7f03953ab46ca1b. Please update the branch, then rerun the same title/scene/machine performance A/B and paired validation-layer checks against current main and the resulting clean PR head.

The summaries and trace_digest.py output are now present, but the trace files remain local because the test uses a commercial title. I found no maintainer answer in #9373 approving summary-only evidence. Please get that exception confirmed there rather than posting commercial traces without approval; otherwise attach the required traces and digest as the repository performance form requests. Preserve the agreed overlap handling for #6946/#9508/#1896/#7642 when updating. This request is for current-main and performance/validation evidence only; no intake hold is being applied.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5614853597 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9602#pullrequestreview-5614853597). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T13:19:35Z. **Review:** DISMISSED --- The updated comment adds a useful paired Vulkan validation run: the focused tests ran on the reported baseline and this PR, the layer loaded, and both sides show zero `VUID-` lines. The frame-dump test also passed three times on both sides and read back the BMPs. Exact-head whitespace and conventions pass against current main `3ca07d086d5f44fbe3c00370e7f03953ab46ca1b`; the current-main merge tree is clean. The author’s Windows RX 6700 XT results are reported; I did not run GPU tests locally, and hosted product jobs are skipped. The report still uses `main` `7e2ba73e4c` (with only #9115) and PR head `52d1385bdd`, while this branch is based on `7e2ba73e4c8c26b5d632b0d2f46166ffc1b8a29d` and current main is now `3ca07d086d5f44fbe3c00370e7f03953ab46ca1b`. Please update the branch, then rerun the same title/scene/machine performance A/B and paired validation-layer checks against current main and the resulting clean PR head. The summaries and `trace_digest.py` output are now present, but the trace files remain local because the test uses a commercial title. I found no maintainer answer in #9373 approving summary-only evidence. Please get that exception confirmed there rather than posting commercial traces without approval; otherwise attach the required traces and digest as the repository performance form requests. Preserve the agreed overlap handling for #6946/#9508/#1896/#7642 when updating. This request is for current-main and performance/validation evidence only; no intake hold is being applied.
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!9602
No description provided.