mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 19:11:08 +00:00
Older Adreno drivers such as the 8 Gen 2's 0.676.1 lack VK_EXT_external_memory_dma_buf, DRM modifiers and calibrated timestamps. They failed device creation in the WSI layer, failed Proton games on the zero-copy path, and corrupted the Steam UI under GPU compositing. - WSI patch 0005 makes the Wayland platform optional per device, so a device without its extensions stays usable for X11 swapchains instead of failing vkCreateDevice. - droiddeck-qualcomm-caps checks DMA-BUF export and import, the swapchain extensions and Gamescope's linux-dmabuf once per session; Proton games use the zero-copy WSI path only when it passes and stay on X11 SHM otherwise. The session log records the verdict. - The Steam browser uses software compositing when Zink offers less than OpenGL 4.0, with BL_STEAM_CEF_SOFTWARE as the manual override. Verified on the Adreno 740 (falls back to SHM and software compositing, UI correct) and the Adreno 840 (zero-copy and GPU compositing unchanged). (cherry picked from commit d8d0b10cced1f21a1e9bc7dca00efd89b389adb3)