Gfx: How to use feature auto-capture

Created on 23 Nov 2018  Â·  5Comments  Â·  Source: gfx-rs/gfx

I find it that auto-capture is using MTLCaptureManager which supports Capture GPU Frame of Xcode. How to use it when running Dota2 due to no launching from Xcode?

Metal discussion

Most helpful comment

@Michael-Lfx you can only use it when running from XCode. Also, it doesn't make sense for Dota - frame boundaries trigger capture automatically. It's useful for workloads that are either compute or don't present frame, mostly Vulkan CTS. Here are instructions on how to set up XCode to run anything external, I have all the things set up this way (Dota, Vulkan CTS, Filament, etc):

xcode-capture
ode.

Picture is courtesy of @grovesNL ^

All 5 comments

@Michael-Lfx you can only use it when running from XCode. Also, it doesn't make sense for Dota - frame boundaries trigger capture automatically. It's useful for workloads that are either compute or don't present frame, mostly Vulkan CTS. Here are instructions on how to set up XCode to run anything external, I have all the things set up this way (Dota, Vulkan CTS, Filament, etc):

xcode-capture
ode.

Picture is courtesy of @grovesNL ^

I think it's better to make it as a wiki page for the latecomers.

I think it'd be good to have this sort of documentation to be a part of the repo, e.g. by existing in the backend Readme, or even as comments in Cargo.toml.

On Nov 28, 2018, at 10:17, Michael(LAI) notifications@github.com wrote:

I think it's better to make it as a wiki page for new latecomers.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Another proposal: leaving a fine-configured Xcode project/workspace in examples to save time.

It's solved. Thank you. Love you guys.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kvark picture kvark  Â·  3Comments

kvark picture kvark  Â·  5Comments

kvark picture kvark  Â·  3Comments

Bastacyclop picture Bastacyclop  Â·  3Comments

djcsdy picture djcsdy  Â·  4Comments