From 5786ddf81f210b995b808b05894e2d24b2b06f3b Mon Sep 17 00:00:00 2001 From: The412Banner Date: Fri, 2 Oct 2026 14:04:13 -0400 Subject: [PATCH] bannerlator-steam-x64: no early FEX run, stop a stale FEXServer FEX processes take the rootfs from FEXServer. The version probe started one before FEX_ROOTFS was set, and later clients inherited its empty rootfs. Still not enough on its own on the device: under investigation. --- tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 b/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 index cf2ebcf0b2..b4cde092b9 100755 --- a/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 +++ b/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 @@ -40,7 +40,7 @@ if [ ! -x /usr/local/bin/FEX ] || [ "$(cat /usr/local/share/fex-emu/.droiddeck-t rm -rf "$tmp" mkdir -p /usr/local/share/fex-emu && echo "$FEX_TAG" > /usr/local/share/fex-emu/.droiddeck-tag fi -step "FEX: $(/usr/local/bin/FEX --version 2>&1 | head -1)" +step "FEX ready ($FEX_TAG)" # --- x86 rootfs -------------------------------------------------------------------------------- if [ ! -f "$ROOTFS/.droiddeck-complete" ]; then @@ -107,6 +107,11 @@ fi unset LD_LIBRARY_PATH LD_PRELOAD STEAM_RUNTIME STEAM_RUNTIME_PREFER_HOST_LIBRARIES export HOME=$X64_HOME export FEX_ROOTFS=$ROOTFS +# A FEX process takes its rootfs from FEXServer, not from its own environment, and a server +# started earlier without FEX_ROOTFS (any FEX run in this guest) answers with no rootfs at all: +# every x86 library lookup then falls through to the arm64 guest. Stop it, so the next FEX +# starts one with this rootfs. +/usr/local/bin/FEXServer -k >/dev/null 2>&1 || true export STEAM_EXTRA_COMPAT_TOOLS_PATHS= step "starting the x86-64 client under FEX: steam.sh -no-cef-sandbox $*" cd "$STEAM_X64"