Bug 408674 - Plasma 5.16 causing graphical glitches and corruptions with Kvantum themes that use blur
Summary: Plasma 5.16 causing graphical glitches and corruptions with Kvantum themes th...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.16.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-14 05:12 UTC by Chris Raven
Modified: 2023-06-10 03:45 UTC (History)
5 users (show)

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


Attachments
Konsole & Blur System Settings windows over pure black (201.83 KB, image/png)
2019-06-14 21:31 UTC, duncanyoyo1
Details
Konsole & Blur System Settings windows over pure black (113.71 KB, image/png)
2019-06-14 21:40 UTC, duncanyoyo1
Details
KDE Working Settings _ Intel GPU (141.33 KB, image/png)
2019-06-15 12:26 UTC, Chris Raven
Details
Blur Noise Levels (1.23 MB, image/png)
2019-06-15 20:00 UTC, duncanyoyo1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Raven 2019-06-14 05:12:07 UTC
SUMMARY:
After upgrading to Plasma 5.16 last night, the system has become sluggish and unresponsive. Any animation which includes a Fade or Blur seems to flicker whilst completing the animation, and the Blur created by Latte Dock, Konsole, and Menu bars is over saturated causing extremely dark backgrounds.

Disabling Fading popups causes the animations of windows to be a little better, and the issue with the Background Blur only seems to occur if KVantum is used. Changing the window type from KVantum back to Breeze and rebooting seems to fix the Blur issues, but the animations are still extremely jagged and not smooth at all.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with Plasma 5.16.0 running on 5.1.9.arch1-1 kernel (but kernel change makes no difference) using the built in modset drivers for Intel HD 620 Graphics.

ADDITIONAL INFORMATION:
- I've attempted to re-install the Plasma 5.16 packages, but this didn't change anything. I've also cleared the .cache folder, but this also did not fix the fault.
Comment 1 Tommy Beauclair 2019-06-14 14:49:35 UTC
Same symptoms here.

But with up to date KDE Neon user edition and a nVidia 1070Ti. Same behaviour with or without the triple buffering tweaks.
Comment 2 duncanyoyo1 2019-06-14 21:31:54 UTC
Created attachment 120876 [details]
Konsole & Blur System Settings windows over pure black

I have also been having some graphical problems after updating to Plasma 5.16.

I have an RTX 2080 using nvidia driver 430.26.

The main thing I have been noticing is the noise for the blur is messed up.

On Plasma 5.15 I had the Noise strength set to about 6/15. Now on Plasma 5.16 it is set at 3/15 and the noise is more visible than it was at 6/15 on Plasma 5.15. Setting it to 2/15 seems to have removed the noise entirely.

I have attached an image of Konsole over a pure black SVG image and the Blur system settings window. This is set to 3/15, as it is shown in the image.

I am having a difficult time determining the root cause of the issue. I don't think it is a nvidia driver issue as it was working fine on Plasma 5.15 with nvidia driver 430.26.
Comment 3 duncanyoyo1 2019-06-14 21:34:16 UTC
Sorry it was set half way in the attachment.

I uploaded the wrong image.
Comment 4 duncanyoyo1 2019-06-14 21:40:08 UTC
Created attachment 120878 [details]
Konsole & Blur System Settings windows over pure black

This is with the noise at 3/15.
Comment 5 Tommy Beauclair 2019-06-14 22:11:32 UTC
If that can help, I have slight improvements with these settings :

KDE opts : Compositor, vsync set to auto with opengl 2.0. Precise scaling method

Nvidia panel : Sync to vblank checked. Allow flipping, Use conformant texture clamping deactivated.

Removed triple buffering tweak in /etc/profile and in xorg (deleted the 20-nvidia.conf file with the triple buffering setting activated before). That was very useful to prevent tearing pre 5.16

The results are :

Way less stuttering : It is only present when the CPU is working hard at the same time

No more flickering in OBS

Desktop effects are smoother, but not at the same level than with a intel IGPU.

To get rid of the bizarre blur, I set the blur noise to the minimum. I have now the blur like pre 5.16
Comment 6 Chris Raven 2019-06-15 12:25:42 UTC
(In reply to Tommy Beauclair from comment #5)
> If that can help, I have slight improvements with these settings :
> 
> KDE opts : Compositor, vsync set to auto with opengl 2.0. Precise scaling
> method
> 
> Nvidia panel : Sync to vblank checked. Allow flipping, Use conformant
> texture clamping deactivated.
> 
> Removed triple buffering tweak in /etc/profile and in xorg (deleted the
> 20-nvidia.conf file with the triple buffering setting activated before).
> That was very useful to prevent tearing pre 5.16
> 
> The results are :
> 
> Way less stuttering : It is only present when the CPU is working hard at the
> same time
> 
> No more flickering in OBS
> 
> Desktop effects are smoother, but not at the same level than with a intel
> IGPU.
> 
> To get rid of the bizarre blur, I set the blur noise to the minimum. I have
> now the blur like pre 5.16

I can confirm that even on Intel GPU setting it to OpenGL 2.0 with Accurate scaling method, the stuttering is a lot less, but anything that opens with a Fade effect seems to stutter when opening, flickering the image. To me it is like it is having issues rendering.I have attached a screenshot for this also.
Comment 7 Chris Raven 2019-06-15 12:26:25 UTC
Created attachment 120888 [details]
KDE Working Settings _ Intel GPU

This image is of the current settings i have that minimize the stutter / flicker, although it is not perfect.
Comment 8 duncanyoyo1 2019-06-15 20:00:10 UTC
Created attachment 120899 [details]
Blur Noise Levels

Maybe my issue should be split from this one. As I have no tearing or slow down to speak of. 

The only issue I have is the broken noise.

Level 2 looks exactly like level 1, but it's brighter. There is no noise on level 1 or 2, on level 3 there is noise but it doesn't look correct.

If the background is light it looks fine. But when the background is dark, it looks very noisy and stands out a lot.

I also noticed that the corners of the windows do not always appear rounded like they should.

I have attached an image that should clearly show what I am talking about.
Comment 9 Chris Raven 2019-06-16 07:02:11 UTC
Wanting to add the following: I believe that the issue may be with xrandr possibly, as I cam getting some random crashes now where my external displays flicker.

I definitely agree that the Blur noise levels seem separate to this bug. This bug is specifically for "Fade" based effects flickering / stuttering during their animations.
Comment 10 Tommy Beauclair 2019-06-19 21:10:46 UTC
Way less stuttering and no tearing with this setting (nvidia card)

vblank in kwin settings set to automatic

nvidia panel : sync to vblank deactivated, allow flipping activated
Comment 11 David Edmundson 2023-05-11 08:44:32 UTC
Please confirm if this is still an issue on 5.27
Comment 12 Bug Janitor Service 2023-05-26 03:45:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2023-06-10 03:45:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!