Bug 444425 - chrome exhibits artifacts on window redraw
Summary: chrome exhibits artifacts on window redraw
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.1
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 12:24 UTC by Peter Fiser
Modified: 2021-10-27 07:21 UTC (History)
1 user (show)

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


Attachments
chrome redraw bug in kwin (896.38 KB, image/jpeg)
2021-10-26 12:24 UTC, Peter Fiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fiser 2021-10-26 12:24:51 UTC
Created attachment 142905 [details]
chrome redraw bug in kwin

SUMMARY
Artifacting around Google Chrome window.

STEPS TO REPRODUCE
1. Reduce the size of a Chrome window from full screen to something else.
2. 
3. 

OBSERVED RESULT
This only happens with Chrome as far as I can see. There is a strange artifacting around the window when tiled or reduced in size to a floating window. I'll attach a screen shot, you can see it all around. This thing appears when the window is redrawn, I believe, because if I just tile from full screen to the left side with a hotkey, only the side at the center of the screen has the artifact. Reducing the size further, however, makes it appear on the redrawn edges.

Please let me know if I can provide any further information.

EXPECTED RESULT
No artifacts

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.14.0-3-amd64 #1 SMP Debian 5.14.12-1 (2021-10-14) x86_64 GNU/Linux (sid, using Norbert Peining's OBS packages for testing purposes)
(available in About System)
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0 
Qt Version: 5.15.2

ADDITIONAL INFORMATION
google-chrome-stable/stable,now 95.0.4638.54-1 amd64
Comment 1 Peter Fiser 2021-10-26 12:27:11 UTC
This issue does not exhibit in google-chrome-unstable_97.0.4676.0-1_amd64 so it might have nothing to do with kwin. However, this only happened once I upgraded the KDE packages.
Comment 2 Peter Fiser 2021-10-26 12:31:28 UTC
(In reply to Peter Fiser from comment #1)
> This issue does not exhibit in google-chrome-unstable_97.0.4676.0-1_amd64 so
> it might have nothing to do with kwin. However, this only happened once I
> upgraded the KDE packages.

Upon further testing the unstable chrome package is also exhibiting this issue.
Comment 3 Nate Graham 2021-10-26 14:17:47 UTC
Do you have an NVIDIA GPU?
Comment 4 Vlad Zahorodnii 2021-10-26 15:26:54 UTC
If it's X11, can you try toggling compositing?
Comment 5 Peter Fiser 2021-10-26 16:06:15 UTC
(In reply to Vlad Zahorodnii from comment #4)
> If it's X11, can you try toggling compositing?

AMD gpu (rx 5600 xt) with mainline kernel drivers. I just found out that in the Display>Compositor settings enabling compositor on startup was turned off. Turning it on, after login-cycling, the issue seems to be gone. Applications are disallowed from blocking composition.
Comment 6 Vlad Zahorodnii 2021-10-27 07:21:01 UTC
Hmm, it might be a chrome issue.