Use MangoHud to add an overlay of GPU/CPU usage and temperature (and more) to any Vulkan game

Mango Hud It is a modification of the Mesa Vulkan overlay, which includes GUI improvements, temperature (GPU and CPU) reports, and optional logging, designed to replicate the appearance of the MSI Afterburner OSD. Whether the game uses DXVK/VKD3D, Feral3D or Native Vulkan, it will work and be consistent in any Vulkan application or game.

By default, MangoHud displays DXVK version (if used), GPU and CPU load, current frame rate (FPS) and frame timeline graph (graphics). You can also choose to display CPU and GPU temperature, current CPU load and frequency of each core, and display system (RAM) and GPU memory usage. Hide or show the MangoHud overlay in the game by using F12 key.
You can also customize the position on the screen (top left/top right and bottom left/bottom right) and font size.

It is worth noting that the GPU function has been tested on Nvidia and AMD graphics cards, but not tested on Intel.
Mesa has a Vulkan overlay, and DXVK can also display some information supported by the HUD and MangoHud. But these two do not support the display of CPU and GPU temperature, CPU load of each core, CPU frequency of each core, or data records covered by the display. This is the reason for MangoHud (and some GUI improvements). The logs captured by MangoHud can be easily It is uploaded to to automatically create graphs and share results, which is very useful for benchmarking. To enable/disable logging, press F2.

How to install and use MangoHud

The easiest way to install MangoHud is to download Pre-compiled binary From its GitHub version tab, then run Script, for example, in the directory where ManoHud is extracted, run:


This will install 2 .so files in it ~/.local/share/MangoHudAnd 2 .json files ~/.local/share/vulkan/implicit_layer.d. If you want to uninstall it, you need to manually delete files from these locations.
you can also Build MangoHud If you want, you can get it from the source.
Use MangoHud in every game:

  • To enable MangoHud for the game, use MANGOHUD=1, For example: MANGOHUD = 1 /path/to/vulkan_game
  • If you use Lutris, you can right-click on a game and select ConfigureAnd then in System options Tab scroll down to Environment variables And add MANGOHUD versus 1 As its value.
  • If you use Steam, go to the properties of the game and click Set Launch OptionsAnd enter MANGOHUD=1 %command%

You can customize the content displayed by MangoHud, so in addition to the default FPS, CPU and GPU load, you can also enable many other options, as well as customize the font and overlay position on the screen by exporting MANGOHUD_CONFIG=your_options_here In the same way you added MANGOHUD=1, Replace your_options_here With the options you want to enable. All available MANGOHUD_CONFIG options can be found Here.
For example, to enable CPU and GPU temperature and reduce the font size to 15 (default is 24), use MANGOHUD_CONFIG=cpu_temp,gpu_temp,font_size=15
You can also enable MangoHud system-wide in the following ways: export MANGOHUD=1 (with export MANGOHUD_CONFIG=your_options_here Your custom MangoHud option) ~/.profile File (logout/login required). However, I do not recommend this because it may cause problems. For example, on my Linux computer with Nvidia graphics, Lutris cannot start when the entire system is enabled.
Pass Reddit