Summary: | No cursor on Wayland in vm(linux guest) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Liang Qi <cavendish.qi> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | nate, putr4.s, xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=474039 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Output of drm_info
Output of "libinput list-devices" |
Description
Liang Qi
2023-09-08 13:17:34 UTC
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. |