mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 05:46:03 +00:00
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.
This commit is contained in:
1 parent
581a7d1557
commit
aa27921dee
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user