perf(agc): build a pipelined draw's resource-cache key before it reaches the committer #10678

Merged
WallisSkill merged 7 commits from upstream-pr/10678 into main 2026-11-16 05:36:12 +00:00
WallisSkill commented 2026-10-24 17:04:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by WallisSkill on 2026-10-24T17:04:29Z.


What

The draw finisher now builds the resource-cache key of a pipelined draw it finishes (DrawResourceKey, the same inputs planDraw uses) before it queues the commit, and Driver::commitDraw passes it down through VulkanDevice::Draw and Graphics::Draw. planDraw uses the key when it was made for the committing device (the key's first words hold the device handle) and builds its own otherwise, as before. The committer runs every draw under the GPU mutex and is the stage the draws wait for in this scene, while the finisher has time to spare. A draw that queue worker 0 finishes itself (no finisher hand-off) leaves the key to the committer as before, so the change never adds work to the worker (head 7b0b45a52, after the Planet of Lana measurement in the review).

APS5_NO_EARLY_DRAW_KEY keeps the key on the committer. APS5_VERIFY_EARLY_DRAW_KEY rebuilds it on the committer and requires both keys to be equal; a first-room run and the AGC suite below ran with it and found no difference.

Tested

Windows 11 Pro 10.0.26200, AMD Ryzen 7 9800X3D, NVIDIA GeForce RTX 5070 (driver 616.92), MinGW Release build.

Update, main cccdaa273 (head f32df519a): re-measured with the same setup, three interleaved rounds, the arms differing only in libSceAgcDriver.prx: frame p50 52.7 / 53.0 / 52.3 ms on main and 52.8 / 52.3 / 53.3 ms with this change, so the frame-time gain below does not reproduce on current main. The committer still spends about 4.5 ms less per frame in Graphics.Draw (43.4-44.0 against 38.8-39.4 ms) and the finisher about 2 ms more, but queue worker 0 is now the limit (96 % busy in every capture of both arms). The 38 AGC tests pass on this head in plain and pipelined mode with APS5_VERIFY_EARLY_DRAW_KEY=1 (76 of 76), and the validation comparison against cccdaa273 is unchanged (VUID-VkDeviceCreateInfo-pNext-pNext only, 138 on each side, identical per test). The measurements below are from the earlier bases.

Performance: Graveyard Keeper 2 (PPSA35943), the first dungeon room after New game, 1920x1080 window, captured with APS5_TRACE_SECONDS=120:10 and APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=256 APS5_PIPELINE_DISPATCH=1 APS5_MIMALLOC=1, no other APS5_TRACE_* or APS5_PROFILE_* switch and no log redirection. Base is main 3fcb5e4d7; the change was built at 0039a4195, which differs from this branch's head only in the commit message. Each build ran the scene once to warm the caches, then the captures below ran back to back on the same machine; the input came from APS5_PAD_INPUT_FILE (the libScePad command file), so the window was not focused. The trace buffer dropped events at its default size in every capture (dropped: yes); the frame times come from the presents.

  • base-1: seconds 120:10 from present 2344: 148 presents, frame p50 67.3 / p90 72.2 / p99 77.4 / max 78.1 ms, GPU busy 8.9 ms per present
  • base-2: seconds 120:10 from present 2352: 145 presents, frame p50 68.8 / p90 73.7 / p99 77.9 / max 78.2 ms, GPU busy 8.8 ms per present
  • base-3: seconds 120:10 from present 2358: 146 presents, frame p50 68.1 / p90 75.0 / p99 83.9 / max 86.4 ms, GPU busy 8.8 ms per present
  • pr4-1: seconds 120:10 from present 2459: 159 presents, frame p50 62.7 / p90 67.2 / p99 73.6 / max 82.0 ms, GPU busy 9.0 ms per present
  • pr4-3: seconds 120:10 from present 2485: 160 presents, frame p50 62.5 / p90 66.0 / p99 69.6 / max 70.7 ms, GPU busy 8.9 ms per present

Summary lines (main, then this change):

{"commit":"3fcb5e4d7649","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2344,"ms":10047.517},"presents":148,"frame_ms":{"p50":67.270,"p90":72.242,"p99":77.354,"max":78.058},"gpu_busy_ms_per_present":8.861,"worker_busy_pct":{"queue worker 0x0":96.438},"top_phases_ms_per_frame":{"Driver.Packet":65.406,"Graphics.Draw":57.908,"Graphics.Draw.draw_and_resource_release":49.344,"Driver.Packet.draw":42.270,"Driver.Draw":41.904,"Driver.DrawFinish":35.172,"Driver.Draw.prepare":32.781,"Driver.DrawFinish.shader_compile_and_link":31.427},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.419,"events_lost":154720,"totals_full":false}},"trace":"aps5-trace-3fcb5e4d7649-48276.json.gz"}
{"commit":"0039a41950a1","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2459,"ms":10006.312},"presents":159,"frame_ms":{"p50":62.738,"p90":67.191,"p99":73.602,"max":82.012},"gpu_busy_ms_per_present":8.973,"worker_busy_pct":{"queue worker 0x0":96.247},"top_phases_ms_per_frame":{"Driver.Packet":60.504,"Graphics.Draw":51.029,"Graphics.Draw.draw_and_resource_release":42.879,"Driver.Packet.draw":42.139,"Driver.Draw":41.770,"Driver.DrawFinish":36.897,"Driver.Draw.prepare":34.393,"Driver.DrawFinish.shader_compile_and_link":30.273},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":5.734,"events_lost":198648,"totals_full":false}},"trace":"aps5-trace-0039a41950a1-49148.json.gz"}

Traces and the other summary lines: https://github.com/WallisSkill/AnyPS5/releases/tag/gk2-perf-traces-2026-10-24 (files gk2-base-* and gk2-pr4-*).

Second measurement, at head 7b0b45a52 (main cf528e78c as base), same scene and machine, with two launch configurations. pp is the configuration above (APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=256 APS5_PIPELINE_DISPATCH=1 APS5_MIMALLOC=1, the finisher on); np drops the three draw pipeline switches, so queue worker 0 finishes every draw and is the limit (98 % busy in every np capture). old is the previous head 4d4b48da5, which built the key on whichever thread finished the draw. One warm-up run, then two rounds of np main, np old, np fixed, pp main, pp fixed, interleaved; only libSceAgcDriver.prx differs between them.

frame p50, round 1 / round 2
pp, main 59.4 / 58.1 ms
pp, this head 55.9 / 55.0 ms
np, main 61.0 / 58.9 ms
np, previous head 4d4b48da5 58.3 / 56.5 ms
np, this head 60.6 / 58.3 ms
  • ek-pp-main2-1: seconds 120:10 from present 2582: 167 presents, frame p50 59.4 / p90 63.9 / p99 69.2 / max 70.4 ms, GPU busy 8.2 ms per present
  • ek-pp-main2-2: seconds 120:10 from present 2648: 171 presents, frame p50 58.1 / p90 61.7 / p99 67.7 / max 70.8 ms, GPU busy 8.6 ms per present
  • ek-pp-fixed-1: seconds 120:10 from present 2644: 178 presents, frame p50 55.9 / p90 60.0 / p99 65.8 / max 69.9 ms, GPU busy 8.1 ms per present
  • ek-pp-fixed-2: seconds 120:10 from present 2691: 181 presents, frame p50 55.0 / p90 58.7 / p99 68.3 / max 68.9 ms, GPU busy 8.5 ms per present
  • ek-np-main2-1: seconds 120:10 from present 2557: 164 presents, frame p50 61.0 / p90 63.8 / p99 68.2 / max 71.7 ms, GPU busy 8.1 ms per present
  • ek-np-main2-2: seconds 120:10 from present 2670: 169 presents, frame p50 58.9 / p90 62.7 / p99 68.7 / max 68.7 ms, GPU busy 8.4 ms per present
  • ek-np-old-1: seconds 120:10 from present 2617: 171 presents, frame p50 58.3 / p90 61.0 / p99 64.5 / max 65.4 ms, GPU busy 8.1 ms per present
  • ek-np-old-2: seconds 120:10 from present 2680: 176 presents, frame p50 56.5 / p90 59.6 / p99 64.3 / max 66.6 ms, GPU busy 8.5 ms per present
  • ek-np-fixed-1: seconds 120:10 from present 2590: 164 presents, frame p50 60.6 / p90 64.2 / p99 66.8 / max 68.0 ms, GPU busy 8.1 ms per present
  • ek-np-fixed-2: seconds 120:10 from present 2641: 171 presents, frame p50 58.3 / p90 61.7 / p99 66.8 / max 67.8 ms, GPU busy 8.6 ms per present

Summary lines of the pp pair:

