mirror of
https://gitlab.steamos.cloud/frame-public/frame-developer-tools.git
synced 2026-10-06 17:00:50 +02:00
Added gfxreconstruct readme.
This commit is contained in:
1 parent
bbc2906298
commit
2f13f11d78
1 file changed
+22
@@ -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.
|
||||
Reference in new issue
Block a user