perf(agc): pipeline queue-0 DMA_DATA by default #9965

Merged
ebarr24 merged 2 commits from upstream-pr/9965 into main 2026-10-25 10:06:27 +00:00
ebarr24 commented 2026-10-23 00:33:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ebarr24 on 2026-10-23T00:33:24Z.


What

Queue-0 DMA_DATA packets drained the draw pipeline unless APS5_PIPELINE_DMA was set, so the packet worker waited on the committer at every small immediate store. Kena PPSA01746 issues 17-23k DMA_DATA packets per 10 s and 11329 of its 20134 pipeline drains per 10 s are opcode 0x50. enqueueDmaPacket now queues DMA_DATA stores and fills unconditionally, and keepsDrawPipeline keeps the pipeline for a copy or fill whose source and destination miss every queued write. The APS5_PIPELINE_DMA switch and its documentation are removed and the tests run the default path.

Tested

Windows 11, MinGW-w64 GCC 15.2, Release build with tests. agc_dma_data_tests, agc_driver_depth_fast_clear_submit, agc_driver_layered_volume_submit, agc_driver_pipelined_dispatch, agc_driver_pipelined_dma, agc_driver_pipelined_fill pass with this change; the new test fails on main.

Kena: Bridge of Spirits (PPSA01746), the same scripted input on both runs (ws input script 3baefd0ea4), NVIDIA GeForce RTX 3080, driver 32.0.16.1692; Microsoft Windows 11 Pro: median 12.2 fps on main 78becbb37, 13.6 fps with this change.

Validation layer (vulkan-sdk-1.4.363.0), on main f6075c2f4a and on this change, with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, VK_ADD_LAYER_PATH set to the layer, ANYPS5_NO_SHADER_CACHE=1 and ANYPS5_REQUIRE_VULKAN=1: ctest -V -R "dma|pipelined|queued_index_read|submit". Neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS; the change adds no VUID- errors (0 with the change, 0 on main).

ctest -V log, main

