mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
Pin Gamescope with the Steam client again outside Qualcomm sessions
The Qualcomm port stopped pinning Gamescope to the Steam client's cores for every session. Outside Qualcomm sessions Gamescope does not copy frames through X11 SHM, and a user who restricts the client's cores still expects Gamescope on them, as since #152. Only Qualcomm sessions skip it now.
This commit is contained in:
1 parent
18735361d7
commit
563dff6d75
2 files changed
+7
-2
No files matched your search
@@ -1213,7 +1213,12 @@ BUSCONF
|
||||
for _d in /proc/[0-9]*; do
|
||||
{ IFS= read -r -d '' _c && { IFS= read -r -d '' _c1 || _c1=; }; } < "$_d/cmdline" 2>/dev/null || continue
|
||||
case $_c in FEX|*/FEX|FEXInterpreter|*/FEXInterpreter) _c=$_c1 ;; esac
|
||||
case $_c in *steamwebhelper*|*steamrtarm64/steam|*steamrt64/steam) ;; *) continue ;; esac
|
||||
case $_c in
|
||||
*steamwebhelper*|*steamrtarm64/steam|*steamrt64/steam) ;;
|
||||
# Qualcomm sessions copy every frame through X11 SHM inside Gamescope; the client's cores starve it.
|
||||
*gamescope*) [ "${DROIDDECK_SYSTEM_QUALCOMM:-0}" != 1 ] || continue ;;
|
||||
*) continue ;;
|
||||
esac
|
||||
_t=("$_d"/task/*)
|
||||
_p=${_d#/proc/}
|
||||
[ "${_bl_pinned[$_p]:-}" = "${#_t[@]}" ] && client_single_core_matches "$BL_CLIENT_CPUS" "${_t[@]}" && continue
|
||||
|
||||
@@ -24,7 +24,7 @@ On Adreno 740/Qualcomm 0.676.1, session `2026-10-24-13-steam` enabled the regula
|
||||
|
||||
The GPU path is gated on Zink's OpenGL level. Before Steam starts, `droiddeck-session` reads Zink's maximum core profile version with `glxinfo -B`; below 4.0, or when the version cannot be read, the browser starts with `-cef-disable-gpu` and the log says why, for example `== steam: browser software compositing (Zink offers OpenGL 3.2; GPU compositing needs 4.0)`. Setting `BL_STEAM_CEF_SOFTWARE` to `0` or `1` skips the gate. On the vivo V2243A (Adreno 740, system driver 0.676.1) Zink reaches OpenGL 3.2 and GPU compositing left the library without its background, tabs and parts of covers, with stale regions while moving between items. Software compositing rendered it correctly. Disabling the compat layer's shader rewrites, Zink's render-pass tracking, compact descriptors, threaded GL, Mesa's no-error mode or command reordering, or forcing synchronous Zink flushes, did not change the corruption, and the runtime from before the zero-copy work showed it too. The Adreno 840 with v891.7 reaches OpenGL 4.6 and keeps GPU compositing.
|
||||
|
||||
Qualcomm sessions also leave the Steam client CPU affinity unrestricted by default, preserving explicitly saved overrides. The previous SM8550 default pinned Steam, its browser and Gamescope to one core. The affinity loop now applies client masks only to Steam and its browser. A startup recording after that fix showed the complete six-second DroidDeck animation followed by the library; a brief initial white window remained before playback.
|
||||
Qualcomm sessions also leave the Steam client CPU affinity unrestricted by default, preserving explicitly saved overrides. The previous SM8550 default pinned Steam, its browser and Gamescope to one core. In Qualcomm sessions the affinity loop applies client masks only to Steam and its browser; other sessions still pin Gamescope with them. A startup recording after that fix showed the complete six-second DroidDeck animation followed by the library; a brief initial white window remained before playback.
|
||||
|
||||
### Pixmap binding without DRI3
|
||||
|
||||
|
||||
Reference in new issue
Block a user