MangoHud a Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.
Why is MangoHUD available not even on the Ubuntu Software, so Ubuntu repositories? Debian, Fedora and even Solus has MangoHUD right in their respective software centers.
On Ubuntu, a user once again needs to open terminal and put things in he/she may not understand at all or the worst: will not be bothered to even begin with those archaic hoops
There is a flatpak package but it is not showing in the FlatHub. So that is no good either. Could a snap package be possibly done? I mean this little things decide so much for new users.
here is a snapcraft.yaml in case anyone wants to package it …
note though, that this creates a classic snap because mangohud is actually acting as a wrapper around opengl based host binaries, not sure you would get it approved into the store easily …
name: mangohud
base: core22
adopt-info: mangohud
summary: Vulkan/OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
description: |
A modification of the Mesa Vulkan overlay, including GUI improvements with HUD
configuration, temperature reporting, and logging capabilities. Includes a
script (mangohud) to start it on any OpenGL or Vulkan application.
grade: stable
confinement: classic
apps:
mangohud:
command: usr/bin/mangohud
environment:
LD_LIBRARY_PATH: '$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/mangohud'
parts:
mangohud:
source: https://github.com/flightlessmango/MangoHud.git
source-tag: v0.6.8
plugin: meson
build-environment:
- PATH: "$CRAFT_PART_BUILD/bin:$PATH"
meson-parameters:
- --prefix=/usr
override-pull: |
craftctl default
VER="$(git tag | tail -1)"
craftctl set version=$VER
override-build: |
wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip
unzip glslang-master-linux-Release.zip bin/glslangValidator
rm glslang-master-linux-Release.zip
craftctl default
build-packages:
- gcc
- g++
- gcc-multilib
- g++-multilib
- libx11-dev
- libxnvctrl-dev
- libdbus-1-dev
- mesa-common-dev
- meson
- ninja-build
- python3-mako
- python3-pip
- python3-setuptools
- python3-wheel
- pkg-config
- unzip
- wget
(also note that mangohud is in the ubuntu archive for 22.04 and later)