perf: PPSA06866 title screen at half speed since #15919 and #16751 (storage write-backs on memory access) #22339

Open
opened 2026-11-17 12:21:11 +00:00 by phoenix-31 · 0 comments
phoenix-31 commented 2026-11-17 12:21:11 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by phoenix-31 on 2026-11-17T12:21:11Z.


Title and scene

PPSA06866 01.007.000, title screen (in-engine 3D scene), no input, window 60 to 80 s after the first present

What is slow or what changed

The title screen runs at about half the frame rate on current main compared with 6 November. Two merges each cause it, with the same symptom: "memory access" storage write-backs rise from about 55 to about 900 to 1,100 per 10 s (7 to 9 GiB), and the time lands in the draw committer.

Merge Before After Captures (20 s, round 2)
#15919 (8 Nov), e3f7f1cb3e 2ba7237b3c e3f7f1cb3e p50 170 → 286 ms, GPU busy 75 → 112 ms
#16751 (12 Nov), d1fa3aee88, with APS5_NO_SPACE_PATCH=1 on both 8cf459d00a d1fa3aee88 p50 134 → 339 ms, GPU busy 68 → 141 ms
  • #15919: APS5_NO_SPACE_PATCH=1 on e3f7f1cb3e restores the last good numbers (56 presents per 10 s, 55 write-backs per 10 s).
  • #16751: brings the regression back by another route, and the switch no longer helps. On deb7699779 (16 Nov), APS5_NO_SPACE_PATCH=1 changes nothing (31 to 32 presents per 10 s, about 930 write-backs). With the switch on, the address space is neither patched nor rebuilt at d1fa3aee88, yet the write-backs return.
  • Found by two bisects over first-parent main, one run per commit, threshold halfway between the endpoints. Both boundaries have no commits between last good and first bad.

Unconfirmed guess: this host runs with the host import budget full (3970 of 4026 MiB, 16 GB RAM). #16751's debt note says a replacement now needs budget for old and new bytes together, so replacements may be refused here and the ranges copied on every access. A machine with more RAM may not see the second regression.

Setup and caveats:

  • Every build carries patches this title needs to reach the title screen: the stencil copy c4f8fcdbef (#16025), b411d5f6ca and 65936fa414 (blockers 4 and 6 in #13726), and the HTILE-only publication 5679a021b4. So the summary lines show local commit hashes and dirty: a183d3833f60 = 2ba7237b3c, 2ad7f4ecaa6e = e3f7f1cb3e, 6c35a232e69d = 8cf459d00a, 66eff997966d = d1fa3aee88, each with those patches.
  • APS5_NO_IMAGE_SLABS=1 on every run, to avoid the device loss in #22216.
  • Some good commits settled near 55 and others near 70 presents per 10 s in single runs; both regressions go well below that.
  • The traces dropped events (buffer full), and the baseline captures still show shader compile time, which makes the regression look smaller, not larger.
  • Host: i7-14700KF, 16 GB, RTX 4060 Ti 8 GB, NVIDIA 610.60, Windows 11 Home 10.0.26300.

AI-assisted: yes. Bisect and capture scripts and this write-up with Claude; the runs are mine.

Summary lines

{"commit":"a183d3833f60","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1179,"ms":20068.652},"presents":126,"frame_ms":{"p50":170.276,"p90":177.369,"p99":183.831,"max":184.581},"gpu_busy_ms_per_present":74.608,"worker_busy_pct":{"queue worker 0x0":93.002},"top_phases_ms_per_frame":{"Driver.Packet":148.127,"Graphics.Draw":119.848,"Driver.Packet.draw":115.512,"Driver.Draw":114.786,"Graphics.Draw.draw_and_resource_release":114.233,"Driver.Draw.draw_enqueued":58.202,"Driver.Draw.shader_compile_and_link":48.865,"Shader.DrawStage":27.572},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.076,"events_lost":477075,"totals_full":false},"draw committer":{"events_full_after_s":16.122,"events_lost":64603,"totals_full":false}},"trace":"aps5-trace-a183d3833f60-7856.json.gz"}
{"commit":"2ad7f4ecaa6e","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1087,"ms":20230.332},"presents":67,"frame_ms":{"p50":285.800,"p90":369.332,"p99":532.723,"max":532.723},"gpu_busy_ms_per_present":112.179,"worker_busy_pct":{"queue worker 0x0":96.732},"top_phases_ms_per_frame":{"Driver.Packet":292.074,"Graphics.Draw":258.671,"Graphics.Draw.draw_and_resource_release":253.346,"Driver.Packet.draw":190.405,"Driver.Draw":189.636,"Driver.Draw.draw_enqueued":129.430,"Resources.Complete":75.676,"Recorder.Sync":52.232},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":12.292,"events_lost":163902,"totals_full":false}},"trace":"aps5-trace-2ad7f4ecaa6e-9880.json.gz"}
{"commit":"6c35a232e69d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1247,"ms":20086.131},"presents":149,"frame_ms":{"p50":134.320,"p90":137.888,"p99":145.112,"max":157.853},"gpu_busy_ms_per_present":67.825,"worker_busy_pct":{"queue worker 0x0":92.533},"top_phases_ms_per_frame":{"Driver.Packet":124.738,"Driver.Packet.draw":100.560,"Driver.Draw":99.916,"Graphics.Draw":94.341,"Graphics.Draw.draw_and_resource_release":88.590,"Driver.Draw.draw_enqueued":47.132,"Driver.Draw.shader_compile_and_link":43.975,"Shader.DrawStage":24.788},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.550,"events_lost":539801,"totals_full":false},"draw committer":{"events_full_after_s":14.531,"events_lost":100964,"totals_full":false}},"trace":"aps5-trace-6c35a232e69d-6464.json.gz"}
{"commit":"66eff997966d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1098,"ms":20002.775},"presents":59,"frame_ms":{"p50":338.774,"p90":346.491,"p99":351.805,"max":351.805},"gpu_busy_ms_per_present":141.425,"worker_busy_pct":{"queue worker 0x0":95.911},"top_phases_ms_per_frame":{"Driver.Packet":325.163,"Graphics.Draw":291.443,"Graphics.Draw.draw_and_resource_release":285.432,"Driver.Packet.draw":170.180,"Driver.Draw":169.482,"Driver.Packet.dispatch":120.346,"Driver.Draw.draw_enqueued":114.580,"Graphics.Wait":64.823},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":15.626,"events_lost":71389,"totals_full":false}},"trace":"aps5-trace-66eff997966d-11608.json.gz"}

Traces

aps5-trace-a183d3833f60-7856.json.gz
aps5-trace-2ad7f4ecaa6e-9880.json.gz
aps5-trace-6c35a232e69d-6464.json.gz
aps5-trace-66eff997966d-11608.json.gz

Digest

15919-base (aps5-trace-a183d3833f60-7856.json.gz)

seconds 60:20 from present 1179: 126 presents, frame p50 170.3 / p90 177.4 / p99 183.8 / max 184.6 ms, GPU busy 74.6 ms per present
NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit a183d3833f60 (dirty), dropped: yes

