Using Renderdoc capture

From Linux Games Wiki
Revision as of 21:53, 12 July 2019 by Shmerl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Renderdoc is a powerful graphics debugger that can help troubleshooting Vulkan games by creating a capture that developers can analyze. So often Mesa and dxvk developers can ask to provide them a Renderdoc capture that's recorded when a particular problem occurs.

Recording it is pretty easy. Install renderdoc package from your distro, and it will provide an implicit Vulkan layer for captures, that you can enable simply by setting an environment variable for the game you want to troubleshoot:


When inside your game, press F12 to make a capture. It will be recorded in /tmp/RenderDoc. This should work both for native, and Wine Vulkan based scenarios (like dxvk and etc.).