Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

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
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. Find me on Mastodon.
See more from me
The comments on this article are closed.
20 comments
Page: 1/2»
  Go to:

pete910 Mar 14, 2020
View PC info
  • Supporter Plus
Nice!

Just need some nice soul to do a GUI app that also sets it system wide ,
kuhpunkt Mar 14, 2020
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.
lejimster Mar 14, 2020
Quoting: pete910Nice!

Just need some nice soul to do a GUI app that also sets it system wide ,
There's already a GUI called GOverlay.
Linuxer Mar 14, 2020
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 Mar 14, 2020
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 Mar 14, 2020
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
flightlessmango Mar 14, 2020
Quoting: 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 Mar 15, 2020
the opengl overlay seems to be a little buggy
some games work, some dont
soma, bastion work
dead island, splinter cell, shadow warrior dont

Quoting: 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
benjamimgois Mar 15, 2020
What a huge update for MangoHUD, really an obligatory app for linux gamers. I'm already integrating the new options into GOverlay. Should update it soon.
ageres Mar 15, 2020
I have commented 'frame_timing' in MangoHud.conf, but the frametime line graph is still being displayed. How to turn it off? Changing other options works fine.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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!
The comments on this article are closed.