perf(agc): run the draw finisher by default #15456

Open
Nesyth wants to merge 19 commits from upstream-pr/15456 into main
Nesyth commented 2026-11-03 11:49:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Nesyth on 2026-11-03T11:49:35Z.


What

On main, queue 0's worker and the draw committer bound draw-heavy scenes (#7895). The draw finisher from #6946 moves the second half of each pipelined draw off the worker: stage materialization, the draw cache insert and the hand-off to the committer. It also lets the committer keep resource proofs for the collect epoch. It has been opt-in behind APS5_DRAW_PIPELINE since 17 October. With #15455, a draw finished there recaptures changed memory and skips refused draws as the worker does. This PR turns the finisher on by default, and APS5_NO_DRAW_PIPELINE turns it off again. On today's main, in PPSA04264's city, it raises the frame rate by 19.6% (frame p50 78.9 to 66.9 ms, Tested below). #20041 turns the epoch proofs on without the finisher; it touches the same switch reads, and whichever lands second adapts.

  • With the switch, testers on #6946 measured Hades II (PPSA36082), Astro's Playroom (PPSA01325), Besiege (PPSA20313) and Metal Gear Solid 4 (PPSA18194) faster. Minecraft Dungeons II (PPSA16064) and 007 First Light (PPSA11386) were unchanged; there queue 0 waits on compute or the GPU bounds the frame. On 1 November in #7895, ntamas94 measured +12% in Crysis Remastered (CUSA18659) and asked what keeps it opt-in.
  • Profiled runs (APS5_PROFILE_DRAW=1) still finish every draw on the worker, as before; the debt entry says so.
  • Two finisher fixes come first. The driver's shutdown joins the finisher thread, whose thread-local state kept the Vulkan device alive past AgcDriverShutdown. A finisher job runs with the pipelined flag of the draw it finishes, so its captures see queued pipeline writes such as a queued DUMP_CONST_RAM (agc_driver_queued_constant_ram_dump).
  • The draw-pipeline test set keeps its _draw_pipeline variants (depth 32, pipelined dispatches) and gains _no_draw_pipeline variants for the worker path. The finisher-only metadata pass test registers no _no_draw_pipeline variant (PIPELINE_ONLY).
  • #14051, #9248 and the GPU heap stack (#9508, #10193, #13928, #13929) edit the same test registrations or rows, and their variants set APS5_DRAW_PIPELINE=1, which this PR retires. The conflicts are textual; whichever lands second drops the variable.

Tested

Windows 11 Pro 26300, Radeon RX 7900 XTX (AMD Software 26.10.1), Ryzen 7 7800X3D, Release, MinGW-w64 GCC 15.2. This head is the branch with main 2e48261498 merged (169617ba07).

PPSA04264 (v01.011.001), Performance graphics mode, a story save in the city (about 3,000 draws and 95 compute dispatches per frame), the player standing still. main and this PR were captured one after the other in the same session (main at 02:23, this PR at 02:41), warm caches, the log not redirected, both with APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1 and APS5_TRACE_SECONDS=240:60. The finisher switch is read once at start, so the arms are separate boots, not an in-run A/B.

build FPS over 292 s in game presents in the 60 s window frame p50 / p90 / p99 ms GPU busy ms per present
main 2e48261498 12.50 753 78.9 / 83.8 / 90.3 24.3
this PR (169617ba07) 14.95 897 66.9 / 70.5 / 81.2 24.3

+19.6% FPS over the run, +19.1% presents in the window, the same GPU time per present.