The ***Failed result and the failure line at its end are the new regression test failing on main, as intended; they are not an unrelated baseline failure.

] Physical device candidate=000001feb4ab7b00 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2
843: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=000001feb4ab7b00 queueFamily=0
843: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
843: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
843: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
843: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
843: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
843: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000001fe2e0600d0 queue=000001fe2e001ed0 family=0
843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821d00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821c00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
843: [Shaders\ShaderRegistry.cpp:613 ReportPreparedAtUse] Compute shader 0x7ff753821b00 was not registered; preparing its artifact at dispatch
843: AGC graphics: queued index read: the queued draw holds no read of its copy source range
843: [gpu] host imports at shutdown: 2 live (0.2 MiB); made 2 (0.2 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 0/0/0, access 2/0/0, join 0/0/0, segment 0/0/0
843: [gpu] storage image 0x200020000 destroyed with GPU results pending
11/13 Test  #843: agc_driver_queued_index_read_order ............***Failed   10.74 sec
test 899
      Start  899: agc_driver_sparse_dma_buf_import

899: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_sparse_dma_buf_import_tests.exe
899: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1
899: Environment variables: 
899:  ANYPS5_NO_SHADER_CACHE=1
899:  APS5_NO_PIPELINE_JOURNAL=1
899: Environment variable modifications: 
899:  PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched
899: Test timeout computed to be: 120
899: skipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTS
12/13 Test  #899: agc_driver_sparse_dma_buf_import ..............***Skipped   0.01 sec
test 1107
      Start 1107: agc_driver_pipelined_dispatch_item

1107: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_pipelined_dispatch_tests.exe
1107: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/prx/libSceAgcDriver
1107: Environment variables: 
1107:  ANYPS5_NO_SHADER_CACHE=1
1107:  APS5_PIPELINE_DISPATCH=1
1107:  APS5_NO_PIPELINE_JOURNAL=1
1107: Environment variable modifications: 
1107:  PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched
1107: Test timeout computed to be: 120
1107: [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine)
1107: [src\HostCpu.cpp:193 operator()] host CPU AMD Ryzen 7 3700X 8-Core Processor: has SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, LZCNT, BMI1, BMI2, MOVBE, CMPXCHG16B, LAHF/SAHF, AVX, AVX2, FMA, F16C, AES, PCLMULQDQ, RDRAND, RDSEED, ADX, SHA, CLFLUSHOPT, CLWB, RDPID, XSAVEOPT, XSAVEC, SSE4A, PREFETCHW, CLZERO, OS AVX state (XCR0); lacks none
1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000
1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000
1107: 
1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000023827f97ca0
1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1
1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000023828021e60 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2
1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000023828021e60 queueFamily=0
1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002382a0d00d0 queue=000002382a0714d0 family=0
1107: [write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking
1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000
1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000
1107: 
1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=000002386a4fd3d0
1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1
1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=000002386a4aa060 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2
1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=000002386a4aa060 queueFamily=0
1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002382a0d00d0 queue=000002382a071ed0 family=0
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43900 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43800 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43700 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: pipelined dispatch: input fill round 0, fill 0x0a0b0c0d, dispatch drains 0
1107: pipelined dispatch: input fill round 1, fill 0x11112222, dispatch drains 0
1107: pipelined dispatch: input fill round 2, fill 0x33334444, dispatch drains 0
1107: pipelined dispatch: input fill round 3, fill 0x55556666, dispatch drains 0
1107: pipelined dispatch: input fill round 4, fill 0x77778888, dispatch drains 0
1107: pipelined dispatch: scratch fill round 0, fill 0xc0de0000, dispatch drains 0
1107: pipelined dispatch: scratch fill round 1, fill 0xc0de0001, dispatch drains 0
1107: pipelined dispatch: scratch fill round 2, fill 0xc0de0002, dispatch drains 0
1107: pipelined dispatch: timed out waiting for the target and table fills queued behind the gate
1107: [gpu] host imports at shutdown: 1 live (0.2 MiB); made 1 (0.2 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 1/0/0, access 0/0/0, join 0/0/0, segment 0/0/0
13/13 Test #1107: agc_driver_pipelined_dispatch_item ............***Failed   10.61 sec

The following tests passed:
	agc_dma_data_tests
	agc_driver_depth_fast_clear_submit
	agc_driver_layered_volume_submit
	agc_driver_pipelined_fill
	agc_driver_pipelined_indirect_draw
	agc_driver_pipelined_predicated_label_order
	agc_driver_pipelined_predication_read
	agc_driver_pipelined_prefetch
	agc_driver_sparse_dma_buf_import

69% tests passed, 4 tests failed out of 13

Total Test time (real) =  32.70 sec

The following tests did not run:
	550 - agc_driver_depth_fast_clear_submit (Skipped)
	746 - agc_driver_layered_volume_submit (Skipped)
	809 - agc_driver_pipelined_fill (Skipped)
	810 - agc_driver_pipelined_indirect_draw (Skipped)
	811 - agc_driver_pipelined_predicated_label_order (Skipped)
	812 - agc_driver_pipelined_predication_read (Skipped)
	813 - agc_driver_pipelined_prefetch (Skipped)
	899 - agc_driver_sparse_dma_buf_import (Skipped)

The following tests FAILED:
	807 - agc_driver_pipelined_dispatch (Failed)
	808 - agc_driver_pipelined_dma (Failed)
	843 - agc_driver_queued_index_read_order (Failed)
	1107 - agc_driver_pipelined_dispatch_item (Failed)
Errors while running CTest
Output from these tests are in: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
ctest -V log, this change
ed GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
843: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
843: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
843: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
843: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
843: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002a010bb00d0 queue=000002a010b51ed0 family=0
843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821d00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821c00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
843: [Shaders\ShaderRegistry.cpp:613 ReportPreparedAtUse] Compute shader 0x7ff753821b00 was not registered; preparing its artifact at dispatch
843: [gpu] host imports at shutdown: 1 live (0.1 MiB); made 1 (0.1 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 0/0/0, access 1/0/0, join 0/0/0, segment 0/0/0
843: queued index read vs. deferred storage write-back tests passed
11/13 Test  #843: agc_driver_queued_index_read_order ............   Passed    0.85 sec
test 899
      Start  899: agc_driver_sparse_dma_buf_import

899: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_sparse_dma_buf_import_tests.exe
899: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1
899: Environment variables: 
899:  ANYPS5_NO_SHADER_CACHE=1
899:  APS5_NO_PIPELINE_JOURNAL=1
899: Environment variable modifications: 
899:  PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched
899: Test timeout computed to be: 120
899: skipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTS
12/13 Test  #899: agc_driver_sparse_dma_buf_import ..............***Skipped   0.03 sec
test 1107
      Start 1107: agc_driver_pipelined_dispatch_item

1107: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_pipelined_dispatch_tests.exe
1107: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/prx/libSceAgcDriver
1107: Environment variables: 
1107:  ANYPS5_NO_SHADER_CACHE=1
1107:  APS5_PIPELINE_DISPATCH=1
1107:  APS5_NO_PIPELINE_JOURNAL=1
1107: Environment variable modifications: 
1107:  PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched
1107: Test timeout computed to be: 120
1107: [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine)
1107: [src\HostCpu.cpp:193 operator()] host CPU AMD Ryzen 7 3700X 8-Core Processor: has SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, LZCNT, BMI1, BMI2, MOVBE, CMPXCHG16B, LAHF/SAHF, AVX, AVX2, FMA, F16C, AES, PCLMULQDQ, RDRAND, RDSEED, ADX, SHA, CLFLUSHOPT, CLWB, RDPID, XSAVEOPT, XSAVEC, SSE4A, PREFETCHW, CLZERO, OS AVX state (XCR0); lacks none
1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000
1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000
1107: 
1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000022e6c3d79f0
1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1
1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000022e6e9f56c0 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2
1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000022e6e9f56c0 queueFamily=0
1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=0000022e003e00d0 queue=0000022e003814d0 family=0
1107: [write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking
1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000
1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000
1107: 
1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000022e6eb1d430
1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1
1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000022eb4e93300 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2
1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000022eb4e93300 queueFamily=0
1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0
1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe
1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7
1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=0000022e003e00d0 queue=0000022e00381ed0 family=0
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43900 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43800 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43700 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used
1107: [gpu] host imports at shutdown: 2 live (0.3 MiB); made 2 (0.3 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 2/0/0, access 0/0/0, join 0/0/0, segment 0/0/0
1107: pipelined dispatch: input fill round 0, fill 0x0a0b0c0d, dispatch drains 1
1107: pipelined dispatch: input fill round 1, fill 0x11112222, dispatch drains 0
1107: pipelined dispatch: input fill round 2, fill 0x33334444, dispatch drains 0
1107: pipelined dispatch: input fill round 3, fill 0x55556666, dispatch drains 0
1107: pipelined dispatch: input fill round 4, fill 0x77778888, dispatch drains 0
1107: pipelined dispatch: scratch fill round 0, fill 0xc0de0000, dispatch drains 0
1107: pipelined dispatch: scratch fill round 1, fill 0xc0de0001, dispatch drains 0
1107: pipelined dispatch: scratch fill round 2, fill 0xc0de0002, dispatch drains 0
1107: pipelined dispatch: descriptor round 0, fill 0x6a6a0001, dispatch drains 1
1107: pipelined dispatch: descriptor round 1, fill 0x6b6b0002, dispatch drains 1
1107: pipelined dispatch: descriptor round 2, fill 0x6c6c0003, dispatch drains 1
1107: pipelined dispatch: descriptor round 3, fill 0x6d6d0004, dispatch drains 1
1107: pipelined dispatch: scalar read round 0, fill 0x13572468, dispatch drains 0
1107: pipelined dispatch: scalar read round 1, fill 0x2468ace0, dispatch drains 1
1107: pipelined dispatch: scalar read round 2, fill 0x0f1e2d3c, dispatch drains 1
1107: pipelined dispatch: scalar read round 3, fill 0x9abcdef0, dispatch drains 1
1107: pipelined dispatch: scalar read round 4, fill 0x31415926, dispatch drains 1
1107: pipelined dispatch tests passed
13/13 Test #1107: agc_driver_pipelined_dispatch_item ............   Passed    0.77 sec

The following tests passed:
	agc_dma_data_tests
	agc_driver_depth_fast_clear_submit
	agc_driver_layered_volume_submit
	agc_driver_pipelined_dispatch
	agc_driver_pipelined_dma
	agc_driver_pipelined_fill
	agc_driver_pipelined_indirect_draw
	agc_driver_pipelined_predicated_label_order
	agc_driver_pipelined_predication_read
	agc_driver_pipelined_prefetch
	agc_driver_queued_index_read_order
	agc_driver_sparse_dma_buf_import
	agc_driver_pipelined_dispatch_item

100% tests passed out of 13

Total Test time (real) =   3.75 sec

The following tests did not run:
	550 - agc_driver_depth_fast_clear_submit (Skipped)
	746 - agc_driver_layered_volume_submit (Skipped)
	809 - agc_driver_pipelined_fill (Skipped)
	810 - agc_driver_pipelined_indirect_draw (Skipped)
	811 - agc_driver_pipelined_predicated_label_order (Skipped)
	812 - agc_driver_pipelined_predication_read (Skipped)
	813 - agc_driver_pipelined_prefetch (Skipped)
	899 - agc_driver_sparse_dma_buf_import (Skipped)

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: PPSA01746 #4073
  • GPUs tested: NVIDIA GeForce RTX 3080, driver 32.0.16.1692; Microsoft Windows 11 Pro; Khronos validation layer on main and this change, no new VUIDs
  • AI-assisted: yes

🤖 Generated with Claude Code

Performance trace

Same machine (Windows 11, RTX 3080, driver 616.92), same title (PPSA01746) and same scripted input (ws input script 3baefd0ea4, 42 presses, about 877 s), captured with APS5_TRACE_SUMMARY_EVERY=10 for main 83462cc57d and for this PR's head 4025f4d4364f (which is based on the earlier main f6075c2f4a; main moved by the commits between the two). Over the intervals after the first 120 s, the median frame p50 is 76.7 ms on main and 72.7 ms with the change; the median frame p99 is 82.2 ms and 81.5 ms; the median GPU busy per present is 38.3 ms and 38.9 ms. The summary file holds interval lines, not window captures, so no trace file (aps5-trace-*.json.gz) was written; the first line of each capture and its tools/trace_digest.py output follow.

aps5-summary.jsonl first line, main 83462cc57d
{"commit":"83462cc57dde","dirty":false,"env":{"APS5_DUMP_FRAMES":"1000000","APS5_DUMP_FRAMES_EVERY":"15","APS5_LOG_TIMESTAMPS":"1","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_PROFILE_DRAW":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 3080","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 3700X 8-Core Processor","cpu_threads":16,"memory_mib":32679,"title_id":"PPSA01746","title":"Kena: Bridge of Spirits","content_version":"02.008.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":0,"ms":31139.323},"interval_start_s":0.000,"interval_end_s":31.139,"presents":375,"frame_ms":{"p50":16.684,"p90":16.896,"p99":251.409,"max":22218.392},"gpu_busy_ms_per_present":3.055,"worker_busy_pct":{"queue worker 0x0":72.229,"queue worker 0x20":6.788},"top_phases_ms_per_frame":{"Driver.Packet":65.605,"Shader.ResolveAbi":56.185,"Driver.Packet.draw":37.226,"Driver.Draw":37.212,"Driver.Draw.shader_compile_and_link":36.286,"Shader.DrawStage":36.194,"Shader.DrawStage.materialize":35.512,"Shader.PrepareArtifact":31.265},"trace_dropped":false,"trace":""}
aps5-summary.jsonl first line, change 4025f4d4364f
{"commit":"4025f4d4364f","dirty":false,"env":{"APS5_DUMP_FRAMES":"1000000","APS5_DUMP_FRAMES_EVERY":"15","APS5_LOG_TIMESTAMPS":"1","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_PROFILE_DRAW":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 3080","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 3700X 8-Core Processor","cpu_threads":16,"memory_mib":32679,"title_id":"PPSA01746","title":"Kena: Bridge of Spirits","content_version":"02.008.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":0,"ms":31006.806},"interval_start_s":0.000,"interval_end_s":31.007,"presents":380,"frame_ms":{"p50":16.685,"p90":16.918,"p99":304.110,"max":21921.458},"gpu_busy_ms_per_present":2.882,"worker_busy_pct":{"queue worker 0x0":75.303,"queue worker 0x20":5.401},"top_phases_ms_per_frame":{"Driver.Packet":65.836,"Shader.ResolveAbi":43.245,"Driver.Packet.draw":36.790,"Driver.Draw":36.775,"Driver.Draw.shader_compile_and_link":35.725,"Shader.DrawStage":35.627,"Shader.DrawStage.materialize":35.223,"Driver.Packet.dispatch":19.675},"trace_dropped":false,"trace":""}
tools/trace_digest.py aps5-summary.jsonl, main

84 intervals, 0.0 to 866.2 s, 11350 presents
NVIDIA GeForce RTX 3080, NVIDIA 616.92, Windows 10.0.26200, 3840x2160, commit 83462cc57d

# seconds presents p50 p90 p99 max GPU busy busiest worker largest phase
1 0-31 375 16.7 16.9 251.4 22218.4 3.1 72 % Driver.Packet 65.6
2 31-41 27 212.0 770.1 3504.2 3504.2 168.6 207 % Driver.Packet 1139.4
3 41-53 196 16.7 164.3 294.0 1679.4 21.4 93 % Driver.Packet 88.7
4 53-63 33 88.0 411.2 5357.2 5357.2 32.9 91 % Driver.Packet 452.7
5 63-73 19 133.6 1981.1 3090.1 3090.1 130.7 99 % Driver.Packet 967.7
6 73-83 106 89.5 120.8 138.1 138.9 43.2 97 % Driver.Packet 162.5
7 83-93 124 80.4 83.8 93.6 95.2 42.3 97 % Driver.Packet 139.9
8 93-104 124 80.5 84.8 101.5 113.2 42.4 97 % Driver.Packet 140.6
9 104-114 125 79.9 84.3 93.4 140.5 41.9 97 % Driver.Packet 139.2
10 114-124 126 79.8 83.1 85.1 86.0 42.6 97 % Driver.Packet 137.9
11 124-134 126 79.4 83.6 85.2 98.7 42.4 97 % Driver.Packet 137.6
12 134-144 127 79.0 82.2 84.0 86.4 42.2 97 % Driver.Packet 136.7
13 144-154 126 79.4 82.9 90.0 106.5 42.7 97 % Driver.Packet 137.8
14 154-164 126 79.6 82.7 84.8 84.9 42.9 97 % Driver.Packet 137.6
15 164-174 126 79.4 82.9 84.9 85.7 42.7 97 % Driver.Packet 137.5
16 174-184 126 79.0 82.8 85.5 86.1 42.2 97 % Driver.Packet 137.2
17 184-194 125 80.0 83.5 87.4 89.4 42.9 97 % Driver.Packet 138.5
18 194-204 127 79.2 82.3 85.6 87.5 42.5 97 % Driver.Packet 137.0
19 204-214 126 79.6 83.0 86.2 90.8 42.3 97 % Driver.Packet 137.9
20 214-224 115 80.2 107.7 167.4 205.0 40.6 98 % Driver.Packet 150.9
21 224-234 129 77.5 80.9 85.9 90.3 38.3 97 % Driver.Packet 135.0
22 234-244 131 76.6 79.3 82.4 90.1 38.2 97 % Driver.Packet 133.1
23 244-254 131 76.7 79.9 82.6 83.5 38.3 97 % Driver.Packet 133.3
24 254-264 130 77.8 80.3 83.7 84.2 38.3 97 % Driver.Packet 134.2
25 264-274 130 77.0 80.0 81.4 82.3 38.3 97 % Driver.Packet 133.8
26 274-284 129 77.7 80.4 83.9 84.6 38.2 97 % Driver.Packet 134.7
27 284-294 130 77.3 80.9 83.6 84.3 38.0 97 % Driver.Packet 134.2
28 294-304 131 76.5 79.5 83.1 85.6 38.5 97 % Driver.Packet 132.7
29 304-314 131 76.5 80.0 82.6 89.6 38.3 97 % Driver.Packet 133.0
30 314-324 129 77.7 80.2 82.9 83.3 38.3 97 % Driver.Packet 134.7
31 324-334 131 76.3 80.1 82.9 89.5 38.2 97 % Driver.Packet 132.8
32 334-344 131 77.0 79.0 80.4 82.3 38.2 97 % Driver.Packet 133.3
33 344-354 131 76.5 79.3 83.1 83.1 38.2 97 % Driver.Packet 132.6
34 354-364 130 77.4 80.1 81.7 88.7 38.0 97 % Driver.Packet 134.8
35 364-374 131 76.6 79.3 81.6 81.9 38.6 97 % Driver.Packet 133.1
36 374-384 131 76.8 80.0 82.1 82.7 37.9 97 % Driver.Packet 133.2
37 384-394 130 76.9 79.5 81.2 82.4 38.5 97 % Driver.Packet 133.7
38 394-404 132 75.7 78.3 81.4 81.4 38.4 97 % Driver.Packet 131.5
39 404-415 130 77.0 80.4 93.7 95.3 38.8 97 % Driver.Packet 134.3
40 415-425 130 76.6 80.2 83.9 145.8 38.4 97 % Driver.Packet 134.2
41 425-435 131 77.1 79.1 80.9 81.8 38.2 97 % Driver.Packet 133.7
42 435-445 131 76.8 79.6 82.1 82.7 38.7 97 % Driver.Packet 133.4
43 445-455 131 76.8 79.0 82.5 82.7 38.2 97 % Driver.Packet 133.1
44 455-465 129 76.7 79.4 84.3 179.9 38.7 97 % Driver.Packet 134.8
45 465-475 130 77.1 79.5 82.2 83.2 38.1 97 % Driver.Packet 133.8
46 475-485 130 77.2 80.5 86.8 96.9 38.9 97 % Driver.Packet 134.6
47 485-495 130 77.1 79.6 81.1 81.6 38.4 97 % Driver.Packet 133.9
48 495-505 130 77.2 80.0 81.5 82.4 38.1 97 % Driver.Packet 134.4
49 505-515 130 77.0 79.7 82.9 84.6 38.7 97 % Driver.Packet 133.9
50 515-525 130 77.0 79.5 82.4 82.7 38.3 97 % Driver.Packet 133.8
51 525-535 130 77.3 80.0 82.7 82.9 38.2 97 % Driver.Packet 134.2
52 535-545 129 77.5 80.4 82.8 88.8 38.7 97 % Driver.Packet 135.2
53 545-555 130 77.3 79.8 82.1 83.4 38.2 97 % Driver.Packet 134.3
54 555-565 130 77.5 80.1 82.3 83.0 38.8 97 % Driver.Packet 134.4
55 565-575 129 77.6 80.3 82.4 82.5 38.1 97 % Driver.Packet 134.8
56 575-585 124 76.3 88.2 103.5 480.0 42.2 97 % Driver.Packet 144.1
57 585-595 139 72.7 75.0 76.7 76.8 40.6 97 % Driver.Packet 130.6
58 595-605 138 73.3 75.8 77.8 78.6 41.0 97 % Driver.Packet 131.6
59 605-615 137 73.2 75.9 77.0 78.9 40.7 97 % Driver.Packet 131.9
60 615-625 138 72.6 75.4 77.4 78.2 40.3 97 % Driver.Packet 130.8
61 625-635 138 72.9 75.9 78.4 80.1 41.1 97 % Driver.Packet 131.6
62 635-645 137 73.5 75.9 78.0 78.8 40.7 97 % Driver.Packet 132.4
63 645-655 138 72.8 75.4 77.8 78.1 40.4 97 % Driver.Packet 131.1
64 655-666 137 73.2 76.2 79.3 81.1 41.0 97 % Driver.Packet 132.3
65 666-676 137 73.4 76.1 79.2 80.5 40.3 97 % Driver.Packet 132.1
66 676-686 137 73.7 76.3 78.0 78.1 40.9 97 % Driver.Packet 132.4
67 686-696 137 73.7 75.8 79.2 79.9 41.1 97 % Driver.Packet 132.6
68 696-706 133 74.4 82.7 88.6 90.1 40.2 97 % Driver.Packet 135.4
69 706-716 124 81.0 83.3 86.8 94.8 38.2 97 % Driver.Packet 140.9
70 716-726 125 80.4 82.9 85.2 85.9 37.6 97 % Driver.Packet 139.4
71 726-736 97 67.2 91.4 1427.4 1427.4 41.7 96 % Driver.Packet 184.4
72 736-746 167 60.2 62.5 65.0 65.5 37.9 97 % Driver.Packet 107.0
73 746-756 167 60.4 62.4 63.8 64.7 37.7 97 % Driver.Packet 107.0
74 756-766 167 60.1 62.7 64.0 64.4 37.9 97 % Driver.Packet 107.2
75 766-776 167 59.9 62.4 63.6 64.6 37.9 97 % Driver.Packet 106.5
76 776-786 167 60.2 61.9 63.7 63.9 38.1 97 % Driver.Packet 106.5
77 786-796 167 60.1 62.5 63.7 64.2 37.9 97 % Driver.Packet 106.9
78 796-806 168 59.8 62.2 63.7 63.9 37.7 97 % Driver.Packet 106.3
79 806-816 167 60.1 62.2 63.6 66.3 38.2 97 % Driver.Packet 106.6
80 816-826 166 60.3 62.4 64.5 64.8 37.7 97 % Driver.Packet 107.2
81 826-836 167 60.0 62.5 64.8 65.2 37.9 97 % Driver.Packet 106.6
82 836-846 167 60.0 62.4 65.1 66.2 37.9 97 % Driver.Packet 106.8
83 846-856 167 59.8 61.8 64.4 65.4 38.1 97 % Driver.Packet 106.5
84 856-866 167 60.0 62.3 64.3 64.6 37.9 97 % Driver.Packet 106.9
p99 ms  .*.@+.................................................................:.............  0-5357.2
gpu ms  .@_:#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  0-168.6
tools/trace_digest.py aps5-summary.jsonl, change

85 intervals, 0.0 to 877.3 s, 11251 presents
NVIDIA GeForce RTX 3080, NVIDIA 616.92, Windows 10.0.26200, 3840x2160, commit 4025f4d4364f

# seconds presents p50 p90 p99 max GPU busy busiest worker largest phase
1 0-31 380 16.7 16.9 304.1 21921.5 2.9 75 % Driver.Packet 65.8
2 31-41 35 159.2 293.2 3430.9 3430.9 135.4 207 % Driver.Packet 877.1
3 41-51 204 16.7 96.4 428.0 1861.2 10.2 72 % Driver.Packet 66.8
4 51-64 6 1910.9 5795.6 5795.6 5795.6 163.0 93 % Driver.Packet 2696.3
5 64-74 76 105.2 138.9 1302.9 1302.9 64.6 106 % Driver.Packet 269.2
6 74-84 101 95.8 110.6 140.1 155.5 59.6 98 % Driver.Packet 176.9
7 84-94 105 95.1 99.2 108.5 109.4 59.3 97 % Driver.Packet 170.9
8 94-104 106 94.9 98.0 103.7 112.3 59.4 97 % Driver.Packet 170.4
9 104-114 123 77.8 96.7 100.0 148.0 46.4 97 % Driver.Packet 143.7
10 114-124 128 78.3 81.1 87.3 90.2 42.9 97 % Driver.Packet 136.8
11 124-134 128 78.2 80.5 89.2 92.0 42.6 97 % Driver.Packet 137.1
12 134-144 128 78.2 81.0 84.1 96.3 42.7 97 % Driver.Packet 137.0
13 144-154 128 78.2 80.6 86.8 94.3 42.7 97 % Driver.Packet 136.8
14 154-165 129 78.0 80.1 82.6 82.9 42.4 97 % Driver.Packet 135.8
15 165-175 128 78.4 80.8 83.3 84.5 43.0 97 % Driver.Packet 136.6
16 175-185 129 77.6 80.6 82.4 86.1 42.3 97 % Driver.Packet 135.5
17 185-195 128 78.3 80.8 82.5 84.5 42.7 97 % Driver.Packet 136.1
18 195-205 129 78.0 80.2 81.4 82.6 43.1 97 % Driver.Packet 135.7
19 205-215 127 79.0 81.6 84.8 111.5 42.9 97 % Driver.Packet 137.7
20 215-225 123 79.6 84.2 143.0 145.0 43.3 97 % Driver.Packet 142.6
21 225-235 131 72.2 87.7 124.8 241.3 39.0 97 % Driver.Packet 134.8
22 235-245 141 71.2 74.2 76.3 76.7 38.8 97 % Driver.Packet 125.3
23 245-255 141 71.1 73.7 76.2 77.3 38.6 97 % Driver.Packet 125.2
24 255-265 142 70.7 74.0 77.0 79.0 38.5 97 % Driver.Packet 124.6
25 265-275 140 71.4 74.7 77.0 77.0 38.6 97 % Driver.Packet 126.0
26 275-285 140 71.6 74.7 77.3 77.9 38.3 97 % Driver.Packet 125.8
27 285-295 141 70.9 73.7 76.2 77.1 38.5 97 % Driver.Packet 125.0
28 295-305 141 71.4 74.2 76.8 78.8 38.9 97 % Driver.Packet 125.7
29 305-315 140 71.7 74.8 77.2 77.4 38.3 97 % Driver.Packet 125.9
30 315-325 138 72.8 77.1 81.0 81.3 38.7 97 % Driver.Packet 127.8
31 325-335 139 71.9 74.9 77.4 77.5 38.6 97 % Driver.Packet 126.7
32 335-345 140 71.5 74.8 76.6 78.4 38.8 97 % Driver.Packet 125.8
33 345-355 140 71.8 75.0 76.9 79.5 38.3 97 % Driver.Packet 126.3
34 355-365 140 71.6 75.5 77.3 78.2 38.5 97 % Driver.Packet 126.2
35 365-375 139 72.0 75.0 77.4 78.1 38.6 97 % Driver.Packet 126.5
36 375-385 140 71.7 74.5 75.9 76.5 38.6 97 % Driver.Packet 126.2
37 385-395 139 71.7 74.4 81.6 139.4 38.8 97 % Driver.Packet 126.9
38 395-405 139 72.3 75.1 77.8 81.0 38.3 97 % Driver.Packet 127.1
39 405-415 140 71.6 75.0 77.5 79.4 38.6 97 % Driver.Packet 126.2
40 415-425 138 72.8 75.9 80.1 88.0 38.8 97 % Driver.Packet 128.2
41 425-436 140 71.9 74.8 77.1 77.3 38.6 97 % Driver.Packet 126.4
42 436-446 139 72.3 74.7 76.9 79.8 38.9 97 % Driver.Packet 126.9
43 446-456 139 72.2 74.9 77.2 77.3 38.4 97 % Driver.Packet 127.0
44 456-466 139 72.3 74.5 76.3 77.4 38.8 97 % Driver.Packet 126.9
45 466-476 139 72.4 74.9 76.4 76.8 38.3 97 % Driver.Packet 127.2
46 476-486 139 72.1 75.3 77.8 79.9 38.9 97 % Driver.Packet 127.3
47 486-496 138 72.8 75.9 80.1 80.4 38.9 97 % Driver.Packet 128.3
48 496-506 138 72.5 75.6 82.6 84.7 38.3 97 % Driver.Packet 128.1
49 506-516 138 72.6 75.4 83.5 84.8 38.9 97 % Driver.Packet 127.6
50 516-526 138 72.7 75.6 82.6 89.1 38.3 97 % Driver.Packet 127.9
51 526-536 138 72.5 75.9 82.8 82.8 38.9 97 % Driver.Packet 127.4
52 536-546 138 72.5 75.4 78.8 80.4 38.3 97 % Driver.Packet 127.8
53 546-556 137 73.2 77.8 81.3 88.8 38.7 97 % Driver.Packet 128.8
54 556-566 139 72.2 75.1 83.9 90.4 38.8 97 % Driver.Packet 127.2
55 566-576 137 72.8 76.7 82.5 85.8 38.6 97 % Driver.Packet 128.7
56 576-586 137 72.7 75.9 87.2 92.5 38.5 97 % Driver.Packet 128.5
57 586-596 140 70.1 78.9 98.3 99.0 42.3 97 % Driver.Packet 131.1
58 596-606 147 68.3 71.1 74.5 76.8 41.2 97 % Driver.Packet 125.7
59 606-616 146 68.5 71.5 76.6 83.6 40.7 97 % Driver.Packet 126.9
60 616-626 141 70.9 74.5 79.5 89.8 42.7 97 % Driver.Packet 130.9
61 626-636 138 72.0 75.5 88.4 88.7 43.2 97 % Driver.Packet 133.3
62 636-646 139 72.5 75.5 77.3 77.6 43.0 97 % Driver.Packet 133.0
63 646-656 137 73.2 76.8 78.9 85.4 43.2 97 % Driver.Packet 135.0
64 656-666 135 74.1 77.0 80.3 81.3 43.5 97 % Driver.Packet 136.8
65 666-677 136 73.8 77.3 80.6 81.9 42.8 97 % Driver.Packet 136.4
66 677-687 136 73.6 76.9 79.0 79.5 43.1 97 % Driver.Packet 136.0
67 687-697 135 73.6 77.3 92.0 97.5 43.4 97 % Driver.Packet 136.8
68 697-707 131 75.9 81.6 90.2 90.3 43.2 97 % Driver.Packet 140.7
69 707-717 126 75.3 82.6 98.8 477.5 41.6 97 % Driver.Packet 144.2
70 717-727 138 72.4 76.8 81.5 82.1 37.0 97 % Driver.Packet 128.5
71 727-737 126 73.3 82.9 115.0 666.0 37.0 97 % Driver.Packet 142.0
72 737-747 85 86.1 110.6 1555.4 1555.4 42.5 97 % Driver.Packet 211.2
73 747-757 119 84.0 90.5 93.8 94.2 40.9 97 % Driver.Packet 147.5
74 757-767 117 85.6 90.3 93.2 94.2 41.3 97 % Driver.Packet 149.5
75 767-777 118 84.2 90.9 95.4 95.6 40.4 97 % Driver.Packet 148.5
76 777-787 122 81.8 85.2 99.4 125.0 40.9 97 % Driver.Packet 143.5
77 787-797 122 81.8 85.1 88.2 88.5 40.6 97 % Driver.Packet 143.2
78 797-807 122 82.0 84.9 87.1 90.9 40.1 97 % Driver.Packet 143.5
79 807-817 121 82.5 86.3 90.8 90.9 40.9 97 % Driver.Packet 143.9
80 817-827 122 82.5 84.9 86.7 87.6 40.6 97 % Driver.Packet 143.6
81 827-837 122 82.2 85.2 89.8 90.9 40.1 97 % Driver.Packet 143.6
82 837-847 121 83.1 85.6 88.2 88.3 40.8 97 % Driver.Packet 144.4
83 847-857 122 82.6 85.2 88.9 91.1 40.5 97 % Driver.Packet 143.8
84 857-867 122 82.0 85.0 87.3 88.4 40.1 97 % Driver.Packet 143.2
85 867-877 122 82.5 85.1 87.8 89.0 40.5 97 % Driver.Packet 143.8
p99 ms  .+_@:..................................................................:.............  0-5795.6
gpu ms  .#_@=----::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  0-163.0
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4976032972 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9965). Originally posted by [ebarr24](https://github.com/ebarr24) on 2026-10-23T00:33:24Z. --- ### What Queue-0 DMA_DATA packets drained the draw pipeline unless APS5_PIPELINE_DMA was set, so the packet worker waited on the committer at every small immediate store. Kena PPSA01746 issues 17-23k DMA_DATA packets per 10 s and 11329 of its 20134 pipeline drains per 10 s are opcode 0x50. enqueueDmaPacket now queues DMA_DATA stores and fills unconditionally, and keepsDrawPipeline keeps the pipeline for a copy or fill whose source and destination miss every queued write. The APS5_PIPELINE_DMA switch and its documentation are removed and the tests run the default path. ### Tested Windows 11, MinGW-w64 GCC 15.2, Release build with tests. `agc_dma_data_tests`, `agc_driver_depth_fast_clear_submit`, `agc_driver_layered_volume_submit`, `agc_driver_pipelined_dispatch`, `agc_driver_pipelined_dma`, `agc_driver_pipelined_fill` pass with this change; the new test fails on `main`. Kena: Bridge of Spirits (PPSA01746), the same scripted input on both runs (ws input script 3baefd0ea4), NVIDIA GeForce RTX 3080, driver 32.0.16.1692; Microsoft Windows 11 Pro: median 12.2 fps on `main` 78becbb37, 13.6 fps with this change. Validation layer (vulkan-sdk-1.4.363.0), on `main` f6075c2f4a and on this change, with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `VK_ADD_LAYER_PATH` set to the layer, `ANYPS5_NO_SHADER_CACHE=1` and `ANYPS5_REQUIRE_VULKAN=1`: `ctest -V -R "dma|pipelined|queued_index_read|submit"`. Neither log contains `was not found but was requested by env var VK_INSTANCE_LAYERS`; the change adds no `VUID-` errors (0 with the change, 0 on `main`). <details><summary>ctest -V log, main</summary> The `***Failed` result and the failure line at its end are the new regression test failing on `main`, as intended; they are not an unrelated baseline failure. ``` ] Physical device candidate=000001feb4ab7b00 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2 843: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=000001feb4ab7b00 queueFamily=0 843: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 843: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 843: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 843: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 843: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 843: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000001fe2e0600d0 queue=000001fe2e001ed0 family=0 843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821d00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821c00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 843: [Shaders\ShaderRegistry.cpp:613 ReportPreparedAtUse] Compute shader 0x7ff753821b00 was not registered; preparing its artifact at dispatch 843: AGC graphics: queued index read: the queued draw holds no read of its copy source range 843: [gpu] host imports at shutdown: 2 live (0.2 MiB); made 2 (0.2 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 0/0/0, access 2/0/0, join 0/0/0, segment 0/0/0 843: [gpu] storage image 0x200020000 destroyed with GPU results pending 11/13 Test #843: agc_driver_queued_index_read_order ............***Failed 10.74 sec test 899 Start 899: agc_driver_sparse_dma_buf_import 899: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_sparse_dma_buf_import_tests.exe 899: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1 899: Environment variables: 899: ANYPS5_NO_SHADER_CACHE=1 899: APS5_NO_PIPELINE_JOURNAL=1 899: Environment variable modifications: 899: PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched 899: Test timeout computed to be: 120 899: skipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTS 12/13 Test #899: agc_driver_sparse_dma_buf_import ..............***Skipped 0.01 sec test 1107 Start 1107: agc_driver_pipelined_dispatch_item 1107: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_pipelined_dispatch_tests.exe 1107: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/prx/libSceAgcDriver 1107: Environment variables: 1107: ANYPS5_NO_SHADER_CACHE=1 1107: APS5_PIPELINE_DISPATCH=1 1107: APS5_NO_PIPELINE_JOURNAL=1 1107: Environment variable modifications: 1107: PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched 1107: Test timeout computed to be: 120 1107: [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine) 1107: [src\HostCpu.cpp:193 operator()] host CPU AMD Ryzen 7 3700X 8-Core Processor: has SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, LZCNT, BMI1, BMI2, MOVBE, CMPXCHG16B, LAHF/SAHF, AVX, AVX2, FMA, F16C, AES, PCLMULQDQ, RDRAND, RDSEED, ADX, SHA, CLFLUSHOPT, CLWB, RDPID, XSAVEOPT, XSAVEC, SSE4A, PREFETCHW, CLZERO, OS AVX state (XCR0); lacks none 1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000 1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000 1107: 1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000023827f97ca0 1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1 1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000023828021e60 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2 1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000023828021e60 queueFamily=0 1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002382a0d00d0 queue=000002382a0714d0 family=0 1107: [write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking 1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000 1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000 1107: 1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=000002386a4fd3d0 1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1 1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=000002386a4aa060 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2 1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=000002386a4aa060 queueFamily=0 1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002382a0d00d0 queue=000002382a071ed0 family=0 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43900 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43800 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43700 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: pipelined dispatch: input fill round 0, fill 0x0a0b0c0d, dispatch drains 0 1107: pipelined dispatch: input fill round 1, fill 0x11112222, dispatch drains 0 1107: pipelined dispatch: input fill round 2, fill 0x33334444, dispatch drains 0 1107: pipelined dispatch: input fill round 3, fill 0x55556666, dispatch drains 0 1107: pipelined dispatch: input fill round 4, fill 0x77778888, dispatch drains 0 1107: pipelined dispatch: scratch fill round 0, fill 0xc0de0000, dispatch drains 0 1107: pipelined dispatch: scratch fill round 1, fill 0xc0de0001, dispatch drains 0 1107: pipelined dispatch: scratch fill round 2, fill 0xc0de0002, dispatch drains 0 1107: pipelined dispatch: timed out waiting for the target and table fills queued behind the gate 1107: [gpu] host imports at shutdown: 1 live (0.2 MiB); made 1 (0.2 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 1/0/0, access 0/0/0, join 0/0/0, segment 0/0/0 13/13 Test #1107: agc_driver_pipelined_dispatch_item ............***Failed 10.61 sec The following tests passed: agc_dma_data_tests agc_driver_depth_fast_clear_submit agc_driver_layered_volume_submit agc_driver_pipelined_fill agc_driver_pipelined_indirect_draw agc_driver_pipelined_predicated_label_order agc_driver_pipelined_predication_read agc_driver_pipelined_prefetch agc_driver_sparse_dma_buf_import 69% tests passed, 4 tests failed out of 13 Total Test time (real) = 32.70 sec The following tests did not run: 550 - agc_driver_depth_fast_clear_submit (Skipped) 746 - agc_driver_layered_volume_submit (Skipped) 809 - agc_driver_pipelined_fill (Skipped) 810 - agc_driver_pipelined_indirect_draw (Skipped) 811 - agc_driver_pipelined_predicated_label_order (Skipped) 812 - agc_driver_pipelined_predication_read (Skipped) 813 - agc_driver_pipelined_prefetch (Skipped) 899 - agc_driver_sparse_dma_buf_import (Skipped) The following tests FAILED: 807 - agc_driver_pipelined_dispatch (Failed) 808 - agc_driver_pipelined_dma (Failed) 843 - agc_driver_queued_index_read_order (Failed) 1107 - agc_driver_pipelined_dispatch_item (Failed) Errors while running CTest Output from these tests are in: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. ``` </details> <details><summary>ctest -V log, this change</summary> ``` ed GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 843: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 843: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 843: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 843: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 843: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 843: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 843: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=000002a010bb00d0 queue=000002a010b51ed0 family=0 843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821d00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 843: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff753821c00 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 843: [Shaders\ShaderRegistry.cpp:613 ReportPreparedAtUse] Compute shader 0x7ff753821b00 was not registered; preparing its artifact at dispatch 843: [gpu] host imports at shutdown: 1 live (0.1 MiB); made 1 (0.1 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 0/0/0, access 1/0/0, join 0/0/0, segment 0/0/0 843: queued index read vs. deferred storage write-back tests passed 11/13 Test #843: agc_driver_queued_index_read_order ............ Passed 0.85 sec test 899 Start 899: agc_driver_sparse_dma_buf_import 899: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_sparse_dma_buf_import_tests.exe 899: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1 899: Environment variables: 899: ANYPS5_NO_SHADER_CACHE=1 899: APS5_NO_PIPELINE_JOURNAL=1 899: Environment variable modifications: 899: PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched 899: Test timeout computed to be: 120 899: skipped, this build leaves the test out with ANYPS5_AGC_EXECUTION_TESTS 12/13 Test #899: agc_driver_sparse_dma_buf_import ..............***Skipped 0.03 sec test 1107 Start 1107: agc_driver_pipelined_dispatch_item 1107: Test command: C:\Users\ebarr\ps5-emulation\work\s1\.wsbuild\tests\agc_driver_pipelined_dispatch_tests.exe 1107: Working Directory: C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/prx/libSceAgcDriver 1107: Environment variables: 1107: ANYPS5_NO_SHADER_CACHE=1 1107: APS5_PIPELINE_DISPATCH=1 1107: APS5_NO_PIPELINE_JOURNAL=1 1107: Environment variable modifications: 1107: PATH=path_list_prepend:C:/Users/ebarr/ps5-emulation/work/s1/.wsbuild/core/libs/libs/unpatched 1107: Test timeout computed to be: 120 1107: [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine) 1107: [src\HostCpu.cpp:193 operator()] host CPU AMD Ryzen 7 3700X 8-Core Processor: has SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, LZCNT, BMI1, BMI2, MOVBE, CMPXCHG16B, LAHF/SAHF, AVX, AVX2, FMA, F16C, AES, PCLMULQDQ, RDRAND, RDSEED, ADX, SHA, CLFLUSHOPT, CLWB, RDPID, XSAVEOPT, XSAVEC, SSE4A, PREFETCHW, CLZERO, OS AVX state (XCR0); lacks none 1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000 1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000 1107: 1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000022e6c3d79f0 1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1 1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000022e6e9f56c0 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2 1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000022e6e9f56c0 queueFamily=0 1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=0000022e003e00d0 queue=0000022e003814d0 family=0 1107: [write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking 1107: [src\VulkanDevice.cpp:1014 VulkanDevice] VulkanDevice constructor window=0000000000000000 1107: [src\VulkanDevice.cpp:1023 VulkanDevice] Vulkan loader loaded library=00007ffb48fe0000 1107: 1107: [src\VulkanDevice.cpp:1061 VulkanDevice] Vulkan instance created instance=0000022e6eb1d430 1107: [src\VulkanDevice.cpp:1072 VulkanDevice] Physical device count=1 1107: [src\VulkanDevice.cpp:1105 VulkanDevice] Physical device candidate=0000022eb4e93300 name=NVIDIA GeForce RTX 3080 api=0x40415f type=2 1107: [src\VulkanDevice.cpp:1152 VulkanDevice] Physical device selected physical=0000022eb4e93300 queueFamily=0 1107: [src\VulkanDevice.cpp:1166 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 3080 vendor=0x10de device=0x2206 subgroup=32 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 0 size=10053.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 1 size=16339.5 MiB flags=0x0 1107: [src\VulkanDevice.cpp:1168 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 0 heap=1 flags=0x0 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 1 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 2 heap=0 flags=0x1 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 3 heap=1 flags=0x6 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 4 heap=1 flags=0xe 1107: [src\VulkanDevice.cpp:1169 VulkanDevice] Memory type 5 heap=2 flags=0x7 1107: [src\VulkanDevice.cpp:1242 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 1107: [gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1 1107: [src\VulkanDevice.cpp:1629 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 1107: [src\VulkanDevice.cpp:1897 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 1107: [src\VulkanDevice.cpp:2008 VulkanDevice] Vulkan device ready device=0000022e003e00d0 queue=0000022e00381ed0 family=0 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43900 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43800 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: [Shaders\ShaderRegistry.cpp:930 operator()] Shader 0x7ff662d43700 could not be prepared at registration (its program address is not in the shader registers); preparing it when it is used 1107: [gpu] host imports at shutdown: 2 live (0.3 MiB); made 2 (0.3 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 2/0/0, access 0/0/0, join 0/0/0, segment 0/0/0 1107: pipelined dispatch: input fill round 0, fill 0x0a0b0c0d, dispatch drains 1 1107: pipelined dispatch: input fill round 1, fill 0x11112222, dispatch drains 0 1107: pipelined dispatch: input fill round 2, fill 0x33334444, dispatch drains 0 1107: pipelined dispatch: input fill round 3, fill 0x55556666, dispatch drains 0 1107: pipelined dispatch: input fill round 4, fill 0x77778888, dispatch drains 0 1107: pipelined dispatch: scratch fill round 0, fill 0xc0de0000, dispatch drains 0 1107: pipelined dispatch: scratch fill round 1, fill 0xc0de0001, dispatch drains 0 1107: pipelined dispatch: scratch fill round 2, fill 0xc0de0002, dispatch drains 0 1107: pipelined dispatch: descriptor round 0, fill 0x6a6a0001, dispatch drains 1 1107: pipelined dispatch: descriptor round 1, fill 0x6b6b0002, dispatch drains 1 1107: pipelined dispatch: descriptor round 2, fill 0x6c6c0003, dispatch drains 1 1107: pipelined dispatch: descriptor round 3, fill 0x6d6d0004, dispatch drains 1 1107: pipelined dispatch: scalar read round 0, fill 0x13572468, dispatch drains 0 1107: pipelined dispatch: scalar read round 1, fill 0x2468ace0, dispatch drains 1 1107: pipelined dispatch: scalar read round 2, fill 0x0f1e2d3c, dispatch drains 1 1107: pipelined dispatch: scalar read round 3, fill 0x9abcdef0, dispatch drains 1 1107: pipelined dispatch: scalar read round 4, fill 0x31415926, dispatch drains 1 1107: pipelined dispatch tests passed 13/13 Test #1107: agc_driver_pipelined_dispatch_item ............ Passed 0.77 sec The following tests passed: agc_dma_data_tests agc_driver_depth_fast_clear_submit agc_driver_layered_volume_submit agc_driver_pipelined_dispatch agc_driver_pipelined_dma agc_driver_pipelined_fill agc_driver_pipelined_indirect_draw agc_driver_pipelined_predicated_label_order agc_driver_pipelined_predication_read agc_driver_pipelined_prefetch agc_driver_queued_index_read_order agc_driver_sparse_dma_buf_import agc_driver_pipelined_dispatch_item 100% tests passed out of 13 Total Test time (real) = 3.75 sec The following tests did not run: 550 - agc_driver_depth_fast_clear_submit (Skipped) 746 - agc_driver_layered_volume_submit (Skipped) 809 - agc_driver_pipelined_fill (Skipped) 810 - agc_driver_pipelined_indirect_draw (Skipped) 811 - agc_driver_pipelined_predicated_label_order (Skipped) 812 - agc_driver_pipelined_predication_read (Skipped) 813 - agc_driver_pipelined_prefetch (Skipped) 899 - agc_driver_sparse_dma_buf_import (Skipped) ``` </details> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA01746 #4073 - [x] GPUs tested: NVIDIA GeForce RTX 3080, driver 32.0.16.1692; Microsoft Windows 11 Pro; Khronos validation layer on `main` and this change, no new VUIDs - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code) ### Performance trace Same machine (Windows 11, RTX 3080, driver 616.92), same title (PPSA01746) and same scripted input (ws input script 3baefd0ea4, 42 presses, about 877 s), captured with `APS5_TRACE_SUMMARY_EVERY=10` for main 83462cc57dde and for this PR's head 4025f4d4364f (which is based on the earlier main f6075c2f4a; main moved by the commits between the two). Over the intervals after the first 120 s, the median frame p50 is 76.7 ms on main and 72.7 ms with the change; the median frame p99 is 82.2 ms and 81.5 ms; the median GPU busy per present is 38.3 ms and 38.9 ms. The summary file holds interval lines, not window captures, so no trace file (`aps5-trace-*.json.gz`) was written; the first line of each capture and its `tools/trace_digest.py` output follow. <details><summary>aps5-summary.jsonl first line, main 83462cc57dde</summary> ```json {"commit":"83462cc57dde","dirty":false,"env":{"APS5_DUMP_FRAMES":"1000000","APS5_DUMP_FRAMES_EVERY":"15","APS5_LOG_TIMESTAMPS":"1","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_PROFILE_DRAW":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 3080","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 3700X 8-Core Processor","cpu_threads":16,"memory_mib":32679,"title_id":"PPSA01746","title":"Kena: Bridge of Spirits","content_version":"02.008.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":0,"ms":31139.323},"interval_start_s":0.000,"interval_end_s":31.139,"presents":375,"frame_ms":{"p50":16.684,"p90":16.896,"p99":251.409,"max":22218.392},"gpu_busy_ms_per_present":3.055,"worker_busy_pct":{"queue worker 0x0":72.229,"queue worker 0x20":6.788},"top_phases_ms_per_frame":{"Driver.Packet":65.605,"Shader.ResolveAbi":56.185,"Driver.Packet.draw":37.226,"Driver.Draw":37.212,"Driver.Draw.shader_compile_and_link":36.286,"Shader.DrawStage":36.194,"Shader.DrawStage.materialize":35.512,"Shader.PrepareArtifact":31.265},"trace_dropped":false,"trace":""} ``` </details> <details><summary>aps5-summary.jsonl first line, change 4025f4d4364f</summary> ```json {"commit":"4025f4d4364f","dirty":false,"env":{"APS5_DUMP_FRAMES":"1000000","APS5_DUMP_FRAMES_EVERY":"15","APS5_LOG_TIMESTAMPS":"1","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_PROFILE_DRAW":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 3080","driver":"NVIDIA 616.92","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 3700X 8-Core Processor","cpu_threads":16,"memory_mib":32679,"title_id":"PPSA01746","title":"Kena: Bridge of Spirits","content_version":"02.008.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":0,"ms":31006.806},"interval_start_s":0.000,"interval_end_s":31.007,"presents":380,"frame_ms":{"p50":16.685,"p90":16.918,"p99":304.110,"max":21921.458},"gpu_busy_ms_per_present":2.882,"worker_busy_pct":{"queue worker 0x0":75.303,"queue worker 0x20":5.401},"top_phases_ms_per_frame":{"Driver.Packet":65.836,"Shader.ResolveAbi":43.245,"Driver.Packet.draw":36.790,"Driver.Draw":36.775,"Driver.Draw.shader_compile_and_link":35.725,"Shader.DrawStage":35.627,"Shader.DrawStage.materialize":35.223,"Driver.Packet.dispatch":19.675},"trace_dropped":false,"trace":""} ``` </details> <details><summary>tools/trace_digest.py aps5-summary.jsonl, main</summary> **84 intervals**, 0.0 to 866.2 s, 11350 presents NVIDIA GeForce RTX 3080, NVIDIA 616.92, Windows 10.0.26200, 3840x2160, commit 83462cc57dde | # | seconds | presents | p50 | p90 | p99 | max | GPU busy | busiest worker | largest phase | |---|---|---|---|---|---|---|---|---|---| | 1 | 0-31 | 375 | 16.7 | 16.9 | 251.4 | 22218.4 | 3.1 | 72 % | Driver.Packet 65.6 | | 2 | 31-41 | 27 | 212.0 | 770.1 | 3504.2 | 3504.2 | 168.6 | 207 % | Driver.Packet 1139.4 | | 3 | 41-53 | 196 | 16.7 | 164.3 | 294.0 | 1679.4 | 21.4 | 93 % | Driver.Packet 88.7 | | 4 | 53-63 | 33 | 88.0 | 411.2 | 5357.2 | 5357.2 | 32.9 | 91 % | Driver.Packet 452.7 | | 5 | 63-73 | 19 | 133.6 | 1981.1 | 3090.1 | 3090.1 | 130.7 | 99 % | Driver.Packet 967.7 | | 6 | 73-83 | 106 | 89.5 | 120.8 | 138.1 | 138.9 | 43.2 | 97 % | Driver.Packet 162.5 | | 7 | 83-93 | 124 | 80.4 | 83.8 | 93.6 | 95.2 | 42.3 | 97 % | Driver.Packet 139.9 | | 8 | 93-104 | 124 | 80.5 | 84.8 | 101.5 | 113.2 | 42.4 | 97 % | Driver.Packet 140.6 | | 9 | 104-114 | 125 | 79.9 | 84.3 | 93.4 | 140.5 | 41.9 | 97 % | Driver.Packet 139.2 | | 10 | 114-124 | 126 | 79.8 | 83.1 | 85.1 | 86.0 | 42.6 | 97 % | Driver.Packet 137.9 | | 11 | 124-134 | 126 | 79.4 | 83.6 | 85.2 | 98.7 | 42.4 | 97 % | Driver.Packet 137.6 | | 12 | 134-144 | 127 | 79.0 | 82.2 | 84.0 | 86.4 | 42.2 | 97 % | Driver.Packet 136.7 | | 13 | 144-154 | 126 | 79.4 | 82.9 | 90.0 | 106.5 | 42.7 | 97 % | Driver.Packet 137.8 | | 14 | 154-164 | 126 | 79.6 | 82.7 | 84.8 | 84.9 | 42.9 | 97 % | Driver.Packet 137.6 | | 15 | 164-174 | 126 | 79.4 | 82.9 | 84.9 | 85.7 | 42.7 | 97 % | Driver.Packet 137.5 | | 16 | 174-184 | 126 | 79.0 | 82.8 | 85.5 | 86.1 | 42.2 | 97 % | Driver.Packet 137.2 | | 17 | 184-194 | 125 | 80.0 | 83.5 | 87.4 | 89.4 | 42.9 | 97 % | Driver.Packet 138.5 | | 18 | 194-204 | 127 | 79.2 | 82.3 | 85.6 | 87.5 | 42.5 | 97 % | Driver.Packet 137.0 | | 19 | 204-214 | 126 | 79.6 | 83.0 | 86.2 | 90.8 | 42.3 | 97 % | Driver.Packet 137.9 | | 20 | 214-224 | 115 | 80.2 | 107.7 | 167.4 | 205.0 | 40.6 | 98 % | Driver.Packet 150.9 | | 21 | 224-234 | 129 | 77.5 | 80.9 | 85.9 | 90.3 | 38.3 | 97 % | Driver.Packet 135.0 | | 22 | 234-244 | 131 | 76.6 | 79.3 | 82.4 | 90.1 | 38.2 | 97 % | Driver.Packet 133.1 | | 23 | 244-254 | 131 | 76.7 | 79.9 | 82.6 | 83.5 | 38.3 | 97 % | Driver.Packet 133.3 | | 24 | 254-264 | 130 | 77.8 | 80.3 | 83.7 | 84.2 | 38.3 | 97 % | Driver.Packet 134.2 | | 25 | 264-274 | 130 | 77.0 | 80.0 | 81.4 | 82.3 | 38.3 | 97 % | Driver.Packet 133.8 | | 26 | 274-284 | 129 | 77.7 | 80.4 | 83.9 | 84.6 | 38.2 | 97 % | Driver.Packet 134.7 | | 27 | 284-294 | 130 | 77.3 | 80.9 | 83.6 | 84.3 | 38.0 | 97 % | Driver.Packet 134.2 | | 28 | 294-304 | 131 | 76.5 | 79.5 | 83.1 | 85.6 | 38.5 | 97 % | Driver.Packet 132.7 | | 29 | 304-314 | 131 | 76.5 | 80.0 | 82.6 | 89.6 | 38.3 | 97 % | Driver.Packet 133.0 | | 30 | 314-324 | 129 | 77.7 | 80.2 | 82.9 | 83.3 | 38.3 | 97 % | Driver.Packet 134.7 | | 31 | 324-334 | 131 | 76.3 | 80.1 | 82.9 | 89.5 | 38.2 | 97 % | Driver.Packet 132.8 | | 32 | 334-344 | 131 | 77.0 | 79.0 | 80.4 | 82.3 | 38.2 | 97 % | Driver.Packet 133.3 | | 33 | 344-354 | 131 | 76.5 | 79.3 | 83.1 | 83.1 | 38.2 | 97 % | Driver.Packet 132.6 | | 34 | 354-364 | 130 | 77.4 | 80.1 | 81.7 | 88.7 | 38.0 | 97 % | Driver.Packet 134.8 | | 35 | 364-374 | 131 | 76.6 | 79.3 | 81.6 | 81.9 | 38.6 | 97 % | Driver.Packet 133.1 | | 36 | 374-384 | 131 | 76.8 | 80.0 | 82.1 | 82.7 | 37.9 | 97 % | Driver.Packet 133.2 | | 37 | 384-394 | 130 | 76.9 | 79.5 | 81.2 | 82.4 | 38.5 | 97 % | Driver.Packet 133.7 | | 38 | 394-404 | 132 | 75.7 | 78.3 | 81.4 | 81.4 | 38.4 | 97 % | Driver.Packet 131.5 | | 39 | 404-415 | 130 | 77.0 | 80.4 | 93.7 | 95.3 | 38.8 | 97 % | Driver.Packet 134.3 | | 40 | 415-425 | 130 | 76.6 | 80.2 | 83.9 | 145.8 | 38.4 | 97 % | Driver.Packet 134.2 | | 41 | 425-435 | 131 | 77.1 | 79.1 | 80.9 | 81.8 | 38.2 | 97 % | Driver.Packet 133.7 | | 42 | 435-445 | 131 | 76.8 | 79.6 | 82.1 | 82.7 | 38.7 | 97 % | Driver.Packet 133.4 | | 43 | 445-455 | 131 | 76.8 | 79.0 | 82.5 | 82.7 | 38.2 | 97 % | Driver.Packet 133.1 | | 44 | 455-465 | 129 | 76.7 | 79.4 | 84.3 | 179.9 | 38.7 | 97 % | Driver.Packet 134.8 | | 45 | 465-475 | 130 | 77.1 | 79.5 | 82.2 | 83.2 | 38.1 | 97 % | Driver.Packet 133.8 | | 46 | 475-485 | 130 | 77.2 | 80.5 | 86.8 | 96.9 | 38.9 | 97 % | Driver.Packet 134.6 | | 47 | 485-495 | 130 | 77.1 | 79.6 | 81.1 | 81.6 | 38.4 | 97 % | Driver.Packet 133.9 | | 48 | 495-505 | 130 | 77.2 | 80.0 | 81.5 | 82.4 | 38.1 | 97 % | Driver.Packet 134.4 | | 49 | 505-515 | 130 | 77.0 | 79.7 | 82.9 | 84.6 | 38.7 | 97 % | Driver.Packet 133.9 | | 50 | 515-525 | 130 | 77.0 | 79.5 | 82.4 | 82.7 | 38.3 | 97 % | Driver.Packet 133.8 | | 51 | 525-535 | 130 | 77.3 | 80.0 | 82.7 | 82.9 | 38.2 | 97 % | Driver.Packet 134.2 | | 52 | 535-545 | 129 | 77.5 | 80.4 | 82.8 | 88.8 | 38.7 | 97 % | Driver.Packet 135.2 | | 53 | 545-555 | 130 | 77.3 | 79.8 | 82.1 | 83.4 | 38.2 | 97 % | Driver.Packet 134.3 | | 54 | 555-565 | 130 | 77.5 | 80.1 | 82.3 | 83.0 | 38.8 | 97 % | Driver.Packet 134.4 | | 55 | 565-575 | 129 | 77.6 | 80.3 | 82.4 | 82.5 | 38.1 | 97 % | Driver.Packet 134.8 | | 56 | 575-585 | 124 | 76.3 | 88.2 | 103.5 | 480.0 | 42.2 | 97 % | Driver.Packet 144.1 | | 57 | 585-595 | 139 | 72.7 | 75.0 | 76.7 | 76.8 | 40.6 | 97 % | Driver.Packet 130.6 | | 58 | 595-605 | 138 | 73.3 | 75.8 | 77.8 | 78.6 | 41.0 | 97 % | Driver.Packet 131.6 | | 59 | 605-615 | 137 | 73.2 | 75.9 | 77.0 | 78.9 | 40.7 | 97 % | Driver.Packet 131.9 | | 60 | 615-625 | 138 | 72.6 | 75.4 | 77.4 | 78.2 | 40.3 | 97 % | Driver.Packet 130.8 | | 61 | 625-635 | 138 | 72.9 | 75.9 | 78.4 | 80.1 | 41.1 | 97 % | Driver.Packet 131.6 | | 62 | 635-645 | 137 | 73.5 | 75.9 | 78.0 | 78.8 | 40.7 | 97 % | Driver.Packet 132.4 | | 63 | 645-655 | 138 | 72.8 | 75.4 | 77.8 | 78.1 | 40.4 | 97 % | Driver.Packet 131.1 | | 64 | 655-666 | 137 | 73.2 | 76.2 | 79.3 | 81.1 | 41.0 | 97 % | Driver.Packet 132.3 | | 65 | 666-676 | 137 | 73.4 | 76.1 | 79.2 | 80.5 | 40.3 | 97 % | Driver.Packet 132.1 | | 66 | 676-686 | 137 | 73.7 | 76.3 | 78.0 | 78.1 | 40.9 | 97 % | Driver.Packet 132.4 | | 67 | 686-696 | 137 | 73.7 | 75.8 | 79.2 | 79.9 | 41.1 | 97 % | Driver.Packet 132.6 | | 68 | 696-706 | 133 | 74.4 | 82.7 | 88.6 | 90.1 | 40.2 | 97 % | Driver.Packet 135.4 | | 69 | 706-716 | 124 | 81.0 | 83.3 | 86.8 | 94.8 | 38.2 | 97 % | Driver.Packet 140.9 | | 70 | 716-726 | 125 | 80.4 | 82.9 | 85.2 | 85.9 | 37.6 | 97 % | Driver.Packet 139.4 | | 71 | 726-736 | 97 | 67.2 | 91.4 | 1427.4 | 1427.4 | 41.7 | 96 % | Driver.Packet 184.4 | | 72 | 736-746 | 167 | 60.2 | 62.5 | 65.0 | 65.5 | 37.9 | 97 % | Driver.Packet 107.0 | | 73 | 746-756 | 167 | 60.4 | 62.4 | 63.8 | 64.7 | 37.7 | 97 % | Driver.Packet 107.0 | | 74 | 756-766 | 167 | 60.1 | 62.7 | 64.0 | 64.4 | 37.9 | 97 % | Driver.Packet 107.2 | | 75 | 766-776 | 167 | 59.9 | 62.4 | 63.6 | 64.6 | 37.9 | 97 % | Driver.Packet 106.5 | | 76 | 776-786 | 167 | 60.2 | 61.9 | 63.7 | 63.9 | 38.1 | 97 % | Driver.Packet 106.5 | | 77 | 786-796 | 167 | 60.1 | 62.5 | 63.7 | 64.2 | 37.9 | 97 % | Driver.Packet 106.9 | | 78 | 796-806 | 168 | 59.8 | 62.2 | 63.7 | 63.9 | 37.7 | 97 % | Driver.Packet 106.3 | | 79 | 806-816 | 167 | 60.1 | 62.2 | 63.6 | 66.3 | 38.2 | 97 % | Driver.Packet 106.6 | | 80 | 816-826 | 166 | 60.3 | 62.4 | 64.5 | 64.8 | 37.7 | 97 % | Driver.Packet 107.2 | | 81 | 826-836 | 167 | 60.0 | 62.5 | 64.8 | 65.2 | 37.9 | 97 % | Driver.Packet 106.6 | | 82 | 836-846 | 167 | 60.0 | 62.4 | 65.1 | 66.2 | 37.9 | 97 % | Driver.Packet 106.8 | | 83 | 846-856 | 167 | 59.8 | 61.8 | 64.4 | 65.4 | 38.1 | 97 % | Driver.Packet 106.5 | | 84 | 856-866 | 167 | 60.0 | 62.3 | 64.3 | 64.6 | 37.9 | 97 % | Driver.Packet 106.9 | ``` p99 ms .*.@+.................................................................:............. 0-5357.2 gpu ms .@_:#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 0-168.6 ``` </details> <details><summary>tools/trace_digest.py aps5-summary.jsonl, change</summary> **85 intervals**, 0.0 to 877.3 s, 11251 presents NVIDIA GeForce RTX 3080, NVIDIA 616.92, Windows 10.0.26200, 3840x2160, commit 4025f4d4364f | # | seconds | presents | p50 | p90 | p99 | max | GPU busy | busiest worker | largest phase | |---|---|---|---|---|---|---|---|---|---| | 1 | 0-31 | 380 | 16.7 | 16.9 | 304.1 | 21921.5 | 2.9 | 75 % | Driver.Packet 65.8 | | 2 | 31-41 | 35 | 159.2 | 293.2 | 3430.9 | 3430.9 | 135.4 | 207 % | Driver.Packet 877.1 | | 3 | 41-51 | 204 | 16.7 | 96.4 | 428.0 | 1861.2 | 10.2 | 72 % | Driver.Packet 66.8 | | 4 | 51-64 | 6 | 1910.9 | 5795.6 | 5795.6 | 5795.6 | 163.0 | 93 % | Driver.Packet 2696.3 | | 5 | 64-74 | 76 | 105.2 | 138.9 | 1302.9 | 1302.9 | 64.6 | 106 % | Driver.Packet 269.2 | | 6 | 74-84 | 101 | 95.8 | 110.6 | 140.1 | 155.5 | 59.6 | 98 % | Driver.Packet 176.9 | | 7 | 84-94 | 105 | 95.1 | 99.2 | 108.5 | 109.4 | 59.3 | 97 % | Driver.Packet 170.9 | | 8 | 94-104 | 106 | 94.9 | 98.0 | 103.7 | 112.3 | 59.4 | 97 % | Driver.Packet 170.4 | | 9 | 104-114 | 123 | 77.8 | 96.7 | 100.0 | 148.0 | 46.4 | 97 % | Driver.Packet 143.7 | | 10 | 114-124 | 128 | 78.3 | 81.1 | 87.3 | 90.2 | 42.9 | 97 % | Driver.Packet 136.8 | | 11 | 124-134 | 128 | 78.2 | 80.5 | 89.2 | 92.0 | 42.6 | 97 % | Driver.Packet 137.1 | | 12 | 134-144 | 128 | 78.2 | 81.0 | 84.1 | 96.3 | 42.7 | 97 % | Driver.Packet 137.0 | | 13 | 144-154 | 128 | 78.2 | 80.6 | 86.8 | 94.3 | 42.7 | 97 % | Driver.Packet 136.8 | | 14 | 154-165 | 129 | 78.0 | 80.1 | 82.6 | 82.9 | 42.4 | 97 % | Driver.Packet 135.8 | | 15 | 165-175 | 128 | 78.4 | 80.8 | 83.3 | 84.5 | 43.0 | 97 % | Driver.Packet 136.6 | | 16 | 175-185 | 129 | 77.6 | 80.6 | 82.4 | 86.1 | 42.3 | 97 % | Driver.Packet 135.5 | | 17 | 185-195 | 128 | 78.3 | 80.8 | 82.5 | 84.5 | 42.7 | 97 % | Driver.Packet 136.1 | | 18 | 195-205 | 129 | 78.0 | 80.2 | 81.4 | 82.6 | 43.1 | 97 % | Driver.Packet 135.7 | | 19 | 205-215 | 127 | 79.0 | 81.6 | 84.8 | 111.5 | 42.9 | 97 % | Driver.Packet 137.7 | | 20 | 215-225 | 123 | 79.6 | 84.2 | 143.0 | 145.0 | 43.3 | 97 % | Driver.Packet 142.6 | | 21 | 225-235 | 131 | 72.2 | 87.7 | 124.8 | 241.3 | 39.0 | 97 % | Driver.Packet 134.8 | | 22 | 235-245 | 141 | 71.2 | 74.2 | 76.3 | 76.7 | 38.8 | 97 % | Driver.Packet 125.3 | | 23 | 245-255 | 141 | 71.1 | 73.7 | 76.2 | 77.3 | 38.6 | 97 % | Driver.Packet 125.2 | | 24 | 255-265 | 142 | 70.7 | 74.0 | 77.0 | 79.0 | 38.5 | 97 % | Driver.Packet 124.6 | | 25 | 265-275 | 140 | 71.4 | 74.7 | 77.0 | 77.0 | 38.6 | 97 % | Driver.Packet 126.0 | | 26 | 275-285 | 140 | 71.6 | 74.7 | 77.3 | 77.9 | 38.3 | 97 % | Driver.Packet 125.8 | | 27 | 285-295 | 141 | 70.9 | 73.7 | 76.2 | 77.1 | 38.5 | 97 % | Driver.Packet 125.0 | | 28 | 295-305 | 141 | 71.4 | 74.2 | 76.8 | 78.8 | 38.9 | 97 % | Driver.Packet 125.7 | | 29 | 305-315 | 140 | 71.7 | 74.8 | 77.2 | 77.4 | 38.3 | 97 % | Driver.Packet 125.9 | | 30 | 315-325 | 138 | 72.8 | 77.1 | 81.0 | 81.3 | 38.7 | 97 % | Driver.Packet 127.8 | | 31 | 325-335 | 139 | 71.9 | 74.9 | 77.4 | 77.5 | 38.6 | 97 % | Driver.Packet 126.7 | | 32 | 335-345 | 140 | 71.5 | 74.8 | 76.6 | 78.4 | 38.8 | 97 % | Driver.Packet 125.8 | | 33 | 345-355 | 140 | 71.8 | 75.0 | 76.9 | 79.5 | 38.3 | 97 % | Driver.Packet 126.3 | | 34 | 355-365 | 140 | 71.6 | 75.5 | 77.3 | 78.2 | 38.5 | 97 % | Driver.Packet 126.2 | | 35 | 365-375 | 139 | 72.0 | 75.0 | 77.4 | 78.1 | 38.6 | 97 % | Driver.Packet 126.5 | | 36 | 375-385 | 140 | 71.7 | 74.5 | 75.9 | 76.5 | 38.6 | 97 % | Driver.Packet 126.2 | | 37 | 385-395 | 139 | 71.7 | 74.4 | 81.6 | 139.4 | 38.8 | 97 % | Driver.Packet 126.9 | | 38 | 395-405 | 139 | 72.3 | 75.1 | 77.8 | 81.0 | 38.3 | 97 % | Driver.Packet 127.1 | | 39 | 405-415 | 140 | 71.6 | 75.0 | 77.5 | 79.4 | 38.6 | 97 % | Driver.Packet 126.2 | | 40 | 415-425 | 138 | 72.8 | 75.9 | 80.1 | 88.0 | 38.8 | 97 % | Driver.Packet 128.2 | | 41 | 425-436 | 140 | 71.9 | 74.8 | 77.1 | 77.3 | 38.6 | 97 % | Driver.Packet 126.4 | | 42 | 436-446 | 139 | 72.3 | 74.7 | 76.9 | 79.8 | 38.9 | 97 % | Driver.Packet 126.9 | | 43 | 446-456 | 139 | 72.2 | 74.9 | 77.2 | 77.3 | 38.4 | 97 % | Driver.Packet 127.0 | | 44 | 456-466 | 139 | 72.3 | 74.5 | 76.3 | 77.4 | 38.8 | 97 % | Driver.Packet 126.9 | | 45 | 466-476 | 139 | 72.4 | 74.9 | 76.4 | 76.8 | 38.3 | 97 % | Driver.Packet 127.2 | | 46 | 476-486 | 139 | 72.1 | 75.3 | 77.8 | 79.9 | 38.9 | 97 % | Driver.Packet 127.3 | | 47 | 486-496 | 138 | 72.8 | 75.9 | 80.1 | 80.4 | 38.9 | 97 % | Driver.Packet 128.3 | | 48 | 496-506 | 138 | 72.5 | 75.6 | 82.6 | 84.7 | 38.3 | 97 % | Driver.Packet 128.1 | | 49 | 506-516 | 138 | 72.6 | 75.4 | 83.5 | 84.8 | 38.9 | 97 % | Driver.Packet 127.6 | | 50 | 516-526 | 138 | 72.7 | 75.6 | 82.6 | 89.1 | 38.3 | 97 % | Driver.Packet 127.9 | | 51 | 526-536 | 138 | 72.5 | 75.9 | 82.8 | 82.8 | 38.9 | 97 % | Driver.Packet 127.4 | | 52 | 536-546 | 138 | 72.5 | 75.4 | 78.8 | 80.4 | 38.3 | 97 % | Driver.Packet 127.8 | | 53 | 546-556 | 137 | 73.2 | 77.8 | 81.3 | 88.8 | 38.7 | 97 % | Driver.Packet 128.8 | | 54 | 556-566 | 139 | 72.2 | 75.1 | 83.9 | 90.4 | 38.8 | 97 % | Driver.Packet 127.2 | | 55 | 566-576 | 137 | 72.8 | 76.7 | 82.5 | 85.8 | 38.6 | 97 % | Driver.Packet 128.7 | | 56 | 576-586 | 137 | 72.7 | 75.9 | 87.2 | 92.5 | 38.5 | 97 % | Driver.Packet 128.5 | | 57 | 586-596 | 140 | 70.1 | 78.9 | 98.3 | 99.0 | 42.3 | 97 % | Driver.Packet 131.1 | | 58 | 596-606 | 147 | 68.3 | 71.1 | 74.5 | 76.8 | 41.2 | 97 % | Driver.Packet 125.7 | | 59 | 606-616 | 146 | 68.5 | 71.5 | 76.6 | 83.6 | 40.7 | 97 % | Driver.Packet 126.9 | | 60 | 616-626 | 141 | 70.9 | 74.5 | 79.5 | 89.8 | 42.7 | 97 % | Driver.Packet 130.9 | | 61 | 626-636 | 138 | 72.0 | 75.5 | 88.4 | 88.7 | 43.2 | 97 % | Driver.Packet 133.3 | | 62 | 636-646 | 139 | 72.5 | 75.5 | 77.3 | 77.6 | 43.0 | 97 % | Driver.Packet 133.0 | | 63 | 646-656 | 137 | 73.2 | 76.8 | 78.9 | 85.4 | 43.2 | 97 % | Driver.Packet 135.0 | | 64 | 656-666 | 135 | 74.1 | 77.0 | 80.3 | 81.3 | 43.5 | 97 % | Driver.Packet 136.8 | | 65 | 666-677 | 136 | 73.8 | 77.3 | 80.6 | 81.9 | 42.8 | 97 % | Driver.Packet 136.4 | | 66 | 677-687 | 136 | 73.6 | 76.9 | 79.0 | 79.5 | 43.1 | 97 % | Driver.Packet 136.0 | | 67 | 687-697 | 135 | 73.6 | 77.3 | 92.0 | 97.5 | 43.4 | 97 % | Driver.Packet 136.8 | | 68 | 697-707 | 131 | 75.9 | 81.6 | 90.2 | 90.3 | 43.2 | 97 % | Driver.Packet 140.7 | | 69 | 707-717 | 126 | 75.3 | 82.6 | 98.8 | 477.5 | 41.6 | 97 % | Driver.Packet 144.2 | | 70 | 717-727 | 138 | 72.4 | 76.8 | 81.5 | 82.1 | 37.0 | 97 % | Driver.Packet 128.5 | | 71 | 727-737 | 126 | 73.3 | 82.9 | 115.0 | 666.0 | 37.0 | 97 % | Driver.Packet 142.0 | | 72 | 737-747 | 85 | 86.1 | 110.6 | 1555.4 | 1555.4 | 42.5 | 97 % | Driver.Packet 211.2 | | 73 | 747-757 | 119 | 84.0 | 90.5 | 93.8 | 94.2 | 40.9 | 97 % | Driver.Packet 147.5 | | 74 | 757-767 | 117 | 85.6 | 90.3 | 93.2 | 94.2 | 41.3 | 97 % | Driver.Packet 149.5 | | 75 | 767-777 | 118 | 84.2 | 90.9 | 95.4 | 95.6 | 40.4 | 97 % | Driver.Packet 148.5 | | 76 | 777-787 | 122 | 81.8 | 85.2 | 99.4 | 125.0 | 40.9 | 97 % | Driver.Packet 143.5 | | 77 | 787-797 | 122 | 81.8 | 85.1 | 88.2 | 88.5 | 40.6 | 97 % | Driver.Packet 143.2 | | 78 | 797-807 | 122 | 82.0 | 84.9 | 87.1 | 90.9 | 40.1 | 97 % | Driver.Packet 143.5 | | 79 | 807-817 | 121 | 82.5 | 86.3 | 90.8 | 90.9 | 40.9 | 97 % | Driver.Packet 143.9 | | 80 | 817-827 | 122 | 82.5 | 84.9 | 86.7 | 87.6 | 40.6 | 97 % | Driver.Packet 143.6 | | 81 | 827-837 | 122 | 82.2 | 85.2 | 89.8 | 90.9 | 40.1 | 97 % | Driver.Packet 143.6 | | 82 | 837-847 | 121 | 83.1 | 85.6 | 88.2 | 88.3 | 40.8 | 97 % | Driver.Packet 144.4 | | 83 | 847-857 | 122 | 82.6 | 85.2 | 88.9 | 91.1 | 40.5 | 97 % | Driver.Packet 143.8 | | 84 | 857-867 | 122 | 82.0 | 85.0 | 87.3 | 88.4 | 40.1 | 97 % | Driver.Packet 143.2 | | 85 | 867-877 | 122 | 82.5 | 85.1 | 87.8 | 89.0 | 40.5 | 97 % | Driver.Packet 143.8 | ``` p99 ms .+_@:..................................................................:............. 0-5795.6 gpu ms .#_@=----:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 0-163.0 ``` </details>
MarcZX10 commented 2026-10-23 00:36:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T00:36:03Z.

Review: DISMISSED


The code change and focused Vulkan test report are detailed, and I did not find a concrete correctness defect in the diff. I am requesting one required performance-evidence update before this performance change is ready for approval.

The PR reports median FPS for main commit 78becbb37, while the PR currently targets base 83462cc57ddecac5e5f3cdafafbe38d406e55953. It does not include the required aps5-summary.jsonl lines, attached traces, or tools/trace_digest.py output. Please capture current main and this exact PR head on the same machine, title, and scripted scene, then attach both traces and include both summary lines and digest output. The existing FPS numbers and Vulkan validation logs are useful, but do not supply the repository's required trace evidence.

Exact-head conventions check and git diff --check upstream/main...HEAD passed. Hosted policy/convention/labels checks pass; the workflow skips the Linux and Windows product jobs. I have not run the GPU tests locally because this environment has no Vulkan GPU device.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5622589005 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9965#pullrequestreview-5622589005). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T00:36:03Z. **Review:** DISMISSED --- The code change and focused Vulkan test report are detailed, and I did not find a concrete correctness defect in the diff. I am requesting one required performance-evidence update before this performance change is ready for approval. The PR reports median FPS for `main` commit `78becbb37`, while the PR currently targets base `83462cc57ddecac5e5f3cdafafbe38d406e55953`. It does not include the required `aps5-summary.jsonl` lines, attached traces, or `tools/trace_digest.py` output. Please capture current `main` and this exact PR head on the same machine, title, and scripted scene, then attach both traces and include both summary lines and digest output. The existing FPS numbers and Vulkan validation logs are useful, but do not supply the repository's required trace evidence. Exact-head conventions check and `git diff --check upstream/main...HEAD` passed. Hosted policy/convention/labels checks pass; the workflow skips the Linux and Windows product jobs. I have not run the GPU tests locally because this environment has no Vulkan GPU device.
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!9965
No description provided.