Skip to content

Fix MangoHud's frame-time log never starting - #178

Closed
anaveto wants to merge 1 commit into
IHulkSmashI:mainfrom
anaveto:fix/mangohud-log-never-starts
Closed

anaveto wants to merge 1 commit into
IHulkSmashI:mainfrom
anaveto:fix/mangohud-log-never-starts

Conversation

@anaveto

@anaveto anaveto commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Problem:

  • The launch wrapper hides MangoHud with no_display.
  • When the HUD is hidden, MangoHud 0.8.4 and earlier versions do not start autostart_log. Upstream MangoHud has a correction (flightlessmango/MangoHud@567d7aa6), but no release has the correction yet.
  • Thus, autotune received no frame rate in games without XeLL.

Change:

  • The wrapper hides the HUD with an empty layout at zero alpha.
  • The wrapper also replaces a no_display in the MANGOHUD_CONFIG of the user.
  • The launch log shows when the frame-time log is on.

An earlier version of this PR also changed how autotune finds the log. That change is now #182. Each of the two PRs can merge alone.

Test results: Claw 8 EX (MS-1T91), Bazzite 45.20261112, kernel 7.3.3-ogc1.1.fc45, MangoHud 0.8.4, together with #182.

  • Enshrouded and Order of the Sinking Star: MangoHud wrote one CSV row each second. Autotune read the frame rate and changed the TDP. The screen showed no overlay.
  • pytest on Linux (on the Claw, Python 3.15.2), this branch alone on main: 262 passed.
  • Rollup build and typecheck: pass.

🤖 Generated with Claude Code (model: Claude Opus 5.5, effort: xhigh)

The wrapper hid MangoHud with no_display. MangoHud up to 0.8.4 skips its per-frame update while the HUD is hidden and
no log runs, and autostart_log is started from that update, so the log never started: autotune had no frame rate in
any game without XeLL (Enshrouded on the Claw 8 EX). An empty layout at zero alpha hides it instead, also in place
of a no_display in the user's own MANGOHUD_CONFIG; the launch log says when the log is on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@anaveto
anaveto marked this pull request as ready for review November 12, 2026 14:42
@anaveto
anaveto force-pushed the fix/mangohud-log-never-starts branch from 9bc7ecf to de1b7fe Compare November 14, 2026 05:33
@anaveto anaveto changed the title Fix MangoHud's frame-time log so that autotune works Fix MangoHud's frame-time log never starting Nov 14, 2026
@anaveto
anaveto marked this pull request as draft November 14, 2026 13:08
@anaveto
anaveto marked this pull request as ready for review November 14, 2026 18:30
@IHulkSmashI

Copy link
Copy Markdown
Owner

Merged through #190 together with the others (your commits, rebased onto main, conflicts between the fan PRs resolved by keeping both sides) and released in beta 17. Thanks a lot for all of this, it's a huge batch of real fixes! #179 is still open since it's marked draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants