kde/qemu: KWIN_FORCE_SW_CURSOR=1 — cursor visible y estable

El tema de cursor ya cargaba (sin "Failed to load cursor theme") pero el cursor
seguía apareciendo/desapareciendo: kwin usaba el plano de cursor por HARDWARE del
DRM, que en virtio-gpu con render software no se presenta bien. KWIN_FORCE_SW_CURSOR=1
⇒ kwin compone el cursor dentro del framebuffer principal (software) ⇒ visible y
estable. Verificado por screendump: la flecha breeze aparece compuesta en el scanout.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-20 12:36:28 -04:00
co-authored by Claude Opus 4.8
parent abf4e25c8f
commit 44d50a76b5
+5
View File
@@ -71,6 +71,11 @@ export QT_QPA_FONTDIR=/usr/share/fonts/dejavu
export XCURSOR_THEME=breeze_cursors
export XCURSOR_PATH=/usr/share/icons:/usr/share/pixmaps
export XCURSOR_SIZE=24
# El tema ya carga (sin "Failed to load cursor theme") pero el cursor SIGUE invisible: kwin usa el plano
# de cursor por HARDWARE del DRM, y en virtio-gpu con render software ese plano no se presenta (aparece y
# desaparece). KWIN_FORCE_SW_CURSOR=1 ⇒ kwin dibuja el cursor DENTRO del framebuffer principal (software)
# ⇒ visible y estable en VMs sin GPU real.
export KWIN_FORCE_SW_CURSOR=1
# --- DIAGNÓSTICO del segfault-al-1er-composite (MURO 2) ---
# Sin gdb en la imagen: subimos el logging categorizado de kwin (kwin_core/drm/scene/opengl) + mesa/egl