On Sat, 19 Jul 2014 23:10:29 -0700 Marc MERLIN <[email protected]> said:

> On Sun, Jul 20, 2014 at 12:43:05PM +0900, Carsten Haitzler wrote:
> > i believe that is number of wakeups over the 5s poll... do you have a little
> > spinning thing next to the icon on the top-left in the window border of
> > chrome?
> 
> Yes, I do, and as you explain, this is expected.
> Is that tiny thing the reason for so much CPU burn and watts lost?

if everything is rendering - then yes, even if not everything, then it still is
ticking over and down draw elimination and as i have found after some perf
work... it spends a lot of time inside stuff inside gl drivers. at least if we
are spinning and drawing little bits i notise intel dri/drm things being some
of the highest consumers of cpu time - try:

sudo perf top

and find out. :)

> > it's that animation that is causing redraws and thus wakeups. if your gl
> > drivers support buffer age extension, then the redraws can be limited to
> > just the area that changes, otherwise the whole screen is redrawn (if you
> > have > 1 screen that means all screens - this is a requirement of opengl
> > unless you have extensions).
>  
> I have built in haswell intel drivers, I expect they're basic.
> If I were running nvidia, then my battery life would be much worse.

fyi - nvidia support buffer_age in GLX, last i looked intel don't, so nvidia
are actually far nicer here at trynig to cut down power usage and drawing than
intel. :)

> > > Can a developer try to run google-chrome, switch to batteries, start
> > > powertop, run killall -STOP chrome, and observe?
> > > (it will likely be faster than me relaying this via Email anyway)
> > 
> > well not going to run google chrome - but chromium will do. :)
> 
> chromium is fine indeed, run that for this test :)
> 
> Anyway, can I tell e to stop making that circle animation to see if it's
> the reason for my battery problem?

change theme. :) or simple check power when anim is not on - it takes a while
to kick in. or go to windows -> window process management -> and disable "ping
clients".

> Thanks,
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet
> cooking Home page: http://marc.merlins.org/                         | PGP
> 1024R/763BE901
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to