Added gfxreconstruct readme.

This commit is contained in:
Aaron Leiby committed 2026-03-02 22:52:22 +00:00
1 parent bbc2906298
commit 2f13f11d78
1 file changed
+22
+22
View File
@@ -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.