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">Borostyán</string>
<string name="drawer_hud_color_violet">Lila</string>
<string name="drawer_hud_opacity">Átlátszatlanság</string>
<string name="hud_matches_steam_overlay">A képkockasebesség, a képkockaidők és a mért értékek ugyanazokból a forrásokból származnak, mint a Steam teljesítményátfedése.</string>
<string name="hud_size">Méret</string>
<string name="hud_size_hint">A HUD-ra koppintva is változik a mérete.</string>
<string name="hud_size_full">Teljes</string>
<string name="hud_size_tiles">Csempék</string>
<string name="hud_size_pill">Kapszula</string>
<string name="hud_size_minimal">Minimális</string>
<string name="hud_size_mega">Mega</string>
<string name="hud_locked">Rögzítés a helyén</string>
<string name="hud_locked_hint">Húzd a HUD-ot az áthelyezéshez; hosszú nyomással rögzítheted vagy feloldhatod.</string>
<string name="hud_group_look">Megjelenés</string>
<string name="hud_scale">Méret a képernyőn</string>
<string name="hud_color_soft">Lágy</string>
<string name="hud_color_mid">Közepes</string>
<string name="hud_color_vivid">Élénk</string>
<string name="hud_outline">Körvonal</string>
<string name="hud_outline_color">Körvonal színe</string>
<string name="hud_outline_gray">Szürke</string>
<string name="hud_outline_theme">Témaszín</string>
<string name="hud_group_metrics">Mért értékek</string>
<string name="hud_metric_graph">Képkockaidő-grafikon</string>
<string name="hud_metric_decimal">Képkockasebesség tizedesjeggyel</string>
<string name="hud_metric_low001">0.01% legalacsonyabb</string>
<string name="hud_metric_engine">Grafikus motor</string>
<string name="hud_metric_gpu_model">GPU neve</string>
<string name="hud_metric_gpu">GPU-terhelés</string>
<string name="hud_metric_gpu_temp">GPU-hőmérséklet</string>
<string name="hud_metric_cpu">CPU-terhelés</string>
<string name="hud_metric_per_core">CPU magonként</string>
<string name="hud_metric_temp">Hőmérsékletek</string>
<string name="hud_metric_ram">Memória</string>
<string name="hud_metric_vram">Grafikus memória</string>
<string name="hud_metric_swap">Swap-memória</string>
<string name="hud_metric_battery">Akkuszint</string>
<string name="hud_metric_power">Energiafelvétel</string>
<string name="hud_metric_network">Hálózat</string>
<string name="hud_metric_resolution">Felbontás</string>
<string name="hud_metric_proton">Proton-verzió</string>
<string name="hud_metric_session">Munkamenet ideje</string>
<string name="hud_metric_clock">Óra</string>
<string name="hud_group_temps">Hőmérsékletek</string>
<string name="hud_temp_unit">Mértékegység</string>
<string name="hud_temp_bands">Figyelmeztető színek</string>
<string name="hud_temp_bands_hint">A hőmérsékletek a határhoz közeledve előbb borostyánszínűre, majd pirosra váltanak.</string>
<string name="hud_temp_bands_off">Ki</string>
<string name="hud_temp_bands_auto">Automatikus</string>
<string name="hud_temp_bands_manual">Manuális</string>
<string name="hud_temp_red_cpu">CPU piros határa</string>
<string name="hud_temp_red_gpu">GPU piros határa</string>
<string name="hud_temp_red_battery">Akku piros határa</string>
<string name="hud_group_more">Több</string>
<string name="hud_export">HUD-diagnosztika</string>
<string name="hud_export_hint">Jelentést ment a HUD által olvasott összes érzékelőről a Downloads/DroidDeck mappába.</string>
<string name="hud_export_button">Mentés</string>
<string name="hud_export_done">Mentve: %1$s</string>
<string name="hud_export_failed">Nem sikerült menteni a HUD-jelentést.</string>
<string name="hud_reset">HUD-beállítások visszaállítása</string>
<string name="hud_reset_button">Visszaállítás</string>
<string name="hud_credit">FusionHUD, készítette: The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Méretezési mód</string>
<string name="drawer_scaling_sharpness">Méretezési élesség</string>
<string name="drawer_effects">Képernyőeffektek</string>