{"commit":"a183d3833f60","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1179,"ms":20068.652},"presents":126,"frame_ms":{"p50":170.276,"p90":177.369,"p99":183.831,"max":184.581},"gpu_busy_ms_per_present":74.608,"worker_busy_pct":{"queue worker 0x0":93.002},"top_phases_ms_per_frame":{"Driver.Packet":148.127,"Graphics.Draw":119.848,"Driver.Packet.draw":115.512,"Driver.Draw":114.786,"Graphics.Draw.draw_and_resource_release":114.233,"Driver.Draw.draw_enqueued":58.202,"Driver.Draw.shader_compile_and_link":48.865,"Shader.DrawStage":27.572},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.076,"events_lost":477075,"totals_full":false},"draw committer":{"events_full_after_s":16.122,"events_lost":64603,"totals_full":false}},"trace":"aps5-trace-a183d3833f60-7856.json.gz"}

Incomplete trace: recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately.

  • queue worker 0x0: 477075 events lost; buffer full at 7075.5 ms
  • draw committer: 64603 events lost; buffer full at 16121.5 ms

Slowest frames (largest slices inside each, inclusive)

  • present 1224: 184.6 ms at 7171 ms: Graphics.Draw (draw committer) 128.5, Graphics.Draw.draw_and_resource_release (draw committer) 124.8, batch (gpu) 76.4, Resources.Complete (draw committer) 22.3
  • present 1264: 183.8 ms at 13509 ms: Graphics.Draw (draw committer) 130.2, Graphics.Draw.draw_and_resource_release (draw committer) 126.8, batch (gpu) 75.3, Resources.Complete (draw committer) 25.3
  • present 1274: 182.3 ms at 15114 ms: Graphics.Draw (draw committer) 128.0, Graphics.Draw.draw_and_resource_release (draw committer) 124.2, batch (gpu) 76.4, Resources.Complete (draw committer) 15.8
  • present 1290: 180.1 ms at 17670 ms: batch (gpu) 74.0, VideoOut.Flip (presenter) 7.7, VideoOut.Flip.present (presenter) 7.6, Driver.Present (presenter) 7.6
  • present 1200: 179.6 ms at 3361 ms: Driver.Packet (queue worker 0x0) 134.9, Graphics.Draw (draw committer) 122.0, Graphics.Draw.draw_and_resource_release (draw committer) 118.9, Driver.Packet.draw (queue worker 0x0) 100.9

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

  • present 1224: 184.6 ms at 7171 ms, persistence 45.9 ms
  • present 1264: 183.8 ms at 13509 ms, persistence 45.1 ms
  • present 1304: 179.4 ms at 19889 ms, persistence 40.5 ms
  • present 1274: 182.3 ms at 15114 ms, persistence 39.2 ms
  • present 1200: 179.6 ms at 3361 ms, persistence 38.8 ms
  • present 1290: 180.1 ms at 17670 ms, persistence 38.0 ms
  • present 1292: 178.8 ms at 17991 ms, persistence 37.4 ms
  • present 1188: 178.7 ms at 1428 ms, persistence 35.8 ms
  • present 1294: 176.0 ms at 18311 ms, persistence 34.7 ms
  • present 1212: 177.4 ms at 5269 ms, persistence 34.4 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.1 (0 %) 9.2 (6 %) 150.0 4.2 Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.0
queue worker 0x0 40.9 (26 %) 3.4 (2 %) 115.1 66.8 Driver.Packet 40.9, Driver.Draw.shader_compile_and_link 0.0
draw committer 85.7 (54 %) 0.0 (0 %) 73.6 29.1 Graphics.Draw 84.1, Recorder.Submit 1.4
presenter 0.4 (0 %) 9.0 (6 %) 149.8 0.1 VideoOut.Flip 9.4, Driver.Present 0.0
gpu 74.6 (47 %) 0.0 (0 %) 84.7 0.0 batch 74.6

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 84.1, Graphics.Draw.draw_and_resource_release 81.4, batch 74.6, Driver.Packet 40.9, Driver.Packet.draw 31.6, Driver.Draw 31.3, Driver.Draw.draw_enqueued 19.2, VideoOut.Flip 9.4, Driver.Present 9.3, VideoOut.Flip.present 9.3

Longest waits

  • Recorder.WaitSerial (title) 12.7 ms at 14641 ms, present 1271
  • Driver.Present.render_fence_wait (presenter) 12.5 ms at 14642 ms, present 1271
  • Recorder.WaitSerial (title) 12.5 ms at 1929 ms, present 1191
  • Driver.WorkerWait (queue worker 0x0) 12.3 ms at 1929 ms, present 1191
  • Driver.Present.render_fence_wait (presenter) 12.2 ms at 1929 ms, present 1191
  • Driver.WorkerWait (queue worker 0x0) 12.2 ms at 2252 ms, present 1193
  • Recorder.WaitSerial (title) 12.1 ms at 2252 ms, present 1193
  • Driver.Present.render_fence_wait (presenter) 12.0 ms at 2252 ms, present 1193
  • Recorder.WaitSerial (title) 11.8 ms at 3215 ms, present 1199
  • Driver.WorkerWait (queue worker 0x0) 11.8 ms at 3215 ms, present 1199

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

  • batch 5297: 8.7 ms at 14770 ms, present 1271: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.2, Graphics.Draw.draw_and_resource_release (draw committer) 6.1, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 1186: 8.6 ms at 3342 ms, present 1199: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.1, Graphics.Draw.draw_and_resource_release (draw committer) 6.0, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.0
  • batch 5868: 8.4 ms at 16383 ms, present 1281: GPU no ranges; recorded by no CPU slices
  • batch 43: 8.4 ms at 126 ms, present 1179: GPU no ranges; recorded by Graphics.Draw (draw committer) 5.8, Graphics.Draw.draw_and_resource_release (draw committer) 5.8, Resources.Complete (draw committer) 0.2, Recorder.Submit (draw committer) 0.0
  • batch 2785: 8.3 ms at 7799 ms, present 1227: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.1, Graphics.Draw.draw_and_resource_release (draw committer) 6.0, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.1

15919-change (aps5-trace-2ad7f4ecaa6e-9880.json.gz)

seconds 60:20 from present 1087: 67 presents, frame p50 285.8 / p90 369.3 / p99 532.7 / max 532.7 ms, GPU busy 112.2 ms per present
NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 2ad7f4ecaa6e (dirty), dropped: yes

{"commit":"2ad7f4ecaa6e","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1087,"ms":20230.332},"presents":67,"frame_ms":{"p50":285.8,"p90":369.332,"p99":532.723,"max":532.723},"gpu_busy_ms_per_present":112.179,"worker_busy_pct":{"queue worker 0x0":96.732},"top_phases_ms_per_frame":{"Driver.Packet":292.074,"Graphics.Draw":258.671,"Graphics.Draw.draw_and_resource_release":253.346,"Driver.Packet.draw":190.405,"Driver.Draw":189.636,"Driver.Draw.draw_enqueued":129.43,"Resources.Complete":75.676,"Recorder.Sync":52.232},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":12.292,"events_lost":163902,"totals_full":false}},"trace":"aps5-trace-2ad7f4ecaa6e-9880.json.gz"}

Incomplete trace: recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately.

  • queue worker 0x0: 163902 events lost; buffer full at 12291.7 ms

Slowest frames (largest slices inside each, inclusive)

  • present 1146: 532.7 ms at 17716 ms: Graphics.Draw (draw committer) 469.2, Graphics.Draw.draw_and_resource_release (draw committer) 465.9, batch (gpu) 329.9, Recorder.Sync (draw committer) 197.0
  • present 1114: 382.4 ms at 8115 ms: Driver.Packet (queue worker 0x0) 339.9, Graphics.Draw (draw committer) 322.6, Graphics.Draw.draw_and_resource_release (draw committer) 319.2, batch (gpu) 247.5
  • present 1143: 379.0 ms at 16771 ms: Graphics.Draw (draw committer) 318.8, Graphics.Draw.draw_and_resource_release (draw committer) 315.4, Resources.Complete (draw committer) 137.0, batch (gpu) 133.9
  • present 1107: 374.0 ms at 5876 ms: Driver.Packet (queue worker 0x0) 331.5, Graphics.Draw (draw committer) 314.6, Graphics.Draw.draw_and_resource_release (draw committer) 311.0, Driver.Packet.draw (queue worker 0x0) 233.5
  • present 1113: 373.8 ms at 7741 ms: Driver.Packet (queue worker 0x0) 328.2, Graphics.Draw (draw committer) 312.0, Graphics.Draw.draw_and_resource_release (draw committer) 308.7, Driver.Packet.draw (queue worker 0x0) 229.1

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

  • present 1146: 532.7 ms at 17716 ms, persistence 294.2 ms
  • present 1114: 382.4 ms at 8115 ms, persistence 143.8 ms
  • present 1089: 356.2 ms at 517 ms, persistence 111.9 ms
  • present 1098: 363.2 ms at 3159 ms, persistence 111.3 ms
  • present 1107: 374.0 ms at 5876 ms, persistence 108.4 ms
  • present 1095: 357.4 ms at 2265 ms, persistence 108.2 ms
  • present 1125: 357.9 ms at 11338 ms, persistence 107.6 ms
  • present 1143: 379.0 ms at 16771 ms, persistence 107.1 ms
  • present 1101: 369.3 ms at 4056 ms, persistence 106.9 ms
  • present 1131: 360.4 ms at 13113 ms, persistence 105.9 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.1 (0 %) 7.7 (3 %) 294.2 3.9 Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0
