From ab949a4a5a8affa86ccc75c4e6ac8d580821ad2a Mon Sep 17 00:00:00 2001 From: MaxsTechReview Date: Fri, 30 Oct 2026 13:58:35 -0400 Subject: [PATCH] fix(runtime): the x86-64 Steam client starts again on the Ubuntu runtime (liblzo2-2 for FEX) (#1825) * fix(runtime): ship liblzo2-2 so the x86-64 Steam client can install FEX FEX's unsquashfs links liblzo2. The Ubuntu runtime did not ship it, so the FEX check failed on every build, the x86-64 client was never set up, and the session went straight back to the home screen. Only phones with the desktop installed had it. * fix: the x86-64 Steam client starts again after it updates itself under FEX On its first start the x86-64 client downloads a 500 MB update and, under FEX, ends on an illegal instruction (rc=132) instead of asking for a restart with rc=42, so the session ended there. The client is started again once. --- tools/linuxfs/overlay/usr/local/bin/droiddeck-session | 6 ++++++ tools/ubuntu/packages-runtime.txt | 1 + 2 files changed, 7 insertions(+) diff --git a/tools/linuxfs/overlay/usr/local/bin/droiddeck-session b/tools/linuxfs/overlay/usr/local/bin/droiddeck-session index 39fc4f6ad5..2168183aa6 100755 --- a/tools/linuxfs/overlay/usr/local/bin/droiddeck-session +++ b/tools/linuxfs/overlay/usr/local/bin/droiddeck-session @@ -1439,6 +1439,12 @@ case $mode in set -- continue fi + if [ "$steam_x64" = 1 ] && [ "$rc" -eq 132 ] && [ -z "${_bl_x64_sigill:-}" ]; then + _bl_x64_sigill=1 + echo "== steam: the x86-64 client stopped on an illegal instruction after it updated itself; starting it again once" + set -- + continue + fi [ "$rc" -eq 42 ] || break if steam_update_stuck "$steam_ran"; then echo "== steam: asked to restart for an update $steam_updates times and it is not installing; the session stops here rather than loop" diff --git a/tools/ubuntu/packages-runtime.txt b/tools/ubuntu/packages-runtime.txt index a6e19c6429..c6bcd3618e 100644 --- a/tools/ubuntu/packages-runtime.txt +++ b/tools/ubuntu/packages-runtime.txt @@ -108,6 +108,7 @@ libliftoff0 liblua5.4-0 libluajit-5.1-2 liblzma5 +liblzo2-2 libmount1 libmp3lame0 libmpg123-0t64