| Summary: | Poor plasma performance after wallpaper change | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | Stephen <marsmissionaries> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | antjbryant |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Stephen
2008-01-28 11:30:17 UTC
This happens for me as well, after changing wallpaper it looks like animation effects make Xorg take up a lot of CPU. I've had to turn the wallpaper off slideshow until this gets fixed, as it's too much of a performance hit. Maybe that's the pixmap cache flowing over? For example, in frame applet when you add the slideshow function, it take time and freeze a little time plasma process during the rendering of the new photo That doesn't sound like it to me, I've tried the frame applet and it doesn't give me a performance hit at all after the initial loading of the images (I even tried setting the interval to 1 second with the same images I use as my wallpaper). The problem begins after the wallpaper is set and lasts until, as far as I can see, the end of the session. i also have the problem i think was is introduced when a phase animation was used for the slideshow
the part
if (m_fadeOutAnimId) {
painter->drawPixmap(option->exposedRect, Plasma::Phase::self()->animationResult(m_fadeOutAnimId), option->exposedRect);
}
if (m_fadeInAnimId) {
painter->drawPixmap(option->exposedRect, Plasma::Phase::self()->animationResult(m_fadeInAnimId), option->exposedRect);
}
in desktop.cpp around line 435 seems to be a resource hog, is there a simple way to check if that two phase anims are completed (and therefore paint the background in the usual way)?
Hi, I just checked this out and it really is a problem caused by my last commit (animate the background change). I am going to revert this until I have time to fix it. Actually I am going to send a mail to plasma-devel regarding a problem in Plasma::Phase that needs to be fixed before I fix this code. Sorry for the inconvenient |