Profile a GPU frame with RenderDoc to find a slow pass

12 steps · about 2 h 43 min · Intermediate

  1. GPU Profiling for Game Developers: A Beginner's Guide (article, Bugnet, 15 min)

    It starts with the test for whether you are GPU-bound at all, which you need to know before opening any profiler.

  2. RenderDoc documentation (doc, renderdoc.org, 5 min)

    It is the official home of the tool and shows which APIs and platforms it supports.

  3. Quick Start — RenderDoc documentation (doc, renderdoc.org, 15 min)

    It introduces the Event Browser, the timeline and the capture workflow that every later step uses.

  4. RenderDoc FAQ (doc, baldurk / RenderDoc on GitHub, 8 min)

    It explains what an "action" is and why capturing changes timings, so you read your numbers with the right caution.

  5. GPU Debugging and Profiling with RenderDoc: A Graphics Programmer's Guide (article, DeepRaster, 20 min)

    It walks through stepping a frame and inspecting pipeline state, so you can recognise what each pass is doing.

  6. Event Browser — RenderDoc documentation (doc, renderdoc.org, 10 min)

    It shows how to use the timer button and the duration column to get per-action GPU times.

  7. Unity GPU Optimization: Find Your GPU Timings With RenderDoc (article, The Game Dev Guru, 15 min)

    It applies the timing button to a real captured frame, so you see how to pick the expensive draw out of the list.

  8. GPU Debugging in vvvv (article, The vvvv Gray Book, 10 min)

    It is a second walkthrough of capture and the performance counter viewer, in a different engine.

  9. GPU utilisation and performance improvements (article, Interplay of Light, 25 min)

    It explains why a pass is slow in terms of GPU units and utilisation, and how to improve the frame as a whole rather than one draw.

  10. How do I generate an RGP profile? — RenderDoc documentation (doc, renderdoc.org, 10 min)

    It shows how to hand your slow pass to AMD's Radeon GPU Profiler for hardware-level detail.

  11. RenderDoc & Radeon GPU Profiler interop BETA (doc, AMD GPUOpen, 10 min)

    It covers how to link RGP events back to RenderDoc events, and the known limits of the interop.

  12. GPU Profiling & Bottleneck Resolution Workflow (article, beefed.ai, 20 min)

    It ties capture, hotspot, fix and re-measure into one repeatable routine, using RenderDoc, Nsight and RGP together.