After 2-3 days of working, everything is working correctly, fast and very responsive. But then, after 4-5 days i am getting a huge slowdown with xfwm4 and it becomes very unresponsive. For example, if i drag a window, the cursor goes ahead and the window is lagging behind with a gap between the cursor and the window. Also windows build up very slow. If i kill xfwm4 and start it again, everything is working correctly again. I've noticed this behavior a few times already and made some xrestop screenshots. OK: http://omploader.org/file/xrestop_OK.png SLOW: http://omploader.org/file/xrestop_SLOW.png As you see the "Misc" increases and there are 2 X Errors (Is there a way to see the errors?)
Got the culprit - the compositor. When disabling it, everything goes smooth again. Also when disabling and enabling it again (in wm-tweaks-window) the "misc" in xrestop goes back to ~300.
Ah sorry, looked at the wrong line. The "misc" stays at ~15000 and with disabled composite everything is snappy but when enabling it, everything goes back to slow instantly.
Looks like a duplicate of bug #2618 - Please try current SVN trunk.
The "misc" value increase is caused by grabs leaking that was fixed with another more serious leak as part of the fix of bug #2618. However, it's worth noting that the pixmap memory has not increased much between the "good" and "bad" screenshots you provided, so it's unlikely the cause of the slowdown. Maybe, just maybe, the slow down is not caused by xfwm4 but lies elsewhere in Xorg, maybe. BTW, better try current SVN as there is no known leak in current SVN trunk.
After a few days of working with svn i have not noticed a slowdown, guess it was the same as #2618. Thank you!
Excellent, I close the bug as dup then. *** This bug has been marked as a duplicate of bug 2618 ***