[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lxdm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive CPU usage -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://l

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package lxdm - 0.3.0-0ubuntu5 --- lxdm (0.3.0-0ubuntu5) natty; urgency=low * debian/patches/90_simple_expose.patch - From upstream, rework the expose-event callback which have a high CPU usage (LP: #733912) * debian/patches/20_disable_resize_grip.

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-19 Thread Julien Lavergne
Thanks Steve. I'll upload upstream fix, and assume the other part of the performance problem is fixed in newer versions of gtk + cairo, available in Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-19 Thread SteVe Cook
3% CU usage with ppa10 version down from 27% with ppa8 version. 1 GHz Duron and ATI Rage 128. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive CPU usage --

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-19 Thread Julien Lavergne
Yes, difficult to say where the bug is in the stack. Steve, could you test the last version in my PPA and see if the CPU usage is still high on Natty ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/73

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-18 Thread Andrey Bondarenko
I'll test ppa8 version a bit later and get back with results, but I'm afraid it won't help. I've tried to implement fix proposed by upstream myself based on ppa3 version (using gdk_cairo_rectangle + cairo_fill). Looks like it is cairo performance problem. The following implementation of on_expose

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-18 Thread Julien Lavergne
Upstream proposed another fix for this problem. Could you test version lxdm - 0.3.0-0ubuntu5~ppa8 in my PPA ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive C

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-17 Thread Andrey Bondarenko
Version lxdm_0.3.0-0ubuntu5~ppa5 does not use CPU, but now it also ignores any background image settings, as if bg= was not set at all. Probably on_expose should be called at least once. Also, there is on_screen_size_changed, function in greeter.c. I don't know what it is, but we probably should r

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-16 Thread Julien Lavergne
Thanks for the testing. Unfortunatly, I was not enable to do a better solution to improve the drawing. I think the better solution is just to remove this on_expose function. I'm not even sure it's really necessary because the background should be managed by the theme. I'll publish another packag

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-16 Thread Andrey Bondarenko
PPA version lxdm_0.3.0-0ubuntu5~ppa3 still uses about 20-30% of CPU on my box. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive CPU usage -- ubuntu-bugs maili

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-15 Thread Julien Lavergne
Could you test with the lxdm package in my PPA : https://launchpad.net/~gilir/+archive/lubuntu ? There are still flickering in natty, but it seems to be another problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-15 Thread Julien Lavergne
Thank your for the analysis. Deconnecting the on_expose function to expose-event fix the flickering and I suppose the CPU usage. IMO, background need only to be draw on creation of the window, it should not change during teh "life" of the window. I'll try to make a proper patch. ** Changed in: lxd

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-15 Thread Andrey Bondarenko
Both versions are affected because on_expose function was not changed. If you check serc/greeter.c::on_expose, you will see that this function redraws entire screen on each call: if( bg_img ) { cairo_matrix_t matrix; double x = 0, y = 0, sx, sy; cairo_get_matrix(cr,

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-14 Thread SteVe Cook
High cpu usage still occurring in Natty with lxdm 0.3.0. 60% cpu with a 2 GHz P4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive CPU usage -- ubuntu-bugs m

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-14 Thread Julien Lavergne
Thank you for your bug report. Could you try with Ubuntu or Lubuntu Natty (11.04). There was some fixes regarding lxdm and the background rendering in lxdm 0.3.0. You can also test lxdm 0.3.0 in LXDE PPA : https://launchpad.net/~lxde/+archive/ppa ** Changed in: lxdm (Ubuntu) Status: New

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
I'm sorry, forgot to mention. I've found reported issue in Maverick package version lxdm-0.2.0-0ubuntu3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-greeter-gtk excessive CPU us

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
** Attachment added: "callgrind-without-bg.txt" https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/733912/+attachment/1903965/+files/callgrind-without-bg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
** Attachment added: "callgrind-with-bg.txt" https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/733912/+attachment/1903964/+files/callgrind-with-bg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
** Attachment added: "pidstat-without-bg.txt" https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/733912/+attachment/1903963/+files/pidstat-without-bg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
** Attachment added: "cpuinfo.txt" https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/733912/+attachment/1903962/+files/cpuinfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: l

[Bug 733912] Re: lxdm-greeter-gtk excessive CPU usage

2011-03-12 Thread Andrey Bondarenko
** Attachment added: "pidstat-with-bg.txt" https://bugs.launchpad.net/bugs/733912/+attachment/1903961/+files/pidstat-with-bg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/733912 Title: lxdm-