{"commit":"cf528e78c6c8","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2582,"ms":10022.136},"presents":167,"frame_ms":{"p50":59.443,"p90":63.864,"p99":69.202,"max":70.419},"gpu_busy_ms_per_present":8.153,"worker_busy_pct":{"queue worker 0x0":96.375},"top_phases_ms_per_frame":{"Driver.Packet":57.775,"Graphics.Draw":51.418,"Graphics.Draw.draw_and_resource_release":43.756,"Driver.Packet.draw":37.369,"Driver.Draw":37.035,"Driver.DrawFinish":32.035,"Driver.Draw.prepare":29.601,"Driver.DrawFinish.shader_compile_and_link":28.782},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":8.674,"events_lost":37548,"totals_full":false}},"trace":"aps5-trace-cf528e78c6c8-22008.json.gz"}
{"commit":"7b0b45a52101","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2644,"ms":10037.288},"presents":178,"frame_ms":{"p50":55.885,"p90":60.024,"p99":65.750,"max":69.923},"gpu_busy_ms_per_present":8.118,"worker_busy_pct":{"queue worker 0x0":96.141},"top_phases_ms_per_frame":{"Driver.Packet":54.149,"Graphics.Draw":45.583,"Driver.Packet.draw":38.391,"Graphics.Draw.draw_and_resource_release":38.222,"Driver.Draw":38.051,"Driver.DrawFinish":34.184,"Driver.Draw.prepare":31.822,"Driver.DrawFinish.shader_compile_and_link":28.210},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.670,"events_lost":82083,"totals_full":false}},"trace":"aps5-trace-7b0b45a52101-37168.json.gz"}

With the finisher the change still takes about 5 % off the frame. Without it this head matches main, as intended. In this title the previous head was faster there too (the committer is close to the limit as well), but in the Planet of Lana scene from the review it cost about 1 ms per frame on the worker, so the key now stays off the worker everywhere. Traces and summary lines: files gk2-ek-* in the release.

Tests: 38 AGC driver tests (draw pipeline, finisher, label order, vertex fetch, vertex table read order, draw cache, depth and DCC cases) in plain and APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1 modes with ANYPS5_NO_SHADER_CACHE=1: 76 of 76 pass, run with APS5_VERIFY_EARLY_DRAW_KEY=1, at 4d4b48da5 and again at 7b0b45a52. The branch is rebased onto main cf528e78c. main now passes a DrawTraceContext through Driver::commitDraw, VulkanDevice::Draw and Graphics::Draw (and PreparedDraw::trace); the key goes after it in each of those signatures, the pipelined commit captures both trace and writablePrograms from main and adds contentKey, and VulkanDevice::Draw keeps main's traceDraws switch. DrawResourceContentKey still builds the key from the same DrawResourceKey inputs as resolveDrawResources (indexBytes is indexCount * indexSize in both), which APS5_VERIFY_EARLY_DRAW_KEY=1 checks on every draw of the suite. The captures above are from the first head 0039a4195.

Validation: the same 38 AGC driver tests ran on main cf528e78c and on this head (rebased onto it) with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1, APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1 and VK_LOADER_DEBUG=layer. The layer is the VkLayer_khronos_validation.dll that Steam ships in bin/cef/cef.win64, registered through VK_ADD_LAYER_PATH with its own manifest; every test that creates a device logs Inserted device layer "VK_LAYER_KHRONOS_validation" (31 of 38; the other 7 make no Vulkan device), and no log contains was not found but was requested by env var VK_INSTANCE_LAYERS. All 38 pass on both. The only validation message on either side is VUID-VkDeviceCreateInfo-pNext-pNext, 132 times on main and 132 times on this head, the same count in each test (this layer build predates some device-creation structures the driver chains); no VUID is new. The comparison was repeated at 7b0b45a52 with the same result.

Digests of a paired capture (the release holds every trace and summary line):

trace_digest.py of ek-pp-main2-1
python3 tools/trace_digest.py gk2-ek-pp-main2-1-aps5-trace-cf528e78c6c8-22008.json.gz --summary gk2-ek-pp-main2-1-summary.json

seconds 120:10 from present 2582: 167 presents, frame p50 59.4 / p90 63.9 / p99 69.2 / max 70.4 ms, GPU busy 8.2 ms per present
NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit cf528e78c6, dropped: yes

{"commit":"cf528e78c6c8","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2582,"ms":10022.136},"presents":167,"frame_ms":{"p50":59.443,"p90":63.864,"p99":69.202,"max":70.419},"gpu_busy_ms_per_present":8.153,"worker_busy_pct":{"queue worker 0x0":96.375},"top_phases_ms_per_frame":{"Driver.Packet":57.775,"Graphics.Draw":51.418,"Graphics.Draw.draw_and_resource_release":43.756,"Driver.Packet.draw":37.369,"Driver.Draw":37.035,"Driver.DrawFinish":32.035,"Driver.Draw.prepare":29.601,"Driver.DrawFinish.shader_compile_and_link":28.782},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":8.674,"events_lost":37548,"totals_full":false}},"trace":"aps5-trace-cf528e78c6c8-22008.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 2611: 70.4 ms at 1760 ms: Driver.Packet (queue worker 0x0) 46.6, Graphics.Draw (draw committer) 42.1, Graphics.Draw.draw_and_resource_release (draw committer) 31.9, Driver.Packet.draw (queue worker 0x0) 27.2
  • present 2691: 69.2 ms at 6487 ms: Driver.Packet (queue worker 0x0) 48.7, Graphics.Draw (draw committer) 43.6, Graphics.Draw.draw_and_resource_release (draw committer) 33.4, Driver.Packet.draw (queue worker 0x0) 25.7
  • present 2610: 68.8 ms at 1691 ms: Driver.Packet (queue worker 0x0) 43.6, Graphics.Draw (draw committer) 38.6, Graphics.Draw.draw_and_resource_release (draw committer) 30.1, Driver.Packet.draw (queue worker 0x0) 24.6
  • present 2716: 68.3 ms at 8014 ms: Driver.Packet (queue worker 0x0) 43.6, Graphics.Draw (draw committer) 40.7, Graphics.Draw.draw_and_resource_release (draw committer) 32.4, Driver.Packet.dispatch (queue worker 0x0) 19.9
  • present 2701: 68.3 ms at 7105 ms: Driver.Packet (queue worker 0x0) 48.5, Graphics.Draw (draw committer) 38.5, Graphics.Draw.draw_and_resource_release (draw committer) 30.5, Driver.Packet.draw (queue worker 0x0) 23.4

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 26.9 (45 %) 0.0 (0 %) 33.1 93.6 Driver.Packet 26.8, Driver.EndSubmission 0.1
draw committer 32.7 (54 %) 0.2 (0 %) 27.1 48.8 Graphics.Draw 31.7, Recorder.Submit 1.0
presenter 0.4 (1 %) 0.0 (0 %) 59.6 0.1 VideoOut.Flip 0.4, Driver.Present 0.0
title 0.3 (0 %) 0.0 (0 %) 59.7 0.2 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.0
title 0.0 (0 %) 0.0 (0 %) 60.0 0.0 Shader.ResolveGraphicsAbi 0.0, Shader.ResolveAbi 0.0
draw finisher 6.5 (11 %) 0.0 (0 %) 53.5 102.5 Driver.DrawFinish 6.5
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 59.8 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
gpu 8.2 (14 %) 0.0 (0 %) 51.9 0.0 batch 8.2

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 31.7, Driver.Packet 26.8, Graphics.Draw.draw_and_resource_release 25.4, Driver.Packet.draw 12.1, Driver.Packet.dispatch 11.8, Driver.Dispatch 11.8, Driver.Draw 11.6, batch 8.2, Driver.DrawFinish 6.5, Recorder.Sync 6.2

Longest waits

  • GpuMutex.wait.end (draw committer) 0.8 ms at 2184 ms, present 2618
  • GpuMutex.wait.end (draw committer) 0.6 ms at 1830 ms, present 2612
  • GpuMutex.wait.end (draw committer) 0.5 ms at 6487 ms, present 2691
  • GpuMutex.wait.end (draw committer) 0.5 ms at 184 ms, present 2585
  • GpuMutex.wait.end (draw committer) 0.4 ms at 8701 ms, present 2727
  • GpuMutex.wait.end (draw committer) 0.4 ms at 3586 ms, present 2642
  • GpuMutex.wait.end (draw committer) 0.4 ms at 6363 ms, present 2689
  • GpuMutex.wait.end (draw committer) 0.4 ms at 9843 ms, present 2746
  • GpuMutex.wait.end (draw committer) 0.4 ms at 1392 ms, present 2605
  • GpuMutex.wait.end (draw committer) 0.3 ms at 7414 ms, present 2706

Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)

  • batch 7687: 1.0 ms at 7707 ms, present 2710: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
  • batch 2383: 1.0 ms at 2417 ms, present 2621: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 7270: 0.8 ms at 7294 ms, present 2703: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 953: 0.8 ms at 965 ms, present 2597: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
  • batch 6319: 0.8 ms at 6305 ms, present 2687: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
trace_digest.py of ek-pp-fixed-1
python3 tools/trace_digest.py gk2-ek-pp-fixed-1-aps5-trace-7b0b45a52101-37168.json.gz --summary gk2-ek-pp-fixed-1-summary.json

seconds 120:10 from present 2644: 178 presents, frame p50 55.9 / p90 60.0 / p99 65.8 / max 69.9 ms, GPU busy 8.1 ms per present
NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 7b0b45a52101, dropped: yes

