perf: ASTRO BOT (PPSA21567) drops below 1 fps from the galaxy map on, RTX 2080 8 GB (Linux, NVIDIA), regression between 329efe1bf and 9bbb7f37c #11461

Closed
opened 2026-10-26 14:20:06 +00:00 by senjinthedragon · 0 comments
senjinthedragon commented 2026-10-26 14:20:06 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by senjinthedragon on 2026-10-26T14:20:06Z.


Title and scene

ASTRO BOT, PPSA21567 (EU) 01.018.000, Linux. Continuing a save from the title screen: the warp transition after pressing Continue (swirling PlayStation shape icons, the controller ship with the bots flying into the centre while the music fades out), then the galaxy map coming into view (zoom-out with the locations appearing).

What is slow or what changed

Everything up to the point where the warp ships reach the centre runs normally. From the moment the galaxy map starts loading, the title drops below 1 fps and stays there:

  • the screen is black while the music fades out extremely slowly, so the game loop itself is throttled, not only presentation;
  • the galaxy map's normal zoom-out reveal then crawls at 0.3-1 fps.

On the same machine:

Build Title screen Galaxy map
main 329efe1bf (22 Oct) about 12 fps about 8-11 fps
main 9bbb7f37c (26 Oct) fast until Continue, then 0.3-3 fps 0.8-2 fps (avg 2.1, mostly below 1 while it comes into view)
oneandonlydean's frozen astrobot reference build 222bccd54, for scale 18.9 fps 11.9-13.9 fps, a short dip while the map loads

Measured after a clean reboot with nothing else running (432 MiB VRAM in use before launch, 27 GB RAM free), warm shader cache (2,088 hits, 0 misses).

