Bug 434118 - Graphical artifacts since updating to 5.21.1
Summary: Graphical artifacts since updating to 5.21.1
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-03-07 18:07 UTC by postix
Modified: 2022-09-08 19:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
qdbus org.kde.KWin /KWin supportInformation (7.28 KB, text/x-log)
2021-03-07 18:07 UTC, postix
Details
1. Screenshot from the artifacts seen in the screen recording (2.71 MB, image/png)
2021-03-07 18:11 UTC, postix
Details
2. Screenshot from the artifcat seen in the screen recording. (1.50 MB, image/png)
2021-03-07 18:12 UTC, postix
Details
Screenshot from a screenrecording from a person on reddit (1.15 MB, image/jpeg)
2021-03-08 11:03 UTC, postix
Details
Screenrecording (3.19 MB, video/mp4)
2021-06-19 10:29 UTC, postix
Details
Kirigami Gallery and Task Manager Artifacts (122.12 KB, image/png)
2021-06-21 14:03 UTC, Dimitris Kardarakos
Details
Screenshot of the issue from the video in comment 12 (2.01 MB, image/png)
2021-10-23 09:46 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2021-03-07 18:07:21 UTC
Created attachment 136465 [details]
qdbus org.kde.KWin /KWin supportInformation

SUMMARY

Since updating to 5.21.1 I see those graphical artifacts like in the screen recording all over the place: On the panel, on windows, on context menus, in apps.
They seem to happen randomly every now and then and are really annoying.

Screenrecording: https://rwth-aachen.sciebo.de/s/iA4cVcNSzFOGXEf


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.11.1-1-MANJARO
Graphics Platform: X11
Graphics Processor: Mesa Intel® HD Graphics 620 (modeset driver)

ADDITIONAL INFORMATION
Scaling: 2.0
2 screens both on 60 Hz
OpenGL 3.1, scaling exact, latency balanced, tearing auto
Comment 1 postix 2021-03-07 18:11:38 UTC
Created attachment 136466 [details]
1. Screenshot from the artifacts seen in the screen recording
Comment 2 postix 2021-03-07 18:12:21 UTC
Created attachment 136467 [details]
2. Screenshot from the artifcat seen in the screen recording.

You can also see that the mouse pointer is seen twice in the lower left corner.
Comment 3 postix 2021-03-07 19:29:58 UTC
In the moment the artifacts seem to be gone. I will try to figure out in which situation they start appearing (again). For any hints I'd be thankful!
Comment 4 postix 2021-03-08 11:03:38 UTC
Created attachment 136486 [details]
Screenshot from a screenrecording from a person on reddit

I've noticed that someone published a screen recording of a Plasma 5.21 session in which the same artifacts can be seen [1] at second 13-14. 

I made a screenshot and attached it here. This at least proofs that it's not only me who is affected.

[1] https://www.reddit.com/r/kde/comments/m07uoy/any_kind_of_window_tiling_is_not_working_on_kde/
Comment 5 Nate Graham 2021-03-08 16:30:06 UTC
It would be interesting to see if the artifacts go away permanently when compositing is turned off.
Comment 6 postix 2021-06-19 10:20:45 UTC
I mostly (or only?) see those graphical issues now at Firefox 89's file download dialog. I will try to capture a screenshot, but the distortion vanishes very quickly.

Could be related to https://bugs.kde.org/show_bug.cgi?id=437893 somehow? At least symptoms look similar.
Comment 7 postix 2021-06-19 10:29:50 UTC
Created attachment 139512 [details]
Screenrecording

Demonstration of the issue from the post above.

Operating System: openSUSE Tumbleweed 20210615
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-1-default (64-bit)
Graphics Platform: X11
Graphics Processor: Radeon RX 580 Series

Display: x11 server: X.org 1.20.11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa resolution: <missing: xdpyinfo> 
OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.40.0 5.12.10-1-default LLVM 12.0.0) v: 4.6 Mesa 21.1.2 

Compositor: OpenGL 3.1


I will test it later w/o compositing.
Comment 8 Dimitris Kardarakos 2021-06-21 14:03:31 UTC
Created attachment 139576 [details]
Kirigami Gallery and Task Manager Artifacts

Kirigami Gallery colors page and Task Manager indicator artifacts.

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-55-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3470 CPU @ 3.20GHz
Memory: 6,7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 2500
Comment 9 Dimitris Kardarakos 2021-06-21 14:24:20 UTC
It has also been happening:
- without compositing
- on wayland
Comment 10 postix 2021-06-21 14:24:32 UTC
(In reply to Dimitris Kardarakos from comment #8)
> Kirigami Gallery colors page and Task Manager indicator artifacts.

At least I don't have this issue and it may be a different one.
Comment 11 Andre Woebbeking 2021-10-23 08:58:06 UTC
I had similar artifacts after upgrading to 5.23. Finally I had a look at ~/.config/kwinrc and found:

[Compositing]
AnimationSpeed[$d]
Backend=OpenGL
Enabled=true
GLColorCorrection=false
GLCore=true
GLPlatformInterface=egl
GLTextureFilter=2
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

after I removed

GLPlatformInterface=egl
GLTextureFilter=2

all work fine again. I also have Intel HD Graphics and running a X11 session.

One last note: I only had artifacts in Qt programmes.
Comment 12 postix 2021-10-23 09:43:49 UTC
I just saw in one of Niccolò's last videos, that he experiences the same issue [1],
when he opens Discover:

1) only the title is displayed but the background fills the window's content and 2) while resizing it flickered two times with a very similar pattern as described in this bug report.

[1] Challenge: Use KDE Plasma ONLY With Touchscreen! https://tube.kockatoo.org/w/76xwD2mHFm7CF8j11cZcMr?start=5m42s

--- 

> after I removed
> GLPlatformInterface=egl
> GLTextureFilter=2
> all work fine again.

I will test later if this triggers it also for me, thank you!
Comment 13 postix 2021-10-23 09:46:47 UTC
Created attachment 142786 [details]
Screenshot of the issue from the video in comment 12
Comment 14 Nate Graham 2022-09-08 15:11:05 UTC
Are you able to reproduce this issue in Plasma 5.25 or later?
Comment 15 postix 2022-09-08 18:35:19 UTC
(In reply to Nate Graham from comment #14)
> Are you able to reproduce this issue in Plasma 5.25 or later?

Can't remember the last time I saw it. :)