1
$\begingroup$

What measurement/monitoring tools could I use to get the FPS values for a simple Vulkan app?

Thanks in advance

$\endgroup$
  • $\begingroup$ Is this a question related to programming of an FPS measurement or is it related to using tools to measure fps ? $\endgroup$ – PaulHK Nov 28 '18 at 9:39
  • $\begingroup$ @PaulHK I am looking for a tool to measure the FPS of my very simple app. I am new at this; nowhere near to instrumenting my application. $\endgroup$ – Vectorizer Nov 28 '18 at 10:31
  • $\begingroup$ @Vectorizer: If it's your program, you should not be using FPS as a unit of performance measurement. Use the actual frame time instead; it's far more useful. $\endgroup$ – Nicol Bolas Nov 28 '18 at 19:13
1
$\begingroup$

Try AMD's OCAT tool. It can overlay an FPS counter on a Vulkan or D3D12 app, similar to how FRAPS works for D3D11/OpenGL. (It should work on all Vulkan-supporting GPUs, btw, not just AMD ones.)

$\endgroup$
4
$\begingroup$

You might want to try the VK_LAYER_LUNARG_monitor layer from the LunarG Vulkan SDK.

Download the SDK from the LunarXchange site.

After SDK installation, you can activate the layer by setting this environment variable:

VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_monitor

The monitor layer displays the FPS value in the application window's title bar.

$\endgroup$
  • $\begingroup$ Perhaps it'd be helpful if you expanded on this and perhaps provided some links. $\endgroup$ – Simon F Nov 29 '18 at 10:03
  • $\begingroup$ Cool stuff!. @SimonF you just add the extension string to the array of your validation layers and it just works )) $\endgroup$ – Michael IV Nov 4 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.