<p>Try AMD's <a href="https://github.com/GPUOpen-Tools/OCAT" rel="nofollow noreferrer">OCAT</a> 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.)</p>

CC BY-SA 4.0
2018-11-28T18:59:14.363Z
2018-11-28T18:59:14.363Z
Nathan Reed
<p>You might want to try the VK_LAYER_LUNARG_monitor layer from the LunarG Vulkan SDK.</p>

<p>Download the SDK from the LunarXchange <a href="https://vulkan.lunarg.com/" rel="noreferrer">site</a>.</p>

<p>After SDK installation, you can activate the layer by setting this environment variable:</p>

<pre><code>VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_monitor
</code></pre>

<p>The monitor layer displays the FPS value in the application window's title bar.</p>

CC BY-SA 4.0
2018-11-29T10:03:07.070Z
Perhaps it'd be helpful if you expanded on this and perhaps provided some links.
Simon F
CC BY-SA 4.0
2019-11-04T10:21:08.907Z
Cool stuff!.  @SimonF you just add the extension string to the array of your validation layers and it just works ))
Michael IV
CC BY-SA 4.0
2020-04-08T08:54:56.527Z
Unfortunately, it didn't work for `vulkansdk-1.2.131.2` on ubuntu 19.10 for glfw-based app, although such layer loaded properly as inspected via `VK_LOADER_DEBUG=all`. But anyway, it works with vkcube.
haxpor
CC BY-SA 4.0
2021-04-13T20:43:16.420Z
Nowdays, with the `Vulkan Configurator` (included in the SDK) you can enable this layer more easily. Tested on Win10 x64.
csisy
CC BY-SA 4.0
2018-11-27T23:52:37.397Z
2018-11-30T14:30:29.783Z
2018-11-30T14:30:29.783Z
Karl Schultz
<p>What measurement/monitoring tools could I use to get the FPS values for a simple Vulkan app?</p>

<p>Thanks in advance</p>

CC BY-SA 4.0
2018-11-28T09:39:32.467Z
Is this a question related to programming of an FPS measurement or is it related to using tools to measure fps ?
PaulHK
CC BY-SA 4.0
2018-11-28T10:31:16.663Z
@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.
Vectorizer
CC BY-SA 4.0
2018-11-28T19:13:28.587Z
@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.
Nicol Bolas
<vulkan>
FPS counter for a simple Vulkan app
Vectorizer
# FPS counter for a simple Vulkan app

(Asked by: username_0 on 2018-11-27)

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

Thanks in advance

**Tags:** vulkan

> **Comments:**
> **username_1**: Is this a question related to programming of an FPS measurement or is it related to using tools to measure fps ?  
> **username_0**: @username_1 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.  
> **username_2**: @username_0: 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.  

---

## 2 answers

### Answer by username_3 on 2018-11-28. Score: 1 | Accepted answer

Try AMD's [OCAT](https://github.com/GPUOpen-Tools/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.)


---

### Answer by username_4 on 2018-11-27. Score: 7

You might want to try the VK\_LAYER\_LUNARG\_monitor layer from the LunarG Vulkan SDK.

Download the SDK from the LunarXchange [site](https://vulkan.lunarg.com/).

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.

> **Comments:**
> **username_5**: Perhaps it'd be helpful if you expanded on this and perhaps provided some links.  
> **username_6**: Cool stuff!.  @username_5 you just add the extension string to the array of your validation layers and it just works ))  
> **username_7**: Unfortunately, it didn't work for `vulkansdk-1.2.131.2` on ubuntu 19.10 for glfw-based app, although such layer loaded properly as inspected via `VK_LOADER_DEBUG=all`. But anyway, it works with vkcube.  
> **username_8**: Nowdays, with the `Vulkan Configurator` (included in the SDK) you can enable this layer more easily. Tested on Win10 x64.  

---

