MANGOHUD=1 with no layer is not an error, so the client would start and nothing would appear, which looks like a broken setting.)
Install MangoHud
A host package is invisible to a Flatpak build, and the Flatpak extension exists only inside the sandbox, so install the one that matches how Cordial was installed.- Fedora
- Arch
- Flatpak
What it shows
Cordial sets two variables on the client and nothing else:shell: MangoHUD on, via <layer path>, or says the layer is missing if the switch is on and MangoHud has since been removed.
Change what it shows
Cordial has no setting for it. TheMANGOHUD_CONFIG string is fixed in crates/cordial-shell/src/launch.rs, and because Cordial sets it unconditionally, a MANGOHUD_CONFIG exported in your own environment is replaced, not merged. Changing the overlay means changing launch.rs and rebuilding.
INFERRED, not run here: MangoHud’s documentation says a config file (
MangoHud.conf) is ignored whenever MANGOHUD_CONFIG is set, unless read_cfg is one of the options. Cordial’s string does not include read_cfg, so expect a MangoHud.conf to have no effect. The installed 0.8.4 library contains the read_cfg and MANGOHUD_CONFIGFILE strings, but nobody has launched a client with a config file to see which wins.What is not checked
The overlay was not screenshotted for this page and its frame cost was not measured.cordial_screenshot reads the frame from Cordial’s own swapchain, before any layer runs, so it cannot show the overlay; a grim capture in a nested compositor can.
Why: ADR-041.