Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

Continuing to be the go-to for people needing a good HUD while gaming, MangoHud has a new release up. Giving you the ability to get a real-time readout on GPU/CPU use, FPS, frame timings, RAM/VRAM use, what graphics API is used and even a little benchmarking.

Not seen it? It looks something like this:

With the latest release out now, here's some highlights:

  • Fixed a memory leak in Source Engine 1 games (CSGO, TF2 etc)
  • You can use mangohud --dlsym as an alternative to MANGOHUD_DLSYM=1
  • MangoHud now comes with a man page man mangohud
  • Added support for KDE neon in build script
  • output_file is now replaced by output_folder, the files are automatically named after the programs executable
  • By pressing Shift_L+F3 you will automatically upload the latest log file to Flightlessmango.com and open up said benchmark. To upload all logs for this session, the default keybind is Control_L=F3. Both of these require that you set the permit_upload param to 1 and output_folder
  • Added supported for more glyph ranges

Some of the configuration parameters you can set have been added to as well, like being able to show the Wine/Proton version used if you're playing games through either compatibility layer. Full releases notes can be seen here. You can also use GOverlay if you need a simple UI to configure it.

Here's a fresh video of MangoHud in action showing the logging capabilities:

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

Game featured - Ziggurat. If you love repeatable first-person shooters, Ziggurat is a huge amount of fun to blast through. Buy Ziggurat from: Humble Store, GOG and Steam.

Grab MangoHud from their GitHub.

Article taken from GamingOnLinux.com.
Tags: Apps, Open Source
20 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 checked 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. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
13 comments

dpanter Aug 17, 2020
show the Wine/Proton version used if you're playing games through either compatibility layer
Been waiting for this one!
mrdeathjr Aug 17, 2020
show the Wine/Proton version used if you're playing games through either compatibility layer
Been waiting for this one!

Examples:












Last edited by mrdeathjr on 17 August 2020 at 6:25 pm UTC
Usual Aug 17, 2020
Any way to show only the RAM the game is using instead of overall?
lejimster Aug 17, 2020
Brilliant project. Started using it along with GOverlay since the last article. Haven't tried any of the logging features but if I ever get into benchmarking, I could see this being an excellent feature.
scaine Aug 17, 2020
View PC info
  • Contributing Editor
  • Mega Supporter
I wonder if this will ever get deb/ppa support. I'm just not a fan of "locally" (i.e. non-managed) installed software. Such a cool project too.
mylka Aug 18, 2020
Any way to show only the RAM the game is using instead of overall?
mangohud and system monitor show different ram usage. if this would be correct you could remember the ram usage before you start the game and do the math


I wonder if this will ever get deb/ppa support. I'm just not a fan of "locally" (i.e. non-managed) installed software. Such a cool project too.

maybe you should switch to manjaro. mangohud and a lot of other software is in AUR
https://wiki.manjaro.org/index.php/Arch_User_Repository


Last edited by mylka on 18 August 2020 at 1:05 am UTC
dpanter Aug 18, 2020
I wonder if this will ever get deb/ppa support.
WIP, track the request here
scaine Aug 19, 2020
View PC info
  • Contributing Editor
  • Mega Supporter
I wonder if this will ever get deb/ppa support.
WIP, track the request here

Sounds like a hell of a journey! Although a lot of it about the licensing for Debian. Interesting that they're making Oibaf the dependency model for their deb/ppa work. I wonder if it's compatible with Kisak, or I have to switch PPAs when they have a build out?!

Thanks for the link regardless.
gort818 Aug 19, 2020
show the Wine/Proton version used if you're playing games through either compatibility layer
Been waiting for this one!

My pleasure!
pmadzik Aug 21, 2020
I wonder if this will ever get deb/ppa support. I'm just not a fan of "locally" (i.e. non-managed) installed software. Such a cool project too.
My dirty hack for deb package:
In source dir (from git or tarball) after installing all required dependencies (UPDATED):
 
meson build/meson64 --libdir lib/mangohud/lib --prefix /usr -Dappend_libdir_mangohud=false -Dld_libdir_prefix=true

CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:" LLVM_CONFIG="/usr/bin/llvm-config32" meson build/meson32 --libdir lib/mangohud/lib32 --prefix /usr -Dappend_libdir_mangohud=false -Dld_libdir_prefix=true

DESTDIR="$PWD/build/release" ninja -C build/meson32 install

DESTDIR="$PWD/build/release" ninja -C build/meson64 install

cd build/release

ln -sv lib usr/lib/mangohud/lib64
ln -sv lib usr/lib/mangohud/x86_64
ln -sv lib usr/lib/mangohud/x86_64-linux-gnu
ln -sv . usr/lib/mangohud/lib/x86_64
ln -sv . usr/lib/mangohud/lib/x86_64-linux-gnu
ln -sv lib32 usr/lib/mangohud/i686
ln -sv lib32 usr/lib/mangohud/i386-linux-gnu
ln -sv ../lib32 usr/lib/mangohud/lib/i386-linux-gnu
ln -sv lib32 usr/lib/mangohud/i686-linux-gnu
ln -sv ../lib32 usr/lib/mangohud/lib/i686-linux-gnu

