Summary: | Graphical glitches on desktop, blinking white dots and lines on screen border | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Natasha Nox <noxgit+kde> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 6.4.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/bb79e5d71b1e96cb525ee15aa989cf2aa1d4197f | Version Fixed In: | 6.5.0 |
Sentry Crash Report: | |||
Attachments: |
Lower end of the screen with the bugs in question
kscreen-doctor -o |
Description
Natasha Nox
2025-09-05 16:13:38 UTC
Please attach the output of kscreen-doctor -o The problem is most likely caused by our repaint areas being tracked in integer logical coordinates; with some unfortunate resolution+scale combinations, that can result in a row of pixels being rounded away. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8127 In my testing with Plasma 6.4 on my Framework 13, I could reproduce such glitches with the scale factor 1.7, and I saw similar glitches on the OnePlus 6 with scale 2.65 too. The phone I couldn't test with git master, but on the laptop, the glitches are already gone. The MR just adds a test for it. If you can still reproduce the issue in 6.5, please reopen this though! Created attachment 185046 [details]
kscreen-doctor -o
Hmm, that resolution+scale matches up nicely, so the glitches you see could come from something else as well. Do reopen this if it still happens with 6.5, and I'll take another look. Git commit 449c4d53b5327aeaa022be168b4cf43a50294946 by Xaver Hugl. Committed on 18/09/2025 at 16:03. Pushed by zamundaaa into branch 'master'. autotests/integration: add test for fractional scaling glitches In my own testing (vs. 6.4) the actual bug is already fixed. This test just makes sure it stays that way M +1 -0 autotests/integration/CMakeLists.txt A +118 -0 autotests/integration/fractional_repaint_test.cpp [License: GPL(v2.0+)] M +10 -1 src/backends/virtual/virtual_egl_backend.cpp M +6 -1 src/backends/virtual/virtual_egl_backend.h https://invent.kde.org/plasma/kwin/-/commit/449c4d53b5327aeaa022be168b4cf43a50294946 Git commit bb79e5d71b1e96cb525ee15aa989cf2aa1d4197f by Xaver Hugl. Committed on 20/09/2025 at 10:29. Pushed by zamundaaa into branch 'Plasma/6.5'. autotests/integration: add test for fractional scaling glitches In my own testing (vs. 6.4) the actual bug is already fixed. This test just makes sure it stays that way (cherry picked from commit 449c4d53b5327aeaa022be168b4cf43a50294946) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +1 -0 autotests/integration/CMakeLists.txt A +118 -0 autotests/integration/fractional_repaint_test.cpp [License: GPL(v2.0+)] M +10 -1 src/backends/virtual/virtual_egl_backend.cpp M +6 -1 src/backends/virtual/virtual_egl_backend.h https://invent.kde.org/plasma/kwin/-/commit/bb79e5d71b1e96cb525ee15aa989cf2aa1d4197f |