From aa27921deea3117584016c25de69438e6d3f3aa5 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Fri, 2 Oct 2026 15:43:52 -0400 Subject: [PATCH] bannerlator-steam-x64: hide the GPU node from x86 programs x86 Mesa and the Vulkan loader still enumerated /dev/dri, found the session's KGSL node and looped on it (KMS dumb-buffer ioctls), and the webhelper never brought a browser up; the client restarted it every 10 s. FEX resolves paths in the rootfs first, so an empty /dev/dri there leaves llvmpipe and lavapipe. --- tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 b/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 index bd31ca4c1..ad9446acc 100755 --- a/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 +++ b/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 @@ -122,6 +122,10 @@ unset LD_LIBRARY_PATH LD_PRELOAD STEAM_RUNTIME STEAM_RUNTIME_PREFER_HOST_LIBRARI unset GALLIUM_DRIVER MESA_LOADER_DRIVER_OVERRIDE VK_ICD_FILENAMES VK_DRIVER_FILES LIBGL_KOPPER_DRI2 \ ZINK_DEBUG ZINK_DESCRIPTORS TU_DEBUG MESA_NO_ERROR export LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=llvmpipe +# They still enumerate /dev/dri, find the session's KGSL node there, and spin on it (x86 Turnip +# "failed to query kernel driver version", KMS dumb-buffer ioctls in a loop) - the webhelper never +# got a browser up. FEX looks in the rootfs first: an empty /dev/dri there hides the node. +mkdir -p "$ROOTFS/dev/dri" # The proot fast path (libblfastpath, preloaded into every guest process, FEX included) breaks # FEX's 32-bit mode: every i386 program dies with SIGILL at start (FEX's own fatal trap), so # Steam's 32-bit check reports libc.so.6 missing. 64-bit runs either way; proot then answers