tar cvzf ../../../MangoHud-0.5.1-bin.tar.gz . --owner=0 --group=0

cd ../../..

./tar2deb.sh MangoHud-0.5.1-bin.tar.gz mangohud 0.5.1-1

Last step execute shell script tar2deb.sh with such content:
 
#!/bin/bash
set -x

# $1 - tar.gz file
# $2 - package name
# $3 - version
# $4 - section
# $5 - architecture

control=$(mktemp -dt)
data=$(mktemp -dt)

tarfile="$1"
pkgname=$2
pkgver=$3
section=${4:-misc}
arch=${5:-amd64}

cat "$tarfile" | (cd $data; tar xvzf -)

size=$(du -s $data | cut -f1)

cat > $control/control <<EOF
Package: $pkgname
Section: $section
Priority: optional
Architecture: $arch
Version: $pkgver
Installed-Size: $size
Maintainer: $USER
Description: Deb-package made from $tarfile
 This package is made by tar2deb by $USER at
  $(date) from $tarfile
EOF

(cd $data; find -type f | xargs md5sum ) > $control/md5sums
(cd $control; tar cvzf control.tar.gz * --owner=0 --group=0)
cp $tarfile $control/data.tar.gz
echo 2.0 > $control/debian-binary

ar -cr ${pkgname}_${pkgver}_${arch}.deb $control/{debian-binary,control.tar.gz,data.tar.gz}

rm -rf $control
rm -rf $data



Last edited by pmadzik on 21 August 2020 at 3:37 pm UTC
scaine Aug 21, 2020
View PC info
  • Contributing Editor
  • Mega Supporter
I wonder if this will ever get deb/ppa support. I'm just not a fan of "locally" (i.e. non-managed) installed software. Such a cool project too.
My dirty hack for deb package:
In source dir (from git or tarball) after installing all required dependencies:
 
meson build/meson64 --libdir lib/mangohud/lib --prefix /usr -Dappend_libdir_mangohud=false -Dld_libdir_prefix=true

CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:" LLVM_CONFIG="/usr/bin/llvm-config32" meson build/meson32 --libdir lib/mangohud/lib32 --prefix /usr -Dappend_libdir_mangohud=false -Dld_libdir_prefix=true

DESTDIR="$PWD/build/release" ninja -C build/meson32 install

DESTDIR="$PWD/build/release" ninja -C build/meson64 install

cd build/release

tar cvzf ../../../MangoHud-0.5.1-bin.tar.gz . --owner=0 --group=0

cd ../../..

./tar2deb.sh MangoHud-0.5.1-bin.tar.gz mangohud 0.5.1-1

Last step execute shell script tar2deb.sh with such content:
 
#!/bin/bash
set -x

# $1 - tar.gz file
# $2 - package name
# $3 - version
# $4 - section
# $5 - architecture

control=$(mktemp -dt)
data=$(mktemp -dt)

tarfile="$1"
pkgname=$2
pkgver=$3
section=${4:-misc}
arch=${5:-amd64}

cat "$tarfile" | (cd $data; tar xvzf -)

size=$(du -s $data | cut -f1)

cat > $control/control <<EOF
Package: $pkgname
Section: $section
Priority: optional
Architecture: $arch
Version: $pkgver
Installed-Size: $size
Maintainer: $USER
Description: Deb-package made from $tarfile
 This package is made by tar2deb by $USER at
  $(date) from $tarfile
EOF

(cd $data; find -type f | xargs md5sum ) > $control/md5sums
(cd $control; tar cvzf control.tar.gz * --owner=0 --group=0)
cp $tarfile $control/data.tar.gz
echo 2.0 > $control/debian-binary

ar -cr ${pkgname}_${pkgver}_${arch}.deb $control/{debian-binary,control.tar.gz,data.tar.gz}

rm -rf $control
rm -rf $data
Nice - I guess that give me an uninstall, but I still don't get updated, of course, unless I go through that each time there's a new release. Definitely better to wait for that PPA mentioned in the github issues tracker, I think. MangoHUD is pure aesthetics. I don't need it for anything, other than to satisfy my curiosity of what's possible. Thanks though! Great to have options if I decide to give it a go.
dpanter Aug 21, 2020
MangoHUD is pure aesthetics
Not so.
Displaying MangoHud is optional, it can now start hidden and be revealed with a single keypress. It can log detailed fps data and upload to flightlessmango.com. By the way, a Flatpak exists if you're into that sort of thing.
scaine Aug 21, 2020
View PC info
  • Contributing Editor
  • Mega Supporter
MangoHUD is pure aesthetics
Not so.
Displaying MangoHud is optional, it can now start hidden and be revealed with a single keypress. It can log detailed fps data and upload to flightlessmango.com. By the way, a Flatpak exists if you're into that sort of thing.

Sorry, I meant it's pure aesthetics for me. I don't really have any interest in benchmarking, beyond a vague finger-in-the-air, "is this smooth enough to play for more than 10 minutes". I get that lots of people love their 144Hz, or 120fps, or whatever. For me, I stop caring around the 45-50fps. 60 is a nice to have.
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.