{"commit":"7b0b45a52101","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2644,"ms":10037.288},"presents":178,"frame_ms":{"p50":55.885,"p90":60.024,"p99":65.75,"max":69.923},"gpu_busy_ms_per_present":8.118,"worker_busy_pct":{"queue worker 0x0":96.141},"top_phases_ms_per_frame":{"Driver.Packet":54.149,"Graphics.Draw":45.583,"Driver.Packet.draw":38.391,"Graphics.Draw.draw_and_resource_release":38.222,"Driver.Draw":38.051,"Driver.DrawFinish":34.184,"Driver.Draw.prepare":31.822,"Driver.DrawFinish.shader_compile_and_link":28.21},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.67,"events_lost":82083,"totals_full":false}},"trace":"aps5-trace-7b0b45a52101-37168.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 2674: 69.9 ms at 1683 ms: Driver.Packet (queue worker 0x0) 48.7, Graphics.Draw (draw committer) 35.9, Driver.Packet.draw (queue worker 0x0) 34.5, Driver.Draw (queue worker 0x0) 33.9
  • present 2693: 65.7 ms at 2764 ms: Driver.Packet (queue worker 0x0) 40.4, Graphics.Draw (draw committer) 33.0, Graphics.Draw.draw_and_resource_release (draw committer) 26.2, Driver.Packet.draw (queue worker 0x0) 25.3
  • present 2773: 65.5 ms at 7280 ms: Driver.Packet (queue worker 0x0) 42.8, Graphics.Draw (draw committer) 37.0, Graphics.Draw.draw_and_resource_release (draw committer) 29.6, Driver.Packet.draw (queue worker 0x0) 25.4
  • present 2666: 63.7 ms at 1217 ms: Driver.Packet (queue worker 0x0) 39.4, Graphics.Draw (draw committer) 33.2, Graphics.Draw.draw_and_resource_release (draw committer) 27.2, Driver.Packet.draw (queue worker 0x0) 24.6
  • present 2731: 63.4 ms at 4933 ms: Driver.Packet (queue worker 0x0) 36.2, Graphics.Draw (draw committer) 30.4, Graphics.Draw.draw_and_resource_release (draw committer) 24.4, Driver.Packet.draw (queue worker 0x0) 21.9

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 21.0 (37 %) 0.0 (0 %) 35.4 82.6 Driver.Packet 21.0, Driver.EndSubmission 0.0
draw committer 27.5 (49 %) 0.2 (0 %) 28.6 45.4 Graphics.Draw 26.6, Recorder.Submit 0.9
presenter 0.4 (1 %) 0.0 (0 %) 56.0 0.1 VideoOut.Flip 0.4, Driver.Present 0.0
title 0.3 (0 %) 0.0 (0 %) 56.1 0.2 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.0 (0 %) 0.0 (0 %) 56.4 0.0 Shader.ResolveAbi 0.0, Shader.ResolveGraphicsAbi 0.0
draw finisher 8.4 (15 %) 0.0 (0 %) 48.0 104.8 Driver.DrawFinish 8.4
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.0 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.0 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 56.2 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
gpu 8.1 (14 %) 0.0 (0 %) 48.3 0.0 batch 8.1

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 26.6, Graphics.Draw.draw_and_resource_release 22.2, Driver.Packet 21.0, Driver.Packet.draw 11.5, Driver.Draw 11.1, Driver.DrawFinish 8.4, batch 8.1, Driver.Packet.dispatch 7.1, Driver.Dispatch 7.1, Recorder.Sync 6.2

Longest waits

  • GpuMutex.wait.end (draw committer) 0.7 ms at 1161 ms, present 2665
  • GpuMutex.wait.end (draw committer) 0.7 ms at 1809 ms, present 2676
  • GpuMutex.wait.end (draw committer) 0.6 ms at 8531 ms, present 2795
  • GpuMutex.wait.end (draw committer) 0.4 ms at 2212 ms, present 2683
  • GpuMutex.wait.end (draw committer) 0.4 ms at 6792 ms, present 2764
  • GpuMutex.wait.end (draw committer) 0.4 ms at 7346 ms, present 2774
  • GpuMutex.wait.end (draw committer) 0.4 ms at 9656 ms, present 2815
  • GpuMutex.wait.end (draw committer) 0.4 ms at 3559 ms, present 2707
  • GpuMutex.wait.end (draw committer) 0.4 ms at 9872 ms, present 2819
  • GpuMutex.wait.end (draw committer) 0.4 ms at 2039 ms, present 2680

Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)

  • batch 955: 1.0 ms at 880 ms, present 2659: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 4424: 1.0 ms at 4180 ms, present 2717: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.0, Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0
  • batch 1495: 1.0 ms at 1392 ms, present 2668: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Resources.Complete (draw committer) 0.3
  • batch 8855: 0.8 ms at 8365 ms, present 2791: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
  • batch 6459: 0.8 ms at 6133 ms, present 2751: GPU no ranges; recorded by Graphics.Draw (draw committer) 1.0, Recorder.Sync (draw committer) 0.9, Graphics.Draw.draw_and_resource_release (draw committer) 0.8, Graphics.Draw.validate (draw committer) 0.1
trace_digest.py of base-1
python3 tools/trace_digest.py gk2-base-1-aps5-trace-3fcb5e4d7649-48276.json.gz --summary gk2-base-1-summary.json

seconds 120:10 from present 2344: 148 presents, frame p50 67.3 / p90 72.2 / p99 77.4 / max 78.1 ms, GPU busy 8.9 ms per present
NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 3fcb5e4d76, dropped: yes

{"commit":"3fcb5e4d7649","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2344,"ms":10047.517},"presents":148,"frame_ms":{"p50":67.27,"p90":72.242,"p99":77.354,"max":78.058},"gpu_busy_ms_per_present":8.861,"worker_busy_pct":{"queue worker 0x0":96.438},"top_phases_ms_per_frame":{"Driver.Packet":65.406,"Graphics.Draw":57.908,"Graphics.Draw.draw_and_resource_release":49.344,"Driver.Packet.draw":42.27,"Driver.Draw":41.904,"Driver.DrawFinish":35.172,"Driver.Draw.prepare":32.781,"Driver.DrawFinish.shader_compile_and_link":31.427},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.419,"events_lost":154720,"totals_full":false}},"trace":"aps5-trace-3fcb5e4d7649-48276.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 2391: 78.1 ms at 3171 ms: Driver.Packet (queue worker 0x0) 55.9, Graphics.Draw (draw committer) 50.4, Graphics.Draw.draw_and_resource_release (draw committer) 38.9, Driver.Packet.draw (queue worker 0x0) 33.9
  • present 2474: 77.4 ms at 8842 ms: Graphics.Draw (draw committer) 50.2, Graphics.Draw.draw_and_resource_release (draw committer) 38.9, Driver.DrawFinish (draw finisher) 15.3, Driver.DrawFinish.shader_compile_and_link (draw finisher) 9.9
  • present 2375: 77.3 ms at 2068 ms: Driver.Packet (queue worker 0x0) 55.5, Graphics.Draw (draw committer) 49.9, Graphics.Draw.draw_and_resource_release (draw committer) 38.2, Driver.Packet.draw (queue worker 0x0) 33.9
  • present 2415: 75.7 ms at 4810 ms: Driver.Packet (queue worker 0x0) 53.5, Graphics.Draw (draw committer) 47.6, Graphics.Draw.draw_and_resource_release (draw committer) 36.8, Driver.Packet.draw (queue worker 0x0) 32.8
  • present 2444: 75.0 ms at 6808 ms: Graphics.Draw (draw committer) 48.7, Graphics.Draw.draw_and_resource_release (draw committer) 39.0, Driver.DrawFinish (draw finisher) 12.3, batch (gpu) 9.5

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 27.3 (40 %) 0.0 (0 %) 40.6 62.0 Driver.Packet 27.3, Driver.EndSubmission 0.0
draw committer 40.7 (60 %) 0.3 (1 %) 26.9 47.7 Graphics.Draw 39.5, Recorder.Submit 1.2
presenter 0.5 (1 %) 0.0 (0 %) 67.4 0.1 VideoOut.Flip 0.5, Driver.Present 0.0
title 0.3 (0 %) 0.0 (0 %) 67.5 0.2 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.0 (0 %) 0.0 (0 %) 67.8 0.0 Shader.ResolveGraphicsAbi 0.0, Shader.ResolveGraphicsStagesAbi 0.0
draw finisher 10.8 (16 %) 0.0 (0 %) 57.1 104.4 Driver.DrawFinish 10.8
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.3 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 67.6 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
gpu 8.9 (13 %) 0.0 (0 %) 59.0 0.0 batch 8.9

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 39.5, Graphics.Draw.draw_and_resource_release 31.0, Driver.Packet 27.3, Driver.Packet.draw 14.8, Driver.Draw 14.4, Driver.DrawFinish 10.8, Driver.Packet.dispatch 10.1, Driver.Dispatch 10.0, batch 8.9, Driver.DrawFinish.shader_compile_and_link 7.7

Longest waits

  • Driver.Present.render_fence_wait (presenter) 1.6 ms at 7692 ms, present 2457
  • GpuMutex.wait.end (draw committer) 0.8 ms at 8709 ms, present 2472
  • GpuMutex.wait.end (draw committer) 0.7 ms at 6666 ms, present 2442
  • GpuMutex.wait.end (draw committer) 0.6 ms at 7956 ms, present 2461
  • GpuMutex.wait.end (draw committer) 0.5 ms at 6037 ms, present 2433
  • GpuMutex.wait.end (draw committer) 0.5 ms at 5086 ms, present 2419
  • GpuMutex.wait.end (draw committer) 0.5 ms at 7623 ms, present 2456
  • GpuMutex.wait.end (draw committer) 0.5 ms at 6524 ms, present 2440
  • GpuMutex.wait.end (draw committer) 0.5 ms at 2760 ms, present 2385
  • GpuMutex.wait.end (draw committer) 0.5 ms at 6312 ms, present 2437

Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)

  • batch 2479: 1.1 ms at 2825 ms, present 2385: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.1
  • batch 2302: 1.1 ms at 2621 ms, present 2382: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Graphics.Draw.validate (draw committer) 0.0
  • batch 6150: 1.1 ms at 7088 ms, present 2447: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
  • batch 5142: 1.1 ms at 5891 ms, present 2430: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.8, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Recorder.Submit (draw committer) 0.0
  • batch 2951: 1.1 ms at 3385 ms, present 2393: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.2, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
trace_digest.py of pr4-1
python3 tools/trace_digest.py gk2-pr4-1-aps5-trace-0039a41950a1-49148.json.gz --summary gk2-pr4-1-summary.json

seconds 120:10 from present 2459: 159 presents, frame p50 62.7 / p90 67.2 / p99 73.6 / max 82.0 ms, GPU busy 9.0 ms per present
NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 0039a41950a1, dropped: yes

