perf(agc): keep joined host imports when an address-based build picks a window block #16130

Merged
sktharunbalaji13-cmd merged 1 commit from upstream-pr/16130 into main 2026-11-07 12:37:52 +00:00
sktharunbalaji13-cmd commented 2026-11-05 18:31:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by sktharunbalaji13-cmd on 2026-11-05T18:31:24Z.


What

importRunBounds chose the largest power-of-two window block holding a range even when a joined import already overlapped that block. Importing that block retired the join, and the next Upload re-created it, so a title that joins a run across window edges re-imported the same memory on every build, bumped the imports epoch each time and never published its address space (space hits 0, unpublished equal to the builds).

A window block that overlaps a joined import is now skipped and the next smaller block, or the single range, is used; a range inside the join hits the join through findImport. New regression test importWindowKeepsJoinTests in BdaResources.cpp.

Tested

Windows 11 26200, AMD Ryzen 7 7840HS, 16 GB RAM, NVIDIA GeForce RTX 4060 Laptop GPU (8 GB), driver 617.42.

Focused tests, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest -R "agc_driver_(address_draw_space_reuse|host_import_windows|resident_heap_mirror|graphics|address_space_teardown)" -V:

  • with the change: 5/5 pass; the new test runs in agc_driver_graphics
  • with only the fix reverted (same new test): agc_driver_graphics fails with AGC graphics: an address-based build imported a window over a joined import and retired it, the other four pass
  • neither log contains a VUID- line or was not found but was requested by env var VK_INSTANCE_LAYERS

Ghost of Tsushima Director's Cut (PPSA02225), same launch and scene, APS5_TRACE_SECONDS=45:25, APS5_PROFILE_DRAW=1. Both runs are the same local build (the known-zero scan fix from #15967 that this title needs on 16 GB RAM, a depth capture touch and trace counters) with the joined-import check off for main and on for the change. That tree sits on an older main (e772fb25cc); this PR is the same two-file change rebased onto ce694129c4 without a rebuild (neither file changed in between).

main this PR
presents in the 25 s window 62 146
frame time p50 / p90 / p99 382.9 / 683.3 / 1962.1 ms 165.3 / 277.2 / 614.7 ms
GPU busy per present 86.2 ms 56.4 ms
Vulkan.Dispatch.shader_resources per frame 341.2 ms 128.0 ms
[address] imports pass per build (late) 64 to 68 ms about 1 ms
[address] space hits per 10 s (late) 0 of 38 to 46 builds 74 to 77 of 100 to 106 builds
fps by 4 s window, 56 s to 96 s 2 to 3, two windows at 0 5 to 7, one window at 0

The game is still far from a steady frame rate: the [address] mirror prepare (41 to 69 ms) and compare (15 ms) per build remain, and this PR leaves them alone.