queue worker 0x0 158.6 (53 %) 4.5 (1 %) 138.9 116.2 Driver.Packet 158.6, Driver.Draw 0.0
draw committer 246.8 (82 %) 0.0 (0 %) 55.1 32.7 Graphics.Draw 244.2, Recorder.Submit 2.4
presenter 0.5 (0 %) 7.4 (2 %) 294.1 0.1 VideoOut.Flip 7.9, Driver.Present 0.0
gpu 113.4 (38 %) 0.0 (0 %) 188.6 0.0 batch 113.4

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 244.2, Graphics.Draw.draw_and_resource_release 240.9, Driver.Packet 158.6, batch 113.4, Driver.Packet.draw 101.1, Driver.Draw 100.5, Driver.Draw.draw_enqueued 76.7, Resources.Complete 75.4, Recorder.Sync 52.2, Driver.Packet.dispatch 29.7

Longest waits

  • Driver.Present.render_fence_wait (presenter) 21.0 ms at 18249 ms, present 1147
  • Recorder.WaitSerial (title) 20.9 ms at 18249 ms, present 1147
  • Driver.WorkerWait (queue worker 0x0) 11.4 ms at 7741 ms, present 1113
  • Recorder.WaitSerial (title) 11.3 ms at 17716 ms, present 1146
  • Driver.Present.render_fence_wait (presenter) 11.0 ms at 17716 ms, present 1146
  • Recorder.WaitSerial (title) 10.9 ms at 7741 ms, present 1113
  • Recorder.WaitSerial (title) 10.9 ms at 16772 ms, present 1143
  • Driver.Present.render_fence_wait (presenter) 10.7 ms at 7741 ms, present 1113
  • Driver.Present.render_fence_wait (presenter) 10.6 ms at 16772 ms, present 1143
  • Recorder.WaitSerial (title) 10.0 ms at 17151 ms, present 1144

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

  • batch 1695: 39.9 ms at 8352 ms, present 1114: GPU no ranges; recorded by Recorder.Sync (draw committer) 40.0, Graphics.Draw (draw committer) 39.5, Graphics.Draw.draw_and_resource_release (draw committer) 39.5, Resources.Complete (draw committer) 3.4
  • batch 3662: 39.4 ms at 18086 ms, present 1146: GPU no ranges; recorded by Graphics.Draw (draw committer) 40.3, Graphics.Draw.draw_and_resource_release (draw committer) 40.2, Recorder.Sync (draw committer) 39.7, Resources.Complete (draw committer) 3.6
  • batch 3661: 33.4 ms at 18046 ms, present 1146: GPU no ranges; recorded by Recorder.Sync (draw committer) 33.6, Graphics.Draw (draw committer) 28.9, Graphics.Draw.draw_and_resource_release (draw committer) 28.9, Resources.Complete (draw committer) 3.2
  • batch 1694: 33.1 ms at 8313 ms, present 1114: GPU no ranges; recorded by Recorder.Sync (draw committer) 33.2, Graphics.Draw (draw committer) 28.3, Graphics.Draw.draw_and_resource_release (draw committer) 28.3, Resources.Complete (draw committer) 3.3
  • batch 3639: 27.7 ms at 17919 ms, present 1146: GPU no ranges; recorded by Recorder.Sync (draw committer) 29.2, Resources.Prepare (draw committer) 0.0, Recorder.Submit (draw committer) 0.0

16751-base (aps5-trace-6c35a232e69d-6464.json.gz)

seconds 60:20 from present 1247: 149 presents, frame p50 134.3 / p90 137.9 / p99 145.1 / max 157.9 ms, GPU busy 67.8 ms per present
NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 6c35a232e69d (dirty), dropped: yes

{"commit":"6c35a232e69d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1247,"ms":20086.131},"presents":149,"frame_ms":{"p50":134.32,"p90":137.888,"p99":145.112,"max":157.853},"gpu_busy_ms_per_present":67.825,"worker_busy_pct":{"queue worker 0x0":92.533},"top_phases_ms_per_frame":{"Driver.Packet":124.738,"Driver.Packet.draw":100.56,"Driver.Draw":99.916,"Graphics.Draw":94.341,"Graphics.Draw.draw_and_resource_release":88.59,"Driver.Draw.draw_enqueued":47.132,"Driver.Draw.shader_compile_and_link":43.975,"Shader.DrawStage":24.788},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.55,"events_lost":539801,"totals_full":false},"draw committer":{"events_full_after_s":14.531,"events_lost":100964,"totals_full":false}},"trace":"aps5-trace-6c35a232e69d-6464.json.gz"}

Incomplete trace: recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately.

  • queue worker 0x0: 539801 events lost; buffer full at 6549.7 ms
  • draw committer: 100964 events lost; buffer full at 14531.4 ms

Slowest frames (largest slices inside each, inclusive)

  • present 1341: 157.9 ms at 12695 ms: Graphics.Draw (draw committer) 99.8, Graphics.Draw.draw_and_resource_release (draw committer) 95.4, batch (gpu) 70.6, VideoOut.Flip (presenter) 9.7
  • present 1318: 145.1 ms at 9563 ms: Graphics.Draw (draw committer) 90.1, Graphics.Draw.draw_and_resource_release (draw committer) 87.1, batch (gpu) 67.7, Resources.Complete (draw committer) 9.2
  • present 1338: 143.1 ms at 12270 ms: Graphics.Draw (draw committer) 85.1, Graphics.Draw.draw_and_resource_release (draw committer) 81.4, batch (gpu) 72.9, VideoOut.Flip (presenter) 10.1
  • present 1247: 141.7 ms at 0 ms: Driver.Packet (queue worker 0x0) 95.8, Graphics.Draw (draw committer) 81.5, Graphics.Draw.draw_and_resource_release (draw committer) 78.4, Driver.Packet.draw (queue worker 0x0) 76.3
  • present 1339: 141.4 ms at 12413 ms: Graphics.Draw (draw committer) 84.6, Graphics.Draw.draw_and_resource_release (draw committer) 81.1, batch (gpu) 71.7, VideoOut.Flip (presenter) 8.7

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

  • present 1341: 157.9 ms at 12695 ms, persistence 28.0 ms
  • present 1318: 145.1 ms at 9563 ms, persistence 12.6 ms
  • present 1247: 141.7 ms at 0 ms, persistence 11.6 ms
  • present 1279: 139.0 ms at 4354 ms, persistence 6.5 ms
  • present 1367: 137.7 ms at 16217 ms, persistence 6.0 ms
  • present 1346: 138.4 ms at 13396 ms, persistence 5.9 ms
  • present 1382: 135.2 ms at 18225 ms, persistence 5.4 ms
  • present 1271: 138.5 ms at 3270 ms, persistence 5.1 ms
  • present 1357: 137.2 ms at 14877 ms, persistence 4.5 ms
  • present 1327: 138.1 ms at 10775 ms, persistence 4.4 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.0 (0 %) 8.0 (6 %) 126.7 3.8 Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0
queue worker 0x0 30.0 (22 %) 3.0 (2 %) 101.8 60.1 Driver.Packet 30.0, Driver.Draw 0.0
draw committer 60.3 (45 %) 0.0 (0 %) 74.5 21.5 Graphics.Draw 59.3, Recorder.Submit 0.9
presenter 0.5 (0 %) 8.0 (6 %) 126.4 0.1 VideoOut.Flip 8.3, Driver.Present 0.1
gpu 67.7 (50 %) 0.0 (0 %) 67.1 0.0 batch 67.7

Largest slices (ms per frame, inclusive, all threads): batch 67.7, Graphics.Draw 59.3, Graphics.Draw.draw_and_resource_release 57.0, Driver.Packet 30.0, Driver.Packet.draw 24.2, Driver.Draw 24.0, Driver.Draw.draw_enqueued 14.2, VideoOut.Flip 8.3, Driver.Present 8.3, VideoOut.Flip.present 8.2

Longest waits

  • Driver.WorkerWait (queue worker 0x0) 13.1 ms at 142 ms, present 1248
  • Recorder.WaitSerial (title) 12.9 ms at 142 ms, present 1248
  • Driver.Present.render_fence_wait (presenter) 12.7 ms at 142 ms, present 1248
  • Driver.WorkerWait (queue worker 0x0) 12.3 ms at 283 ms, present 1249
  • Recorder.WaitSerial (title) 12.1 ms at 283 ms, present 1249
  • Driver.Present.render_fence_wait (presenter) 11.9 ms at 283 ms, present 1249
  • Driver.WorkerWait (queue worker 0x0) 11.6 ms at 0 ms, present 1247
  • Driver.WorkerWait (queue worker 0x0) 11.4 ms at 695 ms, present 1252
  • Recorder.WaitSerial (title) 11.4 ms at 694 ms, present 1252
  • Driver.WorkerWait (queue worker 0x0) 11.2 ms at 558 ms, present 1251

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

  • batch 100: 8.6 ms at 265 ms, present 1248: GPU no ranges; recorded by Graphics.Draw (draw committer) 5.9, Graphics.Draw.draw_and_resource_release (draw committer) 5.8, Recorder.Submit (draw committer) 0.0
  • batch 908: 8.4 ms at 2180 ms, present 1263: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.5, Graphics.Draw.draw_and_resource_release (draw committer) 2.4, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0
  • batch 7573: 8.3 ms at 17960 ms, present 1380: GPU no ranges; recorded by no CPU slices
  • batch 4723: 8.2 ms at 11186 ms, present 1330: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.6, Graphics.Draw.draw_and_resource_release (draw committer) 2.5, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0
  • batch 851: 8.0 ms at 2045 ms, present 1262: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.6, Graphics.Draw.draw_and_resource_release (draw committer) 2.5, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0

16751-change (aps5-trace-66eff997966d-11608.json.gz)

seconds 60:20 from present 1098: 59 presents, frame p50 338.8 / p90 346.5 / p99 351.8 / max 351.8 ms, GPU busy 141.4 ms per present
NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 66eff997966d (dirty), dropped: yes

{"commit":"66eff997966d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1098,"ms":20002.775},"presents":59,"frame_ms":{"p50":338.774,"p90":346.491,"p99":351.805,"max":351.805},"gpu_busy_ms_per_present":141.425,"worker_busy_pct":{"queue worker 0x0":95.911},"top_phases_ms_per_frame":{"Driver.Packet":325.163,"Graphics.Draw":291.443,"Graphics.Draw.draw_and_resource_release":285.432,"Driver.Packet.draw":170.18,"Driver.Draw":169.482,"Driver.Packet.dispatch":120.346,"Driver.Draw.draw_enqueued":114.58,"Graphics.Wait":64.823},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":15.626,"events_lost":71389,"totals_full":false}},"trace":"aps5-trace-66eff997966d-11608.json.gz"}

