Say in the session log which Performance mode parts reach Qualcomm games

On the X11 SHM path Gamescope's WSI layer is disabled, so its two
Performance mode parts (more swapchain images, the present-check cache)
cannot apply; the unpaced release and Wine's window-check cache still do.
With zero-copy every part applies. The log now says which case a session is in.
This commit is contained in:
The412Banner committed 2026-10-25 23:17:57 +00:00
1 parent dfce775514
commit 4b8c7f8415
2 files changed
+9 -1

No files matched your search

@@ -302,6 +302,14 @@ if [ "${DROIDDECK_SYSTEM_QUALCOMM:-0}" = 1 ]; then
echo "== qualcomm: ${bl_caps:-zero-copy off: the capability probe gave no answer}"
export DROIDDECK_QUALCOMM_ZERO_COPY
unset bl_caps
if [ "${DROIDDECK_WSI_BYPASS_CHECK_MS:-0}" != 0 ]; then
if [ "$DROIDDECK_QUALCOMM_ZERO_COPY" = 1 ]; then
echo "== qualcomm: performance mode: games present through Gamescope's WSI layer, so it applies as in other sessions"
else
echo "== qualcomm: performance mode: only the unpaced release (no frame limit) and Wine's window-check cache;" \
"games present through X11 SHM, so Gamescope's WSI parts (more swapchain images, present-check cache) do not apply"
fi
fi
fi
# Chromium's GPU compositor corrupts the Steam UI on Qualcomm drivers where Zink stops below OpenGL 4.0.
# An explicit BL_STEAM_CEF_SOFTWARE decides instead.
+1 -1
View File
@@ -90,7 +90,7 @@ Proton games in Qualcomm sessions present through Gamescope's WSI layer instead
- A device with those extensions, `VK_KHR_swapchain` and `VK_EXT_swapchain_maintenance1` with its feature (which Gamescope's WSI layer forces on) is created through the session's layers, and a LINEAR image's dedicated memory is exported with `vkGetMemoryFdKHR`. The WSI layer implements the swapchain extensions without listing them, so only device creation confirms them.
- Gamescope's Wayland display offers `zwp_linux_dmabuf_v1`.
Any failure, timeout or crash leaves games on SHM. The session log records the result, for example `== qualcomm: zero-copy off: missing VK_EXT_external_memory_dma_buf; Gamescope offers no linux-dmabuf (Adreno (TM) 740, driver 0.676.1)`.
Any failure, timeout or crash leaves games on SHM. With Performance mode on, the session log also says which of its parts reach games: on SHM only the unpaced release and Wine's window-check cache apply, because Gamescope's WSI layer is not used. The session log records the result, for example `== qualcomm: zero-copy off: missing VK_EXT_external_memory_dma_buf; Gamescope offers no linux-dmabuf (Adreno (TM) 740, driver 0.676.1)`.
The Qualcomm HAL used for development has DMA-BUF export but no `VK_EXT_image_drm_format_modifier`, and Android has no DRM device. The WSI layer is therefore rebuilt with its Wayland backend and `wsi-patches`: