Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Wed, 03 Mar 2004 03:51:13 +0100 Hallvar Helleseth <[EMAIL PROTECTED]> (Bbabbled: (B (B> This is actually one of the reasons I like DFB instead of just plain FB (B> (apart from hardware accell) - DFB has has multi-app core. While you (B> cannot run two evas apps on FB at the same time, this is very possible (B> with DFB, and IMHO quite important. The evas app started from initrd (B> never ever exists - which is quite nice actually!! just one single mode (B> switch. However you need to run XDirectFB if you want to use your X (B> apps. but that wont be a problem if your graphics card is supported (B> (XDirectFB does hardware GLX aswell! seems to be a bit faster than X at (B> it too! atleast with glxgears on a matrox g550. Although it needs some (B> work, but its being done!) (B (Bthe problem is for a LOT (probably most) people their hardware wont be (Baccelerated by dfb - so this isn't really an option. for boot ALL we need is 1 (Bapp in the fb (or dfb) and it can display until X can be run - then screen gets (Bmode switch. this will work for everyone. if dfb or fb are used on bootup can be (Bdetermined if dfb accelerates the card sufficiently. remember dfb also has lower (Brendering quality than evas in the fb - significantly. i could come up with (Bdemonstrations - bu (B (B> Entrance would be a very nice app to be the controlling master DFB app. (B> I've been experimenting a bit with that, but as I mentioned in a past (B> email: entrance wont let me log in.. but hey, thats not important is (B> it? just as long as it looks nice! ;) (B (Bhehehe - well it was working for me until today... now it stopped working (Bgrrr. haven't had time to hunt it down :( (B (B-- (B- Codito, ergo sum - "I code, therefore I am" -- (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $B7'<*(B - $Bhttp://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click (B___ (Benlightenment-users mailing list (B[EMAIL PROTECTED] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Wed, 2004-03-03 at 02:21, Carsten Haitzler wrote: > On Tue, 2 Mar 2004 13:44:54 -0600 Ibukun Olumuyiwa <[EMAIL PROTECTED]> > babbled: > > > On Sun 29 Feb 2004, Hallvar Helleseth wrote: > > > Hi! > > > > > > In my attempts to make edje work on DirectFB I did what Ive been > > > waiting a long time for: use Edje to get some sweeet looking bootup > > > graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). > > > > > > I'm hoping this will spark some interest in getting involved with > > > improving DirectFB - Evas/Ecore/Edje compatability/bindings. > > > > > > The screenshot is posted on the (under development, yet soon there) new > > > DirectFB website: > > > http://tolva.shacknet.nu/screenshots.php?id=20 > > > > > > Description of the screenshot: > > > A test app with smooth animations and effects running 2 seconds after > > > linux boots. It is started from an initrd with DirectFB, Evas, Ecore, > > > and Edje. The initrd image is roughly 3800kb. Graphics card is radeon > > > 9600XT with 256MB ram however it is slow since the directfb radeon > > > driver cant yet accelerate the argb surfaces that evas uses. Whenever > > > the radeon driver in DirectFB can render argb surfaces hardware > > > accelerated it will be LIGHTNING fast :) Oh did I mention the app itself > > > is 75 lines of code..! ;) altough the .eet file describing the graphics > > > and animation is 798 lines (created by The Rasterman - > > > www.rasterman.com) > > > > Awesome ... one piece in my evil plan for the Eunuchs LiveCD distribution > > manifests into reality... > > maybe this could be something to be merged with entrance. entranced is actually > started as the first thing in init -instead of just another init script item, > then entranced spawns the fb or dfb display client and talks to it messaging it > via IPC to indicate boot status. when boot is ready and x can be run it asks > fb/dfb child client to exit, starts x and then starts x client entrance > would come with a cmd-line status util so you'd fill your init scripts with > these for example: > > entrance_status -txt "Checking File System" -ico "/boot/icons/filesys.eet" > entrance_status -log "Error checking File System" > entrance_status -cmd "start-x" This is actually one of the reasons I like DFB instead of just plain FB (apart from hardware accell) - DFB has has multi-app core. While you cannot run two evas apps on FB at the same time, this is very possible with DFB, and IMHO quite important. The evas app started from initrd never ever exists - which is quite nice actually!! just one single mode switch. However you need to run XDirectFB if you want to use your X apps. but that wont be a problem if your graphics card is supported (XDirectFB does hardware GLX aswell! seems to be a bit faster than X at it too! atleast with glxgears on a matrox g550. Although it needs some work, but its being done!) Entrance would be a very nice app to be the controlling master DFB app. I've been experimenting a bit with that, but as I mentioned in a past email: entrance wont let me log in.. but hey, thats not important is it? just as long as it looks nice! ;) Hallvar --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ enlightenment-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Tue, 2 Mar 2004 13:44:54 -0600 Ibukun Olumuyiwa <[EMAIL PROTECTED]> (Bbabbled: (B (B> On Sun 29 Feb 2004, Hallvar Helleseth wrote: (B> > Hi! (B> > (B> > In my attempts to make edje work on DirectFB I did what Ive been (B> > waiting a long time for: use Edje to get some sweeet looking bootup (B> > graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). (B> > (B> > I'm hoping this will spark some interest in getting involved with (B> > improving DirectFB - Evas/Ecore/Edje compatability/bindings. (B> > (B> > The screenshot is posted on the (under development, yet soon there) new (B> > DirectFB website: (B> > http://tolva.shacknet.nu/screenshots.php?id=20 (B> > (B> > Description of the screenshot: (B> > A test app with smooth animations and effects running 2 seconds after (B> > linux boots. It is started from an initrd with DirectFB, Evas, Ecore, (B> > and Edje. The initrd image is roughly 3800kb. Graphics card is radeon (B> > 9600XT with 256MB ram however it is slow since the directfb radeon (B> > driver cant yet accelerate the argb surfaces that evas uses. Whenever (B> > the radeon driver in DirectFB can render argb surfaces hardware (B> > accelerated it will be LIGHTNING fast :) Oh did I mention the app itself (B> > is 75 lines of code..! ;) altough the .eet file describing the graphics (B> > and animation is 798 lines (created by The Rasterman - (B> > www.rasterman.com) (B> (B> Awesome ... one piece in my evil plan for the Eunuchs LiveCD distribution (B> manifests into reality... (B (Bmaybe this could be something to be merged with entrance. entranced is actually (Bstarted as the first thing in init -instead of just another init script item, (Bthen entranced spawns the fb or dfb display client and talks to it messaging it (Bvia IPC to indicate boot status. when boot is ready and x can be run it asks (Bfb/dfb child client to exit, starts x and then starts x client entrance (Bwould come with a cmd-line status util so you'd fill your init scripts with (Bthese for example: (B (Bentrance_status -txt "Checking File System" -ico "/boot/icons/filesys.eet" (Bentrance_status -log "Error checking File System" (Bentrance_status -cmd "start-x" (B (B:) (B (B (B-- (B- Codito, ergo sum - "I code, therefore I am" -- (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $B7'<*(B - $Bhttp://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click (B___ (Benlightenment-users mailing list (B[EMAIL PROTECTED] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Sun 29 Feb 2004, Hallvar Helleseth wrote: > Hi! > > In my attempts to make edje work on DirectFB I did what Ive been > waiting a long time for: use Edje to get some sweeet looking bootup > graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). > > I'm hoping this will spark some interest in getting involved with > improving DirectFB - Evas/Ecore/Edje compatability/bindings. > > The screenshot is posted on the (under development, yet soon there) new > DirectFB website: > http://tolva.shacknet.nu/screenshots.php?id=20 > > Description of the screenshot: > A test app with smooth animations and effects running 2 seconds after > linux boots. It is started from an initrd with DirectFB, Evas, Ecore, > and Edje. The initrd image is roughly 3800kb. Graphics card is radeon > 9600XT with 256MB ram however it is slow since the directfb radeon > driver cant yet accelerate the argb surfaces that evas uses. Whenever > the radeon driver in DirectFB can render argb surfaces hardware > accelerated it will be LIGHTNING fast :) Oh did I mention the app itself > is 75 lines of code..! ;) altough the .eet file describing the graphics > and animation is 798 lines (created by The Rasterman - > www.rasterman.com) Awesome ... one piece in my evil plan for the Eunuchs LiveCD distribution manifests into reality... -- Ibukun Olumuyiwa http://xcomputerman.com "Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding." - Proverbs 4:7 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ enlightenment-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Sun, 29 Feb 2004 05:22:05 +0100 Hallvar Helleseth <[EMAIL PROTECTED]> (Bbabbled: (B (B> On Sun, 2004-02-29 at 04:15, Carsten Haitzler wrote: (B> > On Sun, 29 Feb 2004 00:03:37 +0100 Hallvar Helleseth <[EMAIL PROTECTED]> (B> > babbled: (B> > (B> > > Hi! (B> > > (B> > > In my attempts to make edje work on DirectFB I did what Ive been (B> > > waiting a long time for: use Edje to get some sweeet looking bootup (B> > > graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). (B> > > (B> > > I'm hoping this will spark some interest in getting involved with (B> > > improving DirectFB - Evas/Ecore/Edje compatability/bindings. (B> > (B> > I'm all for that. so far we have X & FB support working ok. The FB support (B> > is not the best since its mouse and keyboard driving is very simplistic - (B> > but it does work. (B> Great! Don't know if you're going to like the quality of my code in (B> Ecore and Evas though! hehe.. Ive been promising a patch for a long (B> time.. haven't really touched much for a few months, until today. (B (Bok - well 2 comments before you send a patch. (B (B1. keep indentation and style the same. it's nicer to have it all 1 style. (B2. keep naming (function, parameter, variable etc.) conventions similar (B3. check your code builds and doesnt break other parts of ecore, etc. (B (B> DFB has good input support for many devices (B> (http://tolva.shacknet.nu/modules.php) and they are all modules. (B> > DFB is a good target. NB: the DFB rendering routines in Evas could (B> > definitely be optimised - especially the Text routines. :) (B> (B> Two major bugs: (I have no clue how to solve them, Ive tried everything (B> my skills allow me to) (B> (B> 1. Wierd stuff happends with text when not using --dfb:no-hardware... I have (B> NO idea whats going on.. tested on Matrox G550 and radeon 9600XT. (B (Bi wouldnt know either! :) again - evas's dfb enging could do with some work :) (Bi might guess the text is suffering from pixel alignment problems to do with (Bassumed byte/row alignment etc. b ut again - not sure. (B (B> 2. and the other is the alphablending which you pointed out a long time (B> ago. I believe when using Matrox G550 the alphablending is okey. Im (B> having a hard time figuring out who to blame for it... DirectFB or Evas? (B> or both? (B (Bevas's alpha blending is fine. dfb's destination alpha code has bugs. i cangt (Bactually remember the details anymore - but i defnitnely narrowed it down to (Bfb either simply not implimenting a feature at all, or implimenting it (Bincorrectly. (B (B> Im putting up a screenshot showing both bugs: (B> http://tolva.shacknet.nu/screenshots.php?id=21 (B> (B> > BTW - your app will probably run significantly faster with evas's FB driver (B> > and ecore's FB support. :) (B> I don't think so when the DirectFB radeon driver is complete! Matrox (B> G550 is also by far faster than fb and X, beats them by a whole lot! (B (Baaah! but it ISNT complete! :) that's the thing - and what about all the (Bother cards with only half dont or no drivers? evaqs fb will be significantly (Bfaster and better quality in those situations. (B (Bpersonalyl i think this shoudl be the job eventually of ecore_evas - (Bselecting the best engine for the job (fb, dfb, x etc.) based on 1. what's (Bavailable and 2. speed. there should be a speed texting suite to determine (Bwhich to use (and maybe a speed vs. quality tester) and then it should make a (Brecommendation to a user "select engine X" and give performance and quality (Bnumbers. (B (B> > also rendering quality will be much higher than DFB. also (B> > the advantage will be that you wont need DFb either so the initrd will be (B> > smaller :) (B> without directfb the initrd will be 308kb (libdirectfb) + 116kb (dfb (B> modules) = 424kb lighter... which can be shaved even more with some (B> special compile-time options. and the modules include jpeg and png (B> imageproviders that aren't really necessary as evas does its own thing.. (B (Bthats fairly light - still a bit lighter :) (B (B> > but yes - the important thing is that the same app with (almost) no changes (B> > will run on dfb, x (x software and gl - maybe xrender one day when xrender (B> > stops being about 30 times slower than software rendering), fb and in future (B> > other target displays. (B> Evas/Ecore/Edje make up for one hell of a team! cheers! (B (Bthey aren't complete and for now they arent a competitor to gtk, qt and some (Bthings - but theres potential. :) (B (B> I'm including patches for what Ive done so far.. its not meant for being (B> imported into official cvs archives but If someone with more time wants (B> to help out it would be really very nice! hopefully it will compile (B> without major complications.. I think alot of stuff needs to be (B> rewritten, I been mostly interested in getting it to work. (B> (B> hmm.. tried this but it does
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Sun, 2004-02-29 at 04:15, Carsten Haitzler wrote: > On Sun, 29 Feb 2004 00:03:37 +0100 Hallvar Helleseth <[EMAIL PROTECTED]> > babbled: > > > Hi! > > > > In my attempts to make edje work on DirectFB I did what Ive been > > waiting a long time for: use Edje to get some sweeet looking bootup > > graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). > > > > I'm hoping this will spark some interest in getting involved with > > improving DirectFB - Evas/Ecore/Edje compatability/bindings. > > I'm all for that. so far we have X & FB support working ok. The FB support is > not the best since its mouse and keyboard driving is very simplistic - but it > does work. Great! Don't know if you're going to like the quality of my code in Ecore and Evas though! hehe.. Ive been promising a patch for a long time.. haven't really touched much for a few months, until today. DFB has good input support for many devices (http://tolva.shacknet.nu/modules.php) and they are all modules. > DFB is a good target. NB: the DFB rendering routines in Evas could > definitely be optimised - especially the Text routines. :) Two major bugs: (I have no clue how to solve them, Ive tried everything my skills allow me to) 1. Wierd stuff happends with text when not using --dfb:no-hardware... I have NO idea whats going on.. tested on Matrox G550 and radeon 9600XT. 2. and the other is the alphablending which you pointed out a long time ago. I believe when using Matrox G550 the alphablending is okey. Im having a hard time figuring out who to blame for it... DirectFB or Evas? or both? Im putting up a screenshot showing both bugs: http://tolva.shacknet.nu/screenshots.php?id=21 > BTW - your app will probably run significantly faster with evas's FB driver and > ecore's FB support. :) I don't think so when the DirectFB radeon driver is complete! Matrox G550 is also by far faster than fb and X, beats them by a whole lot! > also rendering quality will be much higher than DFB. also > the advantage will be that you wont need DFb either so the initrd will be > smaller :) without directfb the initrd will be 308kb (libdirectfb) + 116kb (dfb modules) = 424kb lighter... which can be shaved even more with some special compile-time options. and the modules include jpeg and png imageproviders that aren't really necessary as evas does its own thing.. > but yes - the important thing is that the same app with (almost) no changes will > run on dfb, x (x software and gl - maybe xrender one day when xrender stops > being about 30 times slower than software rendering), fb and in future other > target displays. Evas/Ecore/Edje make up for one hell of a team! cheers! I'm including patches for what Ive done so far.. its not meant for being imported into official cvs archives but If someone with more time wants to help out it would be really very nice! hopefully it will compile without major complications.. I think alot of stuff needs to be rewritten, I been mostly interested in getting it to work. hmm.. tried this but it doesn't include new files.. how can I do that? cvs diff -bBNau . > ../ecore-dfb.patch need to sleep! sending patch tomorrow :) Hallvar --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ enlightenment-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Sweet graphics/animation 2 seconds after linux boots!
On Sun, 29 Feb 2004 00:03:37 +0100 Hallvar Helleseth <[EMAIL PROTECTED]> (Bbabbled: (B (B> Hi! (B> (B> In my attempts to make edje work on DirectFB I did what Ive been (B> waiting a long time for: use Edje to get some sweeet looking bootup (B> graphics 2 seconds after linux boots up (yes, that's actually 2 seconds!). (B> (B> I'm hoping this will spark some interest in getting involved with (B> improving DirectFB - Evas/Ecore/Edje compatability/bindings. (B (BI'm all for that. so far we have X & FB support working ok. The FB support is (Bnot the best since its mouse and keyboard driving is very simplistic - but it (Bdoes work. DFB is a good target. NB: the DFB rendering routines in Evas could (Bdefinitely be optimised - especially the Text routines. :) (B (BBTW - your app will probably run significantly faster with evas's FB driver and (Becore's FB support. :) also rendering quality will be much higher than DFB. also (Bthe advantage will be that you wont need DFb either so the initrd will be (Bsmaller :) (B (Bbut yes - the important thing is that the same app with (almost) no changes will (Brun on dfb, x (x software and gl - maybe xrender one day when xrender stops (Bbeing about 30 times slower than software rendering), fb and in future other (Btarget displays. (B (B> The screenshot is posted on the (under development, yet soon there) new (B> DirectFB website: (B> http://tolva.shacknet.nu/screenshots.php?id=20 (B> (B> Description of the screenshot: (B> A test app with smooth animations and effects running 2 seconds after (B> linux boots. It is started from an initrd with DirectFB, Evas, Ecore, (B> and Edje. The initrd image is roughly 3800kb. Graphics card is radeon (B> 9600XT with 256MB ram however it is slow since the directfb radeon (B> driver cant yet accelerate the argb surfaces that evas uses. Whenever (B> the radeon driver in DirectFB can render argb surfaces hardware (B> accelerated it will be LIGHTNING fast :) Oh did I mention the app itself (B> is 75 lines of code..! ;) altough the .eet file describing the graphics (B> and animation is 798 lines (created by The Rasterman - (B> www.rasterman.com) (B> (B> Be nice if the site goes offline.. I have an unstable wireless link.. (B> (B> Hallvar Helleseth (B> (B> (B> (B> --- (B> SF.Net is sponsored by: Speed Start Your Linux Apps Now. (B> Build and deploy apps & Web services for Linux with (B> a free DVD software kit from IBM. Click Now! (B> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click (B> ___ (B> enlightenment-users mailing list (B> [EMAIL PROTECTED] (B> https://lists.sourceforge.net/lists/listinfo/enlightenment-users (B (B (B-- (B- Codito, ergo sum - "I code, therefore I am" -- (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $B7'<*(B - $Bhttp://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click (B___ (Benlightenment-users mailing list (B[EMAIL PROTECTED] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users