mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 06:15:58 +00:00
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.
This commit is contained in:
1 parent
2ff30ab4bb
commit
5dfa6f43ed
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user