Bug 403812 - Rendering problems with desktop effects enabled (OpenGL) and latest Plasma update
Summary: Rendering problems with desktop effects enabled (OpenGL) and latest Plasma up...
Status: RESOLVED DUPLICATE of bug 404375
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git master
Platform: Other FreeBSD
: NOR grave
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-31 18:22 UTC by Valter Mura
Modified: 2019-02-25 10:04 UTC (History)
4 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 Valter Mura 2019-01-31 18:22:52 UTC
SUMMARY
I'm experiencing rendering issues with latest Plasma (last update was on 29th Jan): with desktop effects enabled and OpenGL 2.0 or 3.1 set, the display starts flickering and it is almost unusable.

With *desktop effects enabled and XRender set*, the rendering displays _correctly_.

Before the update I was using OpenGL 2.0, so I suppose it is an update problem.

STEPS TO REPRODUCE
1. turn on computer effects enabled with OpenGL 2.0/3.1
2. 
3. 

OBSERVED RESULT
The monitor flickers continuosly

EXPECTED RESULT
the rendering should be Ok

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.0
Kernel Version: 4.15.0-38-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 31,4 GiB
Driver: Nouveau
Graphic Card: Nvidia GeForce GT640

ADDITIONAL INFORMATION
Tried with Kubuntu and Plasma version 5.14 and Nvidia driver and I have no rendering problems, all works fine.
Comment 1 Sergey 2019-02-08 17:02:33 UTC
I have such issue also.
After update (08.02.2019) system has artefacts on windows, windows not rendering and blinking Desktop.  It's happeness when I use the nouveau driver. There is no such issue, when using NVIDIA proprietary drivers (for sample nvidia-340)
When I use nouveau, it issue happening on Compositor rendering backend: OpenGL 2.0 or 3.1.  When I choose Xrender it doesn't happen.

STEPS TO REPRODUCE
1. turn on computer effects enabled with OpenGL 2.0/3.1
2. relogin

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.14
KDE Plasma Version: 5.14.5
Qt Version: 5.12.0
KDE Frameworks Version: 5.54.0
Kernel Version: 4.15.0-45-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 330 @ 2.13GHz

lspci 
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: Lenovo GT218M [GeForce 310M]
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau
Comment 2 Tamburrino Roberto 2019-02-09 02:15:28 UTC
I have the same problem ! at start up there is a bad rendering if the OpenGL is active in the composer, to avoid the problem I have to choose XRender from the composer on startup! if it can serve, I have an Intel Pentium G4400 @ 3.30ghz processor, Nvidia GK208 graphics card [GeForce GT 710B]
Comment 3 JEREMY COX 2019-02-09 19:56:08 UTC
I would also like to report the same issues with the QT5 update to 5.12.0. While I was using QT5 5.11 there were no flickering issues, but once I updated to QT5 5.12.0 the flickering issues started for me too. I am using FreeBSD 12 stable, with the Intel driver. By switching to the modesetting driver, the issue stopped for me. I didn't try to switch the compositor to XRender from OpenGL. I just switched the driver from Intel to modesetting. I would also like to point out there is a thread on the Mageia Bugzilla website that describes a very similar issue to this. It's probably the same issue. 

https://bugs.mageia.org/show_bug.cgi?id=24060
Comment 4 Christoph Feck 2019-02-22 19:09:48 UTC
I am seeing the flickering on intel 8gen (modesetting driver) using OpenGL 3.1 only after re-enabling compositing. I.e. on a fresh start everything works fine. Then hit Shift+Alt+F12 twice (with a few seconds delay in between), and then black flickering appears when switching windows.

Support information (no difference before and after the "disable+enable compositing" cycle):

KWin Support Information:
The following information should be used when requesting support on e.g. https://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.15.80
Qt Version: 5.12.1
Qt compile version: 5.12.1
XCB compile version: 1.13

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12003000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0
decorationButtonsRight: 3, 4, 5
borderSize: 3
gridUnit: 14
font: Noto Sans,9,-1,5,75,0,0,0,0,0,Bold
smallSpacing: 3
largeSpacing: 14

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 6
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5015
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 1
commandWindow1: 4
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: false
electricBorderTiling: false
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 0
glSmoothScale: 0
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: false

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: DP-1
Geometry: 0,0,3840x2160
Scale: 1
Refresh Rate: 47.952


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL version string: 4.5 (Core Profile) Mesa 18.3.2
OpenGL platform interface: GLX
OpenGL shading language version string: 4.50
Driver: Intel
GPU class: Haswell
OpenGL version: 4.5
GLSL version: 4.50
Mesa version: 18.3.2
X server version: 1.20.3
Linux kernel version: 4.20.7
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_logout
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_scale
zoom
kwin4_effect_fade
kwin4_effect_dimscreen
kwin4_effect_fadingpopups
kwin4_effect_dialogparent
kwin4_effect_frozenapp
slidingpopups
screenshot
coverswitch
colorpicker
highlightwindow
startupfeedback
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
kwin4_effect_logout:
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
isActiveFullScreenEffect: false

kwin4_effect_maximize:
isActiveFullScreenEffect: false

kwin4_effect_scale:
isActiveFullScreenEffect: false

zoom:
zoomFactor: 2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_fade:
isActiveFullScreenEffect: false

kwin4_effect_dimscreen:
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 1
slideOutDuration: 1

screenshot:

coverswitch:
animationDuration: 1
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 279
primaryTabBox: false
secondaryTabBox: false

colorpicker:

highlightwindow:

startupfeedback:
type: 3

kscreen:
Comment 5 Vlad Zahorodnii 2019-02-25 10:04:14 UTC

*** This bug has been marked as a duplicate of bug 404375 ***