From 2f13f11d78fa9e3098ed122c0d789bc98d478aea Mon Sep 17 00:00:00 2001 From: Aaron Leiby Date: Mon, 2 Mar 2026 22:52:22 +0000 Subject: [PATCH] Added gfxreconstruct readme. --- gfxreconstruct/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gfxreconstruct/README.md diff --git a/gfxreconstruct/README.md b/gfxreconstruct/README.md new file mode 100644 index 0000000..89cf80a --- /dev/null +++ b/gfxreconstruct/README.md @@ -0,0 +1,22 @@ +# gfxreconstruct + +Steam Frame comes pre-loaded with the gfxreconstruct Vulkan layer. + +To enable when launching the game from Steam: +``` +nano ~/.config/steam/env/gfx.txt +``` +Add the following environment variable settings: +``` +VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_gfxreconstruct +GFXRECON_CAPTURE_FILE=/tmp/gfxrecon_capture.gfxr +GFXRECON_CAPTURE_FILE_FLUSH=1 +DXVK_DEBUG=markers +``` +Once you reach the point you want to capture, exit and find your trace(s) in /tmp/gfxrecon*.gfxr + +If there are multiple, you probably want the biggest one from that capture. + +Don't forget to comment out or remove the lines from gfx.txt when you're done capturing. + +See https://github.com/LunarG/gfxreconstruct for more details. \ No newline at end of file