Difference between revisions of "Using Renderdoc capture"

From GamingOnLinux.com Linux Games Wiki
Jump to navigation Jump to search
(Created Using Renderdoc capture)
(No difference)

Revision as of 21:51, 12 July 2019

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:

ENABLE_VULKAN_RENDERDOC_CAPTURE=1

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