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">Ambrová</string>
<string name="drawer_hud_color_violet">Fialová</string>
<string name="drawer_hud_opacity">Průhlednost</string>
<string name="hud_matches_steam_overlay">Snímková frekvence, časy snímků a naměřené hodnoty pocházejí ze stejných zdrojů jako výkonnostní překryv Steamu.</string>
<string name="hud_size">Velikost</string>
<string name="hud_size_hint">Klepnutím na HUD se také změní jeho velikost.</string>
<string name="hud_size_full">Plný</string>
<string name="hud_size_tiles">Dlaždice</string>
<string name="hud_size_pill">Pilulka</string>
<string name="hud_size_minimal">Minimální</string>
<string name="hud_size_mega">Mega</string>
<string name="hud_locked">Zamknout na místě</string>
<string name="hud_locked_hint">Přetažením HUD přesunete; dlouhým stiskem ho zamknete nebo odemknete.</string>
<string name="hud_group_look">Vzhled</string>
<string name="hud_scale">Velikost na obrazovce</string>
<string name="hud_color_soft">Jemná</string>
<string name="hud_color_mid">Střední</string>
<string name="hud_color_vivid">Sytá</string>
<string name="hud_outline">Obrys</string>
<string name="hud_outline_color">Barva obrysu</string>
<string name="hud_outline_gray">Šedá</string>
<string name="hud_outline_theme">Barva tématu</string>
<string name="hud_group_metrics">Údaje</string>
<string name="hud_metric_graph">Graf časů snímků</string>
<string name="hud_metric_decimal">Snímková frekvence s desetinným místem</string>
<string name="hud_metric_low001">0.01% nejnižší</string>
<string name="hud_metric_engine">Grafický engine</string>
<string name="hud_metric_gpu_model">Název GPU</string>
<string name="hud_metric_gpu">Vytížení GPU</string>
<string name="hud_metric_gpu_temp">Teplota GPU</string>
<string name="hud_metric_cpu">Vytížení CPU</string>
<string name="hud_metric_per_core">CPU po jádrech</string>
<string name="hud_metric_temp">Teploty</string>
<string name="hud_metric_ram">Paměť</string>
<string name="hud_metric_vram">Grafická paměť</string>
<string name="hud_metric_swap">Odkládací paměť</string>
<string name="hud_metric_battery">Stav baterie</string>
<string name="hud_metric_power">Příkon</string>
<string name="hud_metric_network">Síť</string>
<string name="hud_metric_resolution">Rozlišení</string>
<string name="hud_metric_proton">Verze Protonu</string>
<string name="hud_metric_session">Doba relace</string>
<string name="hud_metric_clock">Hodiny</string>
<string name="hud_group_temps">Teploty</string>
<string name="hud_temp_unit">Jednotka</string>
<string name="hud_temp_bands">Varovné barvy</string>
<string name="hud_temp_bands_hint">Teploty se při přiblížení k limitu zbarví nejprve ambrově, pak červeně.</string>
<string name="hud_temp_bands_off">Vypnuto</string>
<string name="hud_temp_bands_auto">Automaticky</string>
<string name="hud_temp_bands_manual">Manuální</string>
<string name="hud_temp_red_cpu">CPU červeně od</string>
<string name="hud_temp_red_gpu">GPU červeně od</string>
<string name="hud_temp_red_battery">Baterie červeně od</string>
<string name="hud_group_more">Více</string>
<string name="hud_export">Diagnostika HUD</string>
<string name="hud_export_hint">Uloží do Downloads/DroidDeck zprávu o všech senzorech, které HUD čte.</string>
<string name="hud_export_button">Uložit</string>
<string name="hud_export_done">Uloženo do %1$s</string>
<string name="hud_export_failed">Zprávu HUD se nepodařilo uložit.</string>
<string name="hud_reset">Obnovit nastavení HUD</string>
<string name="hud_reset_button">Obnovit</string>
<string name="hud_credit">FusionHUD od The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Režim škálování</string>
<string name="drawer_scaling_sharpness">Ostrost škálování</string>
<string name="drawer_effects">Efekty obrazovky</string>