On Wed, 28 Jun 2006 14:44:10 +1000 Daniel Kasak <[EMAIL PROTECTED]>
babbled:

> Hi all.
> 
> Following on from my previous email, I've switched from using a large
> series of *slightly* different images to produce a fade-in / fade-out
> effect, to using the a color transition from 255 255 255 0 to 255 255
> 255 255 ( and back ). This works great :) But at Rasterman hinted, this
> hasn't done anything for the performance of the effect :(
> 
> I have, however, noticed something interesting. If I use the 'automatic'
> CPU power policy, Enlightenment will use ALL available CPU cycles,
> pushing the speed up to 2.2Ghz ( the transition looks good ). If I
> manually set the speed of my system ( it's a Turion, by the way ) to
> 800Mhz, Enlightenment will continue to use 100% of my CPU, and the
> transition will look *exactly* the same ... very good.
> 
> So clearly my eyes don't require the transition to be any better than
> how it gets rendered when my CPU is pegged at 800Mhz. This leads to the
> question: is it ( or would it be ) possible to specify a limit to CPU
> usage for an edje animation?
> 
> Are there any other options available to keep CPU usage down?
> 
> At the moment, I can further optimize things by breaking one of my
> layers into 2 ( the layer only has visible stuff on the extreme left and
> extreme right, so I can cut out the middle, and possible save some CPU
> time ). But the other layer is basically a fullscreen one.
> 
> I also tried the suggestions of changing the engine via
> enlightenment_remove -default-engine-set ( and -engine-set CONTAINER ).
> Unfortunately ATI don't provide XRENDER acceleration, and my card ( and
> also that of the other guy who did the artwork for the animation ) is
> r300 based, which is not accelerated by the open-source drivers either
> :( What's even worse, I tried on an r200 card ( which actually works
> quite well, but it's not my computer ), but then after upgrading to
> xorg-x11-7.1, I've seen a *massive* drop in XRENDER performance for EXA.
> Damnit! I tried the XRENDER engine on my r300 under XGL - surprisingly
> this didn't do anything for me, though I was under the impression that
> XGL accelerated XRENDER somewhat. Lastly, I was also naughty in trying
> out the GL engine - no luck here either - it's about level with the
> software engine for me. So anyway, I've tried all I can think of ( short
> of optimising the animation, which I'll get onto tonight ).
> 
> Anyway, I'm just checking out all options - I'm not asking for miracles.
> If I can't keep CPU usage down to something respectable, I'll take a
> different approach, and do something like the small transitions all the
> time ( extreme left and right ), and a nice big burst of CPU usage for a
> larger transition every minute or so :) Or something like that.
> 
> Thanks :)

1. edje .edcs are not the place to do cpu throttling and fps limiting
2. e has a performance dialog - lower the fps rate to lower cpu (and anim
quality as such)
3. reduce number of pixels modified in an edje anim will reduce speed
4. xrender is hit and miss - mostly miss
5. dont load new images in an edje if u can avoid it (modify an exiting bitmap)
6. the real problem is the cpu stepping algorithm in it being too agressive in
scaling up cpu to meet e's requests for cpu (which u can limit by lowering the
fps or amount to do er frame render)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to