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
@@ -611,6 +611,65 @@
<string name="drawer_hud_color_amber">Bursztynowy</string>
<string name="drawer_hud_color_violet">Fioletowy</string>
<string name="drawer_hud_opacity">Przezroczystość</string>
<string name="hud_matches_steam_overlay">Liczba klatek, czasy klatek i odczyty pochodzą z tych samych źródeł co nakładka wydajności Steam.</string>
<string name="hud_size">Rozmiar</string>
<string name="hud_size_hint">Dotknięcie HUD również zmienia jego rozmiar.</string>
<string name="hud_size_full">Pełny</string>
<string name="hud_size_tiles">Kafelki</string>
<string name="hud_size_pill">Pigułka</string>
<string name="hud_size_minimal">Minimalny</string>
<string name="hud_size_mega">Mega</string>
<string name="hud_locked">Zablokuj w miejscu</string>
<string name="hud_locked_hint">Przeciągnij HUD, aby go przesunąć; długie naciśnięcie blokuje go lub odblokowuje.</string>
<string name="hud_group_look">Wygląd</string>
<string name="hud_scale">Rozmiar na ekranie</string>
<string name="hud_color_soft">Stonowany</string>
<string name="hud_color_mid">Średni</string>
<string name="hud_color_vivid">Żywy</string>
<string name="hud_outline">Obrys</string>
<string name="hud_outline_color">Kolor obrysu</string>
<string name="hud_outline_gray">Szary</string>
<string name="hud_outline_theme">Kolor motywu</string>
<string name="hud_group_metrics">Odczyty</string>
<string name="hud_metric_graph">Wykres czasu klatek</string>
<string name="hud_metric_decimal">Liczba klatek z miejscem po przecinku</string>
<string name="hud_metric_low001">0.01% najniższych</string>
<string name="hud_metric_engine">Silnik graficzny</string>
<string name="hud_metric_gpu_model">Nazwa GPU</string>
<string name="hud_metric_gpu">Obciążenie GPU</string>
<string name="hud_metric_gpu_temp">Temperatura GPU</string>
<string name="hud_metric_cpu">Obciążenie CPU</string>
<string name="hud_metric_per_core">CPU na rdzeń</string>
<string name="hud_metric_temp">Temperatury</string>
<string name="hud_metric_ram">Pamięć</string>
<string name="hud_metric_vram">Pamięć graficzna</string>
<string name="hud_metric_swap">Pamięć wymiany</string>
<string name="hud_metric_battery">Poziom baterii</string>
<string name="hud_metric_power">Pobór mocy</string>
<string name="hud_metric_network">Sieć</string>
<string name="hud_metric_resolution">Rozdzielczość</string>
<string name="hud_metric_proton">Wersja Protona</string>
<string name="hud_metric_session">Czas sesji</string>
<string name="hud_metric_clock">Zegar</string>
<string name="hud_group_temps">Temperatury</string>
<string name="hud_temp_unit">Jednostka</string>
<string name="hud_temp_bands">Kolory ostrzeżeń</string>
<string name="hud_temp_bands_hint">Temperatury zmieniają kolor na bursztynowy, a potem czerwony, gdy zbliżają się do limitu.</string>
<string name="hud_temp_bands_off">Wył.</string>
<string name="hud_temp_bands_auto">Automatycznie</string>
<string name="hud_temp_bands_manual">Ręcznie</string>
<string name="hud_temp_red_cpu">CPU na czerwono od</string>
<string name="hud_temp_red_gpu">GPU na czerwono od</string>
<string name="hud_temp_red_battery">Bateria na czerwono od</string>
<string name="hud_group_more">Więcej</string>
<string name="hud_export">Diagnostyka HUD</string>
<string name="hud_export_hint">Zapisuje w Downloads/DroidDeck raport ze wszystkich czujników odczytywanych przez HUD.</string>
<string name="hud_export_button">Zapisz</string>
<string name="hud_export_done">Zapisano w %1$s</string>
<string name="hud_export_failed">Nie udało się zapisać raportu HUD.</string>
<string name="hud_reset">Zresetuj ustawienia HUD</string>
<string name="hud_reset_button">Resetuj</string>
<string name="hud_credit">FusionHUD autorstwa The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Tryb skalowania</string>
<string name="drawer_scaling_sharpness">Ostrość skalowania</string>
<string name="drawer_effects">Efekty ekranowe</string>