TESTED ON KUBUNTU 16.04 LTS

If you experience flickering/flashing panel in plasma 5 with intel graphics, follow this tutorial to fix it.

Fix/workaround is to use DRI3 instead of default DRI2. DRI3 works great for me and fixes few problems/bugs that I experience with intel gpu driver.

1) press alt+f2 and type
Code:
kdesudo dolphin
2) navigate to /root/etc/X11/xorg.conf.d folder.

If xorg.conf.d folder does not exist, create it (right mouse click>create new>folder)

3) in xorg.conf.d folder create text file 20-intel.conf (right mouse click>create new>text file)

4) open 20-intel.conf text file and add this content:
Code:
Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "DRI"    "3"
EndSection
save and exit.

5) reboot system. after booting, you can check if you use DRI3:
Code:
cat /var/log/Xorg.0.log | grep DRI3
should return:
Code:
[    23.678] (II) intel(0): direct rendering: DRI2 DRI3 enabled