perf(agc): wake a short sleep once the CPU label it waits for has landed #8858

Closed
Dripl1x wants to merge 6 commits from upstream-pr/8858 into main
Dripl1x commented 2026-10-21 03:30:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dripl1x on 2026-10-21T03:30:58Z.


What

An unimported queue-0 label is stored by the CPU after a recorder sync (#7464). The GPU progress watcher, and finish() for a batch with completion actions, woke short guest sleeps (#6658) as soon as the last batch of that sync completed, before the CPU store. A guest that polls the label between short sleeps woke, did not find it, slept again, and only the store's own wake ended the second sleep.

  • commitLabel and recordDeferredLabels open a Recorder::LabelWakeHandoff around each label and wake through it (WakeNow) after the CPU store.
  • The unimported path calls Recorder::SyncForCpuLabel instead of Sync. It arms the recorder's wake ledger with the newest serial before it submits, so the watcher cannot see that batch complete before the ledger is armed.
  • While the ledger is armed, the watcher, and finish() on the label's own thread, leave the wake for that serial and later ones to the label: the ledger records it as owed, and the handoff pays it after the store, or on any other exit (an exception, a label that ends up on the GPU) when it closes. Earlier batches of the same sync still wake when they complete.
  • The watcher also skips a completion that the store's wake already followed: a serial the sync drained, with its completion actions run, before that wake.
  • Labels stored on the GPU, compute-queue labels, labels behind a held submit, the fallbacks that wait for the idle device, and syncs made with no handoff open (the packet-store and DMA paths) wake as before.
  • APS5_NO_LABEL_WAKE_HANDOFF=1 restores the earlier wakes (row added to docs/dev/ENVIRONMENT.md).
  • New test agc_driver_label_wake_handoff (--label-wake-handoff-only of agc_driver_same_queue_label_wait_tests): a 1 ms guest sleep while a DCB runs a short dispatch and writes a label in a block no import covers. Each attempt must take the unimported path (syncedUnimportedLabels grows); no early wake may come before the store, and a label that lands in the sleep must end it.

Tested

Windows 11 Pro (26300), NVIDIA GeForce RTX 3070 Laptop GPU, driver 617.42 (Vulkan 1.4.351), MinGW GCC 15.2 Release build.

  • agc_driver_label_wake_handoff: 33 runs passed, about 1 s each. In the 21 runs whose output was kept, every run had 16 early wakes after the store, 0 before it, 0 sleeps that ran out after the label landed, and 0 labels on another path. Also 5 runs passed with APS5_PIPELINED_DRAWS=0, where the label goes through the deferred-label path, with the same counts.
  • Negative control with APS5_NO_LABEL_WAKE_HANDOFF=1: the test fails in each of 13 runs. In each run, 13 to 31 early wakes came before the store, with 16 after it.
  • 3 runs each: agc_driver_cpu_label_wake, agc_driver_same_queue_label_wait, agc_driver_unimported_label_order, agc_driver_indirect_arguments_pending_producer, guest_sleep_wake, guest_nanosleep.
  • Recorder tests: agc_recorder_device_selection, agc_gpu_timing_complete, agc_gpu_timing_incomplete, agc_recorder_read_list, agc_recorder_deferred_failure_report, agc_copied_direct_ordering, agc_storage_write_back, agc_storage_writeback_blocks, agc_storage_written_buffer_order, agc_pending_write_snapshot, agc_space_pending_writes, agc_pending_key_stores.
  • Validation layer (VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1, ctest -V; RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 11 Pro build 26300; DISABLE_LAYER=1 turned off a third-party implicit layer then installed here, FPS Monitor, whose vkDestroyInstance hook crashed agc_parked_import_unmap on main as well) on #7464 b31bc845fb and on 53b177f2d5: 67 and 68 tests, all pass, neither log reports was not found but was requested by env var VK_INSTANCE_LAYERS, and both report the same VUIDs the same number of times (VUID-VkImageViewCreateInfo-usage-02275 4, VUID-vkCmdCopyBuffer-srcBuffer-00118 2), so the change adds none.
  • Linux (WSL Ubuntu 26.04): libSceAgcDriver builds.

SuperTuxKart captures for the before/after requirement: Windows 11 Pro build 26300, Ryzen 7 5800H, RTX 3070 Laptop GPU, NVIDIA 617.42, WinLibs GCC 15.2.0 r7, Release; SuperTuxKart (PPSA69421) tutorial prompt over the main menu, 1920x1080 internal rendering in a maximized 2560x1369 window, warm shader caches, audio muted, no input; APS5_TRACE_SECONDS=20:8 with APS5_TRACE_EVENTS=1048576, console output not redirected, no profiling switches other than the local counters' APS5_REVIEW_PROBE; 2026-10-21, order base, (fence-spin variant), base + this PR, base + this PR, (fence-spin variant), base.

Capture Build Commit FPS p50 / p90 / p99 ms
nr21-p01-pair main cd700fe9ec + #7464 + #7465 + probes ea3754973876 25.380 38.4 / 42.6 / 56.1
nr21-p06-pair main cd700fe9ec + #7464 + #7465 + probes ea3754973876 25.671 38.0 / 42.3 / 52.2
nr21-p03-pair-handoff base + this PR + probes 9e2a338d5082 26.320 37.2 / 41.7 / 45.2
nr21-p04-pair-handoff base + this PR + probes 9e2a338d5082 25.425 38.5 / 42.5 / 50.9

The FPS difference (25.38 / 25.67 against 26.32 / 25.43) is within the run-to-run spread; this PR claims no FPS change. What it saves is shown under Where it helps.

Summary lines (main first, then this PR)
{"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":131,"ms":8037.973},"presents":204,"frame_ms":{"p50":38.392,"p90":42.596,"p99":56.076,"max":58.745},"gpu_busy_ms_per_present":4.713,"worker_busy_pct":{"queue worker 0x0":5.588},"top_phases_ms_per_frame":{"Recorder.Sync":12.013,"Graphics.Draw":6.605,"Graphics.Draw.draw_and_resource_release":6.369,"Vulkan.DrawFromRecipe":5.398,"Graphics.DrawWithRecipe":5.378,"Graphics.DrawWithRecipe.draw_and_resource_release":5.365,"Recorder.Submit":2.462,"Driver.Packet":2.171},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-13780.json.gz"}
{"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":130,"ms":8024.576},"presents":206,"frame_ms":{"p50":37.976,"p90":42.284,"p99":52.225,"max":55.217},"gpu_busy_ms_per_present":4.684,"worker_busy_pct":{"queue worker 0x0":5.573},"top_phases_ms_per_frame":{"Recorder.Sync":11.874,"Graphics.Draw":6.496,"Graphics.Draw.draw_and_resource_release":6.257,"Vulkan.DrawFromRecipe":5.368,"Graphics.DrawWithRecipe":5.345,"Graphics.DrawWithRecipe.draw_and_resource_release":5.332,"Recorder.Submit":2.471,"Driver.Packet":2.140},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-39020.json.gz"}
{"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":128,"ms":8016.569},"presents":211,"frame_ms":{"p50":37.219,"p90":41.661,"p99":45.246,"max":49.575},"gpu_busy_ms_per_present":4.717,"worker_busy_pct":{"queue worker 0x0":5.529},"top_phases_ms_per_frame":{"Recorder.Sync":11.915,"Graphics.Draw":6.155,"Graphics.Draw.draw_and_resource_release":5.922,"Vulkan.DrawFromRecipe":5.015,"Graphics.DrawWithRecipe":4.995,"Graphics.DrawWithRecipe.draw_and_resource_release":4.984,"Recorder.Submit":2.393,"Driver.Packet":2.071},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-24544.json.gz"}
{"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":142,"ms":8023.684},"presents":204,"frame_ms":{"p50":38.477,"p90":42.536,"p99":50.889,"max":54.393},"gpu_busy_ms_per_present":4.703,"worker_busy_pct":{"queue worker 0x0":5.750},"top_phases_ms_per_frame":{"Recorder.Sync":11.973,"Graphics.Draw":6.506,"Graphics.Draw.draw_and_resource_release":6.264,"Vulkan.DrawFromRecipe":5.298,"Graphics.DrawWithRecipe":5.278,"Graphics.DrawWithRecipe.draw_and_resource_release":5.267,"Recorder.Submit":2.461,"Driver.Packet":2.230},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-31936.json.gz"}
tools/performance_compare.py (first capture of each side)

Performance comparison

Capture Commit Trace Presents Window (ms)
baseline ea3754973876 aps5-trace-ea3754973876-13780.json.gz 204 8037.973
candidate 9e2a338d5082 aps5-trace-9e2a338d5082-24544.json.gz 211 8016.569
  • Compare captures from the same machine, title and scene; summaries do not record the CPU, title or scene.
  • Changes are candidate minus baseline. A negative frame-time change means a shorter frame interval.
  • A missing top phase is unreported, not zero; its change is unavailable.
  • Recorded configuration differs; these measurements do not isolate the code change.

Configuration differences

Setting Baseline Candidate
window.first_present 131 128

Frame and GPU times (ms)

Metric Baseline Candidate Change Change (%)
frame_ms.p50 38.392 37.219 -1.173 -3.055
frame_ms.p90 42.596 41.661 -0.935 -2.195
frame_ms.p99 56.076 45.246 -10.830 -19.313
frame_ms.max 58.745 49.575 -9.170 -15.610
mean_frame_ms 39.402 37.993 -1.409 -3.575
gpu_busy_ms_per_present 4.713 4.717 +0.004 +0.085

Top phases (ms per frame)

Metric Baseline Candidate Change Change (%)
Driver.Packet 2.171 2.071 -0.100 -4.606
Graphics.Draw 6.605 6.155 -0.450 -6.813
Graphics.Draw.draw_and_resource_release 6.369 5.922 -0.447 -7.018
Graphics.DrawWithRecipe 5.378 4.995 -0.383 -7.122
Graphics.DrawWithRecipe.draw_and_resource_release 5.365 4.984 -0.381 -7.102
Recorder.Submit 2.462 2.393 -0.069 -2.803
Recorder.Sync 12.013 11.915 -0.098 -0.816
Vulkan.DrawFromRecipe 5.398 5.015 -0.383 -7.095
tools/trace_digest.py output (first capture of each side; all digests are in the evidence archive)

nr21-p01-pair

seconds 20:8 from present 131: 204 presents, frame p50 38.4 / p90 42.6 / p99 56.1 / max 58.7 ms, GPU busy 4.7 ms per present
NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 1920x1080, commit ea3754973876, dropped: no

{"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":131,"ms":8037.973},"presents":204,"frame_ms":{"p50":38.392,"p90":42.596,"p99":56.076,"max":58.745},"gpu_busy_ms_per_present":4.713,"worker_busy_pct":{"queue worker 0x0":5.588},"top_phases_ms_per_frame":{"Recorder.Sync":12.013,"Graphics.Draw":6.605,"Graphics.Draw.draw_and_resource_release":6.369,"Vulkan.DrawFromRecipe":5.398,"Graphics.DrawWithRecipe":5.378,"Graphics.DrawWithRecipe.draw_and_resource_release":5.365,"Recorder.Submit":2.462,"Driver.Packet":2.171},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-13780.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 133: 58.7 ms at 107 ms: Driver.WorkerWait (queue worker 0x0) 54.9, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 54.8, Recorder.Sync (draw committer) 15.6, Graphics.Draw (draw committer) 11.7
  • present 135: 57.2 ms at 221 ms: Driver.WorkerWait (queue worker 0x0) 53.6, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 53.5, Recorder.Sync (draw committer) 16.7, Graphics.Draw (draw committer) 11.4
  • present 134: 56.1 ms at 165 ms: Driver.WorkerWait (queue worker 0x0) 52.2, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 52.1, Recorder.Sync (draw committer) 14.6, Graphics.Draw (draw committer) 11.5

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 1.4 (3 %) 36.9 (94 %) 1.1 3.8 Driver.Packet 1.4, Driver.EndSubmission 0.0
draw committer 24.0 (61 %) 0.6 (2 %) 14.7 0.1 Recorder.Sync 12.0, Graphics.Draw 6.6
presenter 0.9 (2 %) 0.0 (0 %) 38.5 0.1 VideoOut.Flip 0.9, Driver.Present 0.0
gpu 4.7 (12 %) 0.0 (0 %) 34.7 0.0 batch 4.7

nr21-p03-pair-handoff

seconds 20:8 from present 128: 211 presents, frame p50 37.2 / p90 41.7 / p99 45.2 / max 49.6 ms, GPU busy 4.7 ms per present
NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 1920x1080, commit 9e2a338d5082, dropped: no

{"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":128,"ms":8016.569},"presents":211,"frame_ms":{"p50":37.219,"p90":41.661,"p99":45.246,"max":49.575},"gpu_busy_ms_per_present":4.717,"worker_busy_pct":{"queue worker 0x0":5.529},"top_phases_ms_per_frame":{"Recorder.Sync":11.915,"Graphics.Draw":6.155,"Graphics.Draw.draw_and_resource_release":5.922,"Vulkan.DrawFromRecipe":5.015,"Graphics.DrawWithRecipe":4.995,"Graphics.DrawWithRecipe.draw_and_resource_release":4.984,"Recorder.Submit":2.393,"Driver.Packet":2.071},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-24544.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 132: 49.6 ms at 165 ms: Driver.WorkerWait (queue worker 0x0) 46.5, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 46.4, Recorder.Sync (draw committer) 16.2, Graphics.Draw (draw committer) 9.5
  • present 128: 45.3 ms at 0 ms: Driver.WorkerWait (queue worker 0x0) 41.2, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 41.1, Recorder.Sync (draw committer) 13.5, Graphics.Draw (draw committer) 7.9
  • present 330: 45.2 ms at 7658 ms: Driver.WorkerWait (queue worker 0x0) 42.3, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 42.2, Recorder.Sync (draw committer) 13.0, Graphics.Draw (draw committer) 8.3

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 1.3 (3 %) 35.6 (94 %) 1.1 3.7 Driver.Packet 1.3
draw committer 23.1 (61 %) 0.6 (2 %) 14.3 0.1 Recorder.Sync 11.9, Graphics.Draw 6.2
presenter 0.8 (2 %) 0.0 (0 %) 37.1 0.1 VideoOut.Flip 0.8, Driver.Present 0.0
gpu 4.7 (12 %) 0.0 (0 %) 33.3 0.0 batch 4.7

Where it helps

The path only runs when queue-0 labels are stored on the CPU, which in this scene happens once #7465 leaves the label blocks unimported: with #7464 and #7465 the title makes about 59 such syncs per frame. Measured on main cd700fe9ec with #7464 and #7465 merged locally (the base), and with this PR on top:

Per frame base base + this PR
short guest sleeps (SleepWake::Sleep) 154.9 101.0
of them ended early by a wake 113.4 59.9
KernelWakeSleepers calls 119.0 60.0
µs per short sleep 361.7 544.5
Recorder::Sync calls 59.1 58.9

The guest's short sleeps and the wakes that end them halve: a sleep is no longer woken by the batch completion before the label it polls for lands, so it does not sleep a second time. Counters come from a local probe build that is not part of this PR (review-probe-nr21.patch in the evidence archive): the same 13 counters and timers were inserted into the base and into the base with this PR, and the captures above ran on those builds. Values are per flip over the trace window, medians of two runs per side. Without #7465 the path is rarely taken: on main with #7464 alone the counts barely change (184 → 175 short sleeps per frame).

Reproduction evidence

nr21-handoff-evidence.zip (traces, summary lines, trace_digest.py and performance_compare.py output, loaded-module hashes), the counters where-nr21.json and where-nr21-pair.json, and the probe review-probe-nr21.patch.

Checklist

  • Based on #7464 b31bc845fb (its base is main 2185dbf92e); merges cleanly into current main cd700fe9ec together with #7464 and #7465, which is the measured build; 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: #7464 (the measured gain also needs #7465)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 11 Pro build 26300
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4945955197 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8858). Originally posted by [Dripl1x](https://github.com/Dripl1x) on 2026-10-21T03:30:58Z. --- ### What An unimported queue-0 label is stored by the CPU after a recorder sync (#7464). The GPU progress watcher, and `finish()` for a batch with completion actions, woke short guest sleeps (#6658) as soon as the last batch of that sync completed, before the CPU store. A guest that polls the label between short sleeps woke, did not find it, slept again, and only the store's own wake ended the second sleep. - `commitLabel` and `recordDeferredLabels` open a `Recorder::LabelWakeHandoff` around each label and wake through it (`WakeNow`) after the CPU store. - The unimported path calls `Recorder::SyncForCpuLabel` instead of `Sync`. It arms the recorder's wake ledger with the newest serial before it submits, so the watcher cannot see that batch complete before the ledger is armed. - While the ledger is armed, the watcher, and `finish()` on the label's own thread, leave the wake for that serial and later ones to the label: the ledger records it as owed, and the handoff pays it after the store, or on any other exit (an exception, a label that ends up on the GPU) when it closes. Earlier batches of the same sync still wake when they complete. - The watcher also skips a completion that the store's wake already followed: a serial the sync drained, with its completion actions run, before that wake. - Labels stored on the GPU, compute-queue labels, labels behind a held submit, the fallbacks that wait for the idle device, and syncs made with no handoff open (the packet-store and DMA paths) wake as before. - `APS5_NO_LABEL_WAKE_HANDOFF=1` restores the earlier wakes (row added to `docs/dev/ENVIRONMENT.md`). - New test `agc_driver_label_wake_handoff` (`--label-wake-handoff-only` of `agc_driver_same_queue_label_wait_tests`): a 1 ms guest sleep while a DCB runs a short dispatch and writes a label in a block no import covers. Each attempt must take the unimported path (`syncedUnimportedLabels` grows); no early wake may come before the store, and a label that lands in the sleep must end it. ### Tested Windows 11 Pro (26300), NVIDIA GeForce RTX 3070 Laptop GPU, driver 617.42 (Vulkan 1.4.351), MinGW GCC 15.2 Release build. - `agc_driver_label_wake_handoff`: 33 runs passed, about 1 s each. In the 21 runs whose output was kept, every run had 16 early wakes after the store, 0 before it, 0 sleeps that ran out after the label landed, and 0 labels on another path. Also 5 runs passed with `APS5_PIPELINED_DRAWS=0`, where the label goes through the deferred-label path, with the same counts. - Negative control with `APS5_NO_LABEL_WAKE_HANDOFF=1`: the test fails in each of 13 runs. In each run, 13 to 31 early wakes came before the store, with 16 after it. - 3 runs each: `agc_driver_cpu_label_wake`, `agc_driver_same_queue_label_wait`, `agc_driver_unimported_label_order`, `agc_driver_indirect_arguments_pending_producer`, `guest_sleep_wake`, `guest_nanosleep`. - Recorder tests: `agc_recorder_device_selection`, `agc_gpu_timing_complete`, `agc_gpu_timing_incomplete`, `agc_recorder_read_list`, `agc_recorder_deferred_failure_report`, `agc_copied_direct_ordering`, `agc_storage_write_back`, `agc_storage_writeback_blocks`, `agc_storage_written_buffer_order`, `agc_pending_write_snapshot`, `agc_space_pending_writes`, `agc_pending_key_stores`. - Validation layer (`VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1`, `ANYPS5_REQUIRE_VULKAN=1`, `ctest -V`; RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 11 Pro build 26300; `DISABLE_LAYER=1` turned off a third-party implicit layer then installed here, FPS Monitor, whose `vkDestroyInstance` hook crashed `agc_parked_import_unmap` on main as well) on #7464 `b31bc845fb` and on `53b177f2d5`: 67 and 68 tests, all pass, neither log reports `was not found but was requested by env var VK_INSTANCE_LAYERS`, and both report the same VUIDs the same number of times (`VUID-VkImageViewCreateInfo-usage-02275` 4, `VUID-vkCmdCopyBuffer-srcBuffer-00118` 2), so the change adds none. - Linux (WSL Ubuntu 26.04): `libSceAgcDriver` builds. SuperTuxKart captures for the before/after requirement: Windows 11 Pro build 26300, Ryzen 7 5800H, RTX 3070 Laptop GPU, NVIDIA 617.42, WinLibs GCC 15.2.0 r7, Release; SuperTuxKart (PPSA69421) tutorial prompt over the main menu, 1920x1080 internal rendering in a maximized 2560x1369 window, warm shader caches, audio muted, no input; `APS5_TRACE_SECONDS=20:8` with `APS5_TRACE_EVENTS=1048576`, console output not redirected, no profiling switches other than the local counters' `APS5_REVIEW_PROBE`; 2026-10-21, order base, (fence-spin variant), base + this PR, base + this PR, (fence-spin variant), base. | Capture | Build | Commit | FPS | p50 / p90 / p99 ms | |---|---|---|---:|---| | `nr21-p01-pair` | main `cd700fe9ec` + #7464 + #7465 + probes | `ea3754973876` | 25.380 | 38.4 / 42.6 / 56.1 | | `nr21-p06-pair` | main `cd700fe9ec` + #7464 + #7465 + probes | `ea3754973876` | 25.671 | 38.0 / 42.3 / 52.2 | | `nr21-p03-pair-handoff` | base + this PR + probes | `9e2a338d5082` | 26.320 | 37.2 / 41.7 / 45.2 | | `nr21-p04-pair-handoff` | base + this PR + probes | `9e2a338d5082` | 25.425 | 38.5 / 42.5 / 50.9 | The FPS difference (25.38 / 25.67 against 26.32 / 25.43) is within the run-to-run spread; this PR claims no FPS change. What it saves is shown under **Where it helps**. <details> <summary>Summary lines (main first, then this PR)</summary> ```json {"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":131,"ms":8037.973},"presents":204,"frame_ms":{"p50":38.392,"p90":42.596,"p99":56.076,"max":58.745},"gpu_busy_ms_per_present":4.713,"worker_busy_pct":{"queue worker 0x0":5.588},"top_phases_ms_per_frame":{"Recorder.Sync":12.013,"Graphics.Draw":6.605,"Graphics.Draw.draw_and_resource_release":6.369,"Vulkan.DrawFromRecipe":5.398,"Graphics.DrawWithRecipe":5.378,"Graphics.DrawWithRecipe.draw_and_resource_release":5.365,"Recorder.Submit":2.462,"Driver.Packet":2.171},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-13780.json.gz"} {"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":130,"ms":8024.576},"presents":206,"frame_ms":{"p50":37.976,"p90":42.284,"p99":52.225,"max":55.217},"gpu_busy_ms_per_present":4.684,"worker_busy_pct":{"queue worker 0x0":5.573},"top_phases_ms_per_frame":{"Recorder.Sync":11.874,"Graphics.Draw":6.496,"Graphics.Draw.draw_and_resource_release":6.257,"Vulkan.DrawFromRecipe":5.368,"Graphics.DrawWithRecipe":5.345,"Graphics.DrawWithRecipe.draw_and_resource_release":5.332,"Recorder.Submit":2.471,"Driver.Packet":2.140},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-39020.json.gz"} {"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":128,"ms":8016.569},"presents":211,"frame_ms":{"p50":37.219,"p90":41.661,"p99":45.246,"max":49.575},"gpu_busy_ms_per_present":4.717,"worker_busy_pct":{"queue worker 0x0":5.529},"top_phases_ms_per_frame":{"Recorder.Sync":11.915,"Graphics.Draw":6.155,"Graphics.Draw.draw_and_resource_release":5.922,"Vulkan.DrawFromRecipe":5.015,"Graphics.DrawWithRecipe":4.995,"Graphics.DrawWithRecipe.draw_and_resource_release":4.984,"Recorder.Submit":2.393,"Driver.Packet":2.071},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-24544.json.gz"} {"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":142,"ms":8023.684},"presents":204,"frame_ms":{"p50":38.477,"p90":42.536,"p99":50.889,"max":54.393},"gpu_busy_ms_per_present":4.703,"worker_busy_pct":{"queue worker 0x0":5.750},"top_phases_ms_per_frame":{"Recorder.Sync":11.973,"Graphics.Draw":6.506,"Graphics.Draw.draw_and_resource_release":6.264,"Vulkan.DrawFromRecipe":5.298,"Graphics.DrawWithRecipe":5.278,"Graphics.DrawWithRecipe.draw_and_resource_release":5.267,"Recorder.Submit":2.461,"Driver.Packet":2.230},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-31936.json.gz"} ``` </details> <details> <summary><code>tools/performance_compare.py</code> (first capture of each side)</summary> **Performance comparison** | Capture | Commit | Trace | Presents | Window (ms) | | --- | --- | --- | ---: | ---: | | baseline | ea3754973876 | aps5-trace-ea3754973876-13780.json.gz | 204 | 8037.973 | | candidate | 9e2a338d5082 | aps5-trace-9e2a338d5082-24544.json.gz | 211 | 8016.569 | - Compare captures from the same machine, title and scene; summaries do not record the CPU, title or scene. - Changes are candidate minus baseline. A negative frame-time change means a shorter frame interval. - A missing top phase is unreported, not zero; its change is unavailable. - Recorded configuration differs; these measurements do not isolate the code change. **Configuration differences** | Setting | Baseline | Candidate | | --- | --- | --- | | window.first_present | 131 | 128 | **Frame and GPU times (ms)** | Metric | Baseline | Candidate | Change | Change (%) | | --- | ---: | ---: | ---: | ---: | | frame_ms.p50 | 38.392 | 37.219 | -1.173 | -3.055 | | frame_ms.p90 | 42.596 | 41.661 | -0.935 | -2.195 | | frame_ms.p99 | 56.076 | 45.246 | -10.830 | -19.313 | | frame_ms.max | 58.745 | 49.575 | -9.170 | -15.610 | | mean_frame_ms | 39.402 | 37.993 | -1.409 | -3.575 | | gpu_busy_ms_per_present | 4.713 | 4.717 | +0.004 | +0.085 | **Top phases (ms per frame)** | Metric | Baseline | Candidate | Change | Change (%) | | --- | ---: | ---: | ---: | ---: | | Driver.Packet | 2.171 | 2.071 | -0.100 | -4.606 | | Graphics.Draw | 6.605 | 6.155 | -0.450 | -6.813 | | Graphics.Draw.draw_and_resource_release | 6.369 | 5.922 | -0.447 | -7.018 | | Graphics.DrawWithRecipe | 5.378 | 4.995 | -0.383 | -7.122 | | Graphics.DrawWithRecipe.draw_and_resource_release | 5.365 | 4.984 | -0.381 | -7.102 | | Recorder.Submit | 2.462 | 2.393 | -0.069 | -2.803 | | Recorder.Sync | 12.013 | 11.915 | -0.098 | -0.816 | | Vulkan.DrawFromRecipe | 5.398 | 5.015 | -0.383 | -7.095 | </details> <details> <summary><code>tools/trace_digest.py</code> output (first capture of each side; all digests are in the evidence archive)</summary> `nr21-p01-pair` **seconds 20:8** from present 131: 204 presents, frame p50 38.4 / p90 42.6 / p99 56.1 / max 58.7 ms, GPU busy 4.7 ms per present NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 1920x1080, commit ea3754973876, dropped: no ```json {"commit":"ea3754973876","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":131,"ms":8037.973},"presents":204,"frame_ms":{"p50":38.392,"p90":42.596,"p99":56.076,"max":58.745},"gpu_busy_ms_per_present":4.713,"worker_busy_pct":{"queue worker 0x0":5.588},"top_phases_ms_per_frame":{"Recorder.Sync":12.013,"Graphics.Draw":6.605,"Graphics.Draw.draw_and_resource_release":6.369,"Vulkan.DrawFromRecipe":5.398,"Graphics.DrawWithRecipe":5.378,"Graphics.DrawWithRecipe.draw_and_resource_release":5.365,"Recorder.Submit":2.462,"Driver.Packet":2.171},"trace_dropped":false,"trace":"aps5-trace-ea3754973876-13780.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 133: 58.7 ms at 107 ms: Driver.WorkerWait (queue worker 0x0) 54.9, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 54.8, Recorder.Sync (draw committer) 15.6, Graphics.Draw (draw committer) 11.7 - present 135: 57.2 ms at 221 ms: Driver.WorkerWait (queue worker 0x0) 53.6, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 53.5, Recorder.Sync (draw committer) 16.7, Graphics.Draw (draw committer) 11.4 - present 134: 56.1 ms at 165 ms: Driver.WorkerWait (queue worker 0x0) 52.2, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 52.1, Recorder.Sync (draw committer) 14.6, Graphics.Draw (draw committer) 11.5 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 1.4 (3 %) | 36.9 (94 %) | 1.1 | 3.8 | Driver.Packet 1.4, Driver.EndSubmission 0.0 | | draw committer | 24.0 (61 %) | 0.6 (2 %) | 14.7 | 0.1 | Recorder.Sync 12.0, Graphics.Draw 6.6 | | presenter | 0.9 (2 %) | 0.0 (0 %) | 38.5 | 0.1 | VideoOut.Flip 0.9, Driver.Present 0.0 | | gpu | 4.7 (12 %) | 0.0 (0 %) | 34.7 | 0.0 | batch 4.7 | `nr21-p03-pair-handoff` **seconds 20:8** from present 128: 211 presents, frame p50 37.2 / p90 41.7 / p99 45.2 / max 49.6 ms, GPU busy 4.7 ms per present NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 1920x1080, commit 9e2a338d5082, dropped: no ```json {"commit":"9e2a338d5082","dirty":false,"env":{"APS5_REVIEW_PROBE":"<path>","APS5_TRACE_EVENTS":"1048576","APS5_TRACE_SECONDS":"20:8"},"gpu":"NVIDIA GeForce RTX 3070 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800H with Radeon Graphics","cpu_threads":16,"memory_mib":64863,"title_id":"PPSA69421","title":"SuperTuxKart","content_version":"00.001.000","resolution":"1920x1080","window":{"spec":"seconds 20:8","first_present":128,"ms":8016.569},"presents":211,"frame_ms":{"p50":37.219,"p90":41.661,"p99":45.246,"max":49.575},"gpu_busy_ms_per_present":4.717,"worker_busy_pct":{"queue worker 0x0":5.529},"top_phases_ms_per_frame":{"Recorder.Sync":11.915,"Graphics.Draw":6.155,"Graphics.Draw.draw_and_resource_release":5.922,"Vulkan.DrawFromRecipe":5.015,"Graphics.DrawWithRecipe":4.995,"Graphics.DrawWithRecipe.draw_and_resource_release":4.984,"Recorder.Submit":2.393,"Driver.Packet":2.071},"trace_dropped":false,"trace":"aps5-trace-9e2a338d5082-24544.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 132: 49.6 ms at 165 ms: Driver.WorkerWait (queue worker 0x0) 46.5, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 46.4, Recorder.Sync (draw committer) 16.2, Graphics.Draw (draw committer) 9.5 - present 128: 45.3 ms at 0 ms: Driver.WorkerWait (queue worker 0x0) 41.2, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 41.1, Recorder.Sync (draw committer) 13.5, Graphics.Draw (draw committer) 7.9 - present 330: 45.2 ms at 7658 ms: Driver.WorkerWait (queue worker 0x0) 42.3, Driver.WorkerWait.idle_and_completion_poll (queue worker 0x0) 42.2, Recorder.Sync (draw committer) 13.0, Graphics.Draw (draw committer) 8.3 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 1.3 (3 %) | 35.6 (94 %) | 1.1 | 3.7 | Driver.Packet 1.3 | | draw committer | 23.1 (61 %) | 0.6 (2 %) | 14.3 | 0.1 | Recorder.Sync 11.9, Graphics.Draw 6.2 | | presenter | 0.8 (2 %) | 0.0 (0 %) | 37.1 | 0.1 | VideoOut.Flip 0.8, Driver.Present 0.0 | | gpu | 4.7 (12 %) | 0.0 (0 %) | 33.3 | 0.0 | batch 4.7 | </details> ### Where it helps The path only runs when queue-0 labels are stored on the CPU, which in this scene happens once #7465 leaves the label blocks unimported: with #7464 and #7465 the title makes about 59 such syncs per frame. Measured on main `cd700fe9ec` with #7464 and #7465 merged locally (the base), and with this PR on top: | Per frame | base | base + this PR | |---|---:|---:| | short guest sleeps (`SleepWake::Sleep`) | 154.9 | 101.0 | | of them ended early by a wake | 113.4 | 59.9 | | `KernelWakeSleepers` calls | 119.0 | 60.0 | | µs per short sleep | 361.7 | 544.5 | | `Recorder::Sync` calls | 59.1 | 58.9 | The guest's short sleeps and the wakes that end them halve: a sleep is no longer woken by the batch completion before the label it polls for lands, so it does not sleep a second time. Counters come from a local probe build that is not part of this PR (`review-probe-nr21.patch` in the evidence archive): the same 13 counters and timers were inserted into the base and into the base with this PR, and the captures above ran on those builds. Values are per flip over the trace window, medians of two runs per side. Without #7465 the path is rarely taken: on main with #7464 alone the counts barely change (184 → 175 short sleeps per frame). ### Reproduction evidence [nr21-handoff-evidence.zip](https://github.com/Dripl1x/AnyPS5/releases/download/review-20261021b/nr21-handoff-evidence.zip) (traces, summary lines, `trace_digest.py` and `performance_compare.py` output, loaded-module hashes), the counters [where-nr21.json](https://github.com/Dripl1x/AnyPS5/releases/download/review-20261021b/where-nr21.json) and [where-nr21-pair.json](https://github.com/Dripl1x/AnyPS5/releases/download/review-20261021b/where-nr21-pair.json), and the probe [review-probe-nr21.patch](https://github.com/Dripl1x/AnyPS5/releases/download/review-20261021b/review-probe-nr21.patch). ### Checklist - [x] Based on #7464 `b31bc845fb` (its base is main `2185dbf92e`); merges cleanly into current main `cd700fe9ec` together with #7464 and #7465, which is the measured build; 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: #7464 (the measured gain also needs #7465) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 11 Pro build 26300 - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-21 03:42:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T03:42:40Z.


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 7963 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp L164
PR 9495 core/libs/prx/libSceAgcDriver/CMakeLists.txt L2025

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 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 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4630 docs/dev/debt/libkernel.md
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libkernel.md
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5431 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 5441 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6149 docs/dev/debt/libkernel.md
PR 6187 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6202 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6290 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6292 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/DeferredLabels.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6469 docs/dev/debt/libkernel.md
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Synchronization/SynchronizationStatistics.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/SynchronizationStatistics.cpp
PR 6539 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6615 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/DeferredLabels.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 6642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6740 docs/dev/debt/libkernel.md
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6830 docs/dev/debt/libkernel.md
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6879 docs/dev/ENVIRONMENT.md
docs/dev/debt/libkernel.md
PR 6924 docs/dev/ENVIRONMENT.md
PR 6936 docs/dev/debt/libkernel.md
PR 6960 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7088 docs/dev/debt/libkernel.md
PR 7105 docs/dev/debt/libkernel.md
PR 7149 docs/dev/debt/libkernel.md
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7275 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7457 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 7508 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7509 docs/dev/debt/libkernel.md
PR 7565 docs/dev/debt/libkernel.md
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 7653 docs/dev/debt/libkernel.md
PR 7705 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 7800 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7922 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 8004 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 8014 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8077 docs/dev/ENVIRONMENT.md
PR 8246 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 8278 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8484 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 8527 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8547 docs/dev/debt/libkernel.md
PR 8552 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8553 docs/dev/debt/libkernel.md
PR 8592 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8672 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8726 docs/dev/debt/libkernel.md
PR 8906 docs/dev/debt/libkernel.md
PR 9012 docs/dev/ENVIRONMENT.md
PR 9363 docs/dev/debt/libkernel.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6307484729 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8858#issuecomment-6307484729). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-21T03:42:40Z. --- <!-- 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 7963](https://www.github.com/boykopovar/AnyPS5/pull/7963) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp` [L164](https://github.com/boykopovar/AnyPS5/blob/a6dcea9279b53b3a39c13695eac66f7c8b5b503c/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp#L164) | | | | [PR 9495](https://www.github.com/boykopovar/AnyPS5/pull/9495) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L2025](https://github.com/boykopovar/AnyPS5/blob/a6dcea9279b53b3a39c13695eac66f7c8b5b503c/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L2025) | | | 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 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 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `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 4472](https://www.github.com/boykopovar/AnyPS5/pull/4472) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4630](https://www.github.com/boykopovar/AnyPS5/pull/4630) | `docs/dev/debt/libkernel.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/dev/debt/libkernel.md` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<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/VulkanDevice.cpp` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6149](https://www.github.com/boykopovar/AnyPS5/pull/6149) | `docs/dev/debt/libkernel.md` | | [PR 6187](https://www.github.com/boykopovar/AnyPS5/pull/6187) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6202](https://www.github.com/boykopovar/AnyPS5/pull/6202) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6209](https://www.github.com/boykopovar/AnyPS5/pull/6209) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6290](https://www.github.com/boykopovar/AnyPS5/pull/6290) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/DeferredLabels.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6469](https://www.github.com/boykopovar/AnyPS5/pull/6469) | `docs/dev/debt/libkernel.md` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Synchronization/SynchronizationStatistics.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/SynchronizationStatistics.cpp` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Synchronization/DeferredLabels.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp` | | [PR 6642](https://www.github.com/boykopovar/AnyPS5/pull/6642) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6740](https://www.github.com/boykopovar/AnyPS5/pull/6740) | `docs/dev/debt/libkernel.md` | | [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` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6830](https://www.github.com/boykopovar/AnyPS5/pull/6830) | `docs/dev/debt/libkernel.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libkernel.md` | | [PR 6924](https://www.github.com/boykopovar/AnyPS5/pull/6924) | `docs/dev/ENVIRONMENT.md` | | [PR 6936](https://www.github.com/boykopovar/AnyPS5/pull/6936) | `docs/dev/debt/libkernel.md` | | [PR 6960](https://www.github.com/boykopovar/AnyPS5/pull/6960) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7088](https://www.github.com/boykopovar/AnyPS5/pull/7088) | `docs/dev/debt/libkernel.md` | | [PR 7105](https://www.github.com/boykopovar/AnyPS5/pull/7105) | `docs/dev/debt/libkernel.md` | | [PR 7149](https://www.github.com/boykopovar/AnyPS5/pull/7149) | `docs/dev/debt/libkernel.md` | | [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` | | [PR 7275](https://www.github.com/boykopovar/AnyPS5/pull/7275) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7457](https://www.github.com/boykopovar/AnyPS5/pull/7457) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 7508](https://www.github.com/boykopovar/AnyPS5/pull/7508) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7509](https://www.github.com/boykopovar/AnyPS5/pull/7509) | `docs/dev/debt/libkernel.md` | | [PR 7565](https://www.github.com/boykopovar/AnyPS5/pull/7565) | `docs/dev/debt/libkernel.md` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 7653](https://www.github.com/boykopovar/AnyPS5/pull/7653) | `docs/dev/debt/libkernel.md` | | [PR 7705](https://www.github.com/boykopovar/AnyPS5/pull/7705) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7922](https://www.github.com/boykopovar/AnyPS5/pull/7922) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8004](https://www.github.com/boykopovar/AnyPS5/pull/8004) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8014](https://www.github.com/boykopovar/AnyPS5/pull/8014) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 8077](https://www.github.com/boykopovar/AnyPS5/pull/8077) | `docs/dev/ENVIRONMENT.md` | | [PR 8246](https://www.github.com/boykopovar/AnyPS5/pull/8246) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8278](https://www.github.com/boykopovar/AnyPS5/pull/8278) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 8484](https://www.github.com/boykopovar/AnyPS5/pull/8484) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8527](https://www.github.com/boykopovar/AnyPS5/pull/8527) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8547](https://www.github.com/boykopovar/AnyPS5/pull/8547) | `docs/dev/debt/libkernel.md` | | [PR 8552](https://www.github.com/boykopovar/AnyPS5/pull/8552) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8553](https://www.github.com/boykopovar/AnyPS5/pull/8553) | `docs/dev/debt/libkernel.md` | | [PR 8592](https://www.github.com/boykopovar/AnyPS5/pull/8592) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8672](https://www.github.com/boykopovar/AnyPS5/pull/8672) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8726](https://www.github.com/boykopovar/AnyPS5/pull/8726) | `docs/dev/debt/libkernel.md` | | [PR 8906](https://www.github.com/boykopovar/AnyPS5/pull/8906) | `docs/dev/debt/libkernel.md` | | [PR 9012](https://www.github.com/boykopovar/AnyPS5/pull/9012) | `docs/dev/ENVIRONMENT.md` | | [PR 9363](https://www.github.com/boykopovar/AnyPS5/pull/9363) | `docs/dev/debt/libkernel.md` |
CnRJay commented 2026-10-21 17:53:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-21T17:53:55Z.

Review: COMMENTED


The race it fixes is understandable (a short sleep woken before the CPU label store, so a polling guest wakes, doesn't find the label, and sleeps again), and the A/B on the test is clean (13 to 31 early wakes before the store without the switch, 0 with it).

  • It is labelled perf, but the evidence is wake counts in a synthetic test with a 1 ms sleep. No title and no frame time is shown. Which title polls a label between short sleeps, and what does it gain? Per the Performance report form, post the summary lines of main and this PR from that title and scene (PPSA, presents per 10 s, p50/p99), no APS5_PROFILE_*. A change that only moves a wake by a store's duration may not be measurable; if it isn't, say so in the description.
  • The mechanism is a wake ledger, a LabelWakeHandoff around each label, SyncForCpuLabel, a "skip a completion that the store's wake already followed" rule in the watcher, and an owed-wake that is paid on any exit. That is four interacting states for one wake. The failure mode of a missed wake is a sleeping guest thread that waits out its full sleep (or longer, for a long one), and the failure mode of an extra wake is a spurious wake the guest must tolerate. Please state which of these the ledger guarantees never happens, and add a stress test with many labels from two queues so the ledger is exercised under contention (the single DCB test can't show a race between the watcher and finish()).
  • It depends on #7464 (unimported label stores on the CPU) and #6658. The maintainers asked #7464 for a [sync] profile line separating the new stall; this PR's wake correctness is only meaningful once that path is merged. Rebase when it lands so the diff is the handoff alone.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5603954647 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8858#pullrequestreview-5603954647). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-21T17:53:55Z. **Review:** COMMENTED --- The race it fixes is understandable (a short sleep woken before the CPU label store, so a polling guest wakes, doesn't find the label, and sleeps again), and the A/B on the test is clean (13 to 31 early wakes before the store without the switch, 0 with it). - It is labelled `perf`, but the evidence is wake counts in a synthetic test with a 1 ms sleep. No title and no frame time is shown. Which title polls a label between short sleeps, and what does it gain? Per the Performance report form, post the summary lines of main and this PR from that title and scene (PPSA, presents per 10 s, p50/p99), no `APS5_PROFILE_*`. A change that only moves a wake by a store's duration may not be measurable; if it isn't, say so in the description. - The mechanism is a wake ledger, a `LabelWakeHandoff` around each label, `SyncForCpuLabel`, a "skip a completion that the store's wake already followed" rule in the watcher, and an owed-wake that is paid on any exit. That is four interacting states for one wake. The failure mode of a missed wake is a sleeping guest thread that waits out its full sleep (or longer, for a long one), and the failure mode of an extra wake is a spurious wake the guest must tolerate. Please state which of these the ledger guarantees never happens, and add a stress test with many labels from two queues so the ledger is exercised under contention (the single DCB test can't show a race between the watcher and `finish()`). - It depends on #7464 (unimported label stores on the CPU) and #6658. The maintainers asked #7464 for a `[sync]` profile line separating the new stall; this PR's wake correctness is only meaningful once that path is merged. Rebase when it lands so the diff is the handoff alone.
Dripl1x commented 2026-10-22 03:01:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dripl1x on 2026-10-22T03:01:17Z.


Closing: the handoff removes early wakes, but the total sleep per frame stays the same, so there is no measurable gain to justify the added state. Thanks @CnRJay for the review.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331620358 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8858#issuecomment-6331620358). Originally posted by [Dripl1x](https://github.com/Dripl1x) on 2026-10-22T03:01:17Z. --- Closing: the handoff removes early wakes, but the total sleep per frame stays the same, so there is no measurable gain to justify the added state. Thanks @CnRJay for the review.

Pull request closed

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!8858
No description provided.