v0.8.5-rc1
MangoHud-next
With this release, I'm introducing MangoHud-next, a server/client rewrite of MangoHud that I've been working on for some time.
The rewrite is an opportunity to rethink much of MangoHud's architecture, address some of the limitations of the existing implementation, and provide a better foundation for future development.
MangoHud-next is still in beta and will coexist with the existing implementation for now. To distinguish between the two, we'll refer to the existing implementation as MangoHud-classic. This is purely a naming distinction; classic will continue to be invoked as mangohud, and existing configurations and usage remain unchanged.
The intention is to eventually replace classic, and I'd like new features and hardware support to primarily target next. Fixes to classic are still welcome as we work toward feature parity and broader compatibility.
I'd also like to give special thanks to @17314642, who designed the metrics architecture and wrote much of the original implementation that I've since built upon.
Some of the changes and features in MangoHud-next:
- Separate HUD server with shared metric collection
- YAML configuration with automatic reload
- Deterministic HUD layout with configurable rows, columns and cell sizes
- Multiple HUD windows
- Text, formatted values, graphs, progress bars and shell command output
- Configurable font sizes, colors, alignment, spacing and units
- Vulkan and OpenGL support
- Wayland application subsurface, layer-shell and graphics API injection output
- Gamescope support: run
mangohud-next gamescope ...directly, without mangoapp - Reworked FPS limiter with Vulkan pacing before image acquisition and OpenGL pacing before buffer swaps
- Application, display refresh and HUD presentation timing metrics
- lsfg-vk support
- Per-core CPU load and frequency metrics
- Per-process GPU load, VRAM and GTT metrics
- Separate RAPL uncore power metric
- Application HDR status
- Metric queries and HUD visibility controls over D-Bus
- On-demand server activation through D-Bus, with systemd integration and idle shutdown
Missing features and known issues are tracked in #2227. Testing and feedback are very welcome.
General changelog
Alongside the introduction of MangoHud-next, this release includes a number of fixes and improvements to MangoHud-classic, MangoHud-next and shared components.
Fixes
- Fixed a shutdown race between GPU samplers and configuration destruction
- Fixed shutdown hanging when GPU samplers were paused
- Fixed horizontal HUD positioning with
horizontal_stretch=0 - Fixed bottom padding in
hud_compact cpu_custom_temp_sensor: prefer exact input names over prefix matches- Selected FPS limit is preserved when switching presets with the same limit list
- nvidia: handle failed NVML metric queries
- amdgpu: skip invalid gpu_metrics samples
- cpu: fixed core type detection
- cpu: fall back to hwmon when amdgpu reports a temperature of 0
- cpu: fixed Zenergy power sensor selection
- Fixed crashes when sensor files or proc directories become unavailable
- ram: hide temperature when no supported sensor is found
- battery: only count discharging batteries toward power drain
- battery: detect system batteries by sysfs type and exclude peripheral batteries
autostart_logwas not starting whenno_displaywas set- Config reload could reapply presets over environment overrides
- Fixed configuration watcher cleanup
- Fixed empty ImGui plot IDs
- GL: fixed dlsym interposer chaining and
RTLD_NEXTlookups - egl:
gl_vsyncwas not being applied - egl: fixed a crash when detecting non-Wayland native displays
- wayland: fixed use-after-free on exit
- wayland: fixed shifted keybinds and keys remaining pressed after modifier release
- vulkan: fixed handling of queues created with flags
- vulkan: fixed vkCreateInstance lookup during instance initialization
- vulkan: stopped splitting multi-swapchain presents
- Fixed BT.2020 color conversion
- vulkan: fixed HDR color handling for Wayland pass-through surfaces
- mangoapp: fixed handling of X11 errors and disconnects
- mangoapp: restored the horizontal FPS label
- mangoapp: detect short key presses while the HUD is hidden
- next: fixed RAPL package and uncore counter rollover
- FEX: hide stats when FEX isn't found
- Fixed building with Clang 22
- build: handle unusable optional libtracefs installations
- build: download wlr-protocols when its subproject is missing
Changes
- Added MangoHud-next alongside MangoHud-classic
- Added Steam Frame support for CPU, GPU, memory, battery, power and thermal metrics
- GPU fdinfo now shares its metrics implementation with MangoHud-next
- Added total VRAM reporting for xe and i915
- nvidia: reduced polling frequency for slow metrics
- amdgpu: poll process VRAM outside the metrics lock
- vulkan: use a private queue for HUD rendering when available
- mangoapp: limit HUD rendering to one update per game frame
- mangoapp: display Gamescope's measured panel refresh rate
- mangoapp: added labels for Gamescope upscalers
- next: added Panthor GPU support
- next: default to application subsurface output
- next: support elogind as an alternative to systemd's sd-bus library
- Blacklist: added FrostyModManager, LanSlayer and EA launcher popups
- Moved startup and blacklist diagnostics to debug logging
- Added Russian translation for AppStream metadata
- Added
with_mangohud_nextbuild option - Bumped minimum Meson version to 1.7.0
- build.sh: reject root invocation and reload user services after installation
Parameters
cpu_max_core_loadDisplay the busiest CPU core's loadcgroup_memDisplay memory usage from the application's systemd cgroup
Contributors
@17314642 @anaveto @attackgoat @awsms @Billli11 @fromdisposition @gaberowe @interkelstar @JohnsonMauro @JROtto5 @matte-schwartz @mirfalltnixein @owenqyzhang @pac85 @panther757 @philipl @radiolamp @Rebl11 @samto6 @Sonicadvance1 @staticfloat @Twig6943 @unsound-mint @wehrwolfmann