What I checked:

  • Not compilation: the shader disk cache reports 0 misses during the slow phase.
  • Not VRAM: the peak was 6.3 GB of 8 GB.
  • Host import budget: with the default budget the log reports host import budget: 11925 MiB live of 11972 MiB (the default; host heap 1 reports a budget of 23944 MiB ...); 11 imports (35552 MiB) refused so far, last 0x1000000000+0xca000000. With APS5_HOST_IMPORT_MIB=16384 there are no refusals, but it is just as slow.
  • One thread runs at about 99 % for the whole slow phase. A perf record -e cpu-clock sample (call stacks were not available on this kernel) puts about 60 % of the process's samples in glibc's memcpy (__memcpy_avx_unaligned_erms), almost all of them on that thread. Page faults stay low (about 70 minor faults in 3 s), so it does not look like a write-watch fault storm.
  • At startup: [write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched. This NVIDIA proprietary path may be the one that changed, since most of the measurements in #7895 and #8052 come from AMD cards.

Local changes in my build: an opt-in texture mip-skip (off for this comparison, APS5_TEXTURE_DOWNSCALE=0, same result) and a fallback to transparent black for border colour table samplers (#665). Neither touches the memory paths above. The slowdown also reproduces with both runtime switches at their defaults.

Summary lines

Capture with APS5_TRACE_SUMMARY_EVERY=30 APS5_TRACE_BENCH=1 on 9bbb7f37c (warm caches), fps per 30 s interval:

Seconds after first present fps What is on screen
0-60 23-31 logos, title
60-150 6-11 title, Continue pressed
150-368 0.35-0.44 end of the warp, black screen, music fading out
368-398 3.5 galaxy map appears
398-551 0.8-1.0 galaxy map

The line for the 213-243 s interval (black screen, music fading):

{"commit":"9bbb7f37c655","dirty":true,"env":{"APS5_LEVEL_MENU":"1","APS5_NO_SNAPSHOT_CHECK":"1","APS5_TEXTURE_DOWNSCALE":"1","APS5_TRACE_BENCH":"1","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 2080","driver":"NVIDIA 615.78.08","os":"Linux 7.3.0-2-wyrmix","cpu":"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz","cpu_threads":12,"memory_mib":31926,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.018.000","resolution":"3840x2160","window":{"spec":"summary_every 30","first_present":2466,"ms":30149.564},"interval_start_s":213.006,"interval_end_s":243.156,"presents":11,"frame_ms":{"p50":2742.957,"p90":2830.330,"p99":2970.930,"max":2970.930},"gpu_busy_ms_per_present":1248.522,"worker_busy_pct":{"queue worker 0x0":99.973,"queue worker 0x40":99.663,"queue worker 0x48":99.667,"queue worker 0x3a":0.000},"top_phases_ms_per_frame":{"Driver.Packet":8202.644,"Driver.Packet.memory_wait":5449.958,"Resources.Complete":1979.435,"Driver.Packet.draw":1954.795,"Driver.Draw":1954.522,"Driver.Draw.draw_enqueued":1929.425,"Graphics.Draw":1882.845,"Graphics.Draw.draw_and_resource_release":1878.780},"trace_dropped":false,"trace":""}

dirty is the two local changes described above; APS5_TEXTURE_DOWNSCALE=1 was set in this capture.

What stands out in that line: a frame takes about 2.7 s (p50 2743 ms), and of the 8.2 s per frame in Driver.Packet, 5.4 s is Driver.Packet.memory_wait. The trace below shows how that splits up: queue worker 0x0 is busy 98 % in Driver.Packet, the draw committer 70 % (mostly Graphics.Draw and Resources.Complete, about 1.5-1.6 s per frame each), while queue workers 0x40 and 0x48 spend 96 % of each frame in Driver.Packet.memory_wait (about 2.4 s per frame). The GPU is busy 42 % of the time (939 ms per present).

Traces

aps5-trace-9bbb7f37c655-16277.json.gz, attached in a comment below: APS5_TRACE_SECONDS=180:60, Continue pressed as soon as the title allowed it, so the window covers the end of the warp and the black screen while the music fades out. Tracing adds its own overhead.

Digest

seconds 180:60 from present 2155: 27 presents, frame p50 2278.4 / p90 2535.4 / p99 2554.0 / max 2554.0 ms, GPU busy 939.1 ms per present
NVIDIA GeForce RTX 2080, NVIDIA 615.78.08, Linux 7.3.0-2-wyrmix, 3840x2160, commit 9bbb7f37c6 (dirty), dropped: no

{"commit":"9bbb7f37c655","dirty":true,"env":{"APS5_LEVEL_MENU":"1","APS5_NO_SNAPSHOT_CHECK":"1","APS5_TEXTURE_DOWNSCALE":"1","APS5_TRACE_SECONDS":"180:60"},"gpu":"NVIDIA GeForce RTX 2080","driver":"NVIDIA 615.78.08","os":"Linux 7.3.0-2-wyrmix","cpu":"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz","cpu_threads":12,"memory_mib":31926,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.018.000","resolution":"3840x2160","window":{"spec":"seconds 180:60","first_present":2155,"ms":61279.833},"presents":27,"frame_ms":{"p50":2278.409,"p90":2535.389,"p99":2554.048,"max":2554.048},"gpu_busy_ms_per_present":939.089,"worker_busy_pct":{"queue worker 0x0":99.966,"queue worker 0x40":96.245,"queue worker 0x48":96.015,"queue worker 0x3a":0.0},"top_phases_ms_per_frame":{"Driver.Packet":6631.596,"Driver.Packet.memory_wait":4350.519,"Resources.Complete":1641.98,"Driver.Packet.draw":1565.562,"Driver.Draw":1565.304,"Graphics.Draw":1542.999,"Driver.Draw.draw_enqueued":1541.487,"Graphics.Draw.draw_and_resource_release":1539.314},"trace_dropped":false,"trace":"aps5-trace-9bbb7f37c655-16277.json.gz"}

Slowest frames (largest slices inside each, inclusive)

  • present 2179: 2554.0 ms at 53732 ms: Driver.Packet (queue worker 0x48) 2553.9, Driver.Packet (queue worker 0x40) 2553.5, Driver.Packet (queue worker 0x0) 2548.0, Driver.Packet.memory_wait (queue worker 0x48) 2546.2
  • present 2180: 2540.4 ms at 56286 ms: Driver.Packet (queue worker 0x40) 2539.9, Driver.Packet (queue worker 0x48) 2539.5, Driver.Packet (queue worker 0x0) 2535.0, Driver.Packet.memory_wait (queue worker 0x48) 2532.8
  • present 2175: 2535.4 ms at 43933 ms: Driver.Packet (queue worker 0x40) 2534.8, Driver.Packet (queue worker 0x48) 2534.5, Driver.Packet (queue worker 0x0) 2529.7, Driver.Packet.memory_wait (queue worker 0x48) 2527.7
  • present 2171: 2460.3 ms at 34456 ms: Driver.Packet (queue worker 0x40) 2459.5, Driver.Packet (queue worker 0x48) 2459.4, Driver.Packet (queue worker 0x0) 2454.5, Driver.Packet.memory_wait (queue worker 0x48) 2453.6
  • present 2181: 2453.3 ms at 58827 ms: Driver.Packet (queue worker 0x0) 2447.8, Driver.Packet.draw (queue worker 0x0) 1759.9, Driver.Draw (queue worker 0x0) 1759.6, Driver.Draw.draw_enqueued (queue worker 0x0) 1733.2

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
queue worker 0x0 2217.7 (98 %) 46.6 (2 %) 5.3 28.9 Driver.Packet 2264.1, Driver.Completion 0.1
title 0.1 (0 %) 0.0 (0 %) 2269.5 0.1 Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.0
title 0.1 (0 %) 0.0 (0 %) 2269.5 0.1 Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveGraphicsAbi 0.0
title 0.1 (0 %) 0.0 (0 %) 2269.6 0.1 Shader.ResolveAbi 0.0, Shader.ResolveGraphicsStagesAbi 0.0
title 0.0 (0 %) 0.0 (0 %) 2269.6 0.5 Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0
queue worker 0x40 11.3 (0 %) 2172.8 (96 %) 85.5 2.1 Driver.Packet 2183.9, Recorder.Submit 0.1
draw committer 1591.7 (70 %) 11.9 (1 %) 666.1 3.5 Graphics.Draw 1542.7, Recorder.Submit 46.9
queue worker 0x48 3.5 (0 %) 2175.6 (96 %) 90.5 0.2 Driver.Packet 2178.6, Driver.EndSubmission 0.5
presenter 3.0 (0 %) 0.0 (0 %) 2266.6 0.1 VideoOut.Flip 2.9, Driver.Present 0.1
title 0.1 (0 %) 0.0 (0 %) 2269.6 0.0 Shader.ResolveGraphicsStagesAbi 0.1
gpu 947.8 (42 %) 0.0 (0 %) 1321.8 0.0 batch 947.8

Largest slices (ms per frame, inclusive, all threads): Driver.Packet 6626.6, Driver.Packet.memory_wait 4350.5, Resources.Complete 1641.9, Driver.Packet.draw 1565.1, Driver.Draw 1564.8, Graphics.Draw 1542.8, Driver.Draw.draw_enqueued 1540.1, Graphics.Draw.draw_and_resource_release 1539.1, batch 947.8, Driver.Packet.dispatch 206.4

Longest waits

  • Driver.Packet.memory_wait (queue worker 0x48) 2546.2 ms at 53741 ms, present 2179
  • Driver.Packet.memory_wait (queue worker 0x48) 2537.7 ms at 56295 ms, present 2180
  • Driver.Packet.memory_wait (queue worker 0x48) 2527.8 ms at 43942 ms, present 2175
  • Driver.Packet.memory_wait (queue worker 0x48) 2453.9 ms at 34464 ms, present 2171
  • Driver.Packet.memory_wait (queue worker 0x48) 2442.2 ms at 51291 ms, present 2178
  • Driver.Packet.memory_wait (queue worker 0x48) 2440.8 ms at 48844 ms, present 2177
  • Driver.Packet.memory_wait (queue worker 0x40) 2397.6 ms at 53910 ms, present 2179
  • Driver.Packet.memory_wait (queue worker 0x48) 2395.1 ms at 39230 ms, present 2173
  • Driver.Packet.memory_wait (queue worker 0x40) 2390.1 ms at 56460 ms, present 2180
  • Driver.Packet.memory_wait (queue worker 0x40) 2380.4 ms at 44107 ms, present 2175

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

  • batch 1373: 47.6 ms at 27621 ms, present 2167: GPU no ranges; recorded by Graphics.Draw (draw committer) 86.7, Graphics.Draw.draw_and_resource_release (draw committer) 86.4, Resources.Complete (draw committer) 83.5, Resources.Prepare (draw committer) 0.1
  • batch 1917: 47.4 ms at 39051 ms, present 2172: GPU no ranges; recorded by Graphics.Draw (draw committer) 84.7, Graphics.Draw.draw_and_resource_release (draw committer) 84.4, Resources.Complete (draw committer) 81.4, Resources.Prepare (draw committer) 0.1
  • batch 618: 47.4 ms at 11822 ms, present 2160: GPU no ranges; recorded by Graphics.Draw (draw committer) 85.9, Graphics.Draw.draw_and_resource_release (draw committer) 85.6, Resources.Complete (draw committer) 82.7, Resources.Prepare (draw committer) 0.1
  • batch 1265: 47.1 ms at 25257 ms, present 2166: GPU no ranges; recorded by Graphics.Draw (draw committer) 78.9, Graphics.Draw.draw_and_resource_release (draw committer) 78.6, Resources.Complete (draw committer) 75.6, Resources.Prepare (draw committer) 0.1
  • batch 1477: 47.0 ms at 29793 ms, present 2168: GPU no ranges; recorded by Graphics.Draw (draw committer) 87.5, Graphics.Draw.draw_and_resource_release (draw committer) 87.2, Resources.Complete (draw committer) 84.3, Resources.Prepare (draw committer) 0.1

Machine

  • CPU: Intel Core i7-8700K (6 cores, 12 threads)
  • GPU: NVIDIA GeForce RTX 2080, 8 GB, driver 615.78.08 (nvidia-open-dkms)
  • RAM: 32 GB
  • OS: Garuda Linux (Arch), kernel 7.3.0, KDE Plasma 6 on Wayland; the game window runs through XWayland (SDL_VIDEODRIVER=x11, native Wayland stayed black on this setup)
  • Relinked with --to-intel

Capture

  • The caches were warm (the scene ran once and the title was restarted)
  • No other APS5_TRACE_* or APS5_PROFILE_* switch was set and the log was not redirected - no other switch was set, but my launcher redirects stdout/stderr to a file
  • Captures compared here come from the same machine, scene and settings
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6041534471 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/11461). Originally posted by [senjinthedragon](https://github.com/senjinthedragon) on 2026-10-26T14:20:06Z. --- ### Title and scene ASTRO BOT, PPSA21567 (EU) 01.018.000, Linux. Continuing a save from the title screen: the warp transition after pressing Continue (swirling PlayStation shape icons, the controller ship with the bots flying into the centre while the music fades out), then the galaxy map coming into view (zoom-out with the locations appearing). ### What is slow or what changed Everything up to the point where the warp ships reach the centre runs normally. From the moment the galaxy map starts loading, the title drops below 1 fps and stays there: - the screen is black while the music fades out extremely slowly, so the game loop itself is throttled, not only presentation; - the galaxy map's normal zoom-out reveal then crawls at 0.3-1 fps. On the same machine: | Build | Title screen | Galaxy map | |---|---|---| | `main` 329efe1bf (22 Oct) | about 12 fps | about 8-11 fps | | `main` 9bbb7f37c (26 Oct) | fast until Continue, then 0.3-3 fps | 0.8-2 fps (avg 2.1, mostly below 1 while it comes into view) | | oneandonlydean's frozen `astrobot` reference build 222bccd54, for scale | 18.9 fps | 11.9-13.9 fps, a short dip while the map loads | Measured after a clean reboot with nothing else running (432 MiB VRAM in use before launch, 27 GB RAM free), warm shader cache (2,088 hits, 0 misses). What I checked: - Not compilation: the shader disk cache reports 0 misses during the slow phase. - Not VRAM: the peak was 6.3 GB of 8 GB. - Host import budget: with the default budget the log reports `host import budget: 11925 MiB live of 11972 MiB (the default; host heap 1 reports a budget of 23944 MiB ...); 11 imports (35552 MiB) refused so far, last 0x1000000000+0xca000000`. With `APS5_HOST_IMPORT_MIB=16384` there are no refusals, but it is just as slow. - One thread runs at about 99 % for the whole slow phase. A `perf record -e cpu-clock` sample (call stacks were not available on this kernel) puts about 60 % of the process's samples in glibc's `memcpy` (`__memcpy_avx_unaligned_erms`), almost all of them on that thread. Page faults stay low (about 70 minor faults in 3 s), so it does not look like a write-watch fault storm. - At startup: `[write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched`. This NVIDIA proprietary path may be the one that changed, since most of the measurements in #7895 and #8052 come from AMD cards. Local changes in my build: an opt-in texture mip-skip (off for this comparison, `APS5_TEXTURE_DOWNSCALE=0`, same result) and a fallback to transparent black for border colour table samplers (#665). Neither touches the memory paths above. The slowdown also reproduces with both runtime switches at their defaults. ### Summary lines Capture with `APS5_TRACE_SUMMARY_EVERY=30 APS5_TRACE_BENCH=1` on 9bbb7f37c (warm caches), fps per 30 s interval: | Seconds after first present | fps | What is on screen | |---|---|---| | 0-60 | 23-31 | logos, title | | 60-150 | 6-11 | title, Continue pressed | | 150-368 | 0.35-0.44 | end of the warp, black screen, music fading out | | 368-398 | 3.5 | galaxy map appears | | 398-551 | 0.8-1.0 | galaxy map | The line for the 213-243 s interval (black screen, music fading): ```json {"commit":"9bbb7f37c655","dirty":true,"env":{"APS5_LEVEL_MENU":"1","APS5_NO_SNAPSHOT_CHECK":"1","APS5_TEXTURE_DOWNSCALE":"1","APS5_TRACE_BENCH":"1","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 2080","driver":"NVIDIA 615.78.08","os":"Linux 7.3.0-2-wyrmix","cpu":"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz","cpu_threads":12,"memory_mib":31926,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.018.000","resolution":"3840x2160","window":{"spec":"summary_every 30","first_present":2466,"ms":30149.564},"interval_start_s":213.006,"interval_end_s":243.156,"presents":11,"frame_ms":{"p50":2742.957,"p90":2830.330,"p99":2970.930,"max":2970.930},"gpu_busy_ms_per_present":1248.522,"worker_busy_pct":{"queue worker 0x0":99.973,"queue worker 0x40":99.663,"queue worker 0x48":99.667,"queue worker 0x3a":0.000},"top_phases_ms_per_frame":{"Driver.Packet":8202.644,"Driver.Packet.memory_wait":5449.958,"Resources.Complete":1979.435,"Driver.Packet.draw":1954.795,"Driver.Draw":1954.522,"Driver.Draw.draw_enqueued":1929.425,"Graphics.Draw":1882.845,"Graphics.Draw.draw_and_resource_release":1878.780},"trace_dropped":false,"trace":""} ``` `dirty` is the two local changes described above; `APS5_TEXTURE_DOWNSCALE=1` was set in this capture. What stands out in that line: a frame takes about 2.7 s (p50 2743 ms), and of the 8.2 s per frame in `Driver.Packet`, 5.4 s is `Driver.Packet.memory_wait`. The trace below shows how that splits up: queue worker 0x0 is busy 98 % in `Driver.Packet`, the draw committer 70 % (mostly `Graphics.Draw` and `Resources.Complete`, about 1.5-1.6 s per frame each), while queue workers 0x40 and 0x48 spend 96 % of each frame in `Driver.Packet.memory_wait` (about 2.4 s per frame). The GPU is busy 42 % of the time (939 ms per present). ### Traces `aps5-trace-9bbb7f37c655-16277.json.gz`, attached in a comment below: `APS5_TRACE_SECONDS=180:60`, Continue pressed as soon as the title allowed it, so the window covers the end of the warp and the black screen while the music fades out. Tracing adds its own overhead. ### Digest **seconds 180:60** from present 2155: 27 presents, frame p50 2278.4 / p90 2535.4 / p99 2554.0 / max 2554.0 ms, GPU busy 939.1 ms per present NVIDIA GeForce RTX 2080, NVIDIA 615.78.08, Linux 7.3.0-2-wyrmix, 3840x2160, commit 9bbb7f37c655 (dirty), dropped: no ```json {"commit":"9bbb7f37c655","dirty":true,"env":{"APS5_LEVEL_MENU":"1","APS5_NO_SNAPSHOT_CHECK":"1","APS5_TEXTURE_DOWNSCALE":"1","APS5_TRACE_SECONDS":"180:60"},"gpu":"NVIDIA GeForce RTX 2080","driver":"NVIDIA 615.78.08","os":"Linux 7.3.0-2-wyrmix","cpu":"Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz","cpu_threads":12,"memory_mib":31926,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.018.000","resolution":"3840x2160","window":{"spec":"seconds 180:60","first_present":2155,"ms":61279.833},"presents":27,"frame_ms":{"p50":2278.409,"p90":2535.389,"p99":2554.048,"max":2554.048},"gpu_busy_ms_per_present":939.089,"worker_busy_pct":{"queue worker 0x0":99.966,"queue worker 0x40":96.245,"queue worker 0x48":96.015,"queue worker 0x3a":0.0},"top_phases_ms_per_frame":{"Driver.Packet":6631.596,"Driver.Packet.memory_wait":4350.519,"Resources.Complete":1641.98,"Driver.Packet.draw":1565.562,"Driver.Draw":1565.304,"Graphics.Draw":1542.999,"Driver.Draw.draw_enqueued":1541.487,"Graphics.Draw.draw_and_resource_release":1539.314},"trace_dropped":false,"trace":"aps5-trace-9bbb7f37c655-16277.json.gz"} ``` **Slowest frames** (largest slices inside each, inclusive) - present 2179: 2554.0 ms at 53732 ms: Driver.Packet (queue worker 0x48) 2553.9, Driver.Packet (queue worker 0x40) 2553.5, Driver.Packet (queue worker 0x0) 2548.0, Driver.Packet.memory_wait (queue worker 0x48) 2546.2 - present 2180: 2540.4 ms at 56286 ms: Driver.Packet (queue worker 0x40) 2539.9, Driver.Packet (queue worker 0x48) 2539.5, Driver.Packet (queue worker 0x0) 2535.0, Driver.Packet.memory_wait (queue worker 0x48) 2532.8 - present 2175: 2535.4 ms at 43933 ms: Driver.Packet (queue worker 0x40) 2534.8, Driver.Packet (queue worker 0x48) 2534.5, Driver.Packet (queue worker 0x0) 2529.7, Driver.Packet.memory_wait (queue worker 0x48) 2527.7 - present 2171: 2460.3 ms at 34456 ms: Driver.Packet (queue worker 0x40) 2459.5, Driver.Packet (queue worker 0x48) 2459.4, Driver.Packet (queue worker 0x0) 2454.5, Driver.Packet.memory_wait (queue worker 0x48) 2453.6 - present 2181: 2453.3 ms at 58827 ms: Driver.Packet (queue worker 0x0) 2447.8, Driver.Packet.draw (queue worker 0x0) 1759.9, Driver.Draw (queue worker 0x0) 1759.6, Driver.Draw.draw_enqueued (queue worker 0x0) 1733.2 **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | queue worker 0x0 | 2217.7 (98 %) | 46.6 (2 %) | 5.3 | 28.9 | Driver.Packet 2264.1, Driver.Completion 0.1 | | title | 0.1 (0 %) | 0.0 (0 %) | 2269.5 | 0.1 | Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.0 | | title | 0.1 (0 %) | 0.0 (0 %) | 2269.5 | 0.1 | Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveGraphicsAbi 0.0 | | title | 0.1 (0 %) | 0.0 (0 %) | 2269.6 | 0.1 | Shader.ResolveAbi 0.0, Shader.ResolveGraphicsStagesAbi 0.0 | | title | 0.0 (0 %) | 0.0 (0 %) | 2269.6 | 0.5 | Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0 | | queue worker 0x40 | 11.3 (0 %) | 2172.8 (96 %) | 85.5 | 2.1 | Driver.Packet 2183.9, Recorder.Submit 0.1 | | draw committer | 1591.7 (70 %) | 11.9 (1 %) | 666.1 | 3.5 | Graphics.Draw 1542.7, Recorder.Submit 46.9 | | queue worker 0x48 | 3.5 (0 %) | 2175.6 (96 %) | 90.5 | 0.2 | Driver.Packet 2178.6, Driver.EndSubmission 0.5 | | presenter | 3.0 (0 %) | 0.0 (0 %) | 2266.6 | 0.1 | VideoOut.Flip 2.9, Driver.Present 0.1 | | title | 0.1 (0 %) | 0.0 (0 %) | 2269.6 | 0.0 | Shader.ResolveGraphicsStagesAbi 0.1 | | gpu | 947.8 (42 %) | 0.0 (0 %) | 1321.8 | 0.0 | batch 947.8 | **Largest slices** (ms per frame, inclusive, all threads): Driver.Packet 6626.6, Driver.Packet.memory_wait 4350.5, Resources.Complete 1641.9, Driver.Packet.draw 1565.1, Driver.Draw 1564.8, Graphics.Draw 1542.8, Driver.Draw.draw_enqueued 1540.1, Graphics.Draw.draw_and_resource_release 1539.1, batch 947.8, Driver.Packet.dispatch 206.4 **Longest waits** - Driver.Packet.memory_wait (queue worker 0x48) 2546.2 ms at 53741 ms, present 2179 - Driver.Packet.memory_wait (queue worker 0x48) 2537.7 ms at 56295 ms, present 2180 - Driver.Packet.memory_wait (queue worker 0x48) 2527.8 ms at 43942 ms, present 2175 - Driver.Packet.memory_wait (queue worker 0x48) 2453.9 ms at 34464 ms, present 2171 - Driver.Packet.memory_wait (queue worker 0x48) 2442.2 ms at 51291 ms, present 2178 - Driver.Packet.memory_wait (queue worker 0x48) 2440.8 ms at 48844 ms, present 2177 - Driver.Packet.memory_wait (queue worker 0x40) 2397.6 ms at 53910 ms, present 2179 - Driver.Packet.memory_wait (queue worker 0x48) 2395.1 ms at 39230 ms, present 2173 - Driver.Packet.memory_wait (queue worker 0x40) 2390.1 ms at 56460 ms, present 2180 - Driver.Packet.memory_wait (queue worker 0x40) 2380.4 ms at 44107 ms, present 2175 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 1373: 47.6 ms at 27621 ms, present 2167: GPU no ranges; recorded by Graphics.Draw (draw committer) 86.7, Graphics.Draw.draw_and_resource_release (draw committer) 86.4, Resources.Complete (draw committer) 83.5, Resources.Prepare (draw committer) 0.1 - batch 1917: 47.4 ms at 39051 ms, present 2172: GPU no ranges; recorded by Graphics.Draw (draw committer) 84.7, Graphics.Draw.draw_and_resource_release (draw committer) 84.4, Resources.Complete (draw committer) 81.4, Resources.Prepare (draw committer) 0.1 - batch 618: 47.4 ms at 11822 ms, present 2160: GPU no ranges; recorded by Graphics.Draw (draw committer) 85.9, Graphics.Draw.draw_and_resource_release (draw committer) 85.6, Resources.Complete (draw committer) 82.7, Resources.Prepare (draw committer) 0.1 - batch 1265: 47.1 ms at 25257 ms, present 2166: GPU no ranges; recorded by Graphics.Draw (draw committer) 78.9, Graphics.Draw.draw_and_resource_release (draw committer) 78.6, Resources.Complete (draw committer) 75.6, Resources.Prepare (draw committer) 0.1 - batch 1477: 47.0 ms at 29793 ms, present 2168: GPU no ranges; recorded by Graphics.Draw (draw committer) 87.5, Graphics.Draw.draw_and_resource_release (draw committer) 87.2, Resources.Complete (draw committer) 84.3, Resources.Prepare (draw committer) 0.1 ### Machine - CPU: Intel Core i7-8700K (6 cores, 12 threads) - GPU: NVIDIA GeForce RTX 2080, 8 GB, driver 615.78.08 (nvidia-open-dkms) - RAM: 32 GB - OS: Garuda Linux (Arch), kernel 7.3.0, KDE Plasma 6 on Wayland; the game window runs through XWayland (`SDL_VIDEODRIVER=x11`, native Wayland stayed black on this setup) - Relinked with `--to-intel` ### Capture - [x] The caches were warm (the scene ran once and the title was restarted) - [ ] No other APS5_TRACE_* or APS5_PROFILE_* switch was set and the log was not redirected - no other switch was set, but my launcher redirects stdout/stderr to a file - [x] Captures compared here come from the same machine, scene and settings
Sign in to join this conversation.
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#11461
No description provided.