Bug 482362 - Mouse cursor is invisible in Qemu unless KWIN_FORCE_SW_CURSOR=1 is specified
Summary: Mouse cursor is invisible in Qemu unless KWIN_FORCE_SW_CURSOR=1 is specified
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (other bugs)
Version First Reported In: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 08:54 UTC by Bart Ribbers
Modified: 2024-08-01 06:19 UTC (History)
1 user (show)

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


Attachments
wayland-session log from SDDM (85.18 KB, text/x-log)
2024-03-04 09:25 UTC, Bart Ribbers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2024-03-04 08:54:30 UTC
SUMMARY
I've just upgraded my VM on a Macbook M3 to run Plasma 6 and now the mouse cursor is invisible. Unless I set KWIN_FORCE_SW_CURSOR=1 (which makes it show up) it's impossible to use the mouse for anything. This wasn't a problem with Plasma 5.x.y, zo this is a regression.


STEPS TO REPRODUCE
1. Install Plasma 6 in a Qemu VM

OBSERVED RESULT
No mouse cursor is shown

EXPECTED RESULT
Mouse cursor to be shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux Edge
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This system runs in a Qemu VM (using the UTM application) on macOS.
Comment 1 Vlad Zahorodnii 2024-03-04 09:01:41 UTC
Please check kwin's logs. Reset the bug report status after uploading the logs
Comment 2 Bart Ribbers 2024-03-04 09:25:55 UTC
Created attachment 166381 [details]
wayland-session log from SDDM

I'm not sure where to get KWin logs from, so I'll just upload the entire Wayland session log from SDDM, I hope that's enough. This is with the env variable applied, do you need it without it as well?
Comment 3 Bug Janitor Service 2024-03-19 03:46:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-04-03 03:47:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bart Ribbers 2024-04-03 16:06:19 UTC
Uh, I did provide info...
Comment 6 Zamundaaa 2024-06-10 12:41:02 UTC
It should be fixed since https://invent.kde.org/plasma/kwin/-/merge_requests/5631, can you retest on 6.0.5?
Comment 7 Bart Ribbers 2024-06-10 17:02:23 UTC
Nope, still an issue on 6.0.5 sadly.
Comment 8 Zamundaaa 2024-06-11 14:35:07 UTC
> kwin_wayland_drm: Atomic Mode Setting disabled on GPU /dev/dri/card0 because of cursor offset issues in virtual machines
Hmm, that in the logs is surprising, both that it is there and that it's not working with that.
What kernel version are you using? And if you set KWIN_DRM_NO_AMS=0, does that change anything?
Comment 9 Zamundaaa 2024-07-10 17:10:19 UTC
.
Comment 10 Bart Ribbers 2024-07-15 11:15:11 UTC
Oh sorry.

Kernel 6.6.39 at the moment, KWIN_DRM_NO_AMS=0 doesn't change anything.
Since reporting I upgraded to Plasma 6.1.2 but it still happens.
Comment 11 Zamundaaa 2024-07-15 11:59:03 UTC
okay, 6.6 already supports the drm properties for KWIN_DRM_NO_AMS=0 to be the default. Does KWIN_DRM_NO_AMS=1 make a difference?
Comment 12 Bart Ribbers 2024-07-17 06:48:03 UTC
Sadly it does not no
Comment 13 Bug Janitor Service 2024-08-01 03:46:21 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Bart Ribbers 2024-08-01 06:19:04 UTC
Uh I did give info, changing the status back to REPORTED.