Skip to content

How-ToGPU

How to Use MangoHud on Linux to Show FPS, Temperatures and Frame Times in Games

MangoHud is a free overlay for Linux games that shows FPS, frame times, CPU and GPU load, temperatures and more. Using its official README, we show how to install it, turn it on in Steam, customise it and log your frame rates.

By , Systems & Technical Editor

4 min read

How to Use MangoHud on Linux to Show FPS, Temperatures and Frame Times in Games

If you've moved your gaming PC to Linux, you'll soon miss the on-screen stats that tools like RivaTuner Statistics Server give you on Windows. MangoHud fills that gap. Its developers describe it as "a Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more", and it can also log your frame rates for later. This guide is based on MangoHud's official GitHub README and example config, checked on 1 December 2026, when the latest release listed on GitHub was v0.8.4.

What you need

  • A Linux PC with a working graphics driver for your GPU. MangoHud's README has a metrics support table covering Nvidia, AMD, Intel and others.

  • Games that use Vulkan or OpenGL. That includes Windows games run through Proton or Wine, which MangoHud handles with separate per-game config names.

  • A few minutes in a terminal.

If you're still choosing a distro, see our best Linux distros for gaming.

Step 1: Install MangoHud

Most popular distributions package MangoHud, so use your package manager. The README gives these commands:

sudo apt install mangohud

That's for Debian and Ubuntu. On Fedora use sudo dnf install mangohud. On Arch-based distributions, install mangohud and lib32-mangohud; the 32-bit package needs the multilib repository enabled. On Debian, sudo apt install mangohud:i386 optionally adds 32-bit support, though the README says the 32-bit package is not available on Ubuntu.

If you use the Flatpak version of Steam, install the Flatpak layer instead:

flatpak install org.freedesktop.Platform.VulkanLayer.MangoHud

You can also download prebuilt files from the project's GitHub releases page or build it from source.

Step 2: Turn it on for a game

For any app, run mangohud /path/to/app from a terminal.

For Steam games, add this to the game's launch options (in its Properties):

mangohud %command%

For Lutris, enable advanced options, go to System options and add mangohud to the Command prefix setting. If you play through gamescope, the README says you need to install mangoapp and launch with gamescope --mangoapp -- %command%, because normal MangoHud with gamescope is not supported.

With the Flatpak version of Steam, the README's command flatpak override --user --env=MANGOHUD=1 com.valvesoftware.Steam turns it on for every game.

By default the overlay shows FPS, frame timing, CPU load and GPU load. Press Right Shift+F12 to hide or show it.

Step 3: Choose what it shows

MangoHud reads its settings from a plain text config file. Copy the example config, which is usually installed as /usr/share/doc/mangohud/MangoHud.conf.example, to ~/.config/MangoHud/MangoHud.conf and edit it. Each option goes on its own line. Useful ones include:

  • cpu_temp and gpu_temp for temperatures

  • cpu_power and gpu_power for power draw in watts

  • ram and vram for memory use

  • fps_limit to cap your frame rate

  • position to move the overlay, for example position=top-right

You can also make per-game configs. For native Linux games, name the file after the executable, such as ~/.config/MangoHud/<application_name>.conf. For Proton and Wine games, use wine-<application_name>.conf, leaving off the .exe. Per-game files take priority over the global one, and Left Shift+F4 reloads the config without restarting the game.

To try settings without editing a file, use the MANGOHUD_CONFIG environment variable, with options separated by commas. The README's example is:

MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-right,height=500,font_size=32

If you'd rather use a graphical tool, the README links to GOverlay and MangoJuice, both of which configure MangoHud for you.

Note that some readings depend on your hardware and driver. The README warns that cpu_power may be unreadable for non-root users on Intel and AMD Zen CPUs, and ram_temp only supports DDR5 with the spd5118 driver.

Step 4: Log frame rates

MangoHud can record your FPS and frame times to a file, which is handy for comparing settings or checking whether a new driver helped. First set a folder for logs in your config, for example output_folder=/home/yourname/mangologs, because the README says a valid output_folder is required. Then, in game, press Left Shift+F2 to start and stop logging. MangoHud creates a file named after the game with a date and timestamp.

To read the results, MangoHud ships a plotting script called mangoplot, or you can upload logs to FlightlessMango.com for online graphs. Options such as log_duration and autostart_log let you run timed logs automatically.

Troubleshooting

  • Overlay doesn't appear in an OpenGL game: the README says some native OpenGL games override LD_PRELOAD, and editing the game's start script can sometimes fix it.

  • Not sure which config is loading: start the game or launcher from a terminal with MangoHud enabled, and MangoHud prints the config file names it's looking for.

  • A sensor is missing: check the README's metrics support table for your GPU vendor and driver.

For other Linux gaming tools, see our best free Linux gaming tools, and for the latest MangoHud development news, read our report on the MangoHud next beta. On Windows, our RivaTuner Statistics Server guide does the same job, and our Windows 11 vs Linux for gaming comparison helps if you're still deciding.

The bottom line

MangoHud is a free on-screen overlay for Linux games that shows FPS, frame times, CPU and GPU load, temperatures and more, and can log frame rates to a file. Install it from your distro's package manager (or the Flatpak layer for Flatpak Steam), add mangohud %command% to a Steam game's launch options, and press Right Shift+F12 to toggle it. Customise it in ~/.config/MangoHud/MangoHud.conf, with per-game files if you want, and set output_folder before pressing Left Shift+F2 to log. GOverlay and MangoJuice offer a graphical way to set it up.

Sources

  1. 01FlightlessMango: MangoHud on GitHub
  2. 02FlightlessMango: MangoHud README
  3. 03FlightlessMango: MangoHud example config
  4. 04FlightlessMango: MangoHud releases

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

nvtop vs nvitop: Which Terminal GPU Monitor Is Best for Local AI?

Versus

nvtop vs nvitop: Which Terminal GPU Monitor Is Best for Local AI?

nvtop and nvitop are free terminal tools for watching GPU use and VRAM while you run local AI. nvtop covers AMD, Intel and NVIDIA GPUs plus NPUs on Linux, while nvitop focuses on NVIDIA cards and runs natively on Windows. We compare hardware support, setup and features.

Callum Reid4 min

How to Monitor GPU Stats in llama-swap

How-To

How to Monitor GPU Stats in llama-swap

llama-swap's Performance page can show CPU, RAM and GPU stats while your local AI models run. Here's how to update to v278, check which monitors it uses, pick your own, set up mixed AMD and NVIDIA GPUs, and stop it keeping an idle graphics card awake.

Marcus Thorne4 min