Bug 489540 - Doubled cursors in QEMU spice
Summary: Doubled cursors in QEMU spice
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: 6.1.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-01 10:37 UTC by fxzxmic
Modified: 2025-03-11 18:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
SDDM login interface (203.62 KB, video/webm)
2024-07-01 11:05 UTC, fxzxmic
Details
Desktop two cursors (536.69 KB, video/webm)
2024-07-01 11:06 UTC, fxzxmic
Details
Required information (13.52 KB, text/plain)
2024-07-25 10:46 UTC, fxzxmic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fxzxmic 2024-07-01 10:37:15 UTC
SUMMARY
Two mouse cursors are displayed inside the VM and not very synchronized. 

STEPS TO REPRODUCE
1. Install openSUSE Tumbleweed in QEMU.
2. Enter desktop.

OBSERVED RESULT
Doubled cursors

EXPECTED RESULT
Only one cursor

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
It only appears after entering the desktop and is normal on the SDDM login interface. So it should be a Wayland related issue.
https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/101#note_1039554
Comment 1 fxzxmic 2024-07-01 11:05:16 UTC
Created attachment 171234 [details]
SDDM login interface
Comment 2 fxzxmic 2024-07-01 11:06:36 UTC
Created attachment 171235 [details]
Desktop two cursors
Comment 3 Zamundaaa 2024-07-22 20:29:22 UTC
Please attach the output of drm_info and
> journalctl --user-unit plasma-kwin_wayland --boot 0
(from in the VM)
Comment 4 fxzxmic 2024-07-25 10:46:26 UTC
Created attachment 171976 [details]
Required information
Comment 5 Zamundaaa 2025-03-11 18:46:22 UTC
Sorry, this got lost in my mails. The driver doesn't expose a hardware cursor, so KWin paints a software cursor... That the VM is in addition painting another cursor is a bug in the VM (kernel driver, or the GUI for the VM, not sure), not something we can fix.