Incomplete trace: recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately.

  • queue worker 0x0: 71389 events lost; buffer full at 15626.3 ms

Slowest frames (largest slices inside each, inclusive)

  • present 1126: 351.8 ms at 9479 ms: Driver.Packet (queue worker 0x0) 304.6, Graphics.Draw (draw committer) 291.1, Graphics.Draw.draw_and_resource_release (draw committer) 287.9, batch (gpu) 146.4
  • present 1152: 348.4 ms at 18285 ms: Graphics.Draw (draw committer) 286.4, Graphics.Draw.draw_and_resource_release (draw committer) 283.1, batch (gpu) 145.5, Graphics.Wait (draw committer) 65.9
  • present 1115: 348.0 ms at 5725 ms: Driver.Packet (queue worker 0x0) 298.3, Graphics.Draw (draw committer) 287.6, Graphics.Draw.draw_and_resource_release (draw committer) 284.5, batch (gpu) 153.7
  • present 1148: 347.0 ms at 16913 ms: Graphics.Draw (draw committer) 284.0, Graphics.Draw.draw_and_resource_release (draw committer) 280.9, batch (gpu) 142.1, Graphics.Wait (draw committer) 66.3
  • present 1156: 346.7 ms at 19656 ms: Graphics.Draw (draw committer) 286.1, Graphics.Draw.draw_and_resource_release (draw committer) 282.9, batch (gpu) 144.1, Graphics.Wait (draw committer) 67.9

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

  • present 1126: 351.8 ms at 9479 ms, persistence 22.1 ms
  • present 1152: 348.4 ms at 18285 ms, persistence 18.7 ms
  • present 1101: 343.5 ms at 1014 ms, persistence 13.1 ms
  • present 1115: 348.0 ms at 5725 ms, persistence 12.7 ms
  • present 1132: 344.2 ms at 11523 ms, persistence 9.1 ms
  • present 1156: 346.7 ms at 19656 ms, persistence 8.3 ms
  • present 1121: 343.3 ms at 7774 ms, persistence 7.9 ms
  • present 1148: 347.0 ms at 16913 ms, persistence 7.1 ms
  • present 1106: 338.0 ms at 2698 ms, persistence 5.1 ms
  • present 1142: 337.8 ms at 14882 ms, persistence 4.8 ms

Threads (ms per frame)

thread busy wait untraced in slices < 20 us largest
title 0.1 (0 %) 11.6 (3 %) 327.4 3.9 Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0
queue worker 0x0 228.7 (67 %) 9.5 (3 %) 100.9 147.6 Driver.Packet 228.7, Driver.Draw.draw_enqueued 0.0
draw committer 215.9 (64 %) 64.8 (19 %) 58.3 27.8 Graphics.Draw 279.2, Recorder.Submit 1.4
presenter 0.5 (0 %) 11.5 (3 %) 327.0 0.1 VideoOut.Flip 12.0, Driver.Present 0.1
gpu 141.4 (42 %) 0.0 (0 %) 197.6 0.0 batch 141.4

Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 279.2, Graphics.Draw.draw_and_resource_release 276.0, Driver.Packet 228.7, batch 141.4, Driver.Packet.draw 113.2, Driver.Draw 112.6, Driver.Packet.dispatch 93.3, Driver.Draw.draw_enqueued 86.9, Graphics.Wait 64.8, Graphics.Wait.fence_wait 64.6

Longest waits

  • Graphics.Wait (draw committer) 16.0 ms at 5991 ms, present 1115
  • Graphics.Wait (draw committer) 16.0 ms at 19572 ms, present 1155
  • Graphics.Wait (draw committer) 15.9 ms at 16490 ms, present 1146
  • Graphics.Wait (draw committer) 15.4 ms at 6332 ms, present 1116
  • Graphics.Wait (draw committer) 15.3 ms at 1278 ms, present 1101
  • Graphics.Wait (draw committer) 15.2 ms at 3290 ms, present 1107
  • Graphics.Wait (draw committer) 15.1 ms at 5644 ms, present 1114
  • Graphics.Wait (draw committer) 15.1 ms at 5900 ms, present 1115
  • Graphics.Wait (draw committer) 15.1 ms at 11786 ms, present 1132
  • Graphics.Wait (draw committer) 15.1 ms at 12801 ms, present 1135

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

  • batch 1089: 13.9 ms at 5725 ms, present 1114: GPU no ranges; recorded by Graphics.Draw (draw committer) 44.3, Graphics.Draw.draw_and_resource_release (draw committer) 44.3
  • batch 3161: 13.5 ms at 16571 ms, present 1146: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.9, Graphics.Draw.draw_and_resource_release (draw committer) 42.9
  • batch 1539: 13.3 ms at 8117 ms, present 1121: GPU no ranges; recorded by Graphics.Draw (draw committer) 44.1, Graphics.Draw.draw_and_resource_release (draw committer) 44.1
  • batch 1799: 13.1 ms at 9479 ms, present 1125: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.1, Graphics.Draw.draw_and_resource_release (draw committer) 42.1
  • batch 3745: 13.1 ms at 19656 ms, present 1155: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.5, Graphics.Draw.draw_and_resource_release (draw committer) 42.5

Worker stacks

