feat: FusionHUD replaces the session HUD, with MangoHud's readings (#1743)

The session HUD is FusionHUD (Bannerlator's HUD) with every reading taken from
the same source, and worked out the same way, as the MangoHud build that runs
Steam's performance overlay in a DroidDeck session.

- gamescope patch 0125 (gamescope-3.16.29-p19) shares the frame times that
  mangoapp reads (one per signalled commit of connector 0) in a ring named by
  DROIDDECK_HUD_FRAMES; the app reads it once per display frame and counts the
  compositor's frames when gamescope sends none.
- MangoHud's rules: FPS over periods of at least 500 ms, frame time = 1000/FPS,
  200-frame graph on a fixed 0-50 ms scale; CPU, GPU, temperatures, RAM, swap,
  VRAM and battery from MangoHud's sources. Zones 22/26/28 are typed as GPU and
  DDR sensors, so Steam's overlay CPU temperature no longer includes them.
- Five sizes in a panel shaped like the DroidDeck mark, with a centred header,
  one left edge, neon outline and FPS; Minimal is the default size. Settings on
  a new "Performance HUD" drawer page, with Bannerlator's options.
- The HUD reads sensors and polls frames only while it is drawn (not while
  hidden, in picture-in-picture or behind another app), keeps its place after
  picture-in-picture, and the diagnostics export has its own reader.

Device-tested on the AYANEO Pocket FIT: same readings as Steam's overlay side
by side in Dead Cells; the HUD updates in a game, hides in picture-in-picture
and comes back in place, no crashes.
This commit is contained in:
The412Banner authored and GitHub committed 2026-10-29 01:53:45 +00:00
1 parent e871557bf2
commit 110cfc28f8
70 files changed
+7269 -320

No files matched your search

+59
View File
@@ -607,6 +607,65 @@
<string name="drawer_hud_color_amber">Bernstein</string>
<string name="drawer_hud_color_violet">Violett</string>
<string name="drawer_hud_opacity">Deckkraft</string>
<string name="hud_matches_steam_overlay">Bildrate, Frametimes und Messwerte stammen aus denselben Quellen wie das Leistungs-Overlay von Steam.</string>
<string name="hud_size">Größe</string>
<string name="hud_size_hint">Tippen auf das HUD ändert auch seine Größe.</string>
<string name="hud_size_full">Voll</string>
<string name="hud_size_tiles">Kacheln</string>
<string name="hud_size_pill">Kapsel</string>
<string name="hud_size_minimal">Minimal</string>
<string name="hud_size_mega">Mega</string>
<string name="hud_locked">Position sperren</string>
<string name="hud_locked_hint">Ziehe das HUD, um es zu verschieben; langes Drücken sperrt oder entsperrt es.</string>
<string name="hud_group_look">Aussehen</string>
<string name="hud_scale">Größe auf dem Bildschirm</string>
<string name="hud_color_soft">Dezent</string>
<string name="hud_color_mid">Mittel</string>
<string name="hud_color_vivid">Kräftig</string>
<string name="hud_outline">Kontur</string>
<string name="hud_outline_color">Konturfarbe</string>
<string name="hud_outline_gray">Grau</string>
<string name="hud_outline_theme">Designfarbe</string>
<string name="hud_group_metrics">Messwerte</string>
<string name="hud_metric_graph">Frametime-Diagramm</string>
<string name="hud_metric_decimal">Bildrate mit Nachkommastelle</string>
<string name="hud_metric_low001">0.01%-Tiefstwert</string>
<string name="hud_metric_engine">Grafik-Engine</string>
<string name="hud_metric_gpu_model">GPU-Name</string>
<string name="hud_metric_gpu">GPU-Auslastung</string>
<string name="hud_metric_gpu_temp">GPU-Temperatur</string>
<string name="hud_metric_cpu">CPU-Auslastung</string>
<string name="hud_metric_per_core">CPU pro Kern</string>
<string name="hud_metric_temp">Temperaturen</string>
<string name="hud_metric_ram">Arbeitsspeicher</string>
<string name="hud_metric_vram">Grafikspeicher</string>
<string name="hud_metric_swap">Swap-Speicher</string>
<string name="hud_metric_battery">Akkustand</string>
<string name="hud_metric_power">Leistungsaufnahme</string>
<string name="hud_metric_network">Netzwerk</string>
<string name="hud_metric_resolution">Auflösung</string>
<string name="hud_metric_proton">Proton-Version</string>
<string name="hud_metric_session">Sitzungsdauer</string>
<string name="hud_metric_clock">Uhrzeit</string>
<string name="hud_group_temps">Temperaturen</string>
<string name="hud_temp_unit">Einheit</string>
<string name="hud_temp_bands">Warnfarben</string>
<string name="hud_temp_bands_hint">Temperaturen werden erst bernsteinfarben, dann rot, wenn sie sich dem Grenzwert nähern.</string>
<string name="hud_temp_bands_off">Aus</string>
<string name="hud_temp_bands_auto">Automatisch</string>
<string name="hud_temp_bands_manual">Manuell</string>
<string name="hud_temp_red_cpu">CPU rot ab</string>
<string name="hud_temp_red_gpu">GPU rot ab</string>
<string name="hud_temp_red_battery">Akku rot ab</string>
<string name="hud_group_more">Mehr</string>
<string name="hud_export">HUD-Diagnose</string>
<string name="hud_export_hint">Speichert einen Bericht zu allen Sensoren, die das HUD ausliest, unter Downloads/DroidDeck.</string>
<string name="hud_export_button">Speichern</string>
<string name="hud_export_done">Gespeichert unter %1$s</string>
<string name="hud_export_failed">Der HUD-Bericht konnte nicht gespeichert werden.</string>
<string name="hud_reset">HUD-Einstellungen zurücksetzen</string>
<string name="hud_reset_button">Zurücksetzen</string>
<string name="hud_credit">FusionHUD von The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Skalierungsmodus</string>
<string name="drawer_scaling_sharpness">Skalierungsschärfe</string>
<string name="drawer_effects">Bildschirmeffekte</string>