fix(desktop): Plasma draws on the system PowerVR driver (#2836)

* fix(desktop): Plasma draws on the system PowerVR driver

KWin lacks the Android-buffer Wayland protocol the system PowerVR driver's
swapchain needs, so every Plasma client failed with "zink: could not create
swapchain" and the desktop stayed black under the cursor. Plasma's clients now
present through DRI on that path, as the Steam session already does.

* test(desktop): the kopper override reaches Plasma's child processes

* test(desktop): check the kopper override where Plasma launches

---------

Co-authored-by: Jacob Lambert <183008808+JMLambo@users.noreply.github.com>
This commit is contained in:
JM LamboandJacob Lambert authored and GitHub committed 2026-11-24 17:49:39 -05:00
1 parent e36cf24ba9
commit 049c4be6e5
2 files changed
+45

No files matched your search

+3
View File
@@ -118,6 +118,9 @@ if [ "$(cat /usr/share/droiddeck/kwin-compositor 2>/dev/null)" = opengl ]; then
# On the system PowerVR driver, Firefox's hardware WebRender on zink leaves stale, half-drawn
# frames; its software renderer draws correctly.
[ "${DD_STEAM_GL_PRESENT:-}" = 1 ] && export MOZ_ACCELERATED=0
# The system driver's (PowerVR, Xclipse) libhybris Wayland swapchain needs the app compositor's Android-buffer
# protocol, which KWin lacks: Plasma's clients present through DRI instead.
[ "${DD_STEAM_GL_PRESENT:-}" = 1 ] && export LIBGL_KOPPER_DISABLE=true
if [ -z "${KWIN_RENDER_NODES:-}" ]; then
for node in /dev/dri/renderD0 /dev/dri/renderD307 /dev/dri/renderD*; do
if [ -c "$node" ]; then export KWIN_RENDER_NODES="$node"; break; fi