Second pair on clean commits. The two summary lines below this table come from one build whose commit and dirty state are the same for both runs, so they do not identify the two builds. I repeated the comparison with two local builds of one tree that differ only in the joined-import check: 3fe8829a8abf without it and d842941d04e3 with it. Same title, scene and machine, APS5_TRACE_SECONDS=60:25, APS5_PROFILE_DRAW=1, 145 s runs back to back, game window opened passively (the launcher neither raises nor captures it). The tree is the one above (known-zero scan fix from #15967, trace counters, unmerged depth-surface experiments switched on with APS5_SOFT_DEPTH_CHECKS=1 so the title survives to the window), and neither build contains the change of #16188.

run commit presents in window frame p50 / p90 / p99 ms GPU busy ms per present address builds per 10 s imports pass ms per build space hits per 10 s
without this change (C0a) 3fe8829a8abf 55 351.5 / 1127.3 / 3246.2 91.9 37 50.0 0 of 37 builds
without this change (C0b) 3fe8829a8abf 38 571.8 / 1029.4 / 3374.9 104.6 38 63.9 0 of 38 builds
with this change (C1a) d842941d04e3 89 187.0 / 503.9 / 5466.6 67.0 62 2.3 40 of 62 builds
with this change (C1b) d842941d04e3 93 184.1 / 386.4 / 5395.1 70.8 75 1.4 62 of 75 builds

Without the check the address space is never published (space hits 0 of every 37 or 38 builds) and the imports pass costs 50 and 64 ms per build; with it the imports pass costs 1.4 to 2.3 ms and the space is published for 40 of 62 and 62 of 75 builds. Presents in the 25 s window go from 55 and 38 to 89 and 93 (1.5 and 2.2 fps to 3.6 and 3.7 fps), frame time p50 from 352 and 572 ms to 187 and 184 ms, GPU busy per present from 91.9 and 104.6 ms to 67.0 and 70.8 ms. Every run contains frames of several seconds around its stalls (the slowest frame is 3.2 to 5.5 s in all four), so p99 does not separate the builds. The title is still far from a steady frame rate; this PR leaves the mirror prepare and compare work per build alone.

trace_digest.py summary lines of the second pair (without C0a, C0b, then with C1a, C1b)
{"commit":"3fe8829a8abf","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":882,"ms":26126.514},"presents":55,"frame_ms":{"p50":351.499,"p90":1127.284,"p99":3246.165,"max":3246.165},"gpu_busy_ms_per_present":91.886,"worker_busy_pct":{"queue worker 0x0":60.886,"queue worker 0x40":5.909,"queue worker 0x20":79.8,"queue worker 0x48":83.784,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1083.537,"Driver.Packet.dispatch":854.122,"Driver.Dispatch":793.392,"Vulkan.Dispatch":390.583,"Vulkan.Dispatch.shader_resources":384.968,"GpuMutex.wait.dispatch":348.053,"GpuMutex.wait.flush":119.844,"Resources.Complete":77.869},"trace_dropped":false,"trace":"C0a-60-25-aps5-trace.json.gz"}
{"commit":"3fe8829a8abf","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":685,"ms":25142.035},"presents":38,"frame_ms":{"p50":571.846,"p90":1029.371,"p99":3374.945,"max":3374.945},"gpu_busy_ms_per_present":104.625,"worker_busy_pct":{"queue worker 0x0":70.068,"queue worker 0x40":0.406,"queue worker 0x20":89.322,"queue worker 0x48":86.195,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1607.383,"Driver.Packet.dispatch":1192.729,"Driver.Dispatch":1153.777,"Vulkan.Dispatch":557.199,"Vulkan.Dispatch.shader_resources":548.404,"GpuMutex.wait.dispatch":535.329,"Driver.Packet.pipeline_drain":184.812,"GpuMutex.wait.flush":179.502},"trace_dropped":false,"trace":"C0b-60-25-aps5-trace.json.gz"}
{"commit":"d842941d04e3","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":739,"ms":25975.822},"presents":89,"frame_ms":{"p50":186.961,"p90":503.914,"p99":5466.559,"max":5466.559},"gpu_busy_ms_per_present":67.029,"worker_busy_pct":{"queue worker 0x0":59.163,"queue worker 0x40":40.121,"queue worker 0x20":62.298,"queue worker 0x48":78.312,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":691.637,"Driver.Packet.dispatch":485.227,"Driver.Dispatch":461.227,"Vulkan.Dispatch":227.449,"Vulkan.Dispatch.shader_resources":222.288,"GpuMutex.wait.dispatch":198.7,"Driver.Packet.pipeline_drain":87.161,"GpuMutex.wait.end":62.32},"trace_dropped":false,"trace":"C1a-60-25-aps5-trace.json.gz"}
{"commit":"d842941d04e3","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":408,"ms":25142.192},"presents":93,"frame_ms":{"p50":184.116,"p90":386.367,"p99":5395.127,"max":5395.127},"gpu_busy_ms_per_present":70.753,"worker_busy_pct":{"queue worker 0x0":61.271,"queue worker 0x40":57.32,"queue worker 0x20":92.401,"queue worker 0x48":83.254,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":787.066,"Driver.Packet.dispatch":491.284,"Driver.Dispatch":458.983,"Vulkan.Dispatch":225.65,"Vulkan.Dispatch.shader_resources":221.506,"GpuMutex.wait.dispatch":218.671,"Driver.Packet.memory_wait":142.291,"Driver.Packet.pipeline_drain":91.348},"trace_dropped":false,"trace":"C1b-60-25-aps5-trace.json.gz"}
trace_digest.py summary lines (main, then this PR)
{"commit":"45abd7e51ba1","dirty":true,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_TRACE_SECONDS":"45:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 45:25","first_present":312,"ms":25965.515},"presents":62,"frame_ms":{"p50":382.899,"p90":683.308,"p99":1962.104,"max":1962.104},"gpu_busy_ms_per_present":86.182,"worker_busy_pct":{"queue worker 0x0":72.647,"queue worker 0x40":14.831,"queue worker 0x20":73.991,"queue worker 0x48":84.54,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1000.394,"Driver.Packet.dispatch":758.121,"Driver.Dispatch":663.441,"Vulkan.Dispatch":345.384,"Vulkan.Dispatch.shader_resources":341.168,"GpuMutex.wait.dispatch":279.42,"GpuMutex.wait.draw":158.368,"Driver.Packet.pipeline_drain":104.205},"trace_dropped":false,"trace":"base-45-25-aps5-trace.json.gz"}
{"commit":"45abd7e51ba1","dirty":true,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_TRACE_SECONDS":"45:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 45:25","first_present":480,"ms":25266.792},"presents":146,"frame_ms":{"p50":165.329,"p90":277.152,"p99":614.705,"max":674.703},"gpu_busy_ms_per_present":56.374,"worker_busy_pct":{"queue worker 0x0":58.181,"queue worker 0x40":28.458,"queue worker 0x20":83.404,"queue worker 0x48":76.912,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":418.796,"Driver.Packet.dispatch":286.358,"Driver.Dispatch":261.059,"Vulkan.Dispatch":130.814,"Vulkan.Dispatch.shader_resources":127.97,"GpuMutex.wait.dispatch":110.929,"Driver.Packet.memory_wait":46.66,"Driver.Packet.pipeline_drain":40.953},"trace_dropped":false,"trace":"join-45-25-aps5-trace.json.gz"}

Traces, digests, the fps and [address] lines of both full runs and both ctest logs: https://github.com/sktharunbalaji13-cmd/AnyPS5/tree/evidence/got-ram-logo/ghost-of-tsushima/join-2026-11-05

Traces, digests and logs of the second pair: https://github.com/sktharunbalaji13-cmd/AnyPS5/tree/evidence/got-ram-logo/ghost-of-tsushima/commits-2026-11-06

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: PPSA02225 #4461
  • GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU, driver 617.42, Windows 11 (26200)
  • AI-assisted: yes

🤖 Generated with Claude Code, OpenCode, Command Code and Gemini

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5176654561 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16130). Originally posted by [sktharunbalaji13-cmd](https://github.com/sktharunbalaji13-cmd) on 2026-11-05T18:31:24Z. --- ### What `importRunBounds` chose the largest power-of-two window block holding a range even when a joined import already overlapped that block. Importing that block retired the join, and the next `Upload` re-created it, so a title that joins a run across window edges re-imported the same memory on every build, bumped the imports epoch each time and never published its address space (`space hits 0`, `unpublished` equal to the builds). A window block that overlaps a joined import is now skipped and the next smaller block, or the single range, is used; a range inside the join hits the join through `findImport`. New regression test `importWindowKeepsJoinTests` in `BdaResources.cpp`. ### Tested Windows 11 26200, AMD Ryzen 7 7840HS, 16 GB RAM, NVIDIA GeForce RTX 4060 Laptop GPU (8 GB), driver 617.42. **Focused tests**, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest -R "agc_driver_(address_draw_space_reuse|host_import_windows|resident_heap_mirror|graphics|address_space_teardown)" -V`: - with the change: 5/5 pass; the new test runs in `agc_driver_graphics` - with only the fix reverted (same new test): `agc_driver_graphics` fails with `AGC graphics: an address-based build imported a window over a joined import and retired it`, the other four pass - neither log contains a `VUID-` line or `was not found but was requested by env var VK_INSTANCE_LAYERS` **Ghost of Tsushima Director's Cut (PPSA02225)**, same launch and scene, `APS5_TRACE_SECONDS=45:25`, `APS5_PROFILE_DRAW=1`. Both runs are the same local build (the known-zero scan fix from #15967 that this title needs on 16 GB RAM, a depth capture touch and trace counters) with the joined-import check off for `main` and on for the change. That tree sits on an older `main` (e772fb25cc); this PR is the same two-file change rebased onto `ce694129c4` without a rebuild (neither file changed in between). | | main | this PR | |---|---|---| | presents in the 25 s window | 62 | 146 | | frame time p50 / p90 / p99 | 382.9 / 683.3 / 1962.1 ms | 165.3 / 277.2 / 614.7 ms | | GPU busy per present | 86.2 ms | 56.4 ms | | `Vulkan.Dispatch.shader_resources` per frame | 341.2 ms | 128.0 ms | | `[address]` imports pass per build (late) | 64 to 68 ms | about 1 ms | | `[address]` space hits per 10 s (late) | 0 of 38 to 46 builds | 74 to 77 of 100 to 106 builds | | fps by 4 s window, 56 s to 96 s | 2 to 3, two windows at 0 | 5 to 7, one window at 0 | The game is still far from a steady frame rate: the `[address]` mirror prepare (41 to 69 ms) and compare (15 ms) per build remain, and this PR leaves them alone. **Second pair on clean commits.** The two summary lines below this table come from one build whose `commit` and dirty state are the same for both runs, so they do not identify the two builds. I repeated the comparison with two local builds of one tree that differ only in the joined-import check: `3fe8829a8abf` without it and `d842941d04e3` with it. Same title, scene and machine, `APS5_TRACE_SECONDS=60:25`, `APS5_PROFILE_DRAW=1`, 145 s runs back to back, game window opened passively (the launcher neither raises nor captures it). The tree is the one above (known-zero scan fix from #15967, trace counters, unmerged depth-surface experiments switched on with `APS5_SOFT_DEPTH_CHECKS=1` so the title survives to the window), and neither build contains the change of #16188. | run | commit | presents in window | frame p50 / p90 / p99 ms | GPU busy ms per present | address builds per 10 s | imports pass ms per build | space hits per 10 s | |---|---|---|---|---|---|---|---| | without this change (C0a) | `3fe8829a8abf` | 55 | 351.5 / 1127.3 / 3246.2 | 91.9 | 37 | 50.0 | 0 of 37 builds | | without this change (C0b) | `3fe8829a8abf` | 38 | 571.8 / 1029.4 / 3374.9 | 104.6 | 38 | 63.9 | 0 of 38 builds | | with this change (C1a) | `d842941d04e3` | 89 | 187.0 / 503.9 / 5466.6 | 67.0 | 62 | 2.3 | 40 of 62 builds | | with this change (C1b) | `d842941d04e3` | 93 | 184.1 / 386.4 / 5395.1 | 70.8 | 75 | 1.4 | 62 of 75 builds | Without the check the address space is never published (`space hits` 0 of every 37 or 38 builds) and the imports pass costs 50 and 64 ms per build; with it the imports pass costs 1.4 to 2.3 ms and the space is published for 40 of 62 and 62 of 75 builds. Presents in the 25 s window go from 55 and 38 to 89 and 93 (1.5 and 2.2 fps to 3.6 and 3.7 fps), frame time p50 from 352 and 572 ms to 187 and 184 ms, GPU busy per present from 91.9 and 104.6 ms to 67.0 and 70.8 ms. Every run contains frames of several seconds around its stalls (the slowest frame is 3.2 to 5.5 s in all four), so p99 does not separate the builds. The title is still far from a steady frame rate; this PR leaves the mirror prepare and compare work per build alone. <details><summary>trace_digest.py summary lines of the second pair (without C0a, C0b, then with C1a, C1b)</summary> ``` {"commit":"3fe8829a8abf","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":882,"ms":26126.514},"presents":55,"frame_ms":{"p50":351.499,"p90":1127.284,"p99":3246.165,"max":3246.165},"gpu_busy_ms_per_present":91.886,"worker_busy_pct":{"queue worker 0x0":60.886,"queue worker 0x40":5.909,"queue worker 0x20":79.8,"queue worker 0x48":83.784,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1083.537,"Driver.Packet.dispatch":854.122,"Driver.Dispatch":793.392,"Vulkan.Dispatch":390.583,"Vulkan.Dispatch.shader_resources":384.968,"GpuMutex.wait.dispatch":348.053,"GpuMutex.wait.flush":119.844,"Resources.Complete":77.869},"trace_dropped":false,"trace":"C0a-60-25-aps5-trace.json.gz"} {"commit":"3fe8829a8abf","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":685,"ms":25142.035},"presents":38,"frame_ms":{"p50":571.846,"p90":1029.371,"p99":3374.945,"max":3374.945},"gpu_busy_ms_per_present":104.625,"worker_busy_pct":{"queue worker 0x0":70.068,"queue worker 0x40":0.406,"queue worker 0x20":89.322,"queue worker 0x48":86.195,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1607.383,"Driver.Packet.dispatch":1192.729,"Driver.Dispatch":1153.777,"Vulkan.Dispatch":557.199,"Vulkan.Dispatch.shader_resources":548.404,"GpuMutex.wait.dispatch":535.329,"Driver.Packet.pipeline_drain":184.812,"GpuMutex.wait.flush":179.502},"trace_dropped":false,"trace":"C0b-60-25-aps5-trace.json.gz"} {"commit":"d842941d04e3","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":739,"ms":25975.822},"presents":89,"frame_ms":{"p50":186.961,"p90":503.914,"p99":5466.559,"max":5466.559},"gpu_busy_ms_per_present":67.029,"worker_busy_pct":{"queue worker 0x0":59.163,"queue worker 0x40":40.121,"queue worker 0x20":62.298,"queue worker 0x48":78.312,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":691.637,"Driver.Packet.dispatch":485.227,"Driver.Dispatch":461.227,"Vulkan.Dispatch":227.449,"Vulkan.Dispatch.shader_resources":222.288,"GpuMutex.wait.dispatch":198.7,"Driver.Packet.pipeline_drain":87.161,"GpuMutex.wait.end":62.32},"trace_dropped":false,"trace":"C1a-60-25-aps5-trace.json.gz"} {"commit":"d842941d04e3","dirty":false,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_SOFT_DEPTH_CHECKS":"1","APS5_TRACE_SECONDS":"60:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 60:25","first_present":408,"ms":25142.192},"presents":93,"frame_ms":{"p50":184.116,"p90":386.367,"p99":5395.127,"max":5395.127},"gpu_busy_ms_per_present":70.753,"worker_busy_pct":{"queue worker 0x0":61.271,"queue worker 0x40":57.32,"queue worker 0x20":92.401,"queue worker 0x48":83.254,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":787.066,"Driver.Packet.dispatch":491.284,"Driver.Dispatch":458.983,"Vulkan.Dispatch":225.65,"Vulkan.Dispatch.shader_resources":221.506,"GpuMutex.wait.dispatch":218.671,"Driver.Packet.memory_wait":142.291,"Driver.Packet.pipeline_drain":91.348},"trace_dropped":false,"trace":"C1b-60-25-aps5-trace.json.gz"} ``` </details> <details><summary>trace_digest.py summary lines (main, then this PR)</summary> ```json {"commit":"45abd7e51ba1","dirty":true,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_TRACE_SECONDS":"45:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 45:25","first_present":312,"ms":25965.515},"presents":62,"frame_ms":{"p50":382.899,"p90":683.308,"p99":1962.104,"max":1962.104},"gpu_busy_ms_per_present":86.182,"worker_busy_pct":{"queue worker 0x0":72.647,"queue worker 0x40":14.831,"queue worker 0x20":73.991,"queue worker 0x48":84.54,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":1000.394,"Driver.Packet.dispatch":758.121,"Driver.Dispatch":663.441,"Vulkan.Dispatch":345.384,"Vulkan.Dispatch.shader_resources":341.168,"GpuMutex.wait.dispatch":279.42,"GpuMutex.wait.draw":158.368,"Driver.Packet.pipeline_drain":104.205},"trace_dropped":false,"trace":"base-45-25-aps5-trace.json.gz"} ``` ```json {"commit":"45abd7e51ba1","dirty":true,"env":{"APS5_PROFILE_DRAW":"1","APS5_SKIP_REFUSED_DRAWS":"1","APS5_TRACE_SECONDS":"45:25"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 617.42","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 7840HS w/ Radeon 780M Graphics","cpu_threads":16,"memory_mib":15654,"title_id":"PPSA02225","title":"Ghost of Tsushima","content_version":"02.024.000","resolution":"3840x2160","window":{"spec":"seconds 45:25","first_present":480,"ms":25266.792},"presents":146,"frame_ms":{"p50":165.329,"p90":277.152,"p99":614.705,"max":674.703},"gpu_busy_ms_per_present":56.374,"worker_busy_pct":{"queue worker 0x0":58.181,"queue worker 0x40":28.458,"queue worker 0x20":83.404,"queue worker 0x48":76.912,"queue worker 0x38":0.0,"queue worker 0x52":0.0,"queue worker 0x30":0.0},"top_phases_ms_per_frame":{"Driver.Packet":418.796,"Driver.Packet.dispatch":286.358,"Driver.Dispatch":261.059,"Vulkan.Dispatch":130.814,"Vulkan.Dispatch.shader_resources":127.97,"GpuMutex.wait.dispatch":110.929,"Driver.Packet.memory_wait":46.66,"Driver.Packet.pipeline_drain":40.953},"trace_dropped":false,"trace":"join-45-25-aps5-trace.json.gz"} ``` </details> Traces, digests, the fps and `[address]` lines of both full runs and both ctest logs: https://github.com/sktharunbalaji13-cmd/AnyPS5/tree/evidence/got-ram-logo/ghost-of-tsushima/join-2026-11-05 Traces, digests and logs of the second pair: https://github.com/sktharunbalaji13-cmd/AnyPS5/tree/evidence/got-ram-logo/ghost-of-tsushima/commits-2026-11-06 ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA02225 #4461 - [x] GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU, driver 617.42, Windows 11 (26200) - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code), [OpenCode](https://opencode.ai), [Command Code](https://commandcode.ai) and [Gemini](https://gemini.google.com)
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!16130
No description provided.