perf: Cronos: The New Dawn (PPSA24096) spends 1.5-2 s of CPU per compute dispatch on guest-heap uploads #18186
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by relativespace2K on 2026-11-10T18:44:28Z.
### Title and scene
PPSA24096(Cronos: The New Dawn, content version 01.010.000), the intro cinematiccronos/content/movies/visions/v001_cinebink.bk2after starting a new game, 3840x2160, shader and pipeline caches warm.What is slow or what changed
The cinematic runs at 0.2-0.6 FPS on an RX 6800 XT while the GPU is busy only 394 ms per present, so the frame is CPU-bound in the guest-submission path on
mainc5488026ab:Driver.Packet; per frameDriver.Packet.dispatchis 2858 ms,Driver.Dispatch2413 ms,Vulkan.Dispatch.shader_resources1545 ms,Resources.Complete1556 ms,Driver.Packet.memory_wait1328 ms.GpuMutex.wait.otheradds 480 ms; the draw committer and both queue workers contend for the GPU mutex.Resources.CompleteintoUploadFinish1.93 s:pending650 ms,regions848 ms,publish427 ms,importsnegligible; the upload profiler printsguest upload of 4 regions, 4095.6 MiB (largest 4095.0 MiB, copied 0.0 MiB, addressable 0) took 873 ms to finish.Vulkan.ComputePipelineis not among the large slices, so this is not pipeline compilation; both caches were warm.Expected: the scene should be GPU-bound, or at least not spend 1.5-2 s of CPU per dispatch completing guest-heap uploads over a range that has nothing pending.
Separate symptom, not part of this trace: with an empty shader cache the same scene aborts with
GameThread timed out waiting for RenderThread after 120.00 secs;APS5_REGISTRATION_PREPARE_COMMIT_GB=24lets it reach the cinematic.Summary lines
Traces
APS5_TRACE_SECONDSandAPS5_PAD_INPUT_FILEwere set.PerformanceTimer::Markcalls inShaderResources::buildCompleteandGuestBufferMemory::UploadFinish(c5488026ab+ local marks,dirty: true); it carriesUploadFinish.pending/regions/publish.Digest
tools/trace_digest.py output for the clean capture
Slowest frames (largest slices inside each, inclusive)
Persistent spikes (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Driver.Packet 4780.5, Driver.Packet.dispatch 2857.0, Driver.Dispatch 2412.3, Vulkan.Dispatch 1674.6, Resources.Complete 1545.4, Vulkan.Dispatch.shader_resources 1542.8, Driver.Packet.memory_wait 1327.5, GpuMutex.wait.other 479.4, batch 412.0, Graphics.Draw 380.8
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)