Bug 354541 - panel flickers a lot
Summary: panel flickers a lot
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.4.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-29 08:55 UTC by Amichai Rothman
Modified: 2021-01-28 13:37 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amichai Rothman 2015-10-29 08:55:53 UTC
Every once in a while the panel starts flickering a whole lot - it seems like it's being blanked out to background color and then the icons are repainted on top of it, and this occurs many times per second and lasts for many seconds.

It happens on various occasions, one of them being when copying a large multi-GB file between hard disks (one of which is an NTFS spinning disk, so copy rate is about 50-60MB/s - in case that helps reproduce it in terms of cpu/io usage etc.). When opening and expanding the system tray notification to view the copy progress details, it causes the panel to flicker until the file copy is complete. It sometimes flickers also without opening the notification too.

Interestingly, it's not the whole panel that flickers, but only it's right-hand side, including the clock, system tray, and two right-most taskbar buttons (if there are enough tasks open to cover the whole taskbar). The other taskbar buttons and the left side of the panel do not flicker.

btw this started happening when upgrading to Kubuntu 15.04, which I think used KDE 5.3.0 originally. I hoped it would be fixed by 15.10 with KDE 5.4.0, but it still happens.


Reproducible: Always
Comment 1 Martin Kostolný 2015-10-29 14:17:57 UTC
I have the exact same issue. Right side of panel (sometimes only 1/3 of it, sometimes more -> 2/3 of panel, it changes)

I have Arch Linux with:
Plasma 5.4.2
KF 5.15
Intel graphics (GLX or EGL, doesn't matter)
Qt 5.5.1

It looks like it doesn't flicker with compositing disabled.
Comment 2 c.schank 2015-11-04 10:16:14 UTC
I have the same issue

Kubuntu 15.10
Intel Graphics from the new Skylake processors.
Comment 3 Martin Kostolný 2015-11-04 11:12:11 UTC
Although it happens to me on NB with Intel graphics, I couldn't reproduce this issue on a NB with ATI (open-source RadeonSI driver). I'll try also with nouveau when I get the chance and let you know...
Comment 4 Amichai Rothman 2015-11-04 17:32:58 UTC
Forgot to mention I'm on Intel HD Graphics 4600. Coincidence?
Comment 5 Martin Kostolný 2015-11-08 02:00:14 UTC
Probably not. I've also tried with nvidia binary - no flickering.

Can you please try to enable DRI3? For me it solved the flickering. At least I didn't spot it since. It can be enabled in xorg config file like that:
Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "DRI"    "3"
EndSection

Btw. it also solved some issues with EGL.
Comment 6 jat255 2016-01-16 18:19:54 UTC
I can confirm the same behavior on plasma 5.5.3 (Arch Linux) with Intel integrated graphics.

Martin's suggestion in https://bugs.kde.org/show_bug.cgi?id=354541#c5 seems to have solved the problem for me as a workaround.
Comment 7 Alexander Mentyu 2018-03-01 18:44:53 UTC
Is this issue still relevant after updates?
Comment 8 Amichai Rothman 2018-03-11 18:36:54 UTC
After having these annoying flickering bugs for a long while, they went away and all graphics was smooth for a while. More recently in the past few months I started getting other sorts of flickering in the display again, although they seem related to the full display and not only to the panel. Specifically, I have not seen the issue during copying large files nor that only one side of the panel flickers. If I'd have to guess, I'd say the current issues I'm having are unrelated to this report, but who knows :-)
Comment 9 Alex 2021-01-28 13:37:29 UTC
Given this only occurs on Intel graphics, I'm assuming this is a driver bug which has been fixed at some point.