From 5dfa6f43edaaca18caf59707547c79198ded0cbb Mon Sep 17 00:00:00 2001 From: The412Banner Date: Fri, 2 Oct 2026 15:46:35 -0400 Subject: [PATCH] bannerlator-steam-x64: webhelper on Wayland On X11 Chromium sets up GBM on the render node Xwayland hands out over DRI3 even with the GPU disabled, loops on KMS dumb-buffer ioctls against the KGSL device, and never creates the SteamUI browser; the client restarted it every 10 s. Without a GPU, Chromium's Wayland backend draws to shared-memory buffers. --- tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 | 6 +++++- 1 file changed, 5 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 bfcf21186..72d163e5b 100755 --- a/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 +++ b/tools/linuxfs/overlay/usr/local/bin/bannerlator-steam-x64 @@ -204,12 +204,16 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$srt_libs # is that container here; the client's recursion guard says it is already inside one. export STEAM_STEAMRT_RECURSION_GUARD=1 cd "$STEAM_X64" +# The webhelper on Wayland: on X11, Chromium sets up GBM on the render node the X server hands out +# over DRI3 even with the GPU off, loops on KMS dumb-buffer ioctls against the KGSL device and never +# brings a browser up (the client restarts it every 10 s). On Wayland without a GPU it draws to +# shared-memory buffers. # Restart on request (42, as steam.sh does), at most a few times. for attempt in 1 2 3 4 5; do step "starting the x86-64 SteamRT3 client under FEX (attempt $attempt): $*" rc=0 /usr/local/bin/FEX "$STEAM_X64/steamrt64/steam" -clientbeta publicbeta -no-cef-sandbox \ - -cef-ozone-platform=x11 -cef-disable-gpu "$@" >>"$LOG" 2>&1 || rc=$? + -cef-ozone-platform=wayland -cef-disable-gpu "$@" >>"$LOG" 2>&1 || rc=$? step "client exited rc=$rc" [ "$rc" = 42 ] || break done