| Summary: | [Wayland] Cursor position is offset when going over various actions on multi monitor and multi scaling setup | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Tony Stipanic <tony+kde> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.22.90 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=433436 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Phone recording of mouse cursor bug
Wayland Firefox debug logs qdbus kwin output |
||
|
Description
Tony Stipanic
2021-10-07 21:33:13 UTC
Created attachment 142243 [details]
Phone recording of mouse cursor bug
> Move the mouse around on a non-HIDPI monitor
Is the window on both hidpi and non-hidpi monitors? Can you also please run a native wayland program with WAYLAND_DEBUG=1 envvar and post the log output here?
No, the window is only on the non-HIDPI monitor. It does not eclipse the other monitor. You can use see this happening on programs like Dolphin too, if that helps. I'm going to bring logs soon Sorry for the delay, I have attached the logs with the debug env var. I have opened firefox and was on the page https://bugs.kde.org/buglist.cgi?chfield=%5BBug%20creation%5D&chfieldfrom=7d&list_id=1920021 similar to how it is on the video. I can give further logs for other programs if desired. Created attachment 142384 [details]
Wayland Firefox debug logs
I don't see anything suspicious in the wayland debug log. What video card do you have? Also, is the output rotated? Can you please post output of `qdbus org.kde.KWin /KWin supportInformation`? Created attachment 142388 [details]
qdbus kwin output
Attached the qdbus output. I'm currently running on Intel(R) UHD Graphics 620 The laptop itself does have a Nvidia chip, but it has been currently blacklisted and no Nvidia drivers are currently installed. The state for the DGPU is also at D3cold, so it's not running right now What if you change the cursor theme to something else, e.g. dmz or adwaita? Can you still reproduce the issue? Yes, it also happens with other cursor themes. Tried it with Adawita, Oxygen and a different Breeze style That's weird. It might be a hardware bug. If you flip scale factors, i.e. laptop display -> x1, external monitor -> x2, does the cursor still jump? Interesting, the mouse cursor still jumps around at flipped scale factors. It also seems like at 200% on external monitor, there's more of a tendency to have the cursor cut off Another thing that's worth checking is whether the cursor jumps with software cursor. Software cursor can be forced by adding KWIN_FORCE_SW_CURSOR=1 to /etc/environment and rebooting the computer. This seems to have helped. The cursor is not jumping around anymore when using KWIN_FORCE_SW_CURSOR=1 Can you reproduce this bug in Plasma 5.22? `sudo pacman -S extra/kdecoration extra/kwayland-server extra/kwin` should be enough Using the command to downgrade, it seems to be very similar to the bug 433436 marked as "see also". It still jumps but reverts to the right position instead of being stuck in a offset It appears like an issue either in the driver or hardware. Neither can be fixed in kwin. As a workaround, you can force software cursor rendering. I recommend to report this issue to intel driver developers. https://gitlab.freedesktop.org/drm/intel/-/issues/ |