| Summary: | Cursor becomes VERY sluggish after a random amount of time | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Evert Vorster <evorster> |
| Component: | performance | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | kde, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Color profile I am using | ||
|
Description
Evert Vorster
2025-02-06 19:38:56 UTC
> I have now plugged in the amdgpu.dcdebugmask=0x10 kernel parameter, and have not seen the issue since, but I find it hard to believe that this could be a driver issue Why do you find that hard to believe? https://gitlab.freedesktop.org/drm/amd/-/issues/2858 is identical to this; I'm not sure why it got closed but you can create a new issue about this at https://gitlab.freedesktop.org/drm/amd/-/issues. In general amdgpu's PSR support is a bit broken with the latest kernels, I too have it disabled on my laptop to work around a similar issue :/ Don't just close a ticket without confirming, please. I read the linked bug report, and calling it identical is wrong. Some differences: 1. The ticket describes the cursor being laggy on one screen basically all the time. In my case the cursor speed is fine for a random amount of time. Could be minutes, could be hours. THEN it slows down. 2. The ticket describes multiple monitors, on my system it is a single monitor. 3. My issue shows up only when I have the magic trifecta of a non-native resolution, Wayland with custom ICC profile and no kernel parameters, the linked issue has it all the time. I did quite a bit of searching through Google on this issue before I picked kwin as an entry point. I could not find anything remotely like this on the web. The reason I picked kwin as an entry point is that it uses Wayland and draws a software cursor. What I would like from the fine folks here is some pointers on what to check when this bug shows up. Does kwin have a debug mode? I'll go ahead and open a ticket with the amdgpu guys as well, and attack this issue from both ends. Cross-filed here: https://gitlab.freedesktop.org/drm/amd/-/issues/3950 Let's see where this bug actually resides! I did confirm that it's a driver bug, and that doesn't change with minor differences to another bug report. If the problem goes away when you disable PSR, it can literally only ever be a kernel bug.
Userspace doesn't even know about PSR, all changes you make in userspace that happen to work around the bug presumably just happen to change kernel heuristics about when to enable PSR.
> The reason I picked kwin as an entry point is that it uses Wayland and draws a software cursor
It doesn't draw a software cursor unless you force it to. What you're seeing is the hardware cursor being buggy.
|