Click the "Application Launcher" (aka Start Menu), there is a delay (3~5 seconds) between the click and presence of the menu. The delay also appears when clicking on "Audio Volume", "Networks", etc. on the panel. Setting OpenGLIsUnsafe=true under [Compositing] section in ~/.config/kwinrc solves the problem. Press "Shift Alt F12" to turn off the composing effect also solves the problem. Removing kde/plasma related cache under ~/.cache/ and /var/tmp/ doesn't solve the problem. Switching System Settings -> Display and Monitor -> Compositor -> Rendering backend doesn't solve the problem. Unselect all System Settings -> Desktop Behaviour -> Desktop Effects doesn't solve the problem. Creating a new user account doesn't solve the problem. Some package versions: glu 9.0.0-4 mesa 17.0.1-1 mesa-libgl 17.0.1-1 pencl-mesa 17.0.1-1 xf86-video-intel 1:2.99.917+760+ge9cd8c21-1 nvidia 378.13-2 opencl-nvidia 378.13-3 I THINK my xorg is using the Intel card, but I'm not sure.
Please provide the output of: qdbus org.kde.KWin /KWin supportInformation
(In reply to Martin Gräßlin from comment #1) > Please provide the output of: > qdbus org.kde.KWin /KWin supportInformation KWin Support Information: The following information should be used when requesting support on e.g. http://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.9.3 Qt Version: 5.8.0 Qt compile version: 5.8.0 XCB compile version: 1.12 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_INPUT: 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: 11902000 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: no; Version: 0x0 Decoration ========== Plugin: org.kde.breeze Theme: Blur: 0 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 1, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 3 gridUnit: 14 font: Noto Sans,9,-1,5,50,0,0,0,0,0 smallSpacing: 3 largeSpacing: 14 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 glSmoothScale: 1 xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: false glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 1 windowsBlockCompositing: true 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: eDP1 Geometry: 0,0,1920x1080 Refresh Rate: 60.0119 Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) OpenGL version string: 4.5 (Core Profile) Mesa 17.0.1 OpenGL platform interface: EGL OpenGL shading language version string: 4.50 Driver: Intel GPU class: Unknown OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 17.0.1 X server version: 1.19.2 Linux kernel version: 4.9.11 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Painting blocks for vertical retrace: no Loaded Effects: --------------- zoom slidingpopups kwin4_effect_login slide screenshot kwin4_effect_translucency minimizeanimation kwin4_effect_windowaperture desktopgrid colorpicker kwin4_effect_maximize kwin4_effect_morphingpopups kwin4_effect_fade presentwindows highlightwindow kwin4_effect_dialogparent blur contrast startupfeedback screenedge kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: slide: screenshot: kwin4_effect_translucency: minimizeanimation: kwin4_effect_windowaperture: desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true colorpicker: kwin4_effect_maximize: kwin4_effect_morphingpopups: kwin4_effect_fade: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 highlightwindow: kwin4_effect_dialogparent: blur: blurRadius: 12 cacheTexture: true contrast: startupfeedback: type: 1 screenedge: kscreen:
> OpenGL platform interface: EGL Here we have the reason. Egl on Intel is really bad. It is so bad that we removed the option to switch to it. Go back to glx (you need to manually edit the config file) and I'm confident the problem will be gone.
(In reply to Martin Gräßlin from comment #3) > > OpenGL platform interface: EGL > > Here we have the reason. Egl on Intel is really bad. It is so bad that > we removed the option to switch to it. Go back to glx (you need to > manually edit the config file) and I'm confident the problem will be > gone. Despite that `qdbus org.kde.KWin /KWin supportInformation` tells that `OpenGL platform interface: EGL`, my `~/.config/kwinrc` tells me that I'm already using `GLPlatformInterface=glx`, so I'm not sure which one to believe, is this the config you were referring to? I also tried setting environment variable `KWIN_OPENGL_INTERFACE` to `glx`, then switched rendering backend back and forth, `qdbus org.kde.KWin /KWin supportInformation` still reports that I'm using egl. Here is my kwinrc, if it is needed. [Compositing] AnimationSpeed=3 Backend=OpenGL Enabled=true GLCore=true GLPlatformInterface=glx GLPreferBufferSwap=a GLTextureFilter=1 HiddenPreviews=5 OpenGLIsUnsafe=false WindowsBlockCompositing=true XRenderSmoothScale=false [Desktops] Name_1=D1 Name_2=D2 Name_3=D3 Number=3 Rows=1 [Effect-CoverSwitch] TabBox=false TabBoxAlternative=false [Effect-Cube] BorderActivate=9 BorderActivateCylinder=9 BorderActivateSphere=9 [Effect-DesktopGrid] BorderActivate=9 [Effect-FlipSwitch] TabBox=false TabBoxAlternative=false [Effect-PresentWindows] BorderActivate=9 BorderActivateAll=9 BorderActivateClass=9 [Effect-Zoom] InitialZoom=1 [ElectricBorders] Bottom=None BottomLeft=None BottomRight=None Left=None Right=None Top=None TopLeft=None TopRight=None [Plugins] desktopchangeosdEnabled=false [Script-desktopchangeosd] PopupHideDelay=1000 TextOnly=false [TabBox] ActivitiesMode=1 ApplicationsMode=0 BorderActivate=9 BorderAlternativeActivate=9 DesktopMode=1 HighlightWindows=true LayoutName=present_windows MinimizedMode=0 MultiScreenMode=0 ShowDesktopMode=0 ShowTabBox=true SwitchingMode=0 [TabBoxAlternative] ActivitiesMode=1 ApplicationsMode=0 DesktopMode=1 HighlightWindows=true LayoutName=org.kde.breeze.desktop MinimizedMode=0 MultiScreenMode=0 ShowDesktopMode=0 ShowTabBox=true SwitchingMode=0 [Windows] ElectricBorderCooldown=350 ElectricBorderCornerRatio=0.25 ElectricBorderDelay=150 ElectricBorderMaximize=true ElectricBorderTiling=true ElectricBorders=0 RollOverDesktops=true
The support info is the one to trust. It always reports the correct information.
(In reply to Martin Gräßlin from comment #5) > The support info is the one to trust. It always reports the correct > information. any idea where to set this? google is not very helpful, currently I tried: - ~/.config/kwinrc - KWIN_OPENGL_INTERFACE environment variable to GLX or glx in /etc/environment or /etc/bash.bashrc and reboot both no luck.
I just checked the code to see what the cases are for EGL to be picked: 1) if the env variable is set 2) if on Wayland 3) if compiled without GLX support 4) if Qt is compiled with OpenGL ES support 5) if KWIN_COMPOSE env variable is set to O2ES 6) if X display does not support GLX As you explicitly set the env variable to be glx we can exclude 1. Your support information excludes 2, 3 and 5. So we have either Qt being compiled with OpenGL ES (but then it should be OpenGL ES IIRC) or X not supporting GLX. Given that you write that you have the nvidia driver installed, but KWin uses Intel driver I bet on number 6 being the actual issue. You can easily verify by e.g. running glxinfo or xdpyinfo.
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
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!
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!