LunarG / VulkanTools

Tools to aid in Vulkan development
Other
668 stars 176 forks source link

Unable to vktrace Frostpunk from Steam #954

Closed Evernow closed 4 years ago

Evernow commented 4 years ago

Hello there!

Apologies for this, but I cannot seem to be able to vktrace Frostpunk which is running via Proton with DXVK.

I'm on Manjaro, I installed vulkan-trace from the extra repository and this is what I did:

Ran export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_vktrace

Closed Steam completely

Ran vktrace -o frostpunk.vktrace

Ran steam steam://rungameid/323190 to start the game

But unfortunately no vulkan trace in sight. I am trying to do a trace to help report a hang issue with the AMD drivers but I can't seem to figure this out unfortunately. Any help is greatly appreciated!

johnzupin commented 4 years ago

Try this:

1) Open two terminals 2) In one terminal run vktrace -o frostpunk.vktrace (keep this running) 2) In the second terminal set up your env vars (export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_vktrace) and then run your steam game in this second terminal with the environment set.

johnzupin commented 4 years ago

Also, try using GFXreconstruct (https://github.com/LunarG/gfxreconstruct), vktrace is slowly being deprecated. You might have better luck tracing with this.

Evernow commented 4 years ago

Try this:

1. Open two terminals

2. In one terminal run `vktrace -o frostpunk.vktrace` (keep this running)

3. In the second terminal set up your env vars (`export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_vktrace`) and then run your steam game in this second terminal with the environment set.

Thank you! This worked!