Deck mode performance overlay: stage Valve's aarch64 mangoapp

The QAM offers Performance Overlay levels but nothing drew them: the
runtime has no mangoapp. CI now fetches Valve's mangohud-20260902.1 and
the five libraries mangoapp needs that the runtime lacks, at the versions
it was built against (fmt 10.2.0, spdlog 1.13.0, glfw 3.4, libtraceevent
1.8.2, libtracefs 1.8.0 from Valve's mash-20240705.2 snapshot), each
pinned by sha256 in tools/mangoapp/packages.txt. They are staged under
usr/local/lib/mangoapp with a wrapper on PATH; the runtime image is not
touched.
This commit is contained in:
The412Banner committed 2026-09-23 16:33:16 -04:00
1 parent d21f102482
commit 88aab47da5
4 files changed
+48 -3

No files matched your search

@@ -64,9 +64,20 @@ object SessionFiles {
// The patched gamescope (tools/gamescope): the runtime's own version rebuilt with the ARM64
// client fixes, over /usr/local/bin so it comes first in the session's PATH. Only when the
// apk carries it - a build without the asset leaves the runtime's copy alone.
val optional = arrayOf(
// Valve's mangoapp (tools/mangoapp) - Deck mode's performance overlay - with the five
// libraries the runtime lacks beside it, and the wrapper on PATH that points it at them.
val mangoapp = listOf(
"usr/local/bin/mangoapp",
"usr/local/lib/mangoapp/mangoapp",
"usr/local/lib/mangoapp/libfmt.so.10",
"usr/local/lib/mangoapp/libspdlog.so.1.13",
"usr/local/lib/mangoapp/libglfw.so.3",
"usr/local/lib/mangoapp/libtraceevent.so.1",
"usr/local/lib/mangoapp/libtracefs.so.1",
).map { it to it }
val optional = (arrayOf(
"usr/local/bin/gamescope" to "usr/local/bin/gamescope",
).filter { (asset, _) ->
) + mangoapp).filter { (asset, _) ->
val dir = asset.substringBeforeLast('/')
runCatching { context.assets.list("linuxfs/$dir")?.contains(asset.substringAfterLast('/')) == true }.getOrDefault(false)
}