No response

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
  • Captures compared here come from the same machine, scene and settings
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6444404542 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/22339). Originally posted by [phoenix-31](https://github.com/phoenix-31) on 2026-11-17T12:21:11Z. --- ### Title and scene PPSA06866 01.007.000, title screen (in-engine 3D scene), no input, window 60 to 80 s after the first present ### What is slow or what changed The title screen runs at about half the frame rate on current `main` compared with 6 November. Two merges each cause it, with the same symptom: "memory access" storage write-backs rise from about 55 to about 900 to 1,100 per 10 s (7 to 9 GiB), and the time lands in the draw committer. | Merge | Before | After | Captures (20 s, round 2) | |---|---|---|---| | #15919 (8 Nov), e3f7f1cb3e | 2ba7237b3c | e3f7f1cb3e | p50 170 → 286 ms, GPU busy 75 → 112 ms | | #16751 (12 Nov), d1fa3aee88, with `APS5_NO_SPACE_PATCH=1` on both | 8cf459d00a | d1fa3aee88 | p50 134 → 339 ms, GPU busy 68 → 141 ms | - **#15919:** `APS5_NO_SPACE_PATCH=1` on e3f7f1cb3e restores the last good numbers (56 presents per 10 s, 55 write-backs per 10 s). - **#16751:** brings the regression back by another route, and the switch no longer helps. On deb7699779 (16 Nov), `APS5_NO_SPACE_PATCH=1` changes nothing (31 to 32 presents per 10 s, about 930 write-backs). With the switch on, the address space is neither patched nor rebuilt at d1fa3aee88, yet the write-backs return. - **Found by two bisects** over first-parent `main`, one run per commit, threshold halfway between the endpoints. Both boundaries have no commits between last good and first bad. Unconfirmed guess: this host runs with the host import budget full (3970 of 4026 MiB, 16 GB RAM). #16751's debt note says a replacement now needs budget for old and new bytes together, so replacements may be refused here and the ranges copied on every access. A machine with more RAM may not see the second regression. Setup and caveats: - Every build carries patches this title needs to reach the title screen: the stencil copy c4f8fcdbef (#16025), b411d5f6ca and 65936fa414 (blockers 4 and 6 in #13726), and the HTILE-only publication 5679a021b4. So the summary lines show local commit hashes and `dirty`: a183d3833f60 = 2ba7237b3c, 2ad7f4ecaa6e = e3f7f1cb3e, 6c35a232e69d = 8cf459d00a, 66eff997966d = d1fa3aee88, each with those patches. - `APS5_NO_IMAGE_SLABS=1` on every run, to avoid the device loss in #22216. - Some good commits settled near 55 and others near 70 presents per 10 s in single runs; both regressions go well below that. - The traces dropped events (buffer full), and the baseline captures still show shader compile time, which makes the regression look smaller, not larger. - Host: i7-14700KF, 16 GB, RTX 4060 Ti 8 GB, NVIDIA 610.60, Windows 11 Home 10.0.26300. AI-assisted: yes. Bisect and capture scripts and this write-up with Claude; the runs are mine. ### Summary lines ```json {"commit":"a183d3833f60","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1179,"ms":20068.652},"presents":126,"frame_ms":{"p50":170.276,"p90":177.369,"p99":183.831,"max":184.581},"gpu_busy_ms_per_present":74.608,"worker_busy_pct":{"queue worker 0x0":93.002},"top_phases_ms_per_frame":{"Driver.Packet":148.127,"Graphics.Draw":119.848,"Driver.Packet.draw":115.512,"Driver.Draw":114.786,"Graphics.Draw.draw_and_resource_release":114.233,"Driver.Draw.draw_enqueued":58.202,"Driver.Draw.shader_compile_and_link":48.865,"Shader.DrawStage":27.572},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.076,"events_lost":477075,"totals_full":false},"draw committer":{"events_full_after_s":16.122,"events_lost":64603,"totals_full":false}},"trace":"aps5-trace-a183d3833f60-7856.json.gz"} {"commit":"2ad7f4ecaa6e","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1087,"ms":20230.332},"presents":67,"frame_ms":{"p50":285.800,"p90":369.332,"p99":532.723,"max":532.723},"gpu_busy_ms_per_present":112.179,"worker_busy_pct":{"queue worker 0x0":96.732},"top_phases_ms_per_frame":{"Driver.Packet":292.074,"Graphics.Draw":258.671,"Graphics.Draw.draw_and_resource_release":253.346,"Driver.Packet.draw":190.405,"Driver.Draw":189.636,"Driver.Draw.draw_enqueued":129.430,"Resources.Complete":75.676,"Recorder.Sync":52.232},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":12.292,"events_lost":163902,"totals_full":false}},"trace":"aps5-trace-2ad7f4ecaa6e-9880.json.gz"} {"commit":"6c35a232e69d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1247,"ms":20086.131},"presents":149,"frame_ms":{"p50":134.320,"p90":137.888,"p99":145.112,"max":157.853},"gpu_busy_ms_per_present":67.825,"worker_busy_pct":{"queue worker 0x0":92.533},"top_phases_ms_per_frame":{"Driver.Packet":124.738,"Driver.Packet.draw":100.560,"Driver.Draw":99.916,"Graphics.Draw":94.341,"Graphics.Draw.draw_and_resource_release":88.590,"Driver.Draw.draw_enqueued":47.132,"Driver.Draw.shader_compile_and_link":43.975,"Shader.DrawStage":24.788},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.550,"events_lost":539801,"totals_full":false},"draw committer":{"events_full_after_s":14.531,"events_lost":100964,"totals_full":false}},"trace":"aps5-trace-6c35a232e69d-6464.json.gz"} {"commit":"66eff997966d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1098,"ms":20002.775},"presents":59,"frame_ms":{"p50":338.774,"p90":346.491,"p99":351.805,"max":351.805},"gpu_busy_ms_per_present":141.425,"worker_busy_pct":{"queue worker 0x0":95.911},"top_phases_ms_per_frame":{"Driver.Packet":325.163,"Graphics.Draw":291.443,"Graphics.Draw.draw_and_resource_release":285.432,"Driver.Packet.draw":170.180,"Driver.Draw":169.482,"Driver.Packet.dispatch":120.346,"Driver.Draw.draw_enqueued":114.580,"Graphics.Wait":64.823},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":15.626,"events_lost":71389,"totals_full":false}},"trace":"aps5-trace-66eff997966d-11608.json.gz"} ``` ### Traces [aps5-trace-a183d3833f60-7856.json.gz](https://github.com/user-attachments/files/34969642/aps5-trace-a183d3833f60-7856.json.gz) [aps5-trace-2ad7f4ecaa6e-9880.json.gz](https://github.com/user-attachments/files/34969651/aps5-trace-2ad7f4ecaa6e-9880.json.gz) [aps5-trace-6c35a232e69d-6464.json.gz](https://github.com/user-attachments/files/34969664/aps5-trace-6c35a232e69d-6464.json.gz) [aps5-trace-66eff997966d-11608.json.gz](https://github.com/user-attachments/files/34969668/aps5-trace-66eff997966d-11608.json.gz) ### Digest ### 15919-base (aps5-trace-a183d3833f60-7856.json.gz) **seconds 60:20** from present 1179: 126 presents, frame p50 170.3 / p90 177.4 / p99 183.8 / max 184.6 ms, GPU busy 74.6 ms per present NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit a183d3833f60 (dirty), dropped: yes ```json {"commit":"a183d3833f60","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1179,"ms":20068.652},"presents":126,"frame_ms":{"p50":170.276,"p90":177.369,"p99":183.831,"max":184.581},"gpu_busy_ms_per_present":74.608,"worker_busy_pct":{"queue worker 0x0":93.002},"top_phases_ms_per_frame":{"Driver.Packet":148.127,"Graphics.Draw":119.848,"Driver.Packet.draw":115.512,"Driver.Draw":114.786,"Graphics.Draw.draw_and_resource_release":114.233,"Driver.Draw.draw_enqueued":58.202,"Driver.Draw.shader_compile_and_link":48.865,"Shader.DrawStage":27.572},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":7.076,"events_lost":477075,"totals_full":false},"draw committer":{"events_full_after_s":16.122,"events_lost":64603,"totals_full":false}},"trace":"aps5-trace-a183d3833f60-7856.json.gz"} ``` **Incomplete trace:** recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately. - queue worker 0x0: 477075 events lost; buffer full at 7075.5 ms - draw committer: 64603 events lost; buffer full at 16121.5 ms **Slowest frames** (largest slices inside each, inclusive) - present 1224: 184.6 ms at 7171 ms: Graphics.Draw (draw committer) 128.5, Graphics.Draw.draw_and_resource_release (draw committer) 124.8, batch (gpu) 76.4, Resources.Complete (draw committer) 22.3 - present 1264: 183.8 ms at 13509 ms: Graphics.Draw (draw committer) 130.2, Graphics.Draw.draw_and_resource_release (draw committer) 126.8, batch (gpu) 75.3, Resources.Complete (draw committer) 25.3 - present 1274: 182.3 ms at 15114 ms: Graphics.Draw (draw committer) 128.0, Graphics.Draw.draw_and_resource_release (draw committer) 124.2, batch (gpu) 76.4, Resources.Complete (draw committer) 15.8 - present 1290: 180.1 ms at 17670 ms: batch (gpu) 74.0, VideoOut.Flip (presenter) 7.7, VideoOut.Flip.present (presenter) 7.6, Driver.Present (presenter) 7.6 - present 1200: 179.6 ms at 3361 ms: Driver.Packet (queue worker 0x0) 134.9, Graphics.Draw (draw committer) 122.0, Graphics.Draw.draw_and_resource_release (draw committer) 118.9, Driver.Packet.draw (queue worker 0x0) 100.9 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 1224: 184.6 ms at 7171 ms, persistence 45.9 ms - present 1264: 183.8 ms at 13509 ms, persistence 45.1 ms - present 1304: 179.4 ms at 19889 ms, persistence 40.5 ms - present 1274: 182.3 ms at 15114 ms, persistence 39.2 ms - present 1200: 179.6 ms at 3361 ms, persistence 38.8 ms - present 1290: 180.1 ms at 17670 ms, persistence 38.0 ms - present 1292: 178.8 ms at 17991 ms, persistence 37.4 ms - present 1188: 178.7 ms at 1428 ms, persistence 35.8 ms - present 1294: 176.0 ms at 18311 ms, persistence 34.7 ms - present 1212: 177.4 ms at 5269 ms, persistence 34.4 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.1 (0 %) | 9.2 (6 %) | 150.0 | 4.2 | Shader.ResolveGraphicsStagesAbi 0.1, Shader.ResolveAbi 0.0 | | queue worker 0x0 | 40.9 (26 %) | 3.4 (2 %) | 115.1 | 66.8 | Driver.Packet 40.9, Driver.Draw.shader_compile_and_link 0.0 | | draw committer | 85.7 (54 %) | 0.0 (0 %) | 73.6 | 29.1 | Graphics.Draw 84.1, Recorder.Submit 1.4 | | presenter | 0.4 (0 %) | 9.0 (6 %) | 149.8 | 0.1 | VideoOut.Flip 9.4, Driver.Present 0.0 | | gpu | 74.6 (47 %) | 0.0 (0 %) | 84.7 | 0.0 | batch 74.6 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 84.1, Graphics.Draw.draw_and_resource_release 81.4, batch 74.6, Driver.Packet 40.9, Driver.Packet.draw 31.6, Driver.Draw 31.3, Driver.Draw.draw_enqueued 19.2, VideoOut.Flip 9.4, Driver.Present 9.3, VideoOut.Flip.present 9.3 **Longest waits** - Recorder.WaitSerial (title) 12.7 ms at 14641 ms, present 1271 - Driver.Present.render_fence_wait (presenter) 12.5 ms at 14642 ms, present 1271 - Recorder.WaitSerial (title) 12.5 ms at 1929 ms, present 1191 - Driver.WorkerWait (queue worker 0x0) 12.3 ms at 1929 ms, present 1191 - Driver.Present.render_fence_wait (presenter) 12.2 ms at 1929 ms, present 1191 - Driver.WorkerWait (queue worker 0x0) 12.2 ms at 2252 ms, present 1193 - Recorder.WaitSerial (title) 12.1 ms at 2252 ms, present 1193 - Driver.Present.render_fence_wait (presenter) 12.0 ms at 2252 ms, present 1193 - Recorder.WaitSerial (title) 11.8 ms at 3215 ms, present 1199 - Driver.WorkerWait (queue worker 0x0) 11.8 ms at 3215 ms, present 1199 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 5297: 8.7 ms at 14770 ms, present 1271: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.2, Graphics.Draw.draw_and_resource_release (draw committer) 6.1, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 1186: 8.6 ms at 3342 ms, present 1199: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.1, Graphics.Draw.draw_and_resource_release (draw committer) 6.0, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.0 - batch 5868: 8.4 ms at 16383 ms, present 1281: GPU no ranges; recorded by no CPU slices - batch 43: 8.4 ms at 126 ms, present 1179: GPU no ranges; recorded by Graphics.Draw (draw committer) 5.8, Graphics.Draw.draw_and_resource_release (draw committer) 5.8, Resources.Complete (draw committer) 0.2, Recorder.Submit (draw committer) 0.0 - batch 2785: 8.3 ms at 7799 ms, present 1227: GPU no ranges; recorded by Graphics.Draw (draw committer) 6.1, Graphics.Draw.draw_and_resource_release (draw committer) 6.0, Resources.Complete (draw committer) 0.3, Recorder.Submit (draw committer) 0.1 ### 15919-change (aps5-trace-2ad7f4ecaa6e-9880.json.gz) **seconds 60:20** from present 1087: 67 presents, frame p50 285.8 / p90 369.3 / p99 532.7 / max 532.7 ms, GPU busy 112.2 ms per present NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 2ad7f4ecaa6e (dirty), dropped: yes ```json {"commit":"2ad7f4ecaa6e","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1087,"ms":20230.332},"presents":67,"frame_ms":{"p50":285.8,"p90":369.332,"p99":532.723,"max":532.723},"gpu_busy_ms_per_present":112.179,"worker_busy_pct":{"queue worker 0x0":96.732},"top_phases_ms_per_frame":{"Driver.Packet":292.074,"Graphics.Draw":258.671,"Graphics.Draw.draw_and_resource_release":253.346,"Driver.Packet.draw":190.405,"Driver.Draw":189.636,"Driver.Draw.draw_enqueued":129.43,"Resources.Complete":75.676,"Recorder.Sync":52.232},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":12.292,"events_lost":163902,"totals_full":false}},"trace":"aps5-trace-2ad7f4ecaa6e-9880.json.gz"} ``` **Incomplete trace:** recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately. - queue worker 0x0: 163902 events lost; buffer full at 12291.7 ms **Slowest frames** (largest slices inside each, inclusive) - present 1146: 532.7 ms at 17716 ms: Graphics.Draw (draw committer) 469.2, Graphics.Draw.draw_and_resource_release (draw committer) 465.9, batch (gpu) 329.9, Recorder.Sync (draw committer) 197.0 - present 1114: 382.4 ms at 8115 ms: Driver.Packet (queue worker 0x0) 339.9, Graphics.Draw (draw committer) 322.6, Graphics.Draw.draw_and_resource_release (draw committer) 319.2, batch (gpu) 247.5 - present 1143: 379.0 ms at 16771 ms: Graphics.Draw (draw committer) 318.8, Graphics.Draw.draw_and_resource_release (draw committer) 315.4, Resources.Complete (draw committer) 137.0, batch (gpu) 133.9 - present 1107: 374.0 ms at 5876 ms: Driver.Packet (queue worker 0x0) 331.5, Graphics.Draw (draw committer) 314.6, Graphics.Draw.draw_and_resource_release (draw committer) 311.0, Driver.Packet.draw (queue worker 0x0) 233.5 - present 1113: 373.8 ms at 7741 ms: Driver.Packet (queue worker 0x0) 328.2, Graphics.Draw (draw committer) 312.0, Graphics.Draw.draw_and_resource_release (draw committer) 308.7, Driver.Packet.draw (queue worker 0x0) 229.1 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 1146: 532.7 ms at 17716 ms, persistence 294.2 ms - present 1114: 382.4 ms at 8115 ms, persistence 143.8 ms - present 1089: 356.2 ms at 517 ms, persistence 111.9 ms - present 1098: 363.2 ms at 3159 ms, persistence 111.3 ms - present 1107: 374.0 ms at 5876 ms, persistence 108.4 ms - present 1095: 357.4 ms at 2265 ms, persistence 108.2 ms - present 1125: 357.9 ms at 11338 ms, persistence 107.6 ms - present 1143: 379.0 ms at 16771 ms, persistence 107.1 ms - present 1101: 369.3 ms at 4056 ms, persistence 106.9 ms - present 1131: 360.4 ms at 13113 ms, persistence 105.9 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.1 (0 %) | 7.7 (3 %) | 294.2 | 3.9 | Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0 | | queue worker 0x0 | 158.6 (53 %) | 4.5 (1 %) | 138.9 | 116.2 | Driver.Packet 158.6, Driver.Draw 0.0 | | draw committer | 246.8 (82 %) | 0.0 (0 %) | 55.1 | 32.7 | Graphics.Draw 244.2, Recorder.Submit 2.4 | | presenter | 0.5 (0 %) | 7.4 (2 %) | 294.1 | 0.1 | VideoOut.Flip 7.9, Driver.Present 0.0 | | gpu | 113.4 (38 %) | 0.0 (0 %) | 188.6 | 0.0 | batch 113.4 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 244.2, Graphics.Draw.draw_and_resource_release 240.9, Driver.Packet 158.6, batch 113.4, Driver.Packet.draw 101.1, Driver.Draw 100.5, Driver.Draw.draw_enqueued 76.7, Resources.Complete 75.4, Recorder.Sync 52.2, Driver.Packet.dispatch 29.7 **Longest waits** - Driver.Present.render_fence_wait (presenter) 21.0 ms at 18249 ms, present 1147 - Recorder.WaitSerial (title) 20.9 ms at 18249 ms, present 1147 - Driver.WorkerWait (queue worker 0x0) 11.4 ms at 7741 ms, present 1113 - Recorder.WaitSerial (title) 11.3 ms at 17716 ms, present 1146 - Driver.Present.render_fence_wait (presenter) 11.0 ms at 17716 ms, present 1146 - Recorder.WaitSerial (title) 10.9 ms at 7741 ms, present 1113 - Recorder.WaitSerial (title) 10.9 ms at 16772 ms, present 1143 - Driver.Present.render_fence_wait (presenter) 10.7 ms at 7741 ms, present 1113 - Driver.Present.render_fence_wait (presenter) 10.6 ms at 16772 ms, present 1143 - Recorder.WaitSerial (title) 10.0 ms at 17151 ms, present 1144 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 1695: 39.9 ms at 8352 ms, present 1114: GPU no ranges; recorded by Recorder.Sync (draw committer) 40.0, Graphics.Draw (draw committer) 39.5, Graphics.Draw.draw_and_resource_release (draw committer) 39.5, Resources.Complete (draw committer) 3.4 - batch 3662: 39.4 ms at 18086 ms, present 1146: GPU no ranges; recorded by Graphics.Draw (draw committer) 40.3, Graphics.Draw.draw_and_resource_release (draw committer) 40.2, Recorder.Sync (draw committer) 39.7, Resources.Complete (draw committer) 3.6 - batch 3661: 33.4 ms at 18046 ms, present 1146: GPU no ranges; recorded by Recorder.Sync (draw committer) 33.6, Graphics.Draw (draw committer) 28.9, Graphics.Draw.draw_and_resource_release (draw committer) 28.9, Resources.Complete (draw committer) 3.2 - batch 1694: 33.1 ms at 8313 ms, present 1114: GPU no ranges; recorded by Recorder.Sync (draw committer) 33.2, Graphics.Draw (draw committer) 28.3, Graphics.Draw.draw_and_resource_release (draw committer) 28.3, Resources.Complete (draw committer) 3.3 - batch 3639: 27.7 ms at 17919 ms, present 1146: GPU no ranges; recorded by Recorder.Sync (draw committer) 29.2, Resources.Prepare (draw committer) 0.0, Recorder.Submit (draw committer) 0.0 ### 16751-base (aps5-trace-6c35a232e69d-6464.json.gz) **seconds 60:20** from present 1247: 149 presents, frame p50 134.3 / p90 137.9 / p99 145.1 / max 157.9 ms, GPU busy 67.8 ms per present NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 6c35a232e69d (dirty), dropped: yes ```json {"commit":"6c35a232e69d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1247,"ms":20086.131},"presents":149,"frame_ms":{"p50":134.32,"p90":137.888,"p99":145.112,"max":157.853},"gpu_busy_ms_per_present":67.825,"worker_busy_pct":{"queue worker 0x0":92.533},"top_phases_ms_per_frame":{"Driver.Packet":124.738,"Driver.Packet.draw":100.56,"Driver.Draw":99.916,"Graphics.Draw":94.341,"Graphics.Draw.draw_and_resource_release":88.59,"Driver.Draw.draw_enqueued":47.132,"Driver.Draw.shader_compile_and_link":43.975,"Shader.DrawStage":24.788},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":6.55,"events_lost":539801,"totals_full":false},"draw committer":{"events_full_after_s":14.531,"events_lost":100964,"totals_full":false}},"trace":"aps5-trace-6c35a232e69d-6464.json.gz"} ``` **Incomplete trace:** recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately. - queue worker 0x0: 539801 events lost; buffer full at 6549.7 ms - draw committer: 100964 events lost; buffer full at 14531.4 ms **Slowest frames** (largest slices inside each, inclusive) - present 1341: 157.9 ms at 12695 ms: Graphics.Draw (draw committer) 99.8, Graphics.Draw.draw_and_resource_release (draw committer) 95.4, batch (gpu) 70.6, VideoOut.Flip (presenter) 9.7 - present 1318: 145.1 ms at 9563 ms: Graphics.Draw (draw committer) 90.1, Graphics.Draw.draw_and_resource_release (draw committer) 87.1, batch (gpu) 67.7, Resources.Complete (draw committer) 9.2 - present 1338: 143.1 ms at 12270 ms: Graphics.Draw (draw committer) 85.1, Graphics.Draw.draw_and_resource_release (draw committer) 81.4, batch (gpu) 72.9, VideoOut.Flip (presenter) 10.1 - present 1247: 141.7 ms at 0 ms: Driver.Packet (queue worker 0x0) 95.8, Graphics.Draw (draw committer) 81.5, Graphics.Draw.draw_and_resource_release (draw committer) 78.4, Driver.Packet.draw (queue worker 0x0) 76.3 - present 1339: 141.4 ms at 12413 ms: Graphics.Draw (draw committer) 84.6, Graphics.Draw.draw_and_resource_release (draw committer) 81.1, batch (gpu) 71.7, VideoOut.Flip (presenter) 8.7 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 1341: 157.9 ms at 12695 ms, persistence 28.0 ms - present 1318: 145.1 ms at 9563 ms, persistence 12.6 ms - present 1247: 141.7 ms at 0 ms, persistence 11.6 ms - present 1279: 139.0 ms at 4354 ms, persistence 6.5 ms - present 1367: 137.7 ms at 16217 ms, persistence 6.0 ms - present 1346: 138.4 ms at 13396 ms, persistence 5.9 ms - present 1382: 135.2 ms at 18225 ms, persistence 5.4 ms - present 1271: 138.5 ms at 3270 ms, persistence 5.1 ms - present 1357: 137.2 ms at 14877 ms, persistence 4.5 ms - present 1327: 138.1 ms at 10775 ms, persistence 4.4 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.0 (0 %) | 8.0 (6 %) | 126.7 | 3.8 | Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0 | | queue worker 0x0 | 30.0 (22 %) | 3.0 (2 %) | 101.8 | 60.1 | Driver.Packet 30.0, Driver.Draw 0.0 | | draw committer | 60.3 (45 %) | 0.0 (0 %) | 74.5 | 21.5 | Graphics.Draw 59.3, Recorder.Submit 0.9 | | presenter | 0.5 (0 %) | 8.0 (6 %) | 126.4 | 0.1 | VideoOut.Flip 8.3, Driver.Present 0.1 | | gpu | 67.7 (50 %) | 0.0 (0 %) | 67.1 | 0.0 | batch 67.7 | **Largest slices** (ms per frame, inclusive, all threads): batch 67.7, Graphics.Draw 59.3, Graphics.Draw.draw_and_resource_release 57.0, Driver.Packet 30.0, Driver.Packet.draw 24.2, Driver.Draw 24.0, Driver.Draw.draw_enqueued 14.2, VideoOut.Flip 8.3, Driver.Present 8.3, VideoOut.Flip.present 8.2 **Longest waits** - Driver.WorkerWait (queue worker 0x0) 13.1 ms at 142 ms, present 1248 - Recorder.WaitSerial (title) 12.9 ms at 142 ms, present 1248 - Driver.Present.render_fence_wait (presenter) 12.7 ms at 142 ms, present 1248 - Driver.WorkerWait (queue worker 0x0) 12.3 ms at 283 ms, present 1249 - Recorder.WaitSerial (title) 12.1 ms at 283 ms, present 1249 - Driver.Present.render_fence_wait (presenter) 11.9 ms at 283 ms, present 1249 - Driver.WorkerWait (queue worker 0x0) 11.6 ms at 0 ms, present 1247 - Driver.WorkerWait (queue worker 0x0) 11.4 ms at 695 ms, present 1252 - Recorder.WaitSerial (title) 11.4 ms at 694 ms, present 1252 - Driver.WorkerWait (queue worker 0x0) 11.2 ms at 558 ms, present 1251 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 100: 8.6 ms at 265 ms, present 1248: GPU no ranges; recorded by Graphics.Draw (draw committer) 5.9, Graphics.Draw.draw_and_resource_release (draw committer) 5.8, Recorder.Submit (draw committer) 0.0 - batch 908: 8.4 ms at 2180 ms, present 1263: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.5, Graphics.Draw.draw_and_resource_release (draw committer) 2.4, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0 - batch 7573: 8.3 ms at 17960 ms, present 1380: GPU no ranges; recorded by no CPU slices - batch 4723: 8.2 ms at 11186 ms, present 1330: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.6, Graphics.Draw.draw_and_resource_release (draw committer) 2.5, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0 - batch 851: 8.0 ms at 2045 ms, present 1262: GPU no ranges; recorded by Graphics.Draw (draw committer) 2.6, Graphics.Draw.draw_and_resource_release (draw committer) 2.5, Recorder.Reap (draw committer) 0.0, Recorder.Submit (draw committer) 0.0 ### 16751-change (aps5-trace-66eff997966d-11608.json.gz) **seconds 60:20** from present 1098: 59 presents, frame p50 338.8 / p90 346.5 / p99 351.8 / max 351.8 ms, GPU busy 141.4 ms per present NVIDIA GeForce RTX 4060 Ti, NVIDIA 610.60, Windows 10.0.26300, 3840x2160, commit 66eff997966d (dirty), dropped: yes ```json {"commit":"66eff997966d","dirty":true,"env":{"APS5_NO_IMAGE_SLABS":"1","APS5_NO_PAD_INPUT":"1","APS5_NO_SPACE_PATCH":"1","APS5_TRACE_SECONDS":"60:20"},"gpu":"NVIDIA GeForce RTX 4060 Ti","driver":"NVIDIA 610.60","os":"Windows 10.0.26300","cpu":"Intel(R) Core(TM) i7-14700KF","cpu_threads":28,"memory_mib":16105,"title_id":"PPSA06866","title":"Divinity: Original Sin 2 - Definitive Edition","content_version":"01.007.000","resolution":"3840x2160","window":{"spec":"seconds 60:20","first_present":1098,"ms":20002.775},"presents":59,"frame_ms":{"p50":338.774,"p90":346.491,"p99":351.805,"max":351.805},"gpu_busy_ms_per_present":141.425,"worker_busy_pct":{"queue worker 0x0":95.911},"top_phases_ms_per_frame":{"Driver.Packet":325.163,"Graphics.Draw":291.443,"Graphics.Draw.draw_and_resource_release":285.432,"Driver.Packet.draw":170.18,"Driver.Draw":169.482,"Driver.Packet.dispatch":120.346,"Driver.Draw.draw_enqueued":114.58,"Graphics.Wait":64.823},"owned_draw_counts":{},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":15.626,"events_lost":71389,"totals_full":false}},"trace":"aps5-trace-66eff997966d-11608.json.gz"} ``` **Incomplete trace:** recorded data was lost. Slice-based timings, waits and batch inventories cover retained events only; missing slices are not idle time. Summary statistics are reported separately. - queue worker 0x0: 71389 events lost; buffer full at 15626.3 ms **Slowest frames** (largest slices inside each, inclusive) - present 1126: 351.8 ms at 9479 ms: Driver.Packet (queue worker 0x0) 304.6, Graphics.Draw (draw committer) 291.1, Graphics.Draw.draw_and_resource_release (draw committer) 287.9, batch (gpu) 146.4 - present 1152: 348.4 ms at 18285 ms: Graphics.Draw (draw committer) 286.4, Graphics.Draw.draw_and_resource_release (draw committer) 283.1, batch (gpu) 145.5, Graphics.Wait (draw committer) 65.9 - present 1115: 348.0 ms at 5725 ms: Driver.Packet (queue worker 0x0) 298.3, Graphics.Draw (draw committer) 287.6, Graphics.Draw.draw_and_resource_release (draw committer) 284.5, batch (gpu) 153.7 - present 1148: 347.0 ms at 16913 ms: Graphics.Draw (draw committer) 284.0, Graphics.Draw.draw_and_resource_release (draw committer) 280.9, batch (gpu) 142.1, Graphics.Wait (draw committer) 66.3 - present 1156: 346.7 ms at 19656 ms: Graphics.Draw (draw committer) 286.1, Graphics.Draw.draw_and_resource_release (draw committer) 282.9, batch (gpu) 144.1, Graphics.Wait (draw committer) 67.9 **Persistent spikes** (frame time above the fastest frame that separates it from a longer frame; one entry per stall, not per frame) - present 1126: 351.8 ms at 9479 ms, persistence 22.1 ms - present 1152: 348.4 ms at 18285 ms, persistence 18.7 ms - present 1101: 343.5 ms at 1014 ms, persistence 13.1 ms - present 1115: 348.0 ms at 5725 ms, persistence 12.7 ms - present 1132: 344.2 ms at 11523 ms, persistence 9.1 ms - present 1156: 346.7 ms at 19656 ms, persistence 8.3 ms - present 1121: 343.3 ms at 7774 ms, persistence 7.9 ms - present 1148: 347.0 ms at 16913 ms, persistence 7.1 ms - present 1106: 338.0 ms at 2698 ms, persistence 5.1 ms - present 1142: 337.8 ms at 14882 ms, persistence 4.8 ms **Threads** (ms per frame) | thread | busy | wait | untraced | in slices < 20 us | largest | |---|---|---|---|---|---| | title | 0.1 (0 %) | 11.6 (3 %) | 327.4 | 3.9 | Shader.ResolveGraphicsStagesAbi 0.0, Shader.ResolveAbi 0.0 | | queue worker 0x0 | 228.7 (67 %) | 9.5 (3 %) | 100.9 | 147.6 | Driver.Packet 228.7, Driver.Draw.draw_enqueued 0.0 | | draw committer | 215.9 (64 %) | 64.8 (19 %) | 58.3 | 27.8 | Graphics.Draw 279.2, Recorder.Submit 1.4 | | presenter | 0.5 (0 %) | 11.5 (3 %) | 327.0 | 0.1 | VideoOut.Flip 12.0, Driver.Present 0.1 | | gpu | 141.4 (42 %) | 0.0 (0 %) | 197.6 | 0.0 | batch 141.4 | **Largest slices** (ms per frame, inclusive, all threads): Graphics.Draw 279.2, Graphics.Draw.draw_and_resource_release 276.0, Driver.Packet 228.7, batch 141.4, Driver.Packet.draw 113.2, Driver.Draw 112.6, Driver.Packet.dispatch 93.3, Driver.Draw.draw_enqueued 86.9, Graphics.Wait 64.8, Graphics.Wait.fence_wait 64.6 **Longest waits** - Graphics.Wait (draw committer) 16.0 ms at 5991 ms, present 1115 - Graphics.Wait (draw committer) 16.0 ms at 19572 ms, present 1155 - Graphics.Wait (draw committer) 15.9 ms at 16490 ms, present 1146 - Graphics.Wait (draw committer) 15.4 ms at 6332 ms, present 1116 - Graphics.Wait (draw committer) 15.3 ms at 1278 ms, present 1101 - Graphics.Wait (draw committer) 15.2 ms at 3290 ms, present 1107 - Graphics.Wait (draw committer) 15.1 ms at 5644 ms, present 1114 - Graphics.Wait (draw committer) 15.1 ms at 5900 ms, present 1115 - Graphics.Wait (draw committer) 15.1 ms at 11786 ms, present 1132 - Graphics.Wait (draw committer) 15.1 ms at 12801 ms, present 1135 **Largest GPU batches** (GPU ranges inside, and the CPU slices that recorded each, inclusive) - batch 1089: 13.9 ms at 5725 ms, present 1114: GPU no ranges; recorded by Graphics.Draw (draw committer) 44.3, Graphics.Draw.draw_and_resource_release (draw committer) 44.3 - batch 3161: 13.5 ms at 16571 ms, present 1146: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.9, Graphics.Draw.draw_and_resource_release (draw committer) 42.9 - batch 1539: 13.3 ms at 8117 ms, present 1121: GPU no ranges; recorded by Graphics.Draw (draw committer) 44.1, Graphics.Draw.draw_and_resource_release (draw committer) 44.1 - batch 1799: 13.1 ms at 9479 ms, present 1125: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.1, Graphics.Draw.draw_and_resource_release (draw committer) 42.1 - batch 3745: 13.1 ms at 19656 ms, present 1155: GPU no ranges; recorded by Graphics.Draw (draw committer) 42.5, Graphics.Draw.draw_and_resource_release (draw committer) 42.5 ### Worker stacks _No response_ ### Capture - [x] The caches were warm (the scene ran once and the title was restarted) - [x] No other APS5_TRACE_* or APS5_PROFILE_* switch was set and the log was not redirected - [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#22339
No description provided.