{"commit":"0039a41950a1","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2459,"ms":10006.312},"presents":159,"frame_ms":{"p50":62.738,"p90":67.191,"p99":73.602,"max":82.012},"gpu_busy_ms_per_present":8.973,"worker_busy_pct":{"queue worker 0x0":96.247},"top_phases_ms_per_frame":{"Driver.Packet":60.504,"Graphics.Draw":51.029,"Graphics.Draw.draw_and_resource_release":42.879,"Driver.Packet.draw":42.139,"Driver.Draw":41.77,"Driver.DrawFinish":36.897,"Driver.Draw.prepare":34.393,"Driver.DrawFinish.shader_compile_and_link":30.273},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":5.734,"events_lost":198648,"totals_full":false}},"trace":"aps5-trace-0039a41950a1-49148.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 2588: 82.0 ms at 8121 ms: Graphics.Draw (draw committer) 44.1, Graphics.Draw.draw_and_resource_release (draw committer) 35.9, Driver.DrawFinish (draw finisher) 28.8, Driver.DrawFinish.shader_compile_and_link (draw finisher) 19.6
  • present 2539: 73.6 ms at 5024 ms: Driver.Packet (queue worker 0x0) 51.3, Graphics.Draw (draw committer) 37.7, Driver.Packet.draw (queue worker 0x0) 37.4, Driver.Draw (queue worker 0x0) 36.8
  • present 2536: 69.9 ms at 4817 ms: Driver.Packet (queue worker 0x0) 48.9, Graphics.Draw (draw committer) 39.3, Graphics.Draw.draw_and_resource_release (draw committer) 31.2, Driver.Packet.draw (queue worker 0x0) 26.9
  • present 2538: 69.6 ms at 4954 ms: Driver.Packet (queue worker 0x0) 46.3, Graphics.Draw (draw committer) 40.2, Graphics.Draw.draw_and_resource_release (draw committer) 32.3, Driver.Packet.draw (queue worker 0x0) 28.9
  • present 2542: 69.2 ms at 5228 ms: Driver.Packet (queue worker 0x0) 44.1, Graphics.Draw (draw committer) 35.2, Graphics.Draw.draw_and_resource_release (draw committer) 29.0, Driver.Packet.draw (queue worker 0x0) 27.6

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 21.7 (34 %) 0.0 (0 %) 41.2 54.3 Driver.Packet 21.7, Driver.EndSubmission 0.0
draw committer 33.6 (53 %) 0.3 (1 %) 29.0 45.9 Graphics.Draw 32.4, Recorder.Submit 1.1
presenter 0.5 (1 %) 0.0 (0 %) 62.4 0.1 VideoOut.Flip 0.5, Driver.Present 0.0
title 0.3 (1 %) 0.0 (0 %) 62.6 0.2 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveAbi 0.1, Shader.ResolveGraphicsAbi 0.1
draw finisher 14.3 (23 %) 0.0 (0 %) 48.6 103.5 Driver.DrawFinish 14.3
title 0.1 (0 %) 0.0 (0 %) 62.9 0.0 Shader.ResolveGraphicsAbi 0.0, Shader.ResolveAbi 0.0
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.3 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.0 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
title 0.2 (0 %) 0.0 (0 %) 62.7 0.1 Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1
gpu 9.0 (14 %) 0.0 (0 %) 54.0 0.0 batch 9.0

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 32.4, Graphics.Draw.draw_and_resource_release 26.5, Driver.Packet 21.7, Driver.DrawFinish 14.3, Driver.Packet.draw 13.1, Driver.Draw 12.7, batch 9.0, Recorder.Sync 7.4, Driver.DrawFinish.shader_compile_and_link 7.3, Driver.Draw.prepare 6.7

Longest waits

  • GpuMutex.wait.end (draw committer) 0.9 ms at 9151 ms, present 2604
  • GpuMutex.wait.end (draw committer) 0.8 ms at 2748 ms, present 2503
  • GpuMutex.wait.end (draw committer) 0.8 ms at 1713 ms, present 2486
  • GpuMutex.wait.end (draw committer) 0.6 ms at 6135 ms, present 2556
  • GpuMutex.wait.end (draw committer) 0.6 ms at 3672 ms, present 2518
  • GpuMutex.wait.end (draw committer) 0.6 ms at 6199 ms, present 2557
  • GpuMutex.wait.end (draw committer) 0.6 ms at 439 ms, present 2466
  • GpuMutex.wait.end (draw committer) 0.6 ms at 5228 ms, present 2542
  • GpuMutex.wait.end (draw committer) 0.6 ms at 249 ms, present 2463
  • GpuMutex.wait.end (draw committer) 0.5 ms at 560 ms, present 2468

Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)

  • batch 8442: 1.2 ms at 8897 ms, present 2599: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0
  • batch 1073: 1.2 ms at 1137 ms, present 2476: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 833: 1.1 ms at 879 ms, present 2472: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 1.1, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Recorder.Submit (draw committer) 0.0
  • batch 1193: 1.1 ms at 1268 ms, present 2478: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.8, Graphics.Draw.draw_and_resource_release (draw committer) 0.6, Graphics.Draw.validate (draw committer) 0.0
  • batch 5091: 1.1 ms at 5360 ms, present 2543: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0

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: NVIDIA GeForce RTX 5070, driver 616.92, Windows 11 Pro 10.0.26200
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4997377195 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10678). Originally posted by [WallisSkill](https://github.com/WallisSkill) on 2026-10-24T17:04:29Z. --- ### What The draw finisher now builds the resource-cache key of a pipelined draw it finishes (`DrawResourceKey`, the same inputs `planDraw` uses) before it queues the commit, and `Driver::commitDraw` passes it down through `VulkanDevice::Draw` and `Graphics::Draw`. `planDraw` uses the key when it was made for the committing device (the key's first words hold the device handle) and builds its own otherwise, as before. The committer runs every draw under the GPU mutex and is the stage the draws wait for in this scene, while the finisher has time to spare. A draw that queue worker 0 finishes itself (no finisher hand-off) leaves the key to the committer as before, so the change never adds work to the worker (head 7b0b45a52, after the Planet of Lana measurement in the review). `APS5_NO_EARLY_DRAW_KEY` keeps the key on the committer. `APS5_VERIFY_EARLY_DRAW_KEY` rebuilds it on the committer and requires both keys to be equal; a first-room run and the AGC suite below ran with it and found no difference. ### Tested Windows 11 Pro 10.0.26200, AMD Ryzen 7 9800X3D, NVIDIA GeForce RTX 5070 (driver 616.92), MinGW Release build. **Update, `main` cccdaa273 (head f32df519a):** re-measured with the same setup, three interleaved rounds, the arms differing only in `libSceAgcDriver.prx`: frame p50 52.7 / 53.0 / 52.3 ms on `main` and 52.8 / 52.3 / 53.3 ms with this change, so the frame-time gain below does not reproduce on current `main`. The committer still spends about 4.5 ms less per frame in `Graphics.Draw` (43.4-44.0 against 38.8-39.4 ms) and the finisher about 2 ms more, but queue worker 0 is now the limit (96 % busy in every capture of both arms). The 38 AGC tests pass on this head in plain and pipelined mode with `APS5_VERIFY_EARLY_DRAW_KEY=1` (76 of 76), and the validation comparison against cccdaa273 is unchanged (`VUID-VkDeviceCreateInfo-pNext-pNext` only, 138 on each side, identical per test). The measurements below are from the earlier bases. Performance: Graveyard Keeper 2 (PPSA35943), the first dungeon room after New game, 1920x1080 window, captured with `APS5_TRACE_SECONDS=120:10` and `APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=256 APS5_PIPELINE_DISPATCH=1 APS5_MIMALLOC=1`, no other `APS5_TRACE_*` or `APS5_PROFILE_*` switch and no log redirection. Base is `main` 3fcb5e4d7; the change was built at 0039a4195, which differs from this branch's head only in the commit message. Each build ran the scene once to warm the caches, then the captures below ran back to back on the same machine; the input came from `APS5_PAD_INPUT_FILE` (the libScePad command file), so the window was not focused. The trace buffer dropped events at its default size in every capture (`dropped: yes`); the frame times come from the presents. - base-1: **seconds 120:10** from present 2344: 148 presents, frame p50 67.3 / p90 72.2 / p99 77.4 / max 78.1 ms, GPU busy 8.9 ms per present - base-2: **seconds 120:10** from present 2352: 145 presents, frame p50 68.8 / p90 73.7 / p99 77.9 / max 78.2 ms, GPU busy 8.8 ms per present - base-3: **seconds 120:10** from present 2358: 146 presents, frame p50 68.1 / p90 75.0 / p99 83.9 / max 86.4 ms, GPU busy 8.8 ms per present - pr4-1: **seconds 120:10** from present 2459: 159 presents, frame p50 62.7 / p90 67.2 / p99 73.6 / max 82.0 ms, GPU busy 9.0 ms per present - pr4-3: **seconds 120:10** from present 2485: 160 presents, frame p50 62.5 / p90 66.0 / p99 69.6 / max 70.7 ms, GPU busy 8.9 ms per present Summary lines (main, then this change): ```json {"commit":"3fcb5e4d7649","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2344,"ms":10047.517},"presents":148,"frame_ms":{"p50":67.270,"p90":72.242,"p99":77.354,"max":78.058},"gpu_busy_ms_per_present":8.861,"worker_busy_pct":{"queue worker 0x0":96.438},"top_phases_ms_per_frame":{"Driver.Packet":65.406,"Graphics.Draw":57.908,"Graphics.Draw.draw_and_resource_release":49.344,"Driver.Packet.draw":42.270,"Driver.Draw":41.904,"Driver.DrawFinish":35.172,"Driver.Draw.prepare":32.781,"Driver.DrawFinish.shader_compile_and_link":31.427},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.419,"events_lost":154720,"totals_full":false}},"trace":"aps5-trace-3fcb5e4d7649-48276.json.gz"} {"commit":"0039a41950a1","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2459,"ms":10006.312},"presents":159,"frame_ms":{"p50":62.738,"p90":67.191,"p99":73.602,"max":82.012},"gpu_busy_ms_per_present":8.973,"worker_busy_pct":{"queue worker 0x0":96.247},"top_phases_ms_per_frame":{"Driver.Packet":60.504,"Graphics.Draw":51.029,"Graphics.Draw.draw_and_resource_release":42.879,"Driver.Packet.draw":42.139,"Driver.Draw":41.770,"Driver.DrawFinish":36.897,"Driver.Draw.prepare":34.393,"Driver.DrawFinish.shader_compile_and_link":30.273},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":5.734,"events_lost":198648,"totals_full":false}},"trace":"aps5-trace-0039a41950a1-49148.json.gz"} ``` Traces and the other summary lines: https://github.com/WallisSkill/AnyPS5/releases/tag/gk2-perf-traces-2026-10-24 (files `gk2-base-*` and `gk2-pr4-*`). Second measurement, at head 7b0b45a52 (`main` cf528e78c as base), same scene and machine, with two launch configurations. `pp` is the configuration above (`APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=256 APS5_PIPELINE_DISPATCH=1 APS5_MIMALLOC=1`, the finisher on); `np` drops the three draw pipeline switches, so queue worker 0 finishes every draw and is the limit (98 % busy in every `np` capture). `old` is the previous head 4d4b48da5, which built the key on whichever thread finished the draw. One warm-up run, then two rounds of np main, np old, np fixed, pp main, pp fixed, interleaved; only `libSceAgcDriver.prx` differs between them. | | frame p50, round 1 / round 2 | |---|---| | pp, `main` | 59.4 / 58.1 ms | | pp, this head | 55.9 / 55.0 ms | | np, `main` | 61.0 / 58.9 ms | | np, previous head 4d4b48da5 | 58.3 / 56.5 ms | | np, this head | 60.6 / 58.3 ms | - ek-pp-main2-1: **seconds 120:10** from present 2582: 167 presents, frame p50 59.4 / p90 63.9 / p99 69.2 / max 70.4 ms, GPU busy 8.2 ms per present - ek-pp-main2-2: **seconds 120:10** from present 2648: 171 presents, frame p50 58.1 / p90 61.7 / p99 67.7 / max 70.8 ms, GPU busy 8.6 ms per present - ek-pp-fixed-1: **seconds 120:10** from present 2644: 178 presents, frame p50 55.9 / p90 60.0 / p99 65.8 / max 69.9 ms, GPU busy 8.1 ms per present - ek-pp-fixed-2: **seconds 120:10** from present 2691: 181 presents, frame p50 55.0 / p90 58.7 / p99 68.3 / max 68.9 ms, GPU busy 8.5 ms per present - ek-np-main2-1: **seconds 120:10** from present 2557: 164 presents, frame p50 61.0 / p90 63.8 / p99 68.2 / max 71.7 ms, GPU busy 8.1 ms per present - ek-np-main2-2: **seconds 120:10** from present 2670: 169 presents, frame p50 58.9 / p90 62.7 / p99 68.7 / max 68.7 ms, GPU busy 8.4 ms per present - ek-np-old-1: **seconds 120:10** from present 2617: 171 presents, frame p50 58.3 / p90 61.0 / p99 64.5 / max 65.4 ms, GPU busy 8.1 ms per present - ek-np-old-2: **seconds 120:10** from present 2680: 176 presents, frame p50 56.5 / p90 59.6 / p99 64.3 / max 66.6 ms, GPU busy 8.5 ms per present - ek-np-fixed-1: **seconds 120:10** from present 2590: 164 presents, frame p50 60.6 / p90 64.2 / p99 66.8 / max 68.0 ms, GPU busy 8.1 ms per present - ek-np-fixed-2: **seconds 120:10** from present 2641: 171 presents, frame p50 58.3 / p90 61.7 / p99 66.8 / max 67.8 ms, GPU busy 8.6 ms per present Summary lines of the pp pair: ```json {"commit":"cf528e78c6c8","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2582,"ms":10022.136},"presents":167,"frame_ms":{"p50":59.443,"p90":63.864,"p99":69.202,"max":70.419},"gpu_busy_ms_per_present":8.153,"worker_busy_pct":{"queue worker 0x0":96.375},"top_phases_ms_per_frame":{"Driver.Packet":57.775,"Graphics.Draw":51.418,"Graphics.Draw.draw_and_resource_release":43.756,"Driver.Packet.draw":37.369,"Driver.Draw":37.035,"Driver.DrawFinish":32.035,"Driver.Draw.prepare":29.601,"Driver.DrawFinish.shader_compile_and_link":28.782},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":8.674,"events_lost":37548,"totals_full":false}},"trace":"aps5-trace-cf528e78c6c8-22008.json.gz"} {"commit":"7b0b45a52101","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2644,"ms":10037.288},"presents":178,"frame_ms":{"p50":55.885,"p90":60.024,"p99":65.750,"max":69.923},"gpu_busy_ms_per_present":8.118,"worker_busy_pct":{"queue worker 0x0":96.141},"top_phases_ms_per_frame":{"Driver.Packet":54.149,"Graphics.Draw":45.583,"Driver.Packet.draw":38.391,"Graphics.Draw.draw_and_resource_release":38.222,"Driver.Draw":38.051,"Driver.DrawFinish":34.184,"Driver.Draw.prepare":31.822,"Driver.DrawFinish.shader_compile_and_link":28.210},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.670,"events_lost":82083,"totals_full":false}},"trace":"aps5-trace-7b0b45a52101-37168.json.gz"} ``` With the finisher the change still takes about 5 % off the frame. Without it this head matches `main`, as intended. In this title the previous head was faster there too (the committer is close to the limit as well), but in the Planet of Lana scene from the review it cost about 1 ms per frame on the worker, so the key now stays off the worker everywhere. Traces and summary lines: files `gk2-ek-*` in the release. Tests: 38 AGC driver tests (draw pipeline, finisher, label order, vertex fetch, vertex table read order, draw cache, depth and DCC cases) in plain and `APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1` modes with `ANYPS5_NO_SHADER_CACHE=1`: 76 of 76 pass, run with `APS5_VERIFY_EARLY_DRAW_KEY=1`, at 4d4b48da5 and again at 7b0b45a52. The branch is rebased onto `main` cf528e78c. `main` now passes a `DrawTraceContext` through `Driver::commitDraw`, `VulkanDevice::Draw` and `Graphics::Draw` (and `PreparedDraw::trace`); the key goes after it in each of those signatures, the pipelined commit captures both `trace` and `writablePrograms` from `main` and adds `contentKey`, and `VulkanDevice::Draw` keeps `main`'s `traceDraws` switch. `DrawResourceContentKey` still builds the key from the same `DrawResourceKey` inputs as `resolveDrawResources` (`indexBytes` is `indexCount * indexSize` in both), which `APS5_VERIFY_EARLY_DRAW_KEY=1` checks on every draw of the suite. The captures above are from the first head 0039a4195. Validation: the same 38 AGC driver tests ran on `main` cf528e78c and on this head (rebased onto it) with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1`, `ANYPS5_REQUIRE_VULKAN=1`, `APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1` and `VK_LOADER_DEBUG=layer`. The layer is the `VkLayer_khronos_validation.dll` that Steam ships in `bin/cef/cef.win64`, registered through `VK_ADD_LAYER_PATH` with its own manifest; every test that creates a device logs `Inserted device layer "VK_LAYER_KHRONOS_validation"` (31 of 38; the other 7 make no Vulkan device), and no log contains `was not found but was requested by env var VK_INSTANCE_LAYERS`. All 38 pass on both. The only validation message on either side is `VUID-VkDeviceCreateInfo-pNext-pNext`, 132 times on `main` and 132 times on this head, the same count in each test (this layer build predates some device-creation structures the driver chains); no VUID is new. The comparison was repeated at 7b0b45a52 with the same result. Digests of a paired capture (the release holds every trace and summary line): <details><summary>trace_digest.py of ek-pp-main2-1</summary> ``` python3 tools/trace_digest.py gk2-ek-pp-main2-1-aps5-trace-cf528e78c6c8-22008.json.gz --summary gk2-ek-pp-main2-1-summary.json ``` **seconds 120:10** from present 2582: 167 presents, frame p50 59.4 / p90 63.9 / p99 69.2 / max 70.4 ms, GPU busy 8.2 ms per present NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit cf528e78c6c8, dropped: yes ```json {"commit":"cf528e78c6c8","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2582,"ms":10022.136},"presents":167,"frame_ms":{"p50":59.443,"p90":63.864,"p99":69.202,"max":70.419},"gpu_busy_ms_per_present":8.153,"worker_busy_pct":{"queue worker 0x0":96.375},"top_phases_ms_per_frame":{"Driver.Packet":57.775,"Graphics.Draw":51.418,"Graphics.Draw.draw_and_resource_release":43.756,"Driver.Packet.draw":37.369,"Driver.Draw":37.035,"Driver.DrawFinish":32.035,"Driver.Draw.prepare":29.601,"Driver.DrawFinish.shader_compile_and_link":28.782},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":8.674,"events_lost":37548,"totals_full":false}},"trace":"aps5-trace-cf528e78c6c8-22008.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 2611: 70.4 ms at 1760 ms: Driver.Packet (queue worker 0x0) 46.6, Graphics.Draw (draw committer) 42.1, Graphics.Draw.draw_and_resource_release (draw committer) 31.9, Driver.Packet.draw (queue worker 0x0) 27.2 - present 2691: 69.2 ms at 6487 ms: Driver.Packet (queue worker 0x0) 48.7, Graphics.Draw (draw committer) 43.6, Graphics.Draw.draw_and_resource_release (draw committer) 33.4, Driver.Packet.draw (queue worker 0x0) 25.7 - present 2610: 68.8 ms at 1691 ms: Driver.Packet (queue worker 0x0) 43.6, Graphics.Draw (draw committer) 38.6, Graphics.Draw.draw_and_resource_release (draw committer) 30.1, Driver.Packet.draw (queue worker 0x0) 24.6 - present 2716: 68.3 ms at 8014 ms: Driver.Packet (queue worker 0x0) 43.6, Graphics.Draw (draw committer) 40.7, Graphics.Draw.draw_and_resource_release (draw committer) 32.4, Driver.Packet.dispatch (queue worker 0x0) 19.9 - present 2701: 68.3 ms at 7105 ms: Driver.Packet (queue worker 0x0) 48.5, Graphics.Draw (draw committer) 38.5, Graphics.Draw.draw_and_resource_release (draw committer) 30.5, Driver.Packet.draw (queue worker 0x0) 23.4 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 26.9 (45 %) | 0.0 (0 %) | 33.1 | 93.6 | Driver.Packet 26.8, Driver.EndSubmission 0.1 | | draw committer | 32.7 (54 %) | 0.2 (0 %) | 27.1 | 48.8 | Graphics.Draw 31.7, Recorder.Submit 1.0 | | presenter | 0.4 (1 %) | 0.0 (0 %) | 59.6 | 0.1 | VideoOut.Flip 0.4, Driver.Present 0.0 | | title | 0.3 (0 %) | 0.0 (0 %) | 59.7 | 0.2 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.0 | | title | 0.0 (0 %) | 0.0 (0 %) | 60.0 | 0.0 | Shader.ResolveGraphicsAbi 0.0, Shader.ResolveAbi 0.0 | | draw finisher | 6.5 (11 %) | 0.0 (0 %) | 53.5 | 102.5 | Driver.DrawFinish 6.5 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 59.8 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | gpu | 8.2 (14 %) | 0.0 (0 %) | 51.9 | 0.0 | batch 8.2 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 31.7, Driver.Packet 26.8, Graphics.Draw.draw_and_resource_release 25.4, Driver.Packet.draw 12.1, Driver.Packet.dispatch 11.8, Driver.Dispatch 11.8, Driver.Draw 11.6, batch 8.2, Driver.DrawFinish 6.5, Recorder.Sync 6.2 **Longest waits** - GpuMutex.wait.end (draw committer) 0.8 ms at 2184 ms, present 2618 - GpuMutex.wait.end (draw committer) 0.6 ms at 1830 ms, present 2612 - GpuMutex.wait.end (draw committer) 0.5 ms at 6487 ms, present 2691 - GpuMutex.wait.end (draw committer) 0.5 ms at 184 ms, present 2585 - GpuMutex.wait.end (draw committer) 0.4 ms at 8701 ms, present 2727 - GpuMutex.wait.end (draw committer) 0.4 ms at 3586 ms, present 2642 - GpuMutex.wait.end (draw committer) 0.4 ms at 6363 ms, present 2689 - GpuMutex.wait.end (draw committer) 0.4 ms at 9843 ms, present 2746 - GpuMutex.wait.end (draw committer) 0.4 ms at 1392 ms, present 2605 - GpuMutex.wait.end (draw committer) 0.3 ms at 7414 ms, present 2706 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 7687: 1.0 ms at 7707 ms, present 2710: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 - batch 2383: 1.0 ms at 2417 ms, present 2621: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 7270: 0.8 ms at 7294 ms, present 2703: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 953: 0.8 ms at 965 ms, present 2597: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 - batch 6319: 0.8 ms at 6305 ms, present 2687: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 </details> <details><summary>trace_digest.py of ek-pp-fixed-1</summary> ``` python3 tools/trace_digest.py gk2-ek-pp-fixed-1-aps5-trace-7b0b45a52101-37168.json.gz --summary gk2-ek-pp-fixed-1-summary.json ``` **seconds 120:10** from present 2644: 178 presents, frame p50 55.9 / p90 60.0 / p99 65.8 / max 69.9 ms, GPU busy 8.1 ms per present NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 7b0b45a52101, dropped: yes ```json {"commit":"7b0b45a52101","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2644,"ms":10037.288},"presents":178,"frame_ms":{"p50":55.885,"p90":60.024,"p99":65.75,"max":69.923},"gpu_busy_ms_per_present":8.118,"worker_busy_pct":{"queue worker 0x0":96.141},"top_phases_ms_per_frame":{"Driver.Packet":54.149,"Graphics.Draw":45.583,"Driver.Packet.draw":38.391,"Graphics.Draw.draw_and_resource_release":38.222,"Driver.Draw":38.051,"Driver.DrawFinish":34.184,"Driver.Draw.prepare":31.822,"Driver.DrawFinish.shader_compile_and_link":28.21},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.67,"events_lost":82083,"totals_full":false}},"trace":"aps5-trace-7b0b45a52101-37168.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 2674: 69.9 ms at 1683 ms: Driver.Packet (queue worker 0x0) 48.7, Graphics.Draw (draw committer) 35.9, Driver.Packet.draw (queue worker 0x0) 34.5, Driver.Draw (queue worker 0x0) 33.9 - present 2693: 65.7 ms at 2764 ms: Driver.Packet (queue worker 0x0) 40.4, Graphics.Draw (draw committer) 33.0, Graphics.Draw.draw_and_resource_release (draw committer) 26.2, Driver.Packet.draw (queue worker 0x0) 25.3 - present 2773: 65.5 ms at 7280 ms: Driver.Packet (queue worker 0x0) 42.8, Graphics.Draw (draw committer) 37.0, Graphics.Draw.draw_and_resource_release (draw committer) 29.6, Driver.Packet.draw (queue worker 0x0) 25.4 - present 2666: 63.7 ms at 1217 ms: Driver.Packet (queue worker 0x0) 39.4, Graphics.Draw (draw committer) 33.2, Graphics.Draw.draw_and_resource_release (draw committer) 27.2, Driver.Packet.draw (queue worker 0x0) 24.6 - present 2731: 63.4 ms at 4933 ms: Driver.Packet (queue worker 0x0) 36.2, Graphics.Draw (draw committer) 30.4, Graphics.Draw.draw_and_resource_release (draw committer) 24.4, Driver.Packet.draw (queue worker 0x0) 21.9 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 21.0 (37 %) | 0.0 (0 %) | 35.4 | 82.6 | Driver.Packet 21.0, Driver.EndSubmission 0.0 | | draw committer | 27.5 (49 %) | 0.2 (0 %) | 28.6 | 45.4 | Graphics.Draw 26.6, Recorder.Submit 0.9 | | presenter | 0.4 (1 %) | 0.0 (0 %) | 56.0 | 0.1 | VideoOut.Flip 0.4, Driver.Present 0.0 | | title | 0.3 (0 %) | 0.0 (0 %) | 56.1 | 0.2 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.0 (0 %) | 0.0 (0 %) | 56.4 | 0.0 | Shader.ResolveAbi 0.0, Shader.ResolveGraphicsAbi 0.0 | | draw finisher | 8.4 (15 %) | 0.0 (0 %) | 48.0 | 104.8 | Driver.DrawFinish 8.4 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.0 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.0 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 56.2 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | gpu | 8.1 (14 %) | 0.0 (0 %) | 48.3 | 0.0 | batch 8.1 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 26.6, Graphics.Draw.draw_and_resource_release 22.2, Driver.Packet 21.0, Driver.Packet.draw 11.5, Driver.Draw 11.1, Driver.DrawFinish 8.4, batch 8.1, Driver.Packet.dispatch 7.1, Driver.Dispatch 7.1, Recorder.Sync 6.2 **Longest waits** - GpuMutex.wait.end (draw committer) 0.7 ms at 1161 ms, present 2665 - GpuMutex.wait.end (draw committer) 0.7 ms at 1809 ms, present 2676 - GpuMutex.wait.end (draw committer) 0.6 ms at 8531 ms, present 2795 - GpuMutex.wait.end (draw committer) 0.4 ms at 2212 ms, present 2683 - GpuMutex.wait.end (draw committer) 0.4 ms at 6792 ms, present 2764 - GpuMutex.wait.end (draw committer) 0.4 ms at 7346 ms, present 2774 - GpuMutex.wait.end (draw committer) 0.4 ms at 9656 ms, present 2815 - GpuMutex.wait.end (draw committer) 0.4 ms at 3559 ms, present 2707 - GpuMutex.wait.end (draw committer) 0.4 ms at 9872 ms, present 2819 - GpuMutex.wait.end (draw committer) 0.4 ms at 2039 ms, present 2680 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 955: 1.0 ms at 880 ms, present 2659: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 4424: 1.0 ms at 4180 ms, present 2717: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.0, Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0 - batch 1495: 1.0 ms at 1392 ms, present 2668: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.1, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Resources.Complete (draw committer) 0.3 - batch 8855: 0.8 ms at 8365 ms, present 2791: GPU no ranges; recorded by Recorder.Sync (draw committer) 0.9, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 - batch 6459: 0.8 ms at 6133 ms, present 2751: GPU no ranges; recorded by Graphics.Draw (draw committer) 1.0, Recorder.Sync (draw committer) 0.9, Graphics.Draw.draw_and_resource_release (draw committer) 0.8, Graphics.Draw.validate (draw committer) 0.1 </details> <details><summary>trace_digest.py of base-1</summary> ``` python3 tools/trace_digest.py gk2-base-1-aps5-trace-3fcb5e4d7649-48276.json.gz --summary gk2-base-1-summary.json ``` **seconds 120:10** from present 2344: 148 presents, frame p50 67.3 / p90 72.2 / p99 77.4 / max 78.1 ms, GPU busy 8.9 ms per present NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 3fcb5e4d7649, dropped: yes ```json {"commit":"3fcb5e4d7649","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2344,"ms":10047.517},"presents":148,"frame_ms":{"p50":67.27,"p90":72.242,"p99":77.354,"max":78.058},"gpu_busy_ms_per_present":8.861,"worker_busy_pct":{"queue worker 0x0":96.438},"top_phases_ms_per_frame":{"Driver.Packet":65.406,"Graphics.Draw":57.908,"Graphics.Draw.draw_and_resource_release":49.344,"Driver.Packet.draw":42.27,"Driver.Draw":41.904,"Driver.DrawFinish":35.172,"Driver.Draw.prepare":32.781,"Driver.DrawFinish.shader_compile_and_link":31.427},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.419,"events_lost":154720,"totals_full":false}},"trace":"aps5-trace-3fcb5e4d7649-48276.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 2391: 78.1 ms at 3171 ms: Driver.Packet (queue worker 0x0) 55.9, Graphics.Draw (draw committer) 50.4, Graphics.Draw.draw_and_resource_release (draw committer) 38.9, Driver.Packet.draw (queue worker 0x0) 33.9 - present 2474: 77.4 ms at 8842 ms: Graphics.Draw (draw committer) 50.2, Graphics.Draw.draw_and_resource_release (draw committer) 38.9, Driver.DrawFinish (draw finisher) 15.3, Driver.DrawFinish.shader_compile_and_link (draw finisher) 9.9 - present 2375: 77.3 ms at 2068 ms: Driver.Packet (queue worker 0x0) 55.5, Graphics.Draw (draw committer) 49.9, Graphics.Draw.draw_and_resource_release (draw committer) 38.2, Driver.Packet.draw (queue worker 0x0) 33.9 - present 2415: 75.7 ms at 4810 ms: Driver.Packet (queue worker 0x0) 53.5, Graphics.Draw (draw committer) 47.6, Graphics.Draw.draw_and_resource_release (draw committer) 36.8, Driver.Packet.draw (queue worker 0x0) 32.8 - present 2444: 75.0 ms at 6808 ms: Graphics.Draw (draw committer) 48.7, Graphics.Draw.draw_and_resource_release (draw committer) 39.0, Driver.DrawFinish (draw finisher) 12.3, batch (gpu) 9.5 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 27.3 (40 %) | 0.0 (0 %) | 40.6 | 62.0 | Driver.Packet 27.3, Driver.EndSubmission 0.0 | | draw committer | 40.7 (60 %) | 0.3 (1 %) | 26.9 | 47.7 | Graphics.Draw 39.5, Recorder.Submit 1.2 | | presenter | 0.5 (1 %) | 0.0 (0 %) | 67.4 | 0.1 | VideoOut.Flip 0.5, Driver.Present 0.0 | | title | 0.3 (0 %) | 0.0 (0 %) | 67.5 | 0.2 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.0 (0 %) | 0.0 (0 %) | 67.8 | 0.0 | Shader.ResolveGraphicsAbi 0.0, Shader.ResolveGraphicsStagesAbi 0.0 | | draw finisher | 10.8 (16 %) | 0.0 (0 %) | 57.1 | 104.4 | Driver.DrawFinish 10.8 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.3 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 67.6 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | gpu | 8.9 (13 %) | 0.0 (0 %) | 59.0 | 0.0 | batch 8.9 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 39.5, Graphics.Draw.draw_and_resource_release 31.0, Driver.Packet 27.3, Driver.Packet.draw 14.8, Driver.Draw 14.4, Driver.DrawFinish 10.8, Driver.Packet.dispatch 10.1, Driver.Dispatch 10.0, batch 8.9, Driver.DrawFinish.shader_compile_and_link 7.7 **Longest waits** - Driver.Present.render_fence_wait (presenter) 1.6 ms at 7692 ms, present 2457 - GpuMutex.wait.end (draw committer) 0.8 ms at 8709 ms, present 2472 - GpuMutex.wait.end (draw committer) 0.7 ms at 6666 ms, present 2442 - GpuMutex.wait.end (draw committer) 0.6 ms at 7956 ms, present 2461 - GpuMutex.wait.end (draw committer) 0.5 ms at 6037 ms, present 2433 - GpuMutex.wait.end (draw committer) 0.5 ms at 5086 ms, present 2419 - GpuMutex.wait.end (draw committer) 0.5 ms at 7623 ms, present 2456 - GpuMutex.wait.end (draw committer) 0.5 ms at 6524 ms, present 2440 - GpuMutex.wait.end (draw committer) 0.5 ms at 2760 ms, present 2385 - GpuMutex.wait.end (draw committer) 0.5 ms at 6312 ms, present 2437 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 2479: 1.1 ms at 2825 ms, present 2385: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.1 - batch 2302: 1.1 ms at 2621 ms, present 2382: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Graphics.Draw.validate (draw committer) 0.0 - batch 6150: 1.1 ms at 7088 ms, present 2447: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 - batch 5142: 1.1 ms at 5891 ms, present 2430: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.8, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Recorder.Submit (draw committer) 0.0 - batch 2951: 1.1 ms at 3385 ms, present 2393: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.2, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 </details> <details><summary>trace_digest.py of pr4-1</summary> ``` python3 tools/trace_digest.py gk2-pr4-1-aps5-trace-0039a41950a1-49148.json.gz --summary gk2-pr4-1-summary.json ``` **seconds 120:10** from present 2459: 159 presents, frame p50 62.7 / p90 67.2 / p99 73.6 / max 82.0 ms, GPU busy 9.0 ms per present NVIDIA GeForce RTX 5070, NVIDIA 616.92, Windows 10.0.26200, 1920x1080, commit 0039a41950a1, dropped: yes ```json {"commit":"0039a41950a1","dirty":null,"env":{"APS5_DRAW_PIPELINE":"1","APS5_MIMALLOC":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"256","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"120:10"},"gpu":"NVIDIA GeForce RTX 5070","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 9800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31908,"title_id":"PPSA35943","title":"Graveyard Keeper 2","content_version":"01.001.000","resolution":"1920x1080","window":{"spec":"seconds 120:10","first_present":2459,"ms":10006.312},"presents":159,"frame_ms":{"p50":62.738,"p90":67.191,"p99":73.602,"max":82.012},"gpu_busy_ms_per_present":8.973,"worker_busy_pct":{"queue worker 0x0":96.247},"top_phases_ms_per_frame":{"Driver.Packet":60.504,"Graphics.Draw":51.029,"Graphics.Draw.draw_and_resource_release":42.879,"Driver.Packet.draw":42.139,"Driver.Draw":41.77,"Driver.DrawFinish":36.897,"Driver.Draw.prepare":34.393,"Driver.DrawFinish.shader_compile_and_link":30.273},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":5.734,"events_lost":198648,"totals_full":false}},"trace":"aps5-trace-0039a41950a1-49148.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 2588: 82.0 ms at 8121 ms: Graphics.Draw (draw committer) 44.1, Graphics.Draw.draw_and_resource_release (draw committer) 35.9, Driver.DrawFinish (draw finisher) 28.8, Driver.DrawFinish.shader_compile_and_link (draw finisher) 19.6 - present 2539: 73.6 ms at 5024 ms: Driver.Packet (queue worker 0x0) 51.3, Graphics.Draw (draw committer) 37.7, Driver.Packet.draw (queue worker 0x0) 37.4, Driver.Draw (queue worker 0x0) 36.8 - present 2536: 69.9 ms at 4817 ms: Driver.Packet (queue worker 0x0) 48.9, Graphics.Draw (draw committer) 39.3, Graphics.Draw.draw_and_resource_release (draw committer) 31.2, Driver.Packet.draw (queue worker 0x0) 26.9 - present 2538: 69.6 ms at 4954 ms: Driver.Packet (queue worker 0x0) 46.3, Graphics.Draw (draw committer) 40.2, Graphics.Draw.draw_and_resource_release (draw committer) 32.3, Driver.Packet.draw (queue worker 0x0) 28.9 - present 2542: 69.2 ms at 5228 ms: Driver.Packet (queue worker 0x0) 44.1, Graphics.Draw (draw committer) 35.2, Graphics.Draw.draw_and_resource_release (draw committer) 29.0, Driver.Packet.draw (queue worker 0x0) 27.6 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 21.7 (34 %) | 0.0 (0 %) | 41.2 | 54.3 | Driver.Packet 21.7, Driver.EndSubmission 0.0 | | draw committer | 33.6 (53 %) | 0.3 (1 %) | 29.0 | 45.9 | Graphics.Draw 32.4, Recorder.Submit 1.1 | | presenter | 0.5 (1 %) | 0.0 (0 %) | 62.4 | 0.1 | VideoOut.Flip 0.5, Driver.Present 0.0 | | title | 0.3 (1 %) | 0.0 (0 %) | 62.6 | 0.2 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveAbi 0.1, Shader.ResolveGraphicsAbi 0.1 | | draw finisher | 14.3 (23 %) | 0.0 (0 %) | 48.6 | 103.5 | Driver.DrawFinish 14.3 | | title | 0.1 (0 %) | 0.0 (0 %) | 62.9 | 0.0 | Shader.ResolveGraphicsAbi 0.0, Shader.ResolveAbi 0.0 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.3 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.0 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveGraphicsStagesAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | title | 0.2 (0 %) | 0.0 (0 %) | 62.7 | 0.1 | Shader.ResolveGraphicsAbi 0.1, Shader.ResolveAbi 0.1 | | gpu | 9.0 (14 %) | 0.0 (0 %) | 54.0 | 0.0 | batch 9.0 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 32.4, Graphics.Draw.draw_and_resource_release 26.5, Driver.Packet 21.7, Driver.DrawFinish 14.3, Driver.Packet.draw 13.1, Driver.Draw 12.7, batch 9.0, Recorder.Sync 7.4, Driver.DrawFinish.shader_compile_and_link 7.3, Driver.Draw.prepare 6.7 **Longest waits** - GpuMutex.wait.end (draw committer) 0.9 ms at 9151 ms, present 2604 - GpuMutex.wait.end (draw committer) 0.8 ms at 2748 ms, present 2503 - GpuMutex.wait.end (draw committer) 0.8 ms at 1713 ms, present 2486 - GpuMutex.wait.end (draw committer) 0.6 ms at 6135 ms, present 2556 - GpuMutex.wait.end (draw committer) 0.6 ms at 3672 ms, present 2518 - GpuMutex.wait.end (draw committer) 0.6 ms at 6199 ms, present 2557 - GpuMutex.wait.end (draw committer) 0.6 ms at 439 ms, present 2466 - GpuMutex.wait.end (draw committer) 0.6 ms at 5228 ms, present 2542 - GpuMutex.wait.end (draw committer) 0.6 ms at 249 ms, present 2463 - GpuMutex.wait.end (draw committer) 0.5 ms at 560 ms, present 2468 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 8442: 1.2 ms at 8897 ms, present 2599: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.7, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.0 - batch 1073: 1.2 ms at 1137 ms, present 2476: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 833: 1.1 ms at 879 ms, present 2472: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 1.1, Graphics.Draw.draw_and_resource_release (draw committer) 0.5, Recorder.Submit (draw committer) 0.0 - batch 1193: 1.1 ms at 1268 ms, present 2478: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.8, Graphics.Draw.draw_and_resource_release (draw committer) 0.6, Graphics.Draw.validate (draw committer) 0.0 - batch 5091: 1.1 ms at 5360 ms, present 2543: GPU no ranges; recorded by Recorder.Sync (draw committer) 1.3, Graphics.Draw (draw committer) 0.6, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 </details> ### 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: NVIDIA GeForce RTX 5070, driver 616.92, Windows 11 Pro 10.0.26200 - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-10-24 17:09:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T17:09:15Z.

Review: CHANGES_REQUESTED


The early-key path appears to preserve the existing fallback when the device marker does not match, and the verification mode compares the precomputed key with the committer-side calculation. I cannot approve this AGC change yet because the repository's AGC validation rule requires the same focused tests on main and this head with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, and VK_LAYER_KHRONOS_validation, then a comparison confirming no new VUIDs. The PR reports the validation layer is unavailable and gives branch test counts only. Please attach both runs from a layer-equipped machine/GPU (including confirmation the layer was actually loaded), or explain what supported validation route can satisfy the rule.

The contribution guide also requires tools/trace_digest.py output for performance claims. The release has the traces and per-capture JSON summary assets; please include the digest output for the paired captures (or the prescribed report output). I downloaded the base-1 and pr4-1 trace assets and confirmed the digester reads them; it reports 147 and 158 frames, respectively, but no summary line was found when run against the release asset layout.

This head currently conflicts with main in Draw.cpp (GitHub also reports DIRTY) and conflicts with open #10677 in that same file; the two PRs currently say Depends on: none. Please rebase/resolve the main conflict and coordinate landing order with #10677's author, then record the dependency on the checklist. The overlap is substantive: current main captures writablePrograms in finishDraw, while this branch retains programs; integrating both needs an explicit resolution that preserves the current-main behavior and the early-key change.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5639090192 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10678#pullrequestreview-5639090192). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T17:09:15Z. **Review:** CHANGES_REQUESTED --- The early-key path appears to preserve the existing fallback when the device marker does not match, and the verification mode compares the precomputed key with the committer-side calculation. I cannot approve this AGC change yet because the repository's AGC validation rule requires the same focused tests on `main` and this head with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, and `VK_LAYER_KHRONOS_validation`, then a comparison confirming no new VUIDs. The PR reports the validation layer is unavailable and gives branch test counts only. Please attach both runs from a layer-equipped machine/GPU (including confirmation the layer was actually loaded), or explain what supported validation route can satisfy the rule. The contribution guide also requires `tools/trace_digest.py` output for performance claims. The release has the traces and per-capture JSON summary assets; please include the digest output for the paired captures (or the prescribed report output). I downloaded the `base-1` and `pr4-1` trace assets and confirmed the digester reads them; it reports 147 and 158 frames, respectively, but no summary line was found when run against the release asset layout. This head currently conflicts with `main` in `Draw.cpp` (GitHub also reports `DIRTY`) and conflicts with open #10677 in that same file; the two PRs currently say `Depends on: none`. Please rebase/resolve the `main` conflict and coordinate landing order with #10677's author, then record the dependency on the checklist. The overlap is substantive: current `main` captures `writablePrograms` in `finishDraw`, while this branch retains `programs`; integrating both needs an explicit resolution that preserves the current-main behavior and the early-key change.
MarcZX10 commented 2026-10-24 19:32:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T19:32:32Z.

Review: APPROVED


Reviewed exact head f0d6652d3b0f82d2effe59697c0b8be4fc0362b0. The early key is built from the same draw inputs and carries the originating device handle; the commit path falls back to recomputing it if the active device differs, and the verification mode compares it against the committer-side key. The author reports 76/76 focused AGC tests passing with key verification enabled, plus the same 38 tests on main and this head with Vulkan validation confirmed loaded and no new VUIDs. The paired performance report now includes trace_digest.py summaries and trace assets. Current hosted conventions, labels, eligibility and report checks pass; product CI jobs are skipped by policy.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5639633473 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10678#pullrequestreview-5639633473). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T19:32:32Z. **Review:** APPROVED --- Reviewed exact head `f0d6652d3b0f82d2effe59697c0b8be4fc0362b0`. The early key is built from the same draw inputs and carries the originating device handle; the commit path falls back to recomputing it if the active device differs, and the verification mode compares it against the committer-side key. The author reports 76/76 focused AGC tests passing with key verification enabled, plus the same 38 tests on `main` and this head with Vulkan validation confirmed loaded and no new VUIDs. The paired performance report now includes `trace_digest.py` summaries and trace assets. Current hosted conventions, labels, eligibility and report checks pass; product CI jobs are skipped by policy.
MarcZX10 commented 2026-11-14 08:07:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T08:07:20Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

Reviewed head b831fd9b5b65d28a6629c9d87a63427e3d3671be. I read the prepared diff, manifest, description, commits, and the changed code at the pinned head. No build, tests, or performance captures were run in this review.

Results

Check Result Note
Source review passed Six of seven changed files read
Build and tests not run Author reports AGC suite results
Performance captures not run Description reports captures and an update

Findings

Blocking

None.

Non-blocking

None.

Not verified

core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp was excluded from the prepared files because it was too large; its changed lines were read through the repository reader. The other six changed files listed in the manifest were read. No independent run verified the reported test suite, validation-layer comparison, or performance measurements; the description says its newest measurement no longer reproduces a frame-time gain on current main.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5902996916 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10678#pullrequestreview-5902996916). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-14T08:07:20Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran Reviewed head `b831fd9b5b65d28a6629c9d87a63427e3d3671be`. I read the prepared diff, manifest, description, commits, and the changed code at the pinned head. No build, tests, or performance captures were run in this review. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Six of seven changed files read | | Build and tests | not run | Author reports AGC suite results | | Performance captures | not run | Description reports captures and an update | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` was excluded from the prepared files because it was too large; its changed lines were read through the repository reader. The other six changed files listed in the manifest were read. No independent run verified the reported test suite, validation-layer comparison, or performance measurements; the description says its newest measurement no longer reproduces a frame-time gain on current `main`. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-15 18:19:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T18:19:29Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the updated measurements report no reproducible frame time gain on current main, while showing reduced committer time.

What I ran

Reviewed head 75f7c6c84e79580e6562fab4d25a0eb8cce57339. No build or tests were run. Read the prepared description, commits, manifest, diff, and all included changed files; read the excluded VulkanDevice.cpp only around its changed lines through repo_read.py.

Results

Check Result Note
Source review passed Key handoff and fallback inspected
Build and tests not run Author reports tests; not independently verified
Runtime behavior not run Performance results are author reported

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build, tests, and runtime measurements were not run in this review. The description reports test and validation results, including current-main measurements, but those results were not independently confirmed. Files read: Driver.hpp, VulkanDevice.hpp, Draw.cpp (Execution), VulkanDevice.cpp changed region, Draw.hpp, Draw.cpp (Graphics), and ENVIRONMENT.md. files.json was unavailable; the manifest and file listing show all seven changed files, with VulkanDevice.cpp excluded from the prepared full-text bundle but read at its changed region. No other repository files were inspected.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5912148767 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10678#pullrequestreview-5912148767). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-15T18:19:29Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the updated measurements report no reproducible frame time gain on current main, while showing reduced committer time. ## What I ran Reviewed head `75f7c6c84e79580e6562fab4d25a0eb8cce57339`. No build or tests were run. Read the prepared description, commits, manifest, diff, and all included changed files; read the excluded `VulkanDevice.cpp` only around its changed lines through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Key handoff and fallback inspected | | Build and tests | not run | Author reports tests; not independently verified | | Runtime behavior | not run | Performance results are author reported | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build, tests, and runtime measurements were not run in this review. The description reports test and validation results, including current-main measurements, but those results were not independently confirmed. Files read: `Driver.hpp`, `VulkanDevice.hpp`, `Draw.cpp` (Execution), `VulkanDevice.cpp` changed region, `Draw.hpp`, `Draw.cpp` (Graphics), and `ENVIRONMENT.md`. `files.json` was unavailable; the manifest and file listing show all seven changed files, with `VulkanDevice.cpp` excluded from the prepared full-text bundle but read at its changed region. No other repository files were inspected. ## To get this to a good state Nothing is required.
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!10678
No description provided.