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
@@ -615,6 +615,65 @@
<string name="drawer_hud_color_amber">كهرماني</string>
<string name="drawer_hud_color_violet">بنفسجي</string>
<string name="drawer_hud_opacity">العتامة</string>
<string name="hud_matches_steam_overlay">يأتي معدل الإطارات وأزمنة الإطارات والقراءات من المصادر نفسها التي تستخدمها طبقة الأداء في Steam.</string>
<string name="hud_size">الحجم</string>
<string name="hud_size_hint">النقر على HUD يغيّر حجمه أيضًا.</string>
<string name="hud_size_full">كامل</string>
<string name="hud_size_tiles">مربعات</string>
<string name="hud_size_pill">كبسولة</string>
<string name="hud_size_minimal">مصغّر</string>
<string name="hud_size_mega">ضخم</string>
<string name="hud_locked">تثبيت في مكانه</string>
<string name="hud_locked_hint">اسحب HUD لتحريكه؛ والضغط مطولًا يثبّته أو يلغي تثبيته.</string>
<string name="hud_group_look">المظهر</string>
<string name="hud_scale">الحجم على الشاشة</string>
<string name="hud_color_soft">هادئ</string>
<string name="hud_color_mid">متوسط</string>
<string name="hud_color_vivid">زاهٍ</string>
<string name="hud_outline">الحد الخارجي</string>
<string name="hud_outline_color">لون الحد الخارجي</string>
<string name="hud_outline_gray">رمادي</string>
<string name="hud_outline_theme">لون المظهر</string>
<string name="hud_group_metrics">القراءات</string>
<string name="hud_metric_graph">مخطط زمن الإطار</string>
<string name="hud_metric_decimal">معدل الإطارات بخانة عشرية</string>
<string name="hud_metric_low001">أدنى 0.01%</string>
<string name="hud_metric_engine">محرك الرسومات</string>
<string name="hud_metric_gpu_model">اسم GPU</string>
<string name="hud_metric_gpu">حمل GPU</string>
<string name="hud_metric_gpu_temp">درجة حرارة GPU</string>
<string name="hud_metric_cpu">حمل CPU</string>
<string name="hud_metric_per_core">CPU لكل نواة</string>
<string name="hud_metric_temp">درجات الحرارة</string>
<string name="hud_metric_ram">الذاكرة</string>
<string name="hud_metric_vram">ذاكرة الرسومات</string>
<string name="hud_metric_swap">ذاكرة التبديل</string>
<string name="hud_metric_battery">مستوى البطارية</string>
<string name="hud_metric_power">استهلاك الطاقة</string>
<string name="hud_metric_network">الشبكة</string>
<string name="hud_metric_resolution">الدقة</string>
<string name="hud_metric_proton">إصدار Proton</string>
<string name="hud_metric_session">مدة الجلسة</string>
<string name="hud_metric_clock">الساعة</string>
<string name="hud_group_temps">درجات الحرارة</string>
<string name="hud_temp_unit">الوحدة</string>
<string name="hud_temp_bands">ألوان التحذير</string>
<string name="hud_temp_bands_hint">تتحول درجات الحرارة إلى الكهرماني ثم الأحمر كلما اقتربت من الحد.</string>
<string name="hud_temp_bands_off">إيقاف</string>
<string name="hud_temp_bands_auto">تلقائي</string>
<string name="hud_temp_bands_manual">يدوي</string>
<string name="hud_temp_red_cpu">CPU بالأحمر عند</string>
<string name="hud_temp_red_gpu">GPU بالأحمر عند</string>
<string name="hud_temp_red_battery">البطارية بالأحمر عند</string>
<string name="hud_group_more">المزيد</string>
<string name="hud_export">تشخيص HUD</string>
<string name="hud_export_hint">يحفظ تقريرًا عن كل مستشعر يقرؤه HUD في Downloads/DroidDeck.</string>
<string name="hud_export_button">حفظ</string>
<string name="hud_export_done">تم الحفظ في %1$s</string>
<string name="hud_export_failed">تعذّر حفظ تقرير HUD.</string>
<string name="hud_reset">إعادة ضبط إعدادات HUD</string>
<string name="hud_reset_button">إعادة ضبط</string>
<string name="hud_credit">FusionHUD من The412Banner، github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">وضع التحجيم</string>
<string name="drawer_scaling_sharpness">حدة التحجيم</string>
<string name="drawer_effects">مؤثرات الشاشة</string>