SUMMARY There is no cursor for Plasma Wayland inside a vm STEPS TO REPRODUCE 1. Hardware: MacBook Pro 16", 2019 2. Host: macOS 13.5.2, VMWare Fusion 13.0.2, Guest: neon unstable(updated yesterday) 3. Log into Plasma(Wayland) OBSERVED RESULT With touchpad from mbp, there is no cursor for it, but I can see the highlight when it hovers on some items. Tried an external USB mouse, same effect. EXPECTED RESULT Should see a mouse cursor on the vm. It works fine on Plasma(X11). SOFTWARE/OS VERSIONS Linux/KDE Plasma: neon unstable (available in About System) KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 ADDITIONAL INFORMATION I assume it will be same result for VirtualBox on macOS, perhaps also for VirtualBox/VMWare on Linux/Windows.
Created attachment 161509 [details] Output of drm_info
Created attachment 161511 [details] Output of "libinput list-devices"
There haven't been any recent changes around the cursor with the legacy API (which is forced for VMs). Can you please test an image with 5.27 and check if it works there?
Yeah, I tried Neon user edition from https://neon.kde.org/download, it's Plasma 5.27.7 based on Qt 5.15.10, Plasma Wayland, a VMWare vm in my same mbp, the cursor is fine there.
Installed neon unstable on a real machine, the cursor on wayland is fine there.
To narrow the problem down a bit, please put KWIN_DRM_NO_AMS=0 into /etc/environment and reboot (in the VM). Is the cursor still invisible with that?
After set KWIN_DRM_NO_AMS=0 in /etc/environment, reboot and log in, the mouse is there, but after a short while, no response from Plasma, kind of frozen, for example, can't type in Konsole, and no reponse when clicking any item.
I can confirm there's no cursor on a Wayland session on VirtualBox. KWIN_DRM_NO_AMS=0 does work and there's a cursor when using it, however, the cursor is not themed with the Breeze cursor, but it's a generic one. I couldn't reproduce the unresponsiveness Liang reported.
I remember hitting this issue a few months ago with a Neon Unstable iso running in QEMU/KVM, although I didn't get around to reporting it back then. I just tried it again with the 20231107-1001 iso, and the cursor seems to work fine in both X11 and Wayland in the VM, so maybe worth a retest?
I can confirm this is fixed. I tested on Gnome Boxes and Virtual Box and the Wayland session now has a cursor (Using the Neon Unstable image from Nov. 7th).
Tried https://files.kde.org/neon/images/unstable/20231107-1001/neon-unstable-20231107-1001.iso , the cursor works now. But upgraded old vm still doesn't work, and https://files.kde.org/neon/images/developer/20230921-1641/neon-developer-20230921-1641.iso is too old, comparing with unstable.