Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Flattr, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.

A huge update for the Linux overlay layer, MangoHud, as it can now work with OpenGL games in addition to Vulkan making it many times more useful and awesome.

Quick reminder: MangoHud can show useful information on top of games like: FPS, RAM/VRAM use, disk reads, frame timings, temperatures, it can benchmark and a whole lot more.

Today, they released MangoHud 0.3.0 and the headline feature is it now supporting OpenGL so it's not locked to Vulkan now. Additionally you can now just use the "mangohud" command to load either the OpenGL or Vulkan HUD and "mangohud.x86" for 32bit OpenGL. So try it you can just do "mangohud vkcube" or "mangohud glxgears" and "MANGOHUD=1" also still works for Vulkan.

Plenty more was added to the HUD to show things like IO read and write for the app, Vsync for OpenGL, GPU Core and Memory clock, time format, set the length of logging time for benchmarking, you can change the colouring of HUD elements and so on. Lots new, all sounding amazing.

Here's a demo of MangoHud being used with the OpenGL game Counter-Strike: Global Offensive showing off some of the new bits:

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

The new OpenGL support works the same as for Vulkan games, you can add this below as a Steam launch option to show it:

mangohud %command%

To do a Steam launch option you right click on a game -> Properties -> set launch option and put it there.

For use outside of Steam, it's just this:

mangohud /path/to/game

See MangoHud on their GitHub. Incredible work from everyone involved! This is truly becoming the go-to all you need overlay layer for Linux gaming.

Article taken from GamingOnLinux.com.
23 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
22 comments
Page: 1/3»
  Go to:

pete910 14 Mar
View PC info
  • Supporter Plus
Nice!

Just need some nice soul to do a GUI app that also sets it system wide ,
kuhpunkt 14 Mar
Might be a silly question, but what are the chances this becomes a part of Proton? One step less for Out of the Box experiences.
Finally a dream came true *-*
lejimster 14 Mar
pete910Nice!

Just need some nice soul to do a GUI app that also sets it system wide ,
There's already a GUI called GOverlay.
TimeFreeze 14 Mar
Praise the lords! Awesome that it supports OpenGL now.
Linuxer 14 Mar
Okay, i have trouble getting it installed, and as on GitHub the developers said please report them (i don't have GitHub account and can't register one at moment for some reason). So i thought to report here then.

Tried to build it first of all. I'm on MX Linux 18.3. Followed the instructions.

1. git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
2. cd'd to MangoHud dir

Tried executing:

./build.sh build

Result:

# Checking Dependencies
# Unable to find distro information!
# Attempting to build regardless
./build.sh: line 112: meson: command not found
./build.sh: line 119: meson: command not found
./build.sh: line 127: ninja: command not found
./build.sh: line 128: ninja: command not found

So then, i installed package "meson".

"The following NEW packages will be installed:
meson ninja-build".

Tried again ./build.sh build with the result:

# Checking Dependencies
# Unable to find distro information!
# Attempting to build regardless
The Meson build system
Version: 0.52.0
Source dir: /home/tux/MangoHud
Build dir: /home/tux/MangoHud/build/meson64
Build type: native build
Project name: MangoHud
Project version: v1.0.0
C compiler for the host machine: cc (gcc 6.3.0 "cc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516")
C linker for the host machine: GNU ld.bfd 2.28
C++ compiler for the host machine: c++ (gcc 6.3.0 "c++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516")
C++ linker for the host machine: GNU ld.bfd 2.28
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Checking if "GCC atomic builtins" compiles: YES
Checking if "Supports timespec_get" compiles: YES
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Found pkg-config: /usr/bin/pkg-config (0.29)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency x11 found: NO (tried pkgconfig)

meson.build:99:2: ERROR: Dependency "x11" not found, tried pkgconfig

A full log can be found at /home/tux/MangoHud/build/meson64/meson-logs/meson-log.txt
The Meson build system
Version: 0.52.0
Source dir: /home/tux/MangoHud
Build dir: /home/tux/MangoHud/build/meson32
Build type: native build
Project name: MangoHud
Project version: v1.0.0

meson.build:21:0: ERROR: Compiler gcc -m32 can not compile programs.

A full log can be found at /home/tux/MangoHud/build/meson32/meson-logs/meson-log.txt
ninja: Entering directory `build/meson32'
ninja: error: loading 'build.ninja': No such file or directory
ninja: Entering directory `build/meson64'
ninja: error: loading 'build.ninja': No such file or directory

So that's where i am, any ideas?
damarrin 14 Mar
View PC info
  • Supporter Plus
Try just downloading the latest release, it has a script that installs it, there's no need to compile.

That said, it doesn't work for me. I reported a bug, the dev has been very responsive in trying to identify the problem, very nice going.
damarrin 14 Mar
View PC info
  • Supporter Plus
That said again, have you tried installing cmake? That's the most obvious error in your log.


Last edited by damarrin on 14 March 2020 at 9:08 pm UTC
LinuxerSo that's where i am, any ideas?
You don't need to build MangoHud, unless you need the latest changes. Download the release package instead
https://github.com/flightlessmango/MangoHud/releases/download/v0.3.0/MangoHud-v0.3.0.tar.gz

just unpack it and run ./mangohud-setup install and you should be good to go
mylka 15 Mar
the opengl overlay seems to be a little buggy
some games work, some dont
soma, bastion work
dead island, splinter cell, shadow warrior dont

kuhpunktMight be a silly question, but what are the chances this becomes a part of Proton? One step less for Out of the Box experiences.

shouldnt it be steam? even then you couldnt use it for gog games


Last edited by mylka on 15 March 2020 at 12:08 am UTC
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!

You need to Register and Login to comment, submit articles and more.


Or login with...