On this machine main 2e48261498 shows the picture upside down (#20835); both arms carry it.

Traces, both captured on the same machine in one session: main 2e48261498, this PR. The summary lines and tools/trace_digest.py output are below; both traces are complete.

{"commit":"2e48261498ab","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":4723,"ms":60063.081},"presents":753,"frame_ms":{"p50":78.909,"p90":83.768,"p99":90.321,"max":102.167},"gpu_busy_ms_per_present":24.344,"worker_busy_pct":{"queue worker 0x0":96.85},"phase_totals_ms":{"Driver.Completion":0.335,"Driver.Dispatch":6796.411,"Driver.Dispatch.capture_resources":208.125,"Driver.Dispatch.decode_key_device_setup":83.246,"Driver.Dispatch.lookup_cache":2332.279,"Driver.Dispatch.materialize":35.595,"Driver.Dispatch.prepared_invocation":185.502,"Driver.Draw":40402.516,"Driver.Draw.device_setup":1686.183,"Driver.Draw.draw_enqueued":11053.035,"Driver.Draw.post_compile_prepare":295.146,"Driver.Draw.prepare":4628.081,"Driver.Draw.shader_compile_and_link":21831.434,"Driver.EndSubmission":537.103,"Driver.Packet":55681.312,"Driver.Packet.device_lock":465.662,"Driver.Packet.dispatch":6818.989,"Driver.Packet.draw":40856.667,"Driver.Packet.execute":1827.338,"Driver.Packet.flip_flush":20.788,"Driver.Packet.flush_between_packets":1072.294,"Driver.Packet.memory_wait":13.186,"Driver.Packet.pipeline_drain":716.064,"Driver.Packet.pipeline_prepare":712.728,"Driver.Packet.prepare_memory":589.124,"Driver.Packet.rendering_wait":0.447,"Driver.Present":4473.504,"Driver.Present.acquire_image":1734.96,"Driver.Present.device_setup":0.275,"Driver.Present.gpu_mutex_wait":82.04,"Driver.Present.inflight_wait":1.617,"Driver.Present.present_display_buffer":82.536,"Driver.Present.queue_present":1314.98,"Driver.Present.release_and_callback":0.982,"Driver.Present.render_fence_wait":1254.394,"Driver.Present.resize":1.059,"Driver.Present.validate":0.211,"Driver.Rewind":1952.069,"Driver.Suspend":0.173,"GpuMutex.wait.dispatch":5.667,"GpuMutex.wait.draw":97.976,"GpuMutex.wait.end":1.032,"GpuMutex.wait.fill":0.455,"GpuMutex.wait.flush":6.613,"GpuMutex.wait.label":10.705,"GpuMutex.wait.other":13.429,"GpuMutex.wait.present":80.275,"Graphics.Draw":44571.827,"Graphics.Draw.draw_and_resource_release":38393.74,"Graphics.Draw.index_upload":1362.045,"Graphics.Draw.validate":2579.728,"Graphics.Draw.vertex_upload":1742.193,"Graphics.DrawWithRecipe":796.173,"Graphics.DrawWithRecipe.draw_and_resource_release":723.723,"Graphics.DrawWithRecipe.index_upload":4.593,"Graphics.DrawWithRecipe.validate":16.884,"Graphics.DrawWithRecipe.vertex_upload":42.79,"Recorder.Reap":800.173,"Recorder.Submit":2313.563,"Recorder.Sync":973.791,"Recorder.WaitSerial":744.772,"Resources.Complete":252.062,"Resources.Prepare":258.808,"Shader.DrawStage":15758.172,"Shader.DrawStage.capture_resources":8304.316,"Shader.DrawStage.materialize":4769.179,"Shader.DrawStage.prepared_invocation":2473.158,"Shader.ResolveGraphicsStagesAbi":13.676,"VideoOut.Flip":4578.341,"VideoOut.Flip.completion_mutex_wait":0.984,"VideoOut.Flip.config_mutex_wait":0.081,"VideoOut.Flip.frame_limit":0.319,"VideoOut.Flip.notify_game":23.455,"VideoOut.Flip.present":4477.149,"VideoOut.Flip.validate":0.75,"VideoOut.Flip.vblank_wait":0.475,"VideoOut.Flip.window_prepare":1.005,"VideoOut.Flip.window_title":73.59,"VideoOut.Readiness":1.309,"VideoOut.Readiness.locks_validate":0.596,"Vulkan.Acquire":1734.226,"Vulkan.Acquire.acquire_fence_wait":1671.354,"Vulkan.Acquire.acquire_image":59.99,"Vulkan.Acquire.fence_reset":1.396,"Vulkan.Acquire.retired_swapchains":1.179,"Vulkan.Dispatch":729.194,"Vulkan.Dispatch.command_record":198.173,"Vulkan.Dispatch.shader_resources":521.66,"Vulkan.DispatchRecipe":256.92,"Vulkan.DispatchRecipe.command_record":254.788,"Vulkan.DrawFromRecipe":812.79,"Vulkan.Present":45.122,"Vulkan.Present.command_record_scale":15.7,"Vulkan.Present.pixel_upload":18.467,"Vulkan.Present.queue_submit":10.634,"Vulkan.QueuePresent":1313.75,"Vulkan.QueuePresent.queue_present":1312.382,"Vulkan.Retire":1254.083,"Vulkan.Retire.wait":1245.221},"top_phases_ms_per_frame":{"Driver.Packet":73.946,"Graphics.Draw":59.192,"Driver.Packet.draw":54.259,"Driver.Draw":53.655,"Graphics.Draw.draw_and_resource_release":50.988,"Driver.Draw.shader_compile_and_link":28.993,"Shader.DrawStage":20.927,"Driver.Draw.draw_enqueued":14.679},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":7302,"Graphics.Barrier.dcc-clear":7530,"Graphics.Barrier.dcc-keys":6024,"Graphics.Barrier.dispatch-lead":22374,"Graphics.Barrier.dispatch-trail":53590,"Graphics.Barrier.draw":382133,"Graphics.Barrier.fill":9077,"Graphics.Barrier.fill-clear":1506,"Graphics.Barrier.indirect-args":5271,"Graphics.Barrier.label-run":305443,"Graphics.Barrier.present-blit":3012,"Graphics.Barrier.shadow-publish":1538,"Graphics.Barrier.staging-in":47144,"Graphics.Barrier.staging-out":21896,"Graphics.Barrier.storage-upload":27218,"Graphics.Barrier.storage-writeback":89506,"Graphics.BarrierMerged.dispatch-lead":41758,"Graphics.BarrierMerged.fill":4525,"Graphics.BarrierMerged.label-run":897,"Graphics.BarrierMerged.shadow-publish":1538,"Graphics.BarrierMerged.staging-in":18544,"Graphics.BarrierMerged.staging-out":21896,"Graphics.BarrierMerged.storage-writeback":13668,"Graphics.Copy":96430,"Graphics.Copy.bytes":17607511912,"Graphics.RenderPass":168163,"Graphics.RenderPass.Close.command":54888,"Graphics.RenderPass.Close.image":66780,"Graphics.RenderPass.Close.key":11855,"Graphics.RenderPass.Close.label":897,"Graphics.RenderPass.Close.new-batch":33741,"Graphics.RenderPass.Continued":2293420},"trace_dropped":false,"trace":"aps5-trace-2e48261498ab-42352.json.gz"}
{"commit":"169617ba0728","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":5151,"ms":60043.986},"presents":897,"frame_ms":{"p50":66.912,"p90":70.458,"p99":81.161,"max":89.952},"gpu_busy_ms_per_present":24.253,"worker_busy_pct":{"queue worker 0x0":93.594},"phase_totals_ms":{"Driver.Completion":0.407,"Driver.Dispatch":7525.86,"Driver.Dispatch.capture_resources":256.555,"Driver.Dispatch.decode_key_device_setup":99.74,"Driver.Dispatch.lookup_cache":2196.316,"Driver.Dispatch.materialize":44.937,"Driver.Dispatch.prepared_invocation":164.721,"Driver.Draw":35676.78,"Driver.Draw.device_setup":1853.55,"Driver.Draw.draw_enqueued":65.04,"Driver.Draw.draw_handed_off":7089.253,"Driver.Draw.post_compile_prepare":4.384,"Driver.Draw.prepare":26223.74,"Driver.Draw.shader_compile_and_link":224.966,"Driver.DrawFinish":30472.378,"Driver.DrawFinish.draw_enqueued":11197.121,"Driver.DrawFinish.post_compile_prepare":405.827,"Driver.DrawFinish.shader_compile_and_link":18612.027,"Driver.EndSubmission":603.385,"Driver.Packet":53314.38,"Driver.Packet.device_lock":557.324,"Driver.Packet.dispatch":7553.658,"Driver.Packet.draw":36093.263,"Driver.Packet.execute":3272.09,"Driver.Packet.flip_flush":25.267,"Driver.Packet.flush_between_packets":1325.061,"Driver.Packet.memory_wait":15.353,"Driver.Packet.pipeline_drain":988.432,"Driver.Packet.pipeline_prepare":786.802,"Driver.Packet.prepare_memory":688.361,"Driver.Packet.rendering_wait":0.529,"Driver.Present":5333.472,"Driver.Present.acquire_image":2009.964,"Driver.Present.device_setup":0.364,"Driver.Present.gpu_mutex_wait":53.538,"Driver.Present.inflight_wait":1.881,"Driver.Present.present_display_buffer":98.813,"Driver.Present.queue_present":1565.588,"Driver.Present.release_and_callback":1.081,"Driver.Present.render_fence_wait":1600.144,"Driver.Present.resize":1.287,"Driver.Present.validate":0.24,"Driver.Rewind":2279.032,"Driver.Suspend":0.209,"GpuMutex.wait.dispatch":5.257,"GpuMutex.wait.draw":187.966,"GpuMutex.wait.end":1.386,"GpuMutex.wait.fill":0.131,"GpuMutex.wait.flush":7.129,"GpuMutex.wait.label":13.889,"GpuMutex.wait.other":8.181,"GpuMutex.wait.present":51.469,"Graphics.Draw":38763.284,"Graphics.Draw.draw_and_resource_release":33293.167,"Graphics.Draw.index_upload":1515.124,"Graphics.Draw.validate":1628.745,"Graphics.Draw.vertex_upload":1866.3,"Graphics.DrawWithRecipe":3324.828,"Graphics.DrawWithRecipe.draw_and_resource_release":2983.654,"Graphics.DrawWithRecipe.index_upload":15.189,"Graphics.DrawWithRecipe.validate":74.906,"Graphics.DrawWithRecipe.vertex_upload":211.811,"Recorder.Reap":998.173,"Recorder.Submit":2811.592,"Recorder.Sync":1231.109,"Recorder.WaitSerial":896.029,"Resources.Complete":310.809,"Resources.Prepare":312.355,"Shader.DrawStage":17025.612,"Shader.DrawStage.capture_resources":9016.601,"Shader.DrawStage.materialize":5116.335,"Shader.DrawStage.prepared_invocation":2667.867,"Shader.ResolveGraphicsStagesAbi":16.292,"VideoOut.Flip":5447.285,"VideoOut.Flip.completion_mutex_wait":1.235,"VideoOut.Flip.config_mutex_wait":0.099,"VideoOut.Flip.frame_limit":0.346,"VideoOut.Flip.notify_game":17.703,"VideoOut.Flip.present":5337.249,"VideoOut.Flip.validate":0.875,"VideoOut.Flip.vblank_wait":0.579,"VideoOut.Flip.window_prepare":1.136,"VideoOut.Flip.window_title":87.492,"VideoOut.Readiness":1.794,"VideoOut.Readiness.locks_validate":0.721,"Vulkan.Acquire":2009.063,"Vulkan.Acquire.acquire_fence_wait":1934.499,"Vulkan.Acquire.acquire_image":71.091,"Vulkan.Acquire.fence_reset":1.671,"Vulkan.Acquire.retired_swapchains":1.421,"Vulkan.Dispatch":880.646,"Vulkan.Dispatch.command_record":239.963,"Vulkan.Dispatch.shader_resources":629.926,"Vulkan.DispatchRecipe":303.493,"Vulkan.DispatchRecipe.command_record":301.048,"Vulkan.DrawFromRecipe":3400.585,"Vulkan.Present":55.154,"Vulkan.Present.command_record_scale":18.946,"Vulkan.Present.pixel_upload":22.144,"Vulkan.Present.queue_submit":13.699,"Vulkan.QueuePresent":1564.106,"Vulkan.QueuePresent.queue_present":1562.559,"Vulkan.Retire":1599.422,"Vulkan.Retire.wait":1588.311},"top_phases_ms_per_frame":{"Driver.Packet":59.436,"Graphics.Draw":43.214,"Driver.Packet.draw":40.238,"Driver.Draw":39.773,"Graphics.Draw.draw_and_resource_release":37.116,"Driver.DrawFinish":33.971,"Driver.Draw.prepare":29.235,"Driver.DrawFinish.shader_compile_and_link":20.749},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":8499,"Graphics.Barrier.dcc-clear":10764,"Graphics.Barrier.dcc-keys":7176,"Graphics.Barrier.dispatch-lead":26624,"Graphics.Barrier.dispatch-trail":63846,"Graphics.Barrier.draw":458719,"Graphics.Barrier.fill":10818,"Graphics.Barrier.fill-clear":1794,"Graphics.Barrier.indirect-args":6279,"Graphics.Barrier.label-run":364633,"Graphics.Barrier.present-blit":3588,"Graphics.Barrier.shadow-publish":1802,"Graphics.Barrier.staging-in":56165,"Graphics.Barrier.staging-out":26105,"Graphics.Barrier.storage-upload":32468,"Graphics.Barrier.storage-writeback":106506,"Graphics.BarrierMerged.dispatch-lead":49780,"Graphics.BarrierMerged.fill":5400,"Graphics.BarrierMerged.label-run":1043,"Graphics.BarrierMerged.shadow-publish":1802,"Graphics.BarrierMerged.staging-in":22150,"Graphics.BarrierMerged.staging-out":26105,"Graphics.BarrierMerged.storage-writeback":16247,"Graphics.Copy":114953,"Graphics.Copy.bytes":20990484848,"Graphics.RenderPass":202076,"Graphics.RenderPass.Close.command":67142,"Graphics.RenderPass.Close.image":79757,"Graphics.RenderPass.Close.key":14187,"Graphics.RenderPass.Close.label":1043,"Graphics.RenderPass.Close.new-batch":39942,"Graphics.RenderPass.Continued":2709047},"trace_dropped":false,"trace":"aps5-trace-169617ba0728-51740.json.gz"}
  • Every target builds. On this machine Windows Defender removes 34 freshly linked shader recompiler tools and tests right after their link (a false positive), and main's UploadCacheReadOnlyFlush.cpp does not compile with MinGW (setenv); neither is touched by this PR.
  • The focused draw, pipeline and finisher tests pass with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation: 74 on this PR (the same tests plus the _no_draw_pipeline variants and the shutdown and queued-dump tests) and 49 on main. The layer was loaded, no VUID- on either arm.
  • tools/check_conventions.py passes.
  • Before the merge of main, APS5_VERIFY_DRAW_PIPELINE=1 in the same title checked 16,975 reused epoch proofs against the full check at 9b8f0d7e32: 0 failed.
trace_digest: main 2e48261498

seconds 240:60 from present 4723: 753 presents, frame p50 78.9 / p90 83.8 / p99 90.3 / max 102.2 ms, GPU busy 24.3 ms per present
AMD Radeon RX 7900 XTX, AMD proprietary driver 26.10.1 (LLPC), Windows 10.0.26300, 3840x2160, commit 2e48261498, dropped: no

{"commit":"2e48261498ab","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":4723,"ms":60063.081},"presents":753,"frame_ms":{"p50":78.909,"p90":83.768,"p99":90.321,"max":102.167},"gpu_busy_ms_per_present":24.344,"worker_busy_pct":{"queue worker 0x0":96.85},"phase_totals_ms":{"Driver.Completion":0.335,"Driver.Dispatch":6796.411,"Driver.Dispatch.capture_resources":208.125,"Driver.Dispatch.decode_key_device_setup":83.246,"Driver.Dispatch.lookup_cache":2332.279,"Driver.Dispatch.materialize":35.595,"Driver.Dispatch.prepared_invocation":185.502,"Driver.Draw":40402.516,"Driver.Draw.device_setup":1686.183,"Driver.Draw.draw_enqueued":11053.035,"Driver.Draw.post_compile_prepare":295.146,"Driver.Draw.prepare":4628.081,"Driver.Draw.shader_compile_and_link":21831.434,"Driver.EndSubmission":537.103,"Driver.Packet":55681.312,"Driver.Packet.device_lock":465.662,"Driver.Packet.dispatch":6818.989,"Driver.Packet.draw":40856.667,"Driver.Packet.execute":1827.338,"Driver.Packet.flip_flush":20.788,"Driver.Packet.flush_between_packets":1072.294,"Driver.Packet.memory_wait":13.186,"Driver.Packet.pipeline_drain":716.064,"Driver.Packet.pipeline_prepare":712.728,"Driver.Packet.prepare_memory":589.124,"Driver.Packet.rendering_wait":0.447,"Driver.Present":4473.504,"Driver.Present.acquire_image":1734.96,"Driver.Present.device_setup":0.275,"Driver.Present.gpu_mutex_wait":82.04,"Driver.Present.inflight_wait":1.617,"Driver.Present.present_display_buffer":82.536,"Driver.Present.queue_present":1314.98,"Driver.Present.release_and_callback":0.982,"Driver.Present.render_fence_wait":1254.394,"Driver.Present.resize":1.059,"Driver.Present.validate":0.211,"Driver.Rewind":1952.069,"Driver.Suspend":0.173,"GpuMutex.wait.dispatch":5.667,"GpuMutex.wait.draw":97.976,"GpuMutex.wait.end":1.032,"GpuMutex.wait.fill":0.455,"GpuMutex.wait.flush":6.613,"GpuMutex.wait.label":10.705,"GpuMutex.wait.other":13.429,"GpuMutex.wait.present":80.275,"Graphics.Draw":44571.827,"Graphics.Draw.draw_and_resource_release":38393.74,"Graphics.Draw.index_upload":1362.045,"Graphics.Draw.validate":2579.728,"Graphics.Draw.vertex_upload":1742.193,"Graphics.DrawWithRecipe":796.173,"Graphics.DrawWithRecipe.draw_and_resource_release":723.723,"Graphics.DrawWithRecipe.index_upload":4.593,"Graphics.DrawWithRecipe.validate":16.884,"Graphics.DrawWithRecipe.vertex_upload":42.79,"Recorder.Reap":800.173,"Recorder.Submit":2313.563,"Recorder.Sync":973.791,"Recorder.WaitSerial":744.772,"Resources.Complete":252.062,"Resources.Prepare":258.808,"Shader.DrawStage":15758.172,"Shader.DrawStage.capture_resources":8304.316,"Shader.DrawStage.materialize":4769.179,"Shader.DrawStage.prepared_invocation":2473.158,"Shader.ResolveGraphicsStagesAbi":13.676,"VideoOut.Flip":4578.341,"VideoOut.Flip.completion_mutex_wait":0.984,"VideoOut.Flip.config_mutex_wait":0.081,"VideoOut.Flip.frame_limit":0.319,"VideoOut.Flip.notify_game":23.455,"VideoOut.Flip.present":4477.149,"VideoOut.Flip.validate":0.75,"VideoOut.Flip.vblank_wait":0.475,"VideoOut.Flip.window_prepare":1.005,"VideoOut.Flip.window_title":73.59,"VideoOut.Readiness":1.309,"VideoOut.Readiness.locks_validate":0.596,"Vulkan.Acquire":1734.226,"Vulkan.Acquire.acquire_fence_wait":1671.354,"Vulkan.Acquire.acquire_image":59.99,"Vulkan.Acquire.fence_reset":1.396,"Vulkan.Acquire.retired_swapchains":1.179,"Vulkan.Dispatch":729.194,"Vulkan.Dispatch.command_record":198.173,"Vulkan.Dispatch.shader_resources":521.66,"Vulkan.DispatchRecipe":256.92,"Vulkan.DispatchRecipe.command_record":254.788,"Vulkan.DrawFromRecipe":812.79,"Vulkan.Present":45.122,"Vulkan.Present.command_record_scale":15.7,"Vulkan.Present.pixel_upload":18.467,"Vulkan.Present.queue_submit":10.634,"Vulkan.QueuePresent":1313.75,"Vulkan.QueuePresent.queue_present":1312.382,"Vulkan.Retire":1254.083,"Vulkan.Retire.wait":1245.221},"top_phases_ms_per_frame":{"Driver.Packet":73.946,"Graphics.Draw":59.192,"Driver.Packet.draw":54.259,"Driver.Draw":53.655,"Graphics.Draw.draw_and_resource_release":50.988,"Driver.Draw.shader_compile_and_link":28.993,"Shader.DrawStage":20.927,"Driver.Draw.draw_enqueued":14.679},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":7302,"Graphics.Barrier.dcc-clear":7530,"Graphics.Barrier.dcc-keys":6024,"Graphics.Barrier.dispatch-lead":22374,"Graphics.Barrier.dispatch-trail":53590,"Graphics.Barrier.draw":382133,"Graphics.Barrier.fill":9077,"Graphics.Barrier.fill-clear":1506,"Graphics.Barrier.indirect-args":5271,"Graphics.Barrier.label-run":305443,"Graphics.Barrier.present-blit":3012,"Graphics.Barrier.shadow-publish":1538,"Graphics.Barrier.staging-in":47144,"Graphics.Barrier.staging-out":21896,"Graphics.Barrier.storage-upload":27218,"Graphics.Barrier.storage-writeback":89506,"Graphics.BarrierMerged.dispatch-lead":41758,"Graphics.BarrierMerged.fill":4525,"Graphics.BarrierMerged.label-run":897,"Graphics.BarrierMerged.shadow-publish":1538,"Graphics.BarrierMerged.staging-in":18544,"Graphics.BarrierMerged.staging-out":21896,"Graphics.BarrierMerged.storage-writeback":13668,"Graphics.Copy":96430,"Graphics.Copy.bytes":17607511912,"Graphics.RenderPass":168163,"Graphics.RenderPass.Close.command":54888,"Graphics.RenderPass.Close.image":66780,"Graphics.RenderPass.Close.key":11855,"Graphics.RenderPass.Close.label":897,"Graphics.RenderPass.Close.new-batch":33741,"Graphics.RenderPass.Continued":2293420},"trace_dropped":false,"trace":"aps5-trace-2e48261498ab-42352.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 5328: 102.2 ms at 48272 ms: Driver.Packet (queue worker 0x0) 60.1, Graphics.Draw (draw committer) 51.9, Graphics.Draw.draw_and_resource_release (draw committer) 45.4, Driver.Packet.draw (queue worker 0x0) 43.0
  • present 5077: 99.1 ms at 28210 ms: Driver.Packet (queue worker 0x0) 57.0, Graphics.Draw (draw committer) 50.1, Graphics.Draw.draw_and_resource_release (draw committer) 42.5, Driver.Packet.draw (queue worker 0x0) 41.9
  • present 5091: 98.0 ms at 29323 ms: Driver.Packet (queue worker 0x0) 57.2, Driver.Packet.draw (queue worker 0x0) 44.6, Driver.Draw (queue worker 0x0) 43.8, Graphics.Draw (draw committer) 40.8
  • present 5009: 97.5 ms at 22767 ms: Driver.Packet (queue worker 0x0) 58.2, Graphics.Draw (draw committer) 50.9, Driver.Packet.draw (queue worker 0x0) 44.3, Graphics.Draw.draw_and_resource_release (draw committer) 44.1
  • present 5379: 95.2 ms at 52299 ms: Driver.Packet (queue worker 0x0) 55.7, Graphics.Draw (draw committer) 52.5, Graphics.Draw.draw_and_resource_release (draw committer) 45.6, Driver.Packet.draw (queue worker 0x0) 40.9

Persistent spikes (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame)

  • present 5328: 102.2 ms at 48272 ms, persistence 30.2 ms
  • present 5077: 99.1 ms at 28210 ms, persistence 24.8 ms
  • present 5091: 98.0 ms at 29323 ms, persistence 22.7 ms
  • present 5009: 97.5 ms at 22767 ms, persistence 22.2 ms
  • present 4807: 93.7 ms at 6800 ms, persistence 21.8 ms
  • present 5379: 95.2 ms at 52299 ms, persistence 20.3 ms
  • present 5277: 90.3 ms at 44203 ms, persistence 14.9 ms
  • present 4823: 89.9 ms at 8100 ms, persistence 14.2 ms
  • present 4774: 89.9 ms at 4113 ms, persistence 13.1 ms
  • present 5163: 86.8 ms at 35156 ms, persistence 11.7 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.0 (0 %) 0.0 (0 %) 79.8 0.0 Shader.ResolveGraphicsStagesAbi 0.0
queue worker 0x0 41.8 (52 %) 0.8 (1 %) 37.1 175.9 Driver.Packet 39.5, Driver.Rewind 2.4
title 0.0 (0 %) 0.0 (0 %) 79.7 0.0
draw committer 38.0 (48 %) 0.4 (0 %) 41.4 58.3 Graphics.Draw 34.9, Recorder.Submit 2.4
presenter 2.1 (3 %) 4.0 (5 %) 73.7 0.0 VideoOut.Flip 6.1
gpu 24.3 (31 %) 0.0 (0 %) 55.4 0.0 batch 24.3

Largest slices (ms per frame, inclusive, all threads): Driver.Packet 39.5, Graphics.Draw 34.9, Graphics.Draw.draw_and_resource_release 28.9, Driver.Packet.draw 27.0, Driver.Draw 26.5, batch 24.3, Driver.Packet.dispatch 8.8, Driver.Dispatch 8.7, Driver.Draw.shader_compile_and_link 7.2, VideoOut.Flip 6.1

Longest waits

  • GpuMutex.wait.other (title) 8.5 ms at 28215 ms, present 5077
  • Driver.Present.gpu_mutex_wait (presenter) 7.1 ms at 42543 ms, present 5256
  • GpuMutex.wait.draw (draw committer) 4.6 ms at 22772 ms, present 5009
  • Driver.Present.render_fence_wait (presenter) 4.4 ms at 10087 ms, present 4848
  • Driver.Present.render_fence_wait (presenter) 4.4 ms at 17401 ms, present 4941
  • Driver.Present.render_fence_wait (presenter) 4.2 ms at 2099 ms, present 4749
  • Driver.Present.render_fence_wait (presenter) 4.0 ms at 20145 ms, present 4976
  • Driver.Present.render_fence_wait (presenter) 4.0 ms at 44701 ms, present 5283
  • Driver.Present.render_fence_wait (presenter) 3.9 ms at 34279 ms, present 5152
  • Driver.Present.render_fence_wait (presenter) 3.9 ms at 25331 ms, present 5041

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

  • batch 253589: 4.5 ms at 25561 ms, present 5044: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.2, Graphics.Draw.draw_and_resource_release (draw committer) 0.2
  • batch 246564: 4.3 ms at 20143 ms, present 4976: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.2, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0
  • batch 248847: 4.2 ms at 21891 ms, present 4997: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.1
  • batch 253283: 4.0 ms at 25328 ms, present 5041: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 264725: 4.0 ms at 34276 ms, present 5152: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
trace_digest: this PR 169617ba07

seconds 240:60 from present 5151: 897 presents, frame p50 66.9 / p90 70.5 / p99 81.2 / max 90.0 ms, GPU busy 24.3 ms per present
AMD Radeon RX 7900 XTX, AMD proprietary driver 26.10.1 (LLPC), Windows 10.0.26300, 3840x2160, commit 169617ba07, dropped: no

{"commit":"169617ba0728","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":5151,"ms":60043.986},"presents":897,"frame_ms":{"p50":66.912,"p90":70.458,"p99":81.161,"max":89.952},"gpu_busy_ms_per_present":24.253,"worker_busy_pct":{"queue worker 0x0":93.594},"phase_totals_ms":{"Driver.Completion":0.407,"Driver.Dispatch":7525.86,"Driver.Dispatch.capture_resources":256.555,"Driver.Dispatch.decode_key_device_setup":99.74,"Driver.Dispatch.lookup_cache":2196.316,"Driver.Dispatch.materialize":44.937,"Driver.Dispatch.prepared_invocation":164.721,"Driver.Draw":35676.78,"Driver.Draw.device_setup":1853.55,"Driver.Draw.draw_enqueued":65.04,"Driver.Draw.draw_handed_off":7089.253,"Driver.Draw.post_compile_prepare":4.384,"Driver.Draw.prepare":26223.74,"Driver.Draw.shader_compile_and_link":224.966,"Driver.DrawFinish":30472.378,"Driver.DrawFinish.draw_enqueued":11197.121,"Driver.DrawFinish.post_compile_prepare":405.827,"Driver.DrawFinish.shader_compile_and_link":18612.027,"Driver.EndSubmission":603.385,"Driver.Packet":53314.38,"Driver.Packet.device_lock":557.324,"Driver.Packet.dispatch":7553.658,"Driver.Packet.draw":36093.263,"Driver.Packet.execute":3272.09,"Driver.Packet.flip_flush":25.267,"Driver.Packet.flush_between_packets":1325.061,"Driver.Packet.memory_wait":15.353,"Driver.Packet.pipeline_drain":988.432,"Driver.Packet.pipeline_prepare":786.802,"Driver.Packet.prepare_memory":688.361,"Driver.Packet.rendering_wait":0.529,"Driver.Present":5333.472,"Driver.Present.acquire_image":2009.964,"Driver.Present.device_setup":0.364,"Driver.Present.gpu_mutex_wait":53.538,"Driver.Present.inflight_wait":1.881,"Driver.Present.present_display_buffer":98.813,"Driver.Present.queue_present":1565.588,"Driver.Present.release_and_callback":1.081,"Driver.Present.render_fence_wait":1600.144,"Driver.Present.resize":1.287,"Driver.Present.validate":0.24,"Driver.Rewind":2279.032,"Driver.Suspend":0.209,"GpuMutex.wait.dispatch":5.257,"GpuMutex.wait.draw":187.966,"GpuMutex.wait.end":1.386,"GpuMutex.wait.fill":0.131,"GpuMutex.wait.flush":7.129,"GpuMutex.wait.label":13.889,"GpuMutex.wait.other":8.181,"GpuMutex.wait.present":51.469,"Graphics.Draw":38763.284,"Graphics.Draw.draw_and_resource_release":33293.167,"Graphics.Draw.index_upload":1515.124,"Graphics.Draw.validate":1628.745,"Graphics.Draw.vertex_upload":1866.3,"Graphics.DrawWithRecipe":3324.828,"Graphics.DrawWithRecipe.draw_and_resource_release":2983.654,"Graphics.DrawWithRecipe.index_upload":15.189,"Graphics.DrawWithRecipe.validate":74.906,"Graphics.DrawWithRecipe.vertex_upload":211.811,"Recorder.Reap":998.173,"Recorder.Submit":2811.592,"Recorder.Sync":1231.109,"Recorder.WaitSerial":896.029,"Resources.Complete":310.809,"Resources.Prepare":312.355,"Shader.DrawStage":17025.612,"Shader.DrawStage.capture_resources":9016.601,"Shader.DrawStage.materialize":5116.335,"Shader.DrawStage.prepared_invocation":2667.867,"Shader.ResolveGraphicsStagesAbi":16.292,"VideoOut.Flip":5447.285,"VideoOut.Flip.completion_mutex_wait":1.235,"VideoOut.Flip.config_mutex_wait":0.099,"VideoOut.Flip.frame_limit":0.346,"VideoOut.Flip.notify_game":17.703,"VideoOut.Flip.present":5337.249,"VideoOut.Flip.validate":0.875,"VideoOut.Flip.vblank_wait":0.579,"VideoOut.Flip.window_prepare":1.136,"VideoOut.Flip.window_title":87.492,"VideoOut.Readiness":1.794,"VideoOut.Readiness.locks_validate":0.721,"Vulkan.Acquire":2009.063,"Vulkan.Acquire.acquire_fence_wait":1934.499,"Vulkan.Acquire.acquire_image":71.091,"Vulkan.Acquire.fence_reset":1.671,"Vulkan.Acquire.retired_swapchains":1.421,"Vulkan.Dispatch":880.646,"Vulkan.Dispatch.command_record":239.963,"Vulkan.Dispatch.shader_resources":629.926,"Vulkan.DispatchRecipe":303.493,"Vulkan.DispatchRecipe.command_record":301.048,"Vulkan.DrawFromRecipe":3400.585,"Vulkan.Present":55.154,"Vulkan.Present.command_record_scale":18.946,"Vulkan.Present.pixel_upload":22.144,"Vulkan.Present.queue_submit":13.699,"Vulkan.QueuePresent":1564.106,"Vulkan.QueuePresent.queue_present":1562.559,"Vulkan.Retire":1599.422,"Vulkan.Retire.wait":1588.311},"top_phases_ms_per_frame":{"Driver.Packet":59.436,"Graphics.Draw":43.214,"Driver.Packet.draw":40.238,"Driver.Draw":39.773,"Graphics.Draw.draw_and_resource_release":37.116,"Driver.DrawFinish":33.971,"Driver.Draw.prepare":29.235,"Driver.DrawFinish.shader_compile_and_link":20.749},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":8499,"Graphics.Barrier.dcc-clear":10764,"Graphics.Barrier.dcc-keys":7176,"Graphics.Barrier.dispatch-lead":26624,"Graphics.Barrier.dispatch-trail":63846,"Graphics.Barrier.draw":458719,"Graphics.Barrier.fill":10818,"Graphics.Barrier.fill-clear":1794,"Graphics.Barrier.indirect-args":6279,"Graphics.Barrier.label-run":364633,"Graphics.Barrier.present-blit":3588,"Graphics.Barrier.shadow-publish":1802,"Graphics.Barrier.staging-in":56165,"Graphics.Barrier.staging-out":26105,"Graphics.Barrier.storage-upload":32468,"Graphics.Barrier.storage-writeback":106506,"Graphics.BarrierMerged.dispatch-lead":49780,"Graphics.BarrierMerged.fill":5400,"Graphics.BarrierMerged.label-run":1043,"Graphics.BarrierMerged.shadow-publish":1802,"Graphics.BarrierMerged.staging-in":22150,"Graphics.BarrierMerged.staging-out":26105,"Graphics.BarrierMerged.storage-writeback":16247,"Graphics.Copy":114953,"Graphics.Copy.bytes":20990484848,"Graphics.RenderPass":202076,"Graphics.RenderPass.Close.command":67142,"Graphics.RenderPass.Close.image":79757,"Graphics.RenderPass.Close.key":14187,"Graphics.RenderPass.Close.label":1043,"Graphics.RenderPass.Close.new-batch":39942,"Graphics.RenderPass.Continued":2709047},"trace_dropped":false,"trace":"aps5-trace-169617ba0728-51740.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 5385: 90.0 ms at 15859 ms: Graphics.Draw (draw committer) 42.5, Driver.Packet (queue worker 0x0) 40.4, Graphics.Draw.draw_and_resource_release (draw committer) 38.2, Driver.DrawFinish (draw finisher) 29.9
  • present 5470: 88.4 ms at 21556 ms: Driver.Packet (queue worker 0x0) 44.8, Graphics.Draw (draw committer) 41.3, Graphics.Draw.draw_and_resource_release (draw committer) 37.1, Driver.Packet.draw (queue worker 0x0) 30.5
  • present 5267: 87.1 ms at 7907 ms: Driver.Packet (queue worker 0x0) 42.2, Graphics.Draw (draw committer) 41.9, Graphics.Draw.draw_and_resource_release (draw committer) 38.0, Driver.Packet.draw (queue worker 0x0) 30.1
  • present 5694: 83.9 ms at 36502 ms: Driver.Packet (queue worker 0x0) 38.5, Graphics.Draw (draw committer) 26.2, batch (gpu) 24.9, Graphics.Draw.draw_and_resource_release (draw committer) 22.8
  • present 5950: 83.7 ms at 53487 ms: Graphics.Draw (draw committer) 41.7, Driver.Packet (queue worker 0x0) 40.0, Graphics.Draw.draw_and_resource_release (draw committer) 36.6, Driver.Packet.draw (queue worker 0x0) 27.3

Persistent spikes (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame)

  • present 5385: 90.0 ms at 15859 ms, persistence 29.1 ms
  • present 5470: 88.4 ms at 21556 ms, persistence 26.2 ms
  • present 5267: 87.1 ms at 7907 ms, persistence 24.4 ms
  • present 5950: 83.7 ms at 53487 ms, persistence 22.9 ms
  • present 5694: 83.9 ms at 36502 ms, persistence 22.8 ms
  • present 5347: 83.3 ms at 13292 ms, persistence 20.5 ms
  • present 5762: 81.2 ms at 40989 ms, persistence 20.2 ms
  • present 5186: 81.0 ms at 2357 ms, persistence 18.3 ms
  • present 5392: 83.0 ms at 16367 ms, persistence 18.1 ms
  • present 5532: 80.5 ms at 25773 ms, persistence 17.7 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.0 (0 %) 0.0 (0 %) 66.9 0.0 Shader.ResolveGraphicsStagesAbi 0.0
queue worker 0x0 26.9 (40 %) 0.8 (1 %) 39.3 128.3 Driver.Packet 24.8, Driver.Rewind 2.4
title 0.0 (0 %) 0.0 (0 %) 66.9 0.0
draw committer 28.6 (43 %) 0.4 (1 %) 37.9 50.8 Graphics.Draw 25.5, Recorder.Submit 2.5
draw finisher 11.3 (17 %) 0.0 (0 %) 55.7 84.7 Driver.DrawFinish 11.3
presenter 2.1 (3 %) 4.0 (6 %) 60.9 0.1 VideoOut.Flip 6.1
gpu 24.3 (36 %) 0.0 (0 %) 42.7 0.0 batch 24.3

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 25.5, Driver.Packet 24.8, batch 24.3, Graphics.Draw.draw_and_resource_release 21.9, Driver.Packet.draw 13.5, Driver.Draw 13.3, Driver.DrawFinish 11.3, Driver.Draw.prepare 9.1, Driver.Packet.dispatch 8.1, Driver.Dispatch 8.1

Longest waits

  • GpuMutex.wait.draw (draw committer) 4.7 ms at 15864 ms, present 5385
  • Driver.Present.render_fence_wait (presenter) 3.7 ms at 49103 ms, present 5884
  • Driver.Present.render_fence_wait (presenter) 3.7 ms at 3481 ms, present 5202
  • Driver.Present.render_fence_wait (presenter) 3.6 ms at 44325 ms, present 5812
  • Driver.Present.render_fence_wait (presenter) 3.5 ms at 36109 ms, present 5688
  • Driver.Present.render_fence_wait (presenter) 3.5 ms at 12533 ms, present 5336
  • Driver.Present.render_fence_wait (presenter) 3.4 ms at 9990 ms, present 5298
  • GpuMutex.wait.draw (draw committer) 3.4 ms at 21562 ms, present 5470
  • Driver.Present.render_fence_wait (presenter) 3.4 ms at 30484 ms, present 5602
  • GpuMutex.wait.draw (draw committer) 3.4 ms at 40995 ms, present 5762

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

  • batch 345364: 4.9 ms at 57244 ms, present 6005: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0
  • batch 314890: 4.5 ms at 37639 ms, present 5710: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 334809: 4.5 ms at 50415 ms, present 5903: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.1
  • batch 318093: 4.5 ms at 39659 ms, present 5741: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 299491: 4.5 ms at 27838 ms, present 5561: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, 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: AMD Radeon RX 7900 XTX, AMD Software 26.10.1 (32.0.32015.7029), Windows 11 Pro 26300
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5136713114 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456). Originally posted by [Nesyth](https://github.com/Nesyth) on 2026-11-03T11:49:35Z. --- ### What On `main`, queue 0's worker and the draw committer bound draw-heavy scenes (#7895). The draw finisher from #6946 moves the second half of each pipelined draw off the worker: stage materialization, the draw cache insert and the hand-off to the committer. It also lets the committer keep resource proofs for the collect epoch. It has been opt-in behind `APS5_DRAW_PIPELINE` since 17 October. With #15455, a draw finished there recaptures changed memory and skips refused draws as the worker does. This PR turns the finisher on by default, and `APS5_NO_DRAW_PIPELINE` turns it off again. On today's `main`, in PPSA04264's city, it raises the frame rate by 19.6% (frame p50 78.9 to 66.9 ms, Tested below). #20041 turns the epoch proofs on without the finisher; it touches the same switch reads, and whichever lands second adapts. - With the switch, testers on #6946 measured Hades II (PPSA36082), Astro's Playroom (PPSA01325), Besiege (PPSA20313) and Metal Gear Solid 4 (PPSA18194) faster. Minecraft Dungeons II (PPSA16064) and 007 First Light (PPSA11386) were unchanged; there queue 0 waits on compute or the GPU bounds the frame. On 1 November in #7895, ntamas94 measured +12% in Crysis Remastered (CUSA18659) and asked what keeps it opt-in. - Profiled runs (`APS5_PROFILE_DRAW=1`) still finish every draw on the worker, as before; the debt entry says so. - Two finisher fixes come first. The driver's shutdown joins the finisher thread, whose thread-local state kept the Vulkan device alive past `AgcDriverShutdown`. A finisher job runs with the pipelined flag of the draw it finishes, so its captures see queued pipeline writes such as a queued `DUMP_CONST_RAM` (`agc_driver_queued_constant_ram_dump`). - The draw-pipeline test set keeps its `_draw_pipeline` variants (depth 32, pipelined dispatches) and gains `_no_draw_pipeline` variants for the worker path. The finisher-only metadata pass test registers no `_no_draw_pipeline` variant (`PIPELINE_ONLY`). - #14051, #9248 and the GPU heap stack (#9508, #10193, #13928, #13929) edit the same test registrations or rows, and their variants set `APS5_DRAW_PIPELINE=1`, which this PR retires. The conflicts are textual; whichever lands second drops the variable. ### Tested Windows 11 Pro 26300, Radeon RX 7900 XTX (AMD Software 26.10.1), Ryzen 7 7800X3D, Release, MinGW-w64 GCC 15.2. This head is the branch with `main` 2e48261498 merged (169617ba07). PPSA04264 (v01.011.001), Performance graphics mode, a story save in the city (about 3,000 draws and 95 compute dispatches per frame), the player standing still. `main` and this PR were captured one after the other in the same session (`main` at 02:23, this PR at 02:41), warm caches, the log not redirected, both with `APS5_PIPELINED_DRAWS=32` `APS5_PIPELINE_DISPATCH=1` and `APS5_TRACE_SECONDS=240:60`. The finisher switch is read once at start, so the arms are separate boots, not an in-run A/B. | build | FPS over 292 s in game | presents in the 60 s window | frame p50 / p90 / p99 ms | GPU busy ms per present | |---|---|---|---|---| | `main` 2e48261498 | 12.50 | 753 | 78.9 / 83.8 / 90.3 | 24.3 | | this PR (169617ba07) | 14.95 | 897 | 66.9 / 70.5 / 81.2 | 24.3 | +19.6% FPS over the run, +19.1% presents in the window, the same GPU time per present. On this machine `main` 2e48261498 shows the picture upside down (#20835); both arms carry it. Traces, both captured on the same machine in one session: [main 2e48261498](https://github.com/Nesyth/AnyPS5/releases/download/perf-traces/aps5-trace-2e48261498ab-42352.json.gz), [this PR](https://github.com/Nesyth/AnyPS5/releases/download/perf-traces/aps5-trace-169617ba0728-51740.json.gz). The summary lines and `tools/trace_digest.py` output are below; both traces are complete. ```json {"commit":"2e48261498ab","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":4723,"ms":60063.081},"presents":753,"frame_ms":{"p50":78.909,"p90":83.768,"p99":90.321,"max":102.167},"gpu_busy_ms_per_present":24.344,"worker_busy_pct":{"queue worker 0x0":96.85},"phase_totals_ms":{"Driver.Completion":0.335,"Driver.Dispatch":6796.411,"Driver.Dispatch.capture_resources":208.125,"Driver.Dispatch.decode_key_device_setup":83.246,"Driver.Dispatch.lookup_cache":2332.279,"Driver.Dispatch.materialize":35.595,"Driver.Dispatch.prepared_invocation":185.502,"Driver.Draw":40402.516,"Driver.Draw.device_setup":1686.183,"Driver.Draw.draw_enqueued":11053.035,"Driver.Draw.post_compile_prepare":295.146,"Driver.Draw.prepare":4628.081,"Driver.Draw.shader_compile_and_link":21831.434,"Driver.EndSubmission":537.103,"Driver.Packet":55681.312,"Driver.Packet.device_lock":465.662,"Driver.Packet.dispatch":6818.989,"Driver.Packet.draw":40856.667,"Driver.Packet.execute":1827.338,"Driver.Packet.flip_flush":20.788,"Driver.Packet.flush_between_packets":1072.294,"Driver.Packet.memory_wait":13.186,"Driver.Packet.pipeline_drain":716.064,"Driver.Packet.pipeline_prepare":712.728,"Driver.Packet.prepare_memory":589.124,"Driver.Packet.rendering_wait":0.447,"Driver.Present":4473.504,"Driver.Present.acquire_image":1734.96,"Driver.Present.device_setup":0.275,"Driver.Present.gpu_mutex_wait":82.04,"Driver.Present.inflight_wait":1.617,"Driver.Present.present_display_buffer":82.536,"Driver.Present.queue_present":1314.98,"Driver.Present.release_and_callback":0.982,"Driver.Present.render_fence_wait":1254.394,"Driver.Present.resize":1.059,"Driver.Present.validate":0.211,"Driver.Rewind":1952.069,"Driver.Suspend":0.173,"GpuMutex.wait.dispatch":5.667,"GpuMutex.wait.draw":97.976,"GpuMutex.wait.end":1.032,"GpuMutex.wait.fill":0.455,"GpuMutex.wait.flush":6.613,"GpuMutex.wait.label":10.705,"GpuMutex.wait.other":13.429,"GpuMutex.wait.present":80.275,"Graphics.Draw":44571.827,"Graphics.Draw.draw_and_resource_release":38393.74,"Graphics.Draw.index_upload":1362.045,"Graphics.Draw.validate":2579.728,"Graphics.Draw.vertex_upload":1742.193,"Graphics.DrawWithRecipe":796.173,"Graphics.DrawWithRecipe.draw_and_resource_release":723.723,"Graphics.DrawWithRecipe.index_upload":4.593,"Graphics.DrawWithRecipe.validate":16.884,"Graphics.DrawWithRecipe.vertex_upload":42.79,"Recorder.Reap":800.173,"Recorder.Submit":2313.563,"Recorder.Sync":973.791,"Recorder.WaitSerial":744.772,"Resources.Complete":252.062,"Resources.Prepare":258.808,"Shader.DrawStage":15758.172,"Shader.DrawStage.capture_resources":8304.316,"Shader.DrawStage.materialize":4769.179,"Shader.DrawStage.prepared_invocation":2473.158,"Shader.ResolveGraphicsStagesAbi":13.676,"VideoOut.Flip":4578.341,"VideoOut.Flip.completion_mutex_wait":0.984,"VideoOut.Flip.config_mutex_wait":0.081,"VideoOut.Flip.frame_limit":0.319,"VideoOut.Flip.notify_game":23.455,"VideoOut.Flip.present":4477.149,"VideoOut.Flip.validate":0.75,"VideoOut.Flip.vblank_wait":0.475,"VideoOut.Flip.window_prepare":1.005,"VideoOut.Flip.window_title":73.59,"VideoOut.Readiness":1.309,"VideoOut.Readiness.locks_validate":0.596,"Vulkan.Acquire":1734.226,"Vulkan.Acquire.acquire_fence_wait":1671.354,"Vulkan.Acquire.acquire_image":59.99,"Vulkan.Acquire.fence_reset":1.396,"Vulkan.Acquire.retired_swapchains":1.179,"Vulkan.Dispatch":729.194,"Vulkan.Dispatch.command_record":198.173,"Vulkan.Dispatch.shader_resources":521.66,"Vulkan.DispatchRecipe":256.92,"Vulkan.DispatchRecipe.command_record":254.788,"Vulkan.DrawFromRecipe":812.79,"Vulkan.Present":45.122,"Vulkan.Present.command_record_scale":15.7,"Vulkan.Present.pixel_upload":18.467,"Vulkan.Present.queue_submit":10.634,"Vulkan.QueuePresent":1313.75,"Vulkan.QueuePresent.queue_present":1312.382,"Vulkan.Retire":1254.083,"Vulkan.Retire.wait":1245.221},"top_phases_ms_per_frame":{"Driver.Packet":73.946,"Graphics.Draw":59.192,"Driver.Packet.draw":54.259,"Driver.Draw":53.655,"Graphics.Draw.draw_and_resource_release":50.988,"Driver.Draw.shader_compile_and_link":28.993,"Shader.DrawStage":20.927,"Driver.Draw.draw_enqueued":14.679},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":7302,"Graphics.Barrier.dcc-clear":7530,"Graphics.Barrier.dcc-keys":6024,"Graphics.Barrier.dispatch-lead":22374,"Graphics.Barrier.dispatch-trail":53590,"Graphics.Barrier.draw":382133,"Graphics.Barrier.fill":9077,"Graphics.Barrier.fill-clear":1506,"Graphics.Barrier.indirect-args":5271,"Graphics.Barrier.label-run":305443,"Graphics.Barrier.present-blit":3012,"Graphics.Barrier.shadow-publish":1538,"Graphics.Barrier.staging-in":47144,"Graphics.Barrier.staging-out":21896,"Graphics.Barrier.storage-upload":27218,"Graphics.Barrier.storage-writeback":89506,"Graphics.BarrierMerged.dispatch-lead":41758,"Graphics.BarrierMerged.fill":4525,"Graphics.BarrierMerged.label-run":897,"Graphics.BarrierMerged.shadow-publish":1538,"Graphics.BarrierMerged.staging-in":18544,"Graphics.BarrierMerged.staging-out":21896,"Graphics.BarrierMerged.storage-writeback":13668,"Graphics.Copy":96430,"Graphics.Copy.bytes":17607511912,"Graphics.RenderPass":168163,"Graphics.RenderPass.Close.command":54888,"Graphics.RenderPass.Close.image":66780,"Graphics.RenderPass.Close.key":11855,"Graphics.RenderPass.Close.label":897,"Graphics.RenderPass.Close.new-batch":33741,"Graphics.RenderPass.Continued":2293420},"trace_dropped":false,"trace":"aps5-trace-2e48261498ab-42352.json.gz"} {"commit":"169617ba0728","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":5151,"ms":60043.986},"presents":897,"frame_ms":{"p50":66.912,"p90":70.458,"p99":81.161,"max":89.952},"gpu_busy_ms_per_present":24.253,"worker_busy_pct":{"queue worker 0x0":93.594},"phase_totals_ms":{"Driver.Completion":0.407,"Driver.Dispatch":7525.86,"Driver.Dispatch.capture_resources":256.555,"Driver.Dispatch.decode_key_device_setup":99.74,"Driver.Dispatch.lookup_cache":2196.316,"Driver.Dispatch.materialize":44.937,"Driver.Dispatch.prepared_invocation":164.721,"Driver.Draw":35676.78,"Driver.Draw.device_setup":1853.55,"Driver.Draw.draw_enqueued":65.04,"Driver.Draw.draw_handed_off":7089.253,"Driver.Draw.post_compile_prepare":4.384,"Driver.Draw.prepare":26223.74,"Driver.Draw.shader_compile_and_link":224.966,"Driver.DrawFinish":30472.378,"Driver.DrawFinish.draw_enqueued":11197.121,"Driver.DrawFinish.post_compile_prepare":405.827,"Driver.DrawFinish.shader_compile_and_link":18612.027,"Driver.EndSubmission":603.385,"Driver.Packet":53314.38,"Driver.Packet.device_lock":557.324,"Driver.Packet.dispatch":7553.658,"Driver.Packet.draw":36093.263,"Driver.Packet.execute":3272.09,"Driver.Packet.flip_flush":25.267,"Driver.Packet.flush_between_packets":1325.061,"Driver.Packet.memory_wait":15.353,"Driver.Packet.pipeline_drain":988.432,"Driver.Packet.pipeline_prepare":786.802,"Driver.Packet.prepare_memory":688.361,"Driver.Packet.rendering_wait":0.529,"Driver.Present":5333.472,"Driver.Present.acquire_image":2009.964,"Driver.Present.device_setup":0.364,"Driver.Present.gpu_mutex_wait":53.538,"Driver.Present.inflight_wait":1.881,"Driver.Present.present_display_buffer":98.813,"Driver.Present.queue_present":1565.588,"Driver.Present.release_and_callback":1.081,"Driver.Present.render_fence_wait":1600.144,"Driver.Present.resize":1.287,"Driver.Present.validate":0.24,"Driver.Rewind":2279.032,"Driver.Suspend":0.209,"GpuMutex.wait.dispatch":5.257,"GpuMutex.wait.draw":187.966,"GpuMutex.wait.end":1.386,"GpuMutex.wait.fill":0.131,"GpuMutex.wait.flush":7.129,"GpuMutex.wait.label":13.889,"GpuMutex.wait.other":8.181,"GpuMutex.wait.present":51.469,"Graphics.Draw":38763.284,"Graphics.Draw.draw_and_resource_release":33293.167,"Graphics.Draw.index_upload":1515.124,"Graphics.Draw.validate":1628.745,"Graphics.Draw.vertex_upload":1866.3,"Graphics.DrawWithRecipe":3324.828,"Graphics.DrawWithRecipe.draw_and_resource_release":2983.654,"Graphics.DrawWithRecipe.index_upload":15.189,"Graphics.DrawWithRecipe.validate":74.906,"Graphics.DrawWithRecipe.vertex_upload":211.811,"Recorder.Reap":998.173,"Recorder.Submit":2811.592,"Recorder.Sync":1231.109,"Recorder.WaitSerial":896.029,"Resources.Complete":310.809,"Resources.Prepare":312.355,"Shader.DrawStage":17025.612,"Shader.DrawStage.capture_resources":9016.601,"Shader.DrawStage.materialize":5116.335,"Shader.DrawStage.prepared_invocation":2667.867,"Shader.ResolveGraphicsStagesAbi":16.292,"VideoOut.Flip":5447.285,"VideoOut.Flip.completion_mutex_wait":1.235,"VideoOut.Flip.config_mutex_wait":0.099,"VideoOut.Flip.frame_limit":0.346,"VideoOut.Flip.notify_game":17.703,"VideoOut.Flip.present":5337.249,"VideoOut.Flip.validate":0.875,"VideoOut.Flip.vblank_wait":0.579,"VideoOut.Flip.window_prepare":1.136,"VideoOut.Flip.window_title":87.492,"VideoOut.Readiness":1.794,"VideoOut.Readiness.locks_validate":0.721,"Vulkan.Acquire":2009.063,"Vulkan.Acquire.acquire_fence_wait":1934.499,"Vulkan.Acquire.acquire_image":71.091,"Vulkan.Acquire.fence_reset":1.671,"Vulkan.Acquire.retired_swapchains":1.421,"Vulkan.Dispatch":880.646,"Vulkan.Dispatch.command_record":239.963,"Vulkan.Dispatch.shader_resources":629.926,"Vulkan.DispatchRecipe":303.493,"Vulkan.DispatchRecipe.command_record":301.048,"Vulkan.DrawFromRecipe":3400.585,"Vulkan.Present":55.154,"Vulkan.Present.command_record_scale":18.946,"Vulkan.Present.pixel_upload":22.144,"Vulkan.Present.queue_submit":13.699,"Vulkan.QueuePresent":1564.106,"Vulkan.QueuePresent.queue_present":1562.559,"Vulkan.Retire":1599.422,"Vulkan.Retire.wait":1588.311},"top_phases_ms_per_frame":{"Driver.Packet":59.436,"Graphics.Draw":43.214,"Driver.Packet.draw":40.238,"Driver.Draw":39.773,"Graphics.Draw.draw_and_resource_release":37.116,"Driver.DrawFinish":33.971,"Driver.Draw.prepare":29.235,"Driver.DrawFinish.shader_compile_and_link":20.749},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":8499,"Graphics.Barrier.dcc-clear":10764,"Graphics.Barrier.dcc-keys":7176,"Graphics.Barrier.dispatch-lead":26624,"Graphics.Barrier.dispatch-trail":63846,"Graphics.Barrier.draw":458719,"Graphics.Barrier.fill":10818,"Graphics.Barrier.fill-clear":1794,"Graphics.Barrier.indirect-args":6279,"Graphics.Barrier.label-run":364633,"Graphics.Barrier.present-blit":3588,"Graphics.Barrier.shadow-publish":1802,"Graphics.Barrier.staging-in":56165,"Graphics.Barrier.staging-out":26105,"Graphics.Barrier.storage-upload":32468,"Graphics.Barrier.storage-writeback":106506,"Graphics.BarrierMerged.dispatch-lead":49780,"Graphics.BarrierMerged.fill":5400,"Graphics.BarrierMerged.label-run":1043,"Graphics.BarrierMerged.shadow-publish":1802,"Graphics.BarrierMerged.staging-in":22150,"Graphics.BarrierMerged.staging-out":26105,"Graphics.BarrierMerged.storage-writeback":16247,"Graphics.Copy":114953,"Graphics.Copy.bytes":20990484848,"Graphics.RenderPass":202076,"Graphics.RenderPass.Close.command":67142,"Graphics.RenderPass.Close.image":79757,"Graphics.RenderPass.Close.key":14187,"Graphics.RenderPass.Close.label":1043,"Graphics.RenderPass.Close.new-batch":39942,"Graphics.RenderPass.Continued":2709047},"trace_dropped":false,"trace":"aps5-trace-169617ba0728-51740.json.gz"} ``` - Every target builds. On this machine Windows Defender removes 34 freshly linked shader recompiler tools and tests right after their link (a false positive), and `main`'s `UploadCacheReadOnlyFlush.cpp` does not compile with MinGW (`setenv`); neither is touched by this PR. - The focused draw, pipeline and finisher tests pass with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`: 74 on this PR (the same tests plus the `_no_draw_pipeline` variants and the shutdown and queued-dump tests) and 49 on `main`. The layer was loaded, no `VUID-` on either arm. - `tools/check_conventions.py` passes. - Before the merge of `main`, `APS5_VERIFY_DRAW_PIPELINE=1` in the same title checked 16,975 reused epoch proofs against the full check at 9b8f0d7e32: 0 failed. <details> <summary>trace_digest: main 2e48261498</summary> **seconds 240:60** from present 4723: 753 presents, frame p50 78.9 / p90 83.8 / p99 90.3 / max 102.2 ms, GPU busy 24.3 ms per present AMD Radeon RX 7900 XTX, AMD proprietary driver 26.10.1 (LLPC), Windows 10.0.26300, 3840x2160, commit 2e48261498ab, dropped: no ```json {"commit":"2e48261498ab","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":4723,"ms":60063.081},"presents":753,"frame_ms":{"p50":78.909,"p90":83.768,"p99":90.321,"max":102.167},"gpu_busy_ms_per_present":24.344,"worker_busy_pct":{"queue worker 0x0":96.85},"phase_totals_ms":{"Driver.Completion":0.335,"Driver.Dispatch":6796.411,"Driver.Dispatch.capture_resources":208.125,"Driver.Dispatch.decode_key_device_setup":83.246,"Driver.Dispatch.lookup_cache":2332.279,"Driver.Dispatch.materialize":35.595,"Driver.Dispatch.prepared_invocation":185.502,"Driver.Draw":40402.516,"Driver.Draw.device_setup":1686.183,"Driver.Draw.draw_enqueued":11053.035,"Driver.Draw.post_compile_prepare":295.146,"Driver.Draw.prepare":4628.081,"Driver.Draw.shader_compile_and_link":21831.434,"Driver.EndSubmission":537.103,"Driver.Packet":55681.312,"Driver.Packet.device_lock":465.662,"Driver.Packet.dispatch":6818.989,"Driver.Packet.draw":40856.667,"Driver.Packet.execute":1827.338,"Driver.Packet.flip_flush":20.788,"Driver.Packet.flush_between_packets":1072.294,"Driver.Packet.memory_wait":13.186,"Driver.Packet.pipeline_drain":716.064,"Driver.Packet.pipeline_prepare":712.728,"Driver.Packet.prepare_memory":589.124,"Driver.Packet.rendering_wait":0.447,"Driver.Present":4473.504,"Driver.Present.acquire_image":1734.96,"Driver.Present.device_setup":0.275,"Driver.Present.gpu_mutex_wait":82.04,"Driver.Present.inflight_wait":1.617,"Driver.Present.present_display_buffer":82.536,"Driver.Present.queue_present":1314.98,"Driver.Present.release_and_callback":0.982,"Driver.Present.render_fence_wait":1254.394,"Driver.Present.resize":1.059,"Driver.Present.validate":0.211,"Driver.Rewind":1952.069,"Driver.Suspend":0.173,"GpuMutex.wait.dispatch":5.667,"GpuMutex.wait.draw":97.976,"GpuMutex.wait.end":1.032,"GpuMutex.wait.fill":0.455,"GpuMutex.wait.flush":6.613,"GpuMutex.wait.label":10.705,"GpuMutex.wait.other":13.429,"GpuMutex.wait.present":80.275,"Graphics.Draw":44571.827,"Graphics.Draw.draw_and_resource_release":38393.74,"Graphics.Draw.index_upload":1362.045,"Graphics.Draw.validate":2579.728,"Graphics.Draw.vertex_upload":1742.193,"Graphics.DrawWithRecipe":796.173,"Graphics.DrawWithRecipe.draw_and_resource_release":723.723,"Graphics.DrawWithRecipe.index_upload":4.593,"Graphics.DrawWithRecipe.validate":16.884,"Graphics.DrawWithRecipe.vertex_upload":42.79,"Recorder.Reap":800.173,"Recorder.Submit":2313.563,"Recorder.Sync":973.791,"Recorder.WaitSerial":744.772,"Resources.Complete":252.062,"Resources.Prepare":258.808,"Shader.DrawStage":15758.172,"Shader.DrawStage.capture_resources":8304.316,"Shader.DrawStage.materialize":4769.179,"Shader.DrawStage.prepared_invocation":2473.158,"Shader.ResolveGraphicsStagesAbi":13.676,"VideoOut.Flip":4578.341,"VideoOut.Flip.completion_mutex_wait":0.984,"VideoOut.Flip.config_mutex_wait":0.081,"VideoOut.Flip.frame_limit":0.319,"VideoOut.Flip.notify_game":23.455,"VideoOut.Flip.present":4477.149,"VideoOut.Flip.validate":0.75,"VideoOut.Flip.vblank_wait":0.475,"VideoOut.Flip.window_prepare":1.005,"VideoOut.Flip.window_title":73.59,"VideoOut.Readiness":1.309,"VideoOut.Readiness.locks_validate":0.596,"Vulkan.Acquire":1734.226,"Vulkan.Acquire.acquire_fence_wait":1671.354,"Vulkan.Acquire.acquire_image":59.99,"Vulkan.Acquire.fence_reset":1.396,"Vulkan.Acquire.retired_swapchains":1.179,"Vulkan.Dispatch":729.194,"Vulkan.Dispatch.command_record":198.173,"Vulkan.Dispatch.shader_resources":521.66,"Vulkan.DispatchRecipe":256.92,"Vulkan.DispatchRecipe.command_record":254.788,"Vulkan.DrawFromRecipe":812.79,"Vulkan.Present":45.122,"Vulkan.Present.command_record_scale":15.7,"Vulkan.Present.pixel_upload":18.467,"Vulkan.Present.queue_submit":10.634,"Vulkan.QueuePresent":1313.75,"Vulkan.QueuePresent.queue_present":1312.382,"Vulkan.Retire":1254.083,"Vulkan.Retire.wait":1245.221},"top_phases_ms_per_frame":{"Driver.Packet":73.946,"Graphics.Draw":59.192,"Driver.Packet.draw":54.259,"Driver.Draw":53.655,"Graphics.Draw.draw_and_resource_release":50.988,"Driver.Draw.shader_compile_and_link":28.993,"Shader.DrawStage":20.927,"Driver.Draw.draw_enqueued":14.679},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":7302,"Graphics.Barrier.dcc-clear":7530,"Graphics.Barrier.dcc-keys":6024,"Graphics.Barrier.dispatch-lead":22374,"Graphics.Barrier.dispatch-trail":53590,"Graphics.Barrier.draw":382133,"Graphics.Barrier.fill":9077,"Graphics.Barrier.fill-clear":1506,"Graphics.Barrier.indirect-args":5271,"Graphics.Barrier.label-run":305443,"Graphics.Barrier.present-blit":3012,"Graphics.Barrier.shadow-publish":1538,"Graphics.Barrier.staging-in":47144,"Graphics.Barrier.staging-out":21896,"Graphics.Barrier.storage-upload":27218,"Graphics.Barrier.storage-writeback":89506,"Graphics.BarrierMerged.dispatch-lead":41758,"Graphics.BarrierMerged.fill":4525,"Graphics.BarrierMerged.label-run":897,"Graphics.BarrierMerged.shadow-publish":1538,"Graphics.BarrierMerged.staging-in":18544,"Graphics.BarrierMerged.staging-out":21896,"Graphics.BarrierMerged.storage-writeback":13668,"Graphics.Copy":96430,"Graphics.Copy.bytes":17607511912,"Graphics.RenderPass":168163,"Graphics.RenderPass.Close.command":54888,"Graphics.RenderPass.Close.image":66780,"Graphics.RenderPass.Close.key":11855,"Graphics.RenderPass.Close.label":897,"Graphics.RenderPass.Close.new-batch":33741,"Graphics.RenderPass.Continued":2293420},"trace_dropped":false,"trace":"aps5-trace-2e48261498ab-42352.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 5328: 102.2 ms at 48272 ms: Driver.Packet (queue worker 0x0) 60.1, Graphics.Draw (draw committer) 51.9, Graphics.Draw.draw_and_resource_release (draw committer) 45.4, Driver.Packet.draw (queue worker 0x0) 43.0 - present 5077: 99.1 ms at 28210 ms: Driver.Packet (queue worker 0x0) 57.0, Graphics.Draw (draw committer) 50.1, Graphics.Draw.draw_and_resource_release (draw committer) 42.5, Driver.Packet.draw (queue worker 0x0) 41.9 - present 5091: 98.0 ms at 29323 ms: Driver.Packet (queue worker 0x0) 57.2, Driver.Packet.draw (queue worker 0x0) 44.6, Driver.Draw (queue worker 0x0) 43.8, Graphics.Draw (draw committer) 40.8 - present 5009: 97.5 ms at 22767 ms: Driver.Packet (queue worker 0x0) 58.2, Graphics.Draw (draw committer) 50.9, Driver.Packet.draw (queue worker 0x0) 44.3, Graphics.Draw.draw_and_resource_release (draw committer) 44.1 - present 5379: 95.2 ms at 52299 ms: Driver.Packet (queue worker 0x0) 55.7, Graphics.Draw (draw committer) 52.5, Graphics.Draw.draw_and_resource_release (draw committer) 45.6, Driver.Packet.draw (queue worker 0x0) 40.9 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 5328: 102.2 ms at 48272 ms, persistence 30.2 ms - present 5077: 99.1 ms at 28210 ms, persistence 24.8 ms - present 5091: 98.0 ms at 29323 ms, persistence 22.7 ms - present 5009: 97.5 ms at 22767 ms, persistence 22.2 ms - present 4807: 93.7 ms at 6800 ms, persistence 21.8 ms - present 5379: 95.2 ms at 52299 ms, persistence 20.3 ms - present 5277: 90.3 ms at 44203 ms, persistence 14.9 ms - present 4823: 89.9 ms at 8100 ms, persistence 14.2 ms - present 4774: 89.9 ms at 4113 ms, persistence 13.1 ms - present 5163: 86.8 ms at 35156 ms, persistence 11.7 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.0 (0 %) | 0.0 (0 %) | 79.8 | 0.0 | Shader.ResolveGraphicsStagesAbi 0.0 | | queue worker 0x0 | 41.8 (52 %) | 0.8 (1 %) | 37.1 | 175.9 | Driver.Packet 39.5, Driver.Rewind 2.4 | | title | 0.0 (0 %) | 0.0 (0 %) | 79.7 | 0.0 | | | draw committer | 38.0 (48 %) | 0.4 (0 %) | 41.4 | 58.3 | Graphics.Draw 34.9, Recorder.Submit 2.4 | | presenter | 2.1 (3 %) | 4.0 (5 %) | 73.7 | 0.0 | VideoOut.Flip 6.1 | | gpu | 24.3 (31 %) | 0.0 (0 %) | 55.4 | 0.0 | batch 24.3 | **Largest slices** (ms per frame, inclusive, all threads): Driver.Packet 39.5, Graphics.Draw 34.9, Graphics.Draw.draw_and_resource_release 28.9, Driver.Packet.draw 27.0, Driver.Draw 26.5, batch 24.3, Driver.Packet.dispatch 8.8, Driver.Dispatch 8.7, Driver.Draw.shader_compile_and_link 7.2, VideoOut.Flip 6.1 **Longest waits** - GpuMutex.wait.other (title) 8.5 ms at 28215 ms, present 5077 - Driver.Present.gpu_mutex_wait (presenter) 7.1 ms at 42543 ms, present 5256 - GpuMutex.wait.draw (draw committer) 4.6 ms at 22772 ms, present 5009 - Driver.Present.render_fence_wait (presenter) 4.4 ms at 10087 ms, present 4848 - Driver.Present.render_fence_wait (presenter) 4.4 ms at 17401 ms, present 4941 - Driver.Present.render_fence_wait (presenter) 4.2 ms at 2099 ms, present 4749 - Driver.Present.render_fence_wait (presenter) 4.0 ms at 20145 ms, present 4976 - Driver.Present.render_fence_wait (presenter) 4.0 ms at 44701 ms, present 5283 - Driver.Present.render_fence_wait (presenter) 3.9 ms at 34279 ms, present 5152 - Driver.Present.render_fence_wait (presenter) 3.9 ms at 25331 ms, present 5041 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 253589: 4.5 ms at 25561 ms, present 5044: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.2, Graphics.Draw.draw_and_resource_release (draw committer) 0.2 - batch 246564: 4.3 ms at 20143 ms, present 4976: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.2, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0 - batch 248847: 4.2 ms at 21891 ms, present 4997: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.5, Graphics.Draw.draw_and_resource_release (draw committer) 0.4, Recorder.Submit (draw committer) 0.1 - batch 253283: 4.0 ms at 25328 ms, present 5041: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 264725: 4.0 ms at 34276 ms, present 5152: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.4, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 </details> <details> <summary>trace_digest: this PR 169617ba07</summary> **seconds 240:60** from present 5151: 897 presents, frame p50 66.9 / p90 70.5 / p99 81.2 / max 90.0 ms, GPU busy 24.3 ms per present AMD Radeon RX 7900 XTX, AMD proprietary driver 26.10.1 (LLPC), Windows 10.0.26300, 3840x2160, commit 169617ba0728, dropped: no ```json {"commit":"169617ba0728","dirty":false,"env":{"APS5_LOG_TIMESTAMPS":"1","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PIPELINED_DRAWS":"32","APS5_PIPELINE_DISPATCH":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_SECONDS":"240:60","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 7900 XTX","driver":"AMD proprietary driver 26.10.1 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 7800X3D 8-Core Processor","cpu_threads":16,"memory_mib":31860,"title_id":"PPSA04264","title":"<withheld>","content_version":"01.011.001","resolution":"3840x2160","window":{"spec":"seconds 240:60","first_present":5151,"ms":60043.986},"presents":897,"frame_ms":{"p50":66.912,"p90":70.458,"p99":81.161,"max":89.952},"gpu_busy_ms_per_present":24.253,"worker_busy_pct":{"queue worker 0x0":93.594},"phase_totals_ms":{"Driver.Completion":0.407,"Driver.Dispatch":7525.86,"Driver.Dispatch.capture_resources":256.555,"Driver.Dispatch.decode_key_device_setup":99.74,"Driver.Dispatch.lookup_cache":2196.316,"Driver.Dispatch.materialize":44.937,"Driver.Dispatch.prepared_invocation":164.721,"Driver.Draw":35676.78,"Driver.Draw.device_setup":1853.55,"Driver.Draw.draw_enqueued":65.04,"Driver.Draw.draw_handed_off":7089.253,"Driver.Draw.post_compile_prepare":4.384,"Driver.Draw.prepare":26223.74,"Driver.Draw.shader_compile_and_link":224.966,"Driver.DrawFinish":30472.378,"Driver.DrawFinish.draw_enqueued":11197.121,"Driver.DrawFinish.post_compile_prepare":405.827,"Driver.DrawFinish.shader_compile_and_link":18612.027,"Driver.EndSubmission":603.385,"Driver.Packet":53314.38,"Driver.Packet.device_lock":557.324,"Driver.Packet.dispatch":7553.658,"Driver.Packet.draw":36093.263,"Driver.Packet.execute":3272.09,"Driver.Packet.flip_flush":25.267,"Driver.Packet.flush_between_packets":1325.061,"Driver.Packet.memory_wait":15.353,"Driver.Packet.pipeline_drain":988.432,"Driver.Packet.pipeline_prepare":786.802,"Driver.Packet.prepare_memory":688.361,"Driver.Packet.rendering_wait":0.529,"Driver.Present":5333.472,"Driver.Present.acquire_image":2009.964,"Driver.Present.device_setup":0.364,"Driver.Present.gpu_mutex_wait":53.538,"Driver.Present.inflight_wait":1.881,"Driver.Present.present_display_buffer":98.813,"Driver.Present.queue_present":1565.588,"Driver.Present.release_and_callback":1.081,"Driver.Present.render_fence_wait":1600.144,"Driver.Present.resize":1.287,"Driver.Present.validate":0.24,"Driver.Rewind":2279.032,"Driver.Suspend":0.209,"GpuMutex.wait.dispatch":5.257,"GpuMutex.wait.draw":187.966,"GpuMutex.wait.end":1.386,"GpuMutex.wait.fill":0.131,"GpuMutex.wait.flush":7.129,"GpuMutex.wait.label":13.889,"GpuMutex.wait.other":8.181,"GpuMutex.wait.present":51.469,"Graphics.Draw":38763.284,"Graphics.Draw.draw_and_resource_release":33293.167,"Graphics.Draw.index_upload":1515.124,"Graphics.Draw.validate":1628.745,"Graphics.Draw.vertex_upload":1866.3,"Graphics.DrawWithRecipe":3324.828,"Graphics.DrawWithRecipe.draw_and_resource_release":2983.654,"Graphics.DrawWithRecipe.index_upload":15.189,"Graphics.DrawWithRecipe.validate":74.906,"Graphics.DrawWithRecipe.vertex_upload":211.811,"Recorder.Reap":998.173,"Recorder.Submit":2811.592,"Recorder.Sync":1231.109,"Recorder.WaitSerial":896.029,"Resources.Complete":310.809,"Resources.Prepare":312.355,"Shader.DrawStage":17025.612,"Shader.DrawStage.capture_resources":9016.601,"Shader.DrawStage.materialize":5116.335,"Shader.DrawStage.prepared_invocation":2667.867,"Shader.ResolveGraphicsStagesAbi":16.292,"VideoOut.Flip":5447.285,"VideoOut.Flip.completion_mutex_wait":1.235,"VideoOut.Flip.config_mutex_wait":0.099,"VideoOut.Flip.frame_limit":0.346,"VideoOut.Flip.notify_game":17.703,"VideoOut.Flip.present":5337.249,"VideoOut.Flip.validate":0.875,"VideoOut.Flip.vblank_wait":0.579,"VideoOut.Flip.window_prepare":1.136,"VideoOut.Flip.window_title":87.492,"VideoOut.Readiness":1.794,"VideoOut.Readiness.locks_validate":0.721,"Vulkan.Acquire":2009.063,"Vulkan.Acquire.acquire_fence_wait":1934.499,"Vulkan.Acquire.acquire_image":71.091,"Vulkan.Acquire.fence_reset":1.671,"Vulkan.Acquire.retired_swapchains":1.421,"Vulkan.Dispatch":880.646,"Vulkan.Dispatch.command_record":239.963,"Vulkan.Dispatch.shader_resources":629.926,"Vulkan.DispatchRecipe":303.493,"Vulkan.DispatchRecipe.command_record":301.048,"Vulkan.DrawFromRecipe":3400.585,"Vulkan.Present":55.154,"Vulkan.Present.command_record_scale":18.946,"Vulkan.Present.pixel_upload":22.144,"Vulkan.Present.queue_submit":13.699,"Vulkan.QueuePresent":1564.106,"Vulkan.QueuePresent.queue_present":1562.559,"Vulkan.Retire":1599.422,"Vulkan.Retire.wait":1588.311},"top_phases_ms_per_frame":{"Driver.Packet":59.436,"Graphics.Draw":43.214,"Driver.Packet.draw":40.238,"Driver.Draw":39.773,"Graphics.Draw.draw_and_resource_release":37.116,"Driver.DrawFinish":33.971,"Driver.Draw.prepare":29.235,"Driver.DrawFinish.shader_compile_and_link":20.749},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":8499,"Graphics.Barrier.dcc-clear":10764,"Graphics.Barrier.dcc-keys":7176,"Graphics.Barrier.dispatch-lead":26624,"Graphics.Barrier.dispatch-trail":63846,"Graphics.Barrier.draw":458719,"Graphics.Barrier.fill":10818,"Graphics.Barrier.fill-clear":1794,"Graphics.Barrier.indirect-args":6279,"Graphics.Barrier.label-run":364633,"Graphics.Barrier.present-blit":3588,"Graphics.Barrier.shadow-publish":1802,"Graphics.Barrier.staging-in":56165,"Graphics.Barrier.staging-out":26105,"Graphics.Barrier.storage-upload":32468,"Graphics.Barrier.storage-writeback":106506,"Graphics.BarrierMerged.dispatch-lead":49780,"Graphics.BarrierMerged.fill":5400,"Graphics.BarrierMerged.label-run":1043,"Graphics.BarrierMerged.shadow-publish":1802,"Graphics.BarrierMerged.staging-in":22150,"Graphics.BarrierMerged.staging-out":26105,"Graphics.BarrierMerged.storage-writeback":16247,"Graphics.Copy":114953,"Graphics.Copy.bytes":20990484848,"Graphics.RenderPass":202076,"Graphics.RenderPass.Close.command":67142,"Graphics.RenderPass.Close.image":79757,"Graphics.RenderPass.Close.key":14187,"Graphics.RenderPass.Close.label":1043,"Graphics.RenderPass.Close.new-batch":39942,"Graphics.RenderPass.Continued":2709047},"trace_dropped":false,"trace":"aps5-trace-169617ba0728-51740.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 5385: 90.0 ms at 15859 ms: Graphics.Draw (draw committer) 42.5, Driver.Packet (queue worker 0x0) 40.4, Graphics.Draw.draw_and_resource_release (draw committer) 38.2, Driver.DrawFinish (draw finisher) 29.9 - present 5470: 88.4 ms at 21556 ms: Driver.Packet (queue worker 0x0) 44.8, Graphics.Draw (draw committer) 41.3, Graphics.Draw.draw_and_resource_release (draw committer) 37.1, Driver.Packet.draw (queue worker 0x0) 30.5 - present 5267: 87.1 ms at 7907 ms: Driver.Packet (queue worker 0x0) 42.2, Graphics.Draw (draw committer) 41.9, Graphics.Draw.draw_and_resource_release (draw committer) 38.0, Driver.Packet.draw (queue worker 0x0) 30.1 - present 5694: 83.9 ms at 36502 ms: Driver.Packet (queue worker 0x0) 38.5, Graphics.Draw (draw committer) 26.2, batch (gpu) 24.9, Graphics.Draw.draw_and_resource_release (draw committer) 22.8 - present 5950: 83.7 ms at 53487 ms: Graphics.Draw (draw committer) 41.7, Driver.Packet (queue worker 0x0) 40.0, Graphics.Draw.draw_and_resource_release (draw committer) 36.6, Driver.Packet.draw (queue worker 0x0) 27.3 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 5385: 90.0 ms at 15859 ms, persistence 29.1 ms - present 5470: 88.4 ms at 21556 ms, persistence 26.2 ms - present 5267: 87.1 ms at 7907 ms, persistence 24.4 ms - present 5950: 83.7 ms at 53487 ms, persistence 22.9 ms - present 5694: 83.9 ms at 36502 ms, persistence 22.8 ms - present 5347: 83.3 ms at 13292 ms, persistence 20.5 ms - present 5762: 81.2 ms at 40989 ms, persistence 20.2 ms - present 5186: 81.0 ms at 2357 ms, persistence 18.3 ms - present 5392: 83.0 ms at 16367 ms, persistence 18.1 ms - present 5532: 80.5 ms at 25773 ms, persistence 17.7 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.0 (0 %) | 0.0 (0 %) | 66.9 | 0.0 | Shader.ResolveGraphicsStagesAbi 0.0 | | queue worker 0x0 | 26.9 (40 %) | 0.8 (1 %) | 39.3 | 128.3 | Driver.Packet 24.8, Driver.Rewind 2.4 | | title | 0.0 (0 %) | 0.0 (0 %) | 66.9 | 0.0 | | | draw committer | 28.6 (43 %) | 0.4 (1 %) | 37.9 | 50.8 | Graphics.Draw 25.5, Recorder.Submit 2.5 | | draw finisher | 11.3 (17 %) | 0.0 (0 %) | 55.7 | 84.7 | Driver.DrawFinish 11.3 | | presenter | 2.1 (3 %) | 4.0 (6 %) | 60.9 | 0.1 | VideoOut.Flip 6.1 | | gpu | 24.3 (36 %) | 0.0 (0 %) | 42.7 | 0.0 | batch 24.3 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 25.5, Driver.Packet 24.8, batch 24.3, Graphics.Draw.draw_and_resource_release 21.9, Driver.Packet.draw 13.5, Driver.Draw 13.3, Driver.DrawFinish 11.3, Driver.Draw.prepare 9.1, Driver.Packet.dispatch 8.1, Driver.Dispatch 8.1 **Longest waits** - GpuMutex.wait.draw (draw committer) 4.7 ms at 15864 ms, present 5385 - Driver.Present.render_fence_wait (presenter) 3.7 ms at 49103 ms, present 5884 - Driver.Present.render_fence_wait (presenter) 3.7 ms at 3481 ms, present 5202 - Driver.Present.render_fence_wait (presenter) 3.6 ms at 44325 ms, present 5812 - Driver.Present.render_fence_wait (presenter) 3.5 ms at 36109 ms, present 5688 - Driver.Present.render_fence_wait (presenter) 3.5 ms at 12533 ms, present 5336 - Driver.Present.render_fence_wait (presenter) 3.4 ms at 9990 ms, present 5298 - GpuMutex.wait.draw (draw committer) 3.4 ms at 21562 ms, present 5470 - Driver.Present.render_fence_wait (presenter) 3.4 ms at 30484 ms, present 5602 - GpuMutex.wait.draw (draw committer) 3.4 ms at 40995 ms, present 5762 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 345364: 4.9 ms at 57244 ms, present 6005: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0 - batch 314890: 4.5 ms at 37639 ms, present 5710: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 334809: 4.5 ms at 50415 ms, present 5903: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.1 - batch 318093: 4.5 ms at 39659 ms, present 5741: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 299491: 4.5 ms at 27838 ms, present 5561: GPU no ranges; recorded by Graphics.Draw (draw committer) 0.3, Graphics.Draw.draw_and_resource_release (draw committer) 0.2, Recorder.Submit (draw committer) 0.0 </details> ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: AMD Radeon RX 7900 XTX, AMD Software 26.10.1 (32.0.32015.7029), Windows 11 Pro 26300 - [x] AI-assisted: yes
XairRrR commented 2026-11-03 20:23:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T20:23:23Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Merged onto current main, the PR makes agc_driver_queued_constant_ram_dump fail on every run: a draw reads a stale constant-RAM table. main has the same failure under APS5_DRAW_PIPELINE=1, so the finisher already had this bug, and this PR makes it the default path.

What I ran

Head 9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47, main 086c0686c8adff3ee648fdbe34e0b0b647e1d511, merged tree 1399eec3d931d7d63ecd70c6838ecaae6f2bef43, on Debian 13 (VM, Xeon Gold 6136), GCC 14.2.0, lavapipe (Mesa 26.1.6, LLVM 19).

git diff --check 086c0686c8adff3ee648fdbe34e0b0b647e1d511...9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47
python3 tools/check_conventions.py --base 086c0686c8adff3ee648fdbe34e0b0b647e1d511
# three runs each
ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_queued_constant_ram_dump$'
APS5_NO_DRAW_PIPELINE=1 ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_queued_constant_ram_dump$'
# negative control: production files restored from main, then with and without APS5_DRAW_PIPELINE=1
ninja -C build agc_driver_queued_constant_ram_dump_tests agc_driver_draw_recapture_on_change_tests agc_driver_draw_unsupported_buffer_type_tests agc_driver_draw_data_hit_user_words_tests agc_driver_pipelined_metadata_pass_tests
ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_(queued_constant_ram_dump|draw_recapture_on_change.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|pipelined_metadata_pass.*)$'
# merged tree restored, with the validation layer
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_NO_SHADER_CACHE=1 ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j8 -R '^agc_driver_(queued_constant_ram_dump|draw_recapture_on_change.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|pipelined_metadata_pass.*|image_table_cache_bounds|lazy_resolved_abi|linear_target_direct_write_completion)$'

Results

Check Result
Merge into main clean
git diff --check clean
check_conventions.py passed
Configure, build, libs passed
Selected tests (2265) 1 new failure: agc_driver_queued_constant_ram_dump. The 7 known failures also fail on main.
queued_constant_ram_dump, merged tree, default environment failed 3 of 3 runs
queued_constant_ram_dump, merged tree, APS5_NO_DRAW_PIPELINE=1 passed 3 of 3 runs
queued_constant_ram_dump, main's production files, default / APS5_DRAW_PIPELINE=1 passed / failed
check_skips.py agc_driver_pipelined_metadata_pass_no_draw_pipeline skipped unexpectedly (see non-blocking)
Validation layer (script, 802 tests, layer loaded in 801, none missing) New VUIDs only in agc_driver_image_gather_volume (VUID-VkSamplerCreateInfo-addressMode*). main did not run that test, so there is no comparison for it (see Not verified).
Focused tests with the validation layer on the merged tree 17 passed. queued_constant_ram_dump failed. pipelined_metadata_pass_no_draw_pipeline skipped (on purpose). linear_target_direct_write_completion skipped on this device.
agc_driver_queued_constant_ram_dump on the merged tree
AGC graphics: queued constant RAM dump: draw 1 wrote 64, expected 255 (draw 0 reads the table before both dumps, draw 1 after the first, draw 2 after the second)

Negative control

I restored Driver.hpp, Execution/src/Driver/Draw/Draw.cpp, ShaderMemory.cpp and Graphics/src/Draw.cpp from main and rebuilt the affected test executables:

  • Default environment: the tests whose expectations now depend on the finisher being on by default fail as intended:

    • agc_driver_draw_data_hit_user_words
    • agc_driver_draw_data_hit_user_words_draw_pipeline
    • agc_driver_draw_unsupported_buffer_type
    • agc_driver_draw_unsupported_buffer_type_draw_pipeline
    • agc_driver_pipelined_metadata_pass
    • agc_driver_pipelined_metadata_pass_draw_pipeline
  • APS5_DRAW_PIPELINE=1 (finisher on, without the recapture and refused-draw fix): these fail, which shows the fix from commit 6e2c50b26e is needed and covered:

    • agc_driver_draw_recapture_on_change
    • agc_driver_draw_recapture_on_change_no_draw_pipeline
    • agc_driver_draw_unsupported_buffer_type_skip_refused
    • agc_driver_draw_unsupported_buffer_type_skip_refused_no_draw_pipeline

    agc_driver_queued_constant_ram_dump also fails in this run.

I then restored the merged files and rebuilt; git status --porcelain is empty.

Findings

Blocking

  • The default draw path now gives a wrong result for draws that read a table written by a queued DUMP_CONST_RAM. agc_driver_queued_constant_ram_dump (QueuedConstantRamDump.cpp#L243) fails on every run once the finisher is on. Draw 1 writes 64 instead of 255, meaning it read the descriptor table from before the first dump.
    • It passes with APS5_NO_DRAW_PIPELINE=1, and on main it fails only under APS5_DRAW_PIPELINE=1. The bug is in the finisher, and flipping the default at Graphics/src/Draw.cpp#L3989 makes it the default behaviour.
    • The test arrived on main after the baselines used in the description and in the NVIDIA run (1e65852). That likely explains why neither caught it. The claim "the ^agc_ suite has the same two failures as main" does not hold on current main.
    • Suggested fix: rebase. Then either make a draw finished on the finisher honour queued constant-RAM dumps (served capture words, or the capture drain the test expects), or finish such draws on the worker. Add agc_driver_queued_constant_ram_dump to the finisher and _no_draw_pipeline variants so the fix stays covered.

Non-blocking

  • The registration helper adds a test that always skips. agc_add_draw_pipeline_test now always registers <name>_no_draw_pipeline (CMakeLists.txt#L645-L646). PipelinedMetadataPass.cpp:122 returns VulkanTestSkipped under that switch, so agc_driver_pipelined_metadata_pass_no_draw_pipeline always skips, and tools/check_skips.py counts it as an unexpected skip. Suggested fix: give the helper an option to leave out the _no_draw_pipeline variant, or register the metadata pass test without it.
  • NVIDIA failures not reproduced here. The NVIDIA run reported 4 new SEGFAULTs: draw_recapture_on_change, image_table_cache_bounds, lazy_resolved_abi and linear_target_direct_write_completion. In each log the test prints its final "passed" line before the crash, which points at process teardown with the finisher thread alive. On lavapipe here the first three pass and linear_target_direct_write_completion skips, so I can neither confirm nor refute these. They should be explained or fixed before the finisher becomes the default, because NVIDIA users would hit them.
  • I checked the recursive retry in finishDraw → restartFinishedDraw → finishDraw (Draw.cpp#L1266-L1271). It is bounded: capturedMemoryChanged returns false while a RecaptureScope is active. No issue there.

Not verified

  • NVIDIA crashes: I have no NVIDIA hardware, so I could not run the tests that crashed there.
  • agc_driver_image_gather_volume VUIDs: main did not run this test in the validation baseline, so I could not tell whether its new VUID-VkSamplerCreateInfo-addressMode* lines are new. The PR does not touch sampler creation, so they are probably not caused by it, but I did not check.
  • Performance: I did not check the GTA V numbers or traces; I cannot launch titles. The description has two summary lines with different commits, as the rules require.
  • Windows: I did not run the build or tests there.

To get this to a good state

  1. Rebase on current main.
  2. Fix the finisher's handling of queued DUMP_CONST_RAM so that agc_driver_queued_constant_ram_dump passes with the finisher on, and register finisher and _no_draw_pipeline variants for it.
  3. Address or explain the NVIDIA teardown SEGFAULTs.
  4. Stop registering a _no_draw_pipeline variant that can only skip.
  5. Rerun the ^agc_ suite and the validation comparison against the rebased main, and update the description.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5758960786 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-5758960786). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T20:23:23Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Merged onto current `main`, the PR makes `agc_driver_queued_constant_ram_dump` fail on every run: a draw reads a stale constant-RAM table. `main` has the same failure under `APS5_DRAW_PIPELINE=1`, so the finisher already had this bug, and this PR makes it the default path. ## What I ran Head `9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47`, `main` `086c0686c8adff3ee648fdbe34e0b0b647e1d511`, merged tree `1399eec3d931d7d63ecd70c6838ecaae6f2bef43`, on Debian 13 (VM, Xeon Gold 6136), GCC 14.2.0, lavapipe (Mesa 26.1.6, LLVM 19). ``` git diff --check 086c0686c8adff3ee648fdbe34e0b0b647e1d511...9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47 python3 tools/check_conventions.py --base 086c0686c8adff3ee648fdbe34e0b0b647e1d511 # three runs each ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_queued_constant_ram_dump$' APS5_NO_DRAW_PIPELINE=1 ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_queued_constant_ram_dump$' # negative control: production files restored from main, then with and without APS5_DRAW_PIPELINE=1 ninja -C build agc_driver_queued_constant_ram_dump_tests agc_driver_draw_recapture_on_change_tests agc_driver_draw_unsupported_buffer_type_tests agc_driver_draw_data_hit_user_words_tests agc_driver_pipelined_metadata_pass_tests ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -R '^agc_driver_(queued_constant_ram_dump|draw_recapture_on_change.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|pipelined_metadata_pass.*)$' # merged tree restored, with the validation layer VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_NO_SHADER_CACHE=1 ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j8 -R '^agc_driver_(queued_constant_ram_dump|draw_recapture_on_change.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|pipelined_metadata_pass.*|image_table_cache_bounds|lazy_resolved_abi|linear_target_direct_write_completion)$' ``` ## Results | Check | Result | |---|---| | Merge into `main` | clean | | `git diff --check` | clean | | `check_conventions.py` | passed | | Configure, build, `libs` | passed | | Selected tests (2265) | 1 new failure: `agc_driver_queued_constant_ram_dump`. The 7 known failures also fail on `main`. | | `queued_constant_ram_dump`, merged tree, default environment | failed 3 of 3 runs | | `queued_constant_ram_dump`, merged tree, `APS5_NO_DRAW_PIPELINE=1` | passed 3 of 3 runs | | `queued_constant_ram_dump`, `main`'s production files, default / `APS5_DRAW_PIPELINE=1` | passed / **failed** | | `check_skips.py` | `agc_driver_pipelined_metadata_pass_no_draw_pipeline` skipped unexpectedly (see non-blocking) | | Validation layer (script, 802 tests, layer loaded in 801, none missing) | New VUIDs only in `agc_driver_image_gather_volume` (`VUID-VkSamplerCreateInfo-addressMode*`). `main` did not run that test, so there is no comparison for it (see Not verified). | | Focused tests with the validation layer on the merged tree | 17 passed. `queued_constant_ram_dump` failed. `pipelined_metadata_pass_no_draw_pipeline` skipped (on purpose). `linear_target_direct_write_completion` skipped on this device. | <details><summary>agc_driver_queued_constant_ram_dump on the merged tree</summary> ``` AGC graphics: queued constant RAM dump: draw 1 wrote 64, expected 255 (draw 0 reads the table before both dumps, draw 1 after the first, draw 2 after the second) ``` </details> ## Negative control I restored `Driver.hpp`, `Execution/src/Driver/Draw/Draw.cpp`, `ShaderMemory.cpp` and `Graphics/src/Draw.cpp` from `main` and rebuilt the affected test executables: - **Default environment:** the tests whose expectations now depend on the finisher being on by default fail as intended: - `agc_driver_draw_data_hit_user_words` - `agc_driver_draw_data_hit_user_words_draw_pipeline` - `agc_driver_draw_unsupported_buffer_type` - `agc_driver_draw_unsupported_buffer_type_draw_pipeline` - `agc_driver_pipelined_metadata_pass` - `agc_driver_pipelined_metadata_pass_draw_pipeline` - **`APS5_DRAW_PIPELINE=1` (finisher on, without the recapture and refused-draw fix):** these fail, which shows the fix from commit `6e2c50b26e` is needed and covered: - `agc_driver_draw_recapture_on_change` - `agc_driver_draw_recapture_on_change_no_draw_pipeline` - `agc_driver_draw_unsupported_buffer_type_skip_refused` - `agc_driver_draw_unsupported_buffer_type_skip_refused_no_draw_pipeline` `agc_driver_queued_constant_ram_dump` also fails in this run. I then restored the merged files and rebuilt; `git status --porcelain` is empty. ## Findings ### Blocking - **The default draw path now gives a wrong result for draws that read a table written by a queued `DUMP_CONST_RAM`.** `agc_driver_queued_constant_ram_dump` ([QueuedConstantRamDump.cpp#L243](https://github.com/boykopovar/AnyPS5/blob/086c0686c8adff3ee648fdbe34e0b0b647e1d511/core/libs/prx/libSceAgcDriver/tests/execution/QueuedConstantRamDump.cpp#L243)) fails on every run once the finisher is on. Draw 1 writes 64 instead of 255, meaning it read the descriptor table from before the first dump. - It passes with `APS5_NO_DRAW_PIPELINE=1`, and on `main` it fails only under `APS5_DRAW_PIPELINE=1`. The bug is in the finisher, and flipping the default at [Graphics/src/Draw.cpp#L3989](https://github.com/boykopovar/AnyPS5/blob/9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L3989) makes it the default behaviour. - The test arrived on `main` after the baselines used in the description and in the NVIDIA run (`1e65852`). That likely explains why neither caught it. The claim "the `^agc_` suite has the same two failures as `main`" does not hold on current `main`. - Suggested fix: rebase. Then either make a draw finished on the finisher honour queued constant-RAM dumps (served capture words, or the capture drain the test expects), or finish such draws on the worker. Add `agc_driver_queued_constant_ram_dump` to the finisher and `_no_draw_pipeline` variants so the fix stays covered. ### Non-blocking - **The registration helper adds a test that always skips.** `agc_add_draw_pipeline_test` now always registers `<name>_no_draw_pipeline` ([CMakeLists.txt#L645-L646](https://github.com/boykopovar/AnyPS5/blob/9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L645-L646)). `PipelinedMetadataPass.cpp:122` returns `VulkanTestSkipped` under that switch, so `agc_driver_pipelined_metadata_pass_no_draw_pipeline` always skips, and `tools/check_skips.py` counts it as an unexpected skip. Suggested fix: give the helper an option to leave out the `_no_draw_pipeline` variant, or register the metadata pass test without it. - **NVIDIA failures not reproduced here.** The NVIDIA run reported 4 new SEGFAULTs: `draw_recapture_on_change`, `image_table_cache_bounds`, `lazy_resolved_abi` and `linear_target_direct_write_completion`. In each log the test prints its final "passed" line before the crash, which points at process teardown with the finisher thread alive. On lavapipe here the first three pass and `linear_target_direct_write_completion` skips, so I can neither confirm nor refute these. They should be explained or fixed before the finisher becomes the default, because NVIDIA users would hit them. - I checked the recursive retry in `finishDraw` → `restartFinishedDraw` → `finishDraw` ([Draw.cpp#L1266-L1271](https://github.com/boykopovar/AnyPS5/blob/9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp#L1266-L1271)). It is bounded: `capturedMemoryChanged` returns false while a `RecaptureScope` is active. No issue there. ## Not verified - **NVIDIA crashes:** I have no NVIDIA hardware, so I could not run the tests that crashed there. - **`agc_driver_image_gather_volume` VUIDs:** `main` did not run this test in the validation baseline, so I could not tell whether its new `VUID-VkSamplerCreateInfo-addressMode*` lines are new. The PR does not touch sampler creation, so they are probably not caused by it, but I did not check. - **Performance:** I did not check the GTA V numbers or traces; I cannot launch titles. The description has two summary lines with different commits, as the rules require. - **Windows:** I did not run the build or tests there. ## To get this to a good state 1. Rebase on current `main`. 2. Fix the finisher's handling of queued `DUMP_CONST_RAM` so that `agc_driver_queued_constant_ram_dump` passes with the finisher on, and register finisher and `_no_draw_pipeline` variants for it. 3. Address or explain the NVIDIA teardown SEGFAULTs. 4. Stop registering a `_no_draw_pipeline` variant that can only skip. 5. Rerun the `^agc_` suite and the validation comparison against the rebased `main`, and update the description. <!-- anyps5-bots job=3489 head=9b8f0d7e3298f4ec475a759f3e9e30b7d13bea47 -->
XairRrR commented 2026-11-03 22:04:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T22:04:50Z.

Review: APPROVED


Re-checked — approved

All previous findings are resolved. The new commits make a finisher job run with the pipelined flag of the draw it finishes, join the draw finisher thread at shutdown, and let agc_add_draw_pipeline_test leave out the variant that can only skip. The focused tests pass, and each fix is covered by a test that fails without it.

What changed since my last review

  • The branch is rebased onto main 086c0686c8. Commit 4e4b0f11b4 is the same change as 6e2c50b26e (range-diff =).
  • New 060cddc3f7: a restarted finished draw starts again from its resolved draw parameters (tail.resolvedParameters). It re-snapshots unregistered program code that changed after capture. DrawRecaptureOnChange.cpp gains cases for changed raw code and for folding the vertex offset once.
  • New b8f163c606: DrawFinisher::Stop() drains the finisher and joins its thread, and Driver::stop() now calls it (Lifecycle.cpp#L192). Once stopped, a draw handed to the finisher runs on the caller. New test: agc_driver_shutdown_threads_draw_finisher.
  • New 77cd20649c: the finisher job sets DrawPipeline::Active() = job.pipelined (Draw.cpp#L750). agc_driver_queued_constant_ram_dump gains _draw_pipeline and _no_draw_pipeline variants.
  • 6330546a47: the helper takes PIPELINE_ONLY, and the metadata pass test uses it. The finisher assertion in DrawRecaptureOnChange.cpp is limited to Depth() != 0.
  • The author's reply addresses each point of my previous review. The description is updated (new main base, 3971-test suite, 91/116 validation runs).

What I ran

Head 6330546a47e6c4afda70b640f338678e6c9601a5, main 04a9eb4fa2877eb6e40bf2c83adf972e40d89b24, merged tree 729f064641b491c2bd1d42a1f25bb8f9b698fa91. Machine: Debian 13 (VM, Xeon Gold 6136), GCC 14.2.0, lavapipe (Mesa 26.1.6, LLVM 19).

git diff --check 04a9eb4fa2877eb6e40bf2c83adf972e40d89b24...6330546a47e6c4afda70b640f338678e6c9601a5
python3 tools/check_conventions.py --base 04a9eb4fa2877eb6e40bf2c83adf972e40d89b24
ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j8 --test-load 32 --repeat until-fail:3 --output-on-failure -R '^agc_driver_(queued_constant_ram_dump.*|shutdown_threads.*|draw_recapture_on_change.*|pipelined_metadata_pass.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|image_table_cache_bounds|lazy_resolved_abi.*|linear_target_direct_write_completion)$'
# negative control: drop the two new fixes, rebuild, run their tests
ninja -C build -j32 -l32 agc_driver_queued_constant_ram_dump_tests agc_driver_shutdown_threads_tests
ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j4 --output-on-failure -R '^agc_driver_(queued_constant_ram_dump.*|shutdown_threads_draw_finisher)$'
# restore the merged files, rebuild, rerun, git status --porcelain
Check Result
Merge into main clean
git diff --check clean
check_conventions.py passed
Configure, build, libs (script) passed
Selected tests (script, 2269) no new failures or timeouts. The 7 known failures also fail on main.
check_skips.py (script) 115 skips, all expected. The always-skipping _no_draw_pipeline variant is gone.
Focused tests, 31, 3 runs each all passed. linear_target_direct_write_completion skips on this device (as before).
Validation layer (script, 804 tests, layer loaded in 803, none missing) New VUID lines only in agc_driver_image_gather_volume, which the main baseline did not run (same as last time)

Negative control

In the merged tree I removed only the two new production lines and rebuilt both test executables:

  • DrawPipeline::Active() = job.pipelined; in Draw.cpp
  • DrawFinisher::Get().Stop(); in Lifecycle.cpp

Three tests then failed:

  • agc_driver_queued_constant_ram_dump
  • agc_driver_queued_constant_ram_dump_draw_pipeline
  • agc_driver_shutdown_threads_draw_finisher

agc_driver_queued_constant_ram_dump_no_draw_pipeline still passed, as expected. I then restored both files from the merged tree and rebuilt. All 4 tests pass, and git status --porcelain is empty.

Failure without the pipelined-flag fix
AGC graphics: queued constant RAM dump: draw 1 wrote 64, expected 255 (draw 0 reads the table before both dumps, draw 1 after the first, draw 2 after the second)

I did not repeat the negative control for 060cddc3f7 (restart from resolved parameters and changed raw code). Its new DrawRecaptureOnChange.cpp cases pass on all three variants.

Previous findings

  • Resolved: a queued DUMP_CONST_RAM was not seen by draws on the finisher. agc_driver_queued_constant_ram_dump and both its variants pass 3 of 3 runs. Without the Active() line, the default and _draw_pipeline variants fail with the same message as before.
  • Resolved: a _no_draw_pipeline variant that can only skip. The metadata pass test is registered with PIPELINE_ONLY, and check_skips.py reports no unexpected skip.
  • Resolved (the fix is verified here; the NVIDIA result is author-reported): NVIDIA teardown SEGFAULTs. The finisher thread was never joined. Stop() now joins it in Driver::stop() after Drain(). agc_driver_shutdown_threads_draw_finisher checks that the finisher's thread-local state is released, and it fails without the join. I have no NVIDIA hardware. The author reports that the four crashing tests are fixed, and a new NVIDIA CI run should confirm it.
  • No longer applies: the bounded recursion in finishDraw → restartFinishedDraw. It was not a defect. restartFinishedDraw now also refreshes changed raw program code, and the retry stays bounded through the same RecaptureScope guard.

New findings

Blocking

None.

Non-blocking

None. A note on the closing path: when the finisher is closing, DrawFinisher::Enqueue runs the job on the caller (DrawPipeline.cpp#L187). The finisher job then sets the caller's thread-local DrawPipeline::Active() and does not restore it. This only happens after Driver::stop() has joined the queue workers, so I found no reachable case where it matters.

Not verified

  • NVIDIA or other hardware vendors: I could not check the teardown fix there.
  • Performance: I did not check the GTA V numbers or traces. The description carries two summary lines with different commits, as required.
  • Validation of agc_driver_image_gather_volume: the main baseline did not run this test, so its VUID-VkSamplerCreateInfo-addressMode* lines could not be compared. The PR does not touch sampler creation.
  • Windows build and tests.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5760136061 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-5760136061). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T22:04:50Z. **Review:** APPROVED --- # Re-checked — approved All previous findings are resolved. The new commits make a finisher job run with the pipelined flag of the draw it finishes, join the draw finisher thread at shutdown, and let `agc_add_draw_pipeline_test` leave out the variant that can only skip. The focused tests pass, and each fix is covered by a test that fails without it. ## What changed since my last review - The branch is rebased onto `main` `086c0686c8`. Commit `4e4b0f11b4` is the same change as `6e2c50b26e` (range-diff `=`). - New `060cddc3f7`: a restarted finished draw starts again from its resolved draw parameters (`tail.resolvedParameters`). It re-snapshots unregistered program code that changed after capture. `DrawRecaptureOnChange.cpp` gains cases for changed raw code and for folding the vertex offset once. - New `b8f163c606`: `DrawFinisher::Stop()` drains the finisher and joins its thread, and `Driver::stop()` now calls it ([Lifecycle.cpp#L192](https://github.com/boykopovar/AnyPS5/blob/6330546a47e6c4afda70b640f338678e6c9601a5/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp#L192)). Once stopped, a draw handed to the finisher runs on the caller. New test: `agc_driver_shutdown_threads_draw_finisher`. - New `77cd20649c`: the finisher job sets `DrawPipeline::Active() = job.pipelined` ([Draw.cpp#L750](https://github.com/boykopovar/AnyPS5/blob/6330546a47e6c4afda70b640f338678e6c9601a5/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp#L750)). `agc_driver_queued_constant_ram_dump` gains `_draw_pipeline` and `_no_draw_pipeline` variants. - `6330546a47`: the helper takes `PIPELINE_ONLY`, and the metadata pass test uses it. The finisher assertion in `DrawRecaptureOnChange.cpp` is limited to `Depth() != 0`. - The author's reply addresses each point of my previous review. The description is updated (new `main` base, 3971-test suite, 91/116 validation runs). ## What I ran Head `6330546a47e6c4afda70b640f338678e6c9601a5`, `main` `04a9eb4fa2877eb6e40bf2c83adf972e40d89b24`, merged tree `729f064641b491c2bd1d42a1f25bb8f9b698fa91`. Machine: Debian 13 (VM, Xeon Gold 6136), GCC 14.2.0, lavapipe (Mesa 26.1.6, LLVM 19). ``` git diff --check 04a9eb4fa2877eb6e40bf2c83adf972e40d89b24...6330546a47e6c4afda70b640f338678e6c9601a5 python3 tools/check_conventions.py --base 04a9eb4fa2877eb6e40bf2c83adf972e40d89b24 ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j8 --test-load 32 --repeat until-fail:3 --output-on-failure -R '^agc_driver_(queued_constant_ram_dump.*|shutdown_threads.*|draw_recapture_on_change.*|pipelined_metadata_pass.*|draw_unsupported_buffer_type.*|draw_data_hit_user_words.*|image_table_cache_bounds|lazy_resolved_abi.*|linear_target_direct_write_completion)$' # negative control: drop the two new fixes, rebuild, run their tests ninja -C build -j32 -l32 agc_driver_queued_constant_ram_dump_tests agc_driver_shutdown_threads_tests ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build -j4 --output-on-failure -R '^agc_driver_(queued_constant_ram_dump.*|shutdown_threads_draw_finisher)$' # restore the merged files, rebuild, rerun, git status --porcelain ``` | Check | Result | |---|---| | Merge into `main` | clean | | `git diff --check` | clean | | `check_conventions.py` | passed | | Configure, build, `libs` (script) | passed | | Selected tests (script, 2269) | no new failures or timeouts. The 7 known failures also fail on `main`. | | `check_skips.py` (script) | 115 skips, all expected. The always-skipping `_no_draw_pipeline` variant is gone. | | Focused tests, 31, 3 runs each | all passed. `linear_target_direct_write_completion` skips on this device (as before). | | Validation layer (script, 804 tests, layer loaded in 803, none missing) | New VUID lines only in `agc_driver_image_gather_volume`, which the `main` baseline did not run (same as last time) | ## Negative control In the merged tree I removed only the two new production lines and rebuilt both test executables: - `DrawPipeline::Active() = job.pipelined;` in `Draw.cpp` - `DrawFinisher::Get().Stop();` in `Lifecycle.cpp` Three tests then failed: - `agc_driver_queued_constant_ram_dump` - `agc_driver_queued_constant_ram_dump_draw_pipeline` - `agc_driver_shutdown_threads_draw_finisher` `agc_driver_queued_constant_ram_dump_no_draw_pipeline` still passed, as expected. I then restored both files from the merged tree and rebuilt. All 4 tests pass, and `git status --porcelain` is empty. <details><summary>Failure without the pipelined-flag fix</summary> ``` AGC graphics: queued constant RAM dump: draw 1 wrote 64, expected 255 (draw 0 reads the table before both dumps, draw 1 after the first, draw 2 after the second) ``` </details> I did not repeat the negative control for `060cddc3f7` (restart from resolved parameters and changed raw code). Its new `DrawRecaptureOnChange.cpp` cases pass on all three variants. ## Previous findings - **Resolved:** a queued `DUMP_CONST_RAM` was not seen by draws on the finisher. `agc_driver_queued_constant_ram_dump` and both its variants pass 3 of 3 runs. Without the `Active()` line, the default and `_draw_pipeline` variants fail with the same message as before. - **Resolved:** a `_no_draw_pipeline` variant that can only skip. The metadata pass test is registered with `PIPELINE_ONLY`, and `check_skips.py` reports no unexpected skip. - **Resolved (the fix is verified here; the NVIDIA result is author-reported):** NVIDIA teardown SEGFAULTs. The finisher thread was never joined. `Stop()` now joins it in `Driver::stop()` after `Drain()`. `agc_driver_shutdown_threads_draw_finisher` checks that the finisher's thread-local state is released, and it fails without the join. I have no NVIDIA hardware. The author reports that the four crashing tests are fixed, and a new NVIDIA CI run should confirm it. - **No longer applies:** the bounded recursion in `finishDraw` → `restartFinishedDraw`. It was not a defect. `restartFinishedDraw` now also refreshes changed raw program code, and the retry stays bounded through the same `RecaptureScope` guard. ## New findings ### Blocking None. ### Non-blocking None. A note on the closing path: when the finisher is closing, `DrawFinisher::Enqueue` runs the job on the caller ([DrawPipeline.cpp#L187](https://github.com/boykopovar/AnyPS5/blob/6330546a47e6c4afda70b640f338678e6c9601a5/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp#L187)). The finisher job then sets the caller's thread-local `DrawPipeline::Active()` and does not restore it. This only happens after `Driver::stop()` has joined the queue workers, so I found no reachable case where it matters. ## Not verified - **NVIDIA or other hardware vendors:** I could not check the teardown fix there. - **Performance:** I did not check the GTA V numbers or traces. The description carries two summary lines with different commits, as required. - **Validation of `agc_driver_image_gather_volume`:** the `main` baseline did not run this test, so its `VUID-VkSamplerCreateInfo-addressMode*` lines could not be compared. The PR does not touch sampler creation. - **Windows build and tests.** <!-- anyps5-bots job=3630 head=6330546a47e6c4afda70b640f338678e6c9601a5 -->
MarcZX10 commented 2026-11-20 21:17:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T21:17:22Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change based on the code inspected; the remaining unreviewed test registrations prevent a formal approval.

What I ran

Read the prepared diff and changed source at head f5e417b998c4221bdd64a4bb84a23d5b0e413409 using repo_read.py reader tools. No build or tests were run.

Results

Check Result Note
Diff and source inspection passed Core finisher changes reviewed
Build and tests not run No commands executed

Findings

Blocking

None found in the inspected code.

Non-blocking

  • agc_add_draw_pipeline_test retires APS5_DRAW_PIPELINE for the main pipeline and no-pipeline tests but leaves it in the plan verification environment. Since the finisher is now enabled by default, this is redundant and leaves the retired switch in test setup. See core/libs/prx/libSceAgcDriver/CMakeLists.txt:778.

Not verified

The manifest lists 22 changed files and says all are included, but only these files were read: core/libs/prx/libSceAgcDriver/CMakeLists.txt, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp, and the prepared review/description.md, review/commits.md, review/manifest.json, and review/diff.patch. Other changed files were not read, including the remaining test changes and documentation. Build and test results reported in the PR description were not independently verified.

To get this to a good state

Nothing is required. Consider removing the obsolete switch from the plan verification test environment; this is optional feedback.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5999537198 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-5999537198). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T21:17:22Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change based on the code inspected; the remaining unreviewed test registrations prevent a formal approval. ## What I ran Read the prepared diff and changed source at head `f5e417b998c4221bdd64a4bb84a23d5b0e413409` using `repo_read.py` reader tools. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and source inspection | passed | Core finisher changes reviewed | | Build and tests | not run | No commands executed | ## Findings ### Blocking None found in the inspected code. ### Non-blocking - `agc_add_draw_pipeline_test` retires `APS5_DRAW_PIPELINE` for the main pipeline and no-pipeline tests but leaves it in the plan verification environment. Since the finisher is now enabled by default, this is redundant and leaves the retired switch in test setup. See `core/libs/prx/libSceAgcDriver/CMakeLists.txt:778`. ## Not verified The manifest lists 22 changed files and says all are included, but only these files were read: `core/libs/prx/libSceAgcDriver/CMakeLists.txt`, `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp`, `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`, `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`, and the prepared `review/description.md`, `review/commits.md`, `review/manifest.json`, and `review/diff.patch`. Other changed files were not read, including the remaining test changes and documentation. Build and test results reported in the PR description were not independently verified. ## To get this to a good state Nothing is required. Consider removing the obsolete switch from the plan verification test environment; this is optional feedback.
MarcZX10 commented 2026-11-21 06:40:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T06:40:41Z.

Review: COMMENTED


Reviewed — comments

The core switch and finisher shutdown paths were inspected at head abf9bd9fafa01b36789bc1588a445ca20ceaaa0f; the review bundle contains 23 changed files, and the suite and build results are author-reported rather than independently run.

What I ran

No commands were run. I used repo_read.py to inspect the prepared description, manifest, diff, and selected repository ranges at the pinned head.

Results

Check Result Note
Diff and selected code passed Core lifecycle paths inspected
Build and tests not run Results are author-reported

Findings

Blocking

None identified in the inspected code.

Non-blocking

  • DrawFinisher::Stop sets closing permanently, while Enqueue runs jobs inline after closing. That is consistent with shutdown, but the Stop-from-finisher-thread branch detaches the thread and leaves running true; shutdown currently calls Stop from the driver thread, so the new test does not exercise this branch. Consider documenting or testing the intended invariant if this method can be called from the finisher thread. (core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp:278)

Not verified

Build, tests, convention checks, physical-console behavior, performance traces, and files excluded from the prepared bundle were not independently verified. The change’s 23 files are all marked included in manifest.json; their full text was not read in every case. The diff and selected source ranges were inspected. The description’s test, build, convention, and performance results are author-reported.

To get this to a good state

Nothing is required. The finisher-thread detach branch is an optional point for follow-up.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6003574338 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-6003574338). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T06:40:41Z. **Review:** COMMENTED --- # Reviewed — comments The core switch and finisher shutdown paths were inspected at head `abf9bd9fafa01b36789bc1588a445ca20ceaaa0f`; the review bundle contains 23 changed files, and the suite and build results are author-reported rather than independently run. ## What I ran No commands were run. I used `repo_read.py` to inspect the prepared description, manifest, diff, and selected repository ranges at the pinned head. ## Results | Check | Result | Note | |---|---|---| | Diff and selected code | passed | Core lifecycle paths inspected | | Build and tests | not run | Results are author-reported | ## Findings ### Blocking None identified in the inspected code. ### Non-blocking - `DrawFinisher::Stop` sets `closing` permanently, while `Enqueue` runs jobs inline after closing. That is consistent with shutdown, but the `Stop`-from-finisher-thread branch detaches the thread and leaves `running` true; shutdown currently calls `Stop` from the driver thread, so the new test does not exercise this branch. Consider documenting or testing the intended invariant if this method can be called from the finisher thread. (`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp:278`) ## Not verified Build, tests, convention checks, physical-console behavior, performance traces, and files excluded from the prepared bundle were not independently verified. The change’s 23 files are all marked included in `manifest.json`; their full text was not read in every case. The diff and selected source ranges were inspected. The description’s test, build, convention, and performance results are author-reported. ## To get this to a good state Nothing is required. The finisher-thread detach branch is an optional point for follow-up.
MarcZX10 commented 2026-11-22 08:50:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T08:50:00Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing in the inspected code blocks merging; the author-reported checks support the change, but the full changed-line review could not be completed.

What I ran

Reviewed head 28f06938c2df6625aaa4fd257b588aa863fdaf81. Inspected description.md, commits.md, manifest.json, diff.patch, and targeted source ranges via repo_read.py. No build or tests were run here; the description reports focused tests, builds, and convention checks on a merged preview.

Results

Check Result Note
Targeted source review passed Handoff, finisher shutdown, and related test changes inspected
Build and tests here not run Only author-reported results available
Full changed-line review not run Changed-file text was not accessible through the available file listing

Findings

Blocking

None identified in the code inspected.

Non-blocking

None.

Not verified

The review folder's README says each added line must be read. I could not complete that: review/files/ listed no files, and only targeted ranges of repository source were available. Therefore the remaining changed lines, including documentation and test-registration edits, were not verified. The author reports 74 focused tests passed, builds for every target, and tools/check_conventions.py passed on the merged preview; these were not run by me. No negative control was run.

To get this to a good state

Nothing is required. Optional: make the changed-file contents available so the remaining added lines can be reviewed.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6011359503 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-6011359503). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T08:50:00Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing in the inspected code blocks merging; the author-reported checks support the change, but the full changed-line review could not be completed. ## What I ran Reviewed head `28f06938c2df6625aaa4fd257b588aa863fdaf81`. Inspected `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and targeted source ranges via `repo_read.py`. No build or tests were run here; the description reports focused tests, builds, and convention checks on a merged preview. ## Results | Check | Result | Note | |---|---|---| | Targeted source review | passed | Handoff, finisher shutdown, and related test changes inspected | | Build and tests here | not run | Only author-reported results available | | Full changed-line review | not run | Changed-file text was not accessible through the available file listing | ## Findings ### Blocking None identified in the code inspected. ### Non-blocking None. ## Not verified The review folder's README says each added line must be read. I could not complete that: `review/files/` listed no files, and only targeted ranges of repository source were available. Therefore the remaining changed lines, including documentation and test-registration edits, were not verified. The author reports 74 focused tests passed, builds for every target, and `tools/check_conventions.py` passed on the merged preview; these were not run by me. No negative control was run. ## To get this to a good state Nothing is required. Optional: make the changed-file contents available so the remaining added lines can be reviewed.
MarcZX10 commented 2026-11-25 15:06:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T15:06:28Z.

Review: COMMENTED


Reviewed — no blocking findings

The inspected finisher and shutdown paths show no verified blocking defect; the review is incomplete because I did not read every changed file or run checks.

What I ran

Reviewed head b44e9825e14f60b8c6811479795a19c7226a964f using the prepared diff and repo_read.py reader. No commands or checks were run.

Results

Check Result Note
Diff and manifest review passed 31 changed files; all included
Targeted source review passed Finisher, shutdown, and selected documentation
Tests and build not run No execution environment available

Findings

Blocking

None verified in the inspected code.

Non-blocking

None.

Not verified

I read the description, commits, manifest, and full diff. At the pinned head, I read DrawPipeline.cpp, Lifecycle.cpp, Draw.cpp, and DrawPipeline.hpp at the relevant ranges, plus changed documentation excerpts. I did not read the head contents of every changed file; the manifest lists all 31 files as included, and no exclusions were listed. Build, test, and console behavior were not verified.

To get this to a good state

Nothing is required. Optional: read the remaining changed files and run the focused draw, pipeline, and finisher tests before relying on this review as a complete approval.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6060142664 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-6060142664). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T15:06:28Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The inspected finisher and shutdown paths show no verified blocking defect; the review is incomplete because I did not read every changed file or run checks. ## What I ran Reviewed head `b44e9825e14f60b8c6811479795a19c7226a964f` using the prepared diff and `repo_read.py` reader. No commands or checks were run. ## Results | Check | Result | Note | |---|---|---| | Diff and manifest review | passed | 31 changed files; all included | | Targeted source review | passed | Finisher, shutdown, and selected documentation | | Tests and build | not run | No execution environment available | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking None. ## Not verified I read the description, commits, manifest, and full diff. At the pinned head, I read `DrawPipeline.cpp`, `Lifecycle.cpp`, `Draw.cpp`, and `DrawPipeline.hpp` at the relevant ranges, plus changed documentation excerpts. I did not read the head contents of every changed file; the manifest lists all 31 files as included, and no exclusions were listed. Build, test, and console behavior were not verified. ## To get this to a good state Nothing is required. Optional: read the remaining changed files and run the focused draw, pipeline, and finisher tests before relying on this review as a complete approval.
ligmaSec commented 2026-12-03 22:41:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:41:08Z.

Review: COMMENTED


The trial merge onto c1601e56d5 conflicts in the build and usage docs. Because this inverts the default, keep execution comparisons with no flag and with APS5_NO_DRAW_PIPELINE explicitly set, including shutdown, refused draws, and capture recapture. Existing tests that force the finisher on cannot exercise the changed default. The paired performance report and validation should use the final merged configuration.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179887167 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15456#pullrequestreview-6179887167). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T22:41:08Z. **Review:** COMMENTED --- The trial merge onto `c1601e56d5` conflicts in the build and usage docs. Because this inverts the default, keep execution comparisons with no flag and with `APS5_NO_DRAW_PIPELINE` explicitly set, including shutdown, refused draws, and capture recapture. Existing tests that force the finisher on cannot exercise the changed default. The paired performance report and validation should use the final merged configuration. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/15456:upstream-pr/15456'
git switch 'upstream-pr/15456'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/15456'
git switch 'upstream-pr/15456'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/15456'
git switch 'upstream-pr/15456'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/15456'
git switch 'main'
git merge --squash 'upstream-pr/15456'
git switch 'main'
git merge --ff-only 'upstream-pr/15456'
git switch 'main'
git merge 'upstream-pr/15456'
git push origin 'main'
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!15456
No description provided.