Bug 372079 - Animation performance decrease as time goes on
Summary: Animation performance decrease as time goes on
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.8.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-11-04 15:06 UTC by cristiano04
Modified: 2018-11-12 16:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cristiano04 2016-11-04 15:06:35 UTC
Using magic lamp, as time goes on, animations that were once fluid become choppy and laggy until I reboot.
Comment 1 David Edmundson 2016-11-04 22:18:47 UTC
Thanks, but this is too vague to be a bug report.
Comment 2 cristiano04 2016-11-05 17:59:06 UTC
(In reply to David Edmundson from comment #1)
> Thanks, but this is too vague to be a bug report.

I am aware, but what else am I supposed to provide? The bug itself happens consistently after using the computer for a few hours (browsing, media watching, some programming).
Comment 3 cristiano04 2016-11-05 18:03:04 UTC
(In reply to David Edmundson from comment #1)
> Thanks, but this is too vague to be a bug report.

Alright, I'll try to provide more info:
:Occurs regardless of rendering backend (currently using 3.1 however) and scale method (currently using smooth)
:Vsync is automatic and no applications can block compositing (although this used to be on for mpv, but I unchecked that box for testing purposes
Comment 4 Christoph Feck 2016-11-06 22:56:46 UTC
Reassigning to KWin developers, because the magic lamp effect is created by the window manager, not the desktop shell. Maybe the effect and/or the OpenGL driver piles up textures or coordinate meshes while it runs.

For further investigation, please provide the output of this Konsole command:
qdbus-qt5 org.kde.KWin /KWin supportInformation

(the name of the qdbus-qt5 binary might be different on your distribution)
Comment 5 cristiano04 2016-11-07 01:04:04 UTC
(In reply to Christoph Feck from comment #4)
> Reassigning to KWin developers, because the magic lamp effect is created by
> the window manager, not the desktop shell. Maybe the effect and/or the
> OpenGL driver piles up textures or coordinate meshes while it runs.
> 
> For further investigation, please provide the output of this Konsole command:
> qdbus-qt5 org.kde.KWin /KWin supportInformation
> 
> (the name of the qdbus-qt5 binary might be different on your distribution)

Thanks!
Here it is:
https://paste.kde.org/pvrp4xjzv

Using gentoo by the way.
Comment 6 Martin Flöser 2016-11-07 06:22:47 UTC
From the paste:

Version
=======
KWin version: 5.8.3
Qt Version: 5.6.1
Qt compile version: 5.6.1
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: 11803000
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.kwin.aurorae
Theme: __aurorae__svg__yosiwhite
Blur: 1
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: true
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Ubuntu,10,-1,5,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

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: 0
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 1
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 1
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 7
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: 1
glSmoothScale: 1
colorCorrected: false
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: true
cursorPushBackDistance: 1x1
timeThreshold: 400
reActivateThreshold: 450
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: DVI-0
Geometry: 0,0,1920x1080
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TAHITI (DRM 2.43.0 / 4.4.17-calculate, LLVM 4.0.0)
OpenGL version string: 4.2 (Core Profile) Mesa 13.1.0-devel (git-2c87515)
OpenGL platform interface: GLX
OpenGL shading language version string: 4.20
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.2
GLSL version: 4.20
Mesa version: 13.1
X server version: 1.18.3
Linux kernel version: 4.4.17
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:
---------------
slidingpopups
wobblywindows
screenshot
magiclamp
kwin4_effect_windowaperture
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_dialogparent
presentwindows
highlightwindow
blur
startupfeedback
kscreen

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

Effect Settings:
----------------
slidingpopups:
fadeInTime: 150
fadeOutTime: 250

wobblywindows:
stiffness: 0.14999999999999999
drag: 0.80000000000000004
moveFactor: 0.10000000000000001
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

screenshot:

magiclamp:
animationDuration: 250

kwin4_effect_windowaperture:

kwin4_effect_morphingpopups:

kwin4_effect_maximize:

kwin4_effect_dialogparent:

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:

blur:
blurRadius: 11
cacheTexture: true

startupfeedback:
type: 1

kscreen:
Comment 7 Martin Flöser 2016-11-07 06:24:08 UTC
you are using development drivers of Mesa. Please make sure that it's not related to that.
Comment 8 cristiano04 2016-11-07 11:52:44 UTC
(In reply to Martin Gräßlin from comment #7)
> you are using development drivers of Mesa. Please make sure that it's not
> related to that.

Yes. That was my quick attempt at fixing the issue. Was originally using mesa-12.0.3. So no, not mesa related.
Comment 9 Martin Flöser 2016-11-07 12:01:06 UTC
> Plugin: org.kde.kwin.aurorae

Try switching to the default breeze decoration
Comment 10 cristiano04 2016-11-07 12:02:59 UTC
(In reply to Martin Gräßlin from comment #9)
> > Plugin: org.kde.kwin.aurorae
> 
> Try switching to the default breeze decoration

Just did. Will report back once it starts lagging.
Comment 11 cristiano04 2016-11-07 12:45:38 UTC
(In reply to Martin Gräßlin from comment #9)
> > Plugin: org.kde.kwin.aurorae
> 
> Try switching to the default breeze decoration

λ desktop [~] → qdbus org.kde.KWin /KWin supportInformation | grep breeze
Plugin: org.kde.breeze

Just started lagging. Not unbearable, but it has just begun.
Comment 12 cristiano04 2016-11-07 12:47:51 UTC
(In reply to cristiano04 from comment #11)
> (In reply to Martin Gräßlin from comment #9)
> > > Plugin: org.kde.kwin.aurorae
> > 
> > Try switching to the default breeze decoration
> 
> λ desktop [~] → qdbus org.kde.KWin /KWin supportInformation | grep breeze
> Plugin: org.kde.breeze
> 
> Just started lagging. Not unbearable, but it has just begun.

Changing back to aurorae does not fix it.
Comment 13 Martin Flöser 2016-11-07 14:21:02 UTC
ok, was worth a try.
Comment 14 Vlad Zahorodnii 2018-10-06 18:18:56 UTC
Please provide more useful information, e.g.
* Does only the Magic lamp lag, or other effects lag too?
* Does the amount of used RAM increase over time?
* etc.
Comment 15 Andrew Crouthamel 2018-10-27 04:11:18 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 set the bug status 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 16 Bug Janitor Service 2018-11-12 16:04:22 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!