On Thu, Sep 3, 2009 at 9:10 AM, Robert Feld <[email protected]> wrote:
> Hello, > > we are currently developing a handheld device that will display several > curve plotters with realtime data. > We chose FLTK on top of DirectFB as software plattform and an AVR32 > (AP7000) with an 800x480 (WVGA) Display. > > Unfortunately the drawing performance on this platform is not fully > satisfying. > (see for Benchmarks with df_dok below) > > Therefore we consider to change the Processor to a AT91SAM9263. > > My questions therefore: > 1) Is there a graphic driver for the accelerator unit of the AT91SAM9263? > 2) Has anybody made benchmarks (df_dok) on this Processor (with/without > Acceleration) ? > 3) Do you have benchmark results for similar processors? Is there a > database? > > Here are my benchmark results (AVR32): > > > =======================| DirectFB 1.0.1 |======================= > (c) 2001-2007 The DirectFB Organization (directfb.org) > (c) 2000-2004 Convergence (integrated media) GmbH > ------------------------------------------------------------ > > (*) DirectFB/Core: Single Application Core. (2009-08-12 09:56) [ DEBUG ][ > TRACE ] > (*) DirectFB/Core: doing sync()... > (!) Direct/Modules: Could not open module directory > `/usr/lib/directfb-1.0-0/gfxdrivers'! > --> No such file or directory > (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) > (*) DirectFB/Core/WM: Default 0.3 (directfb.org) > (*) Direct/Interface: Loaded 'PNG' implementation of > 'IDirectFBImageProvider'. > (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. > (*) Direct/Interface: Using 'GIF' implementation of > 'IDirectFBImageProvider'. > > Benchmarking 256x256 on 800x464 RGB24 (24bit)... > > Anti-aliased Text 3.363 secs ( 9.634 > KChars/sec) [100.0%] > Anti-aliased Text (blend) 3.967 secs ( 2.722 > KChars/sec) [100.2%] > Fill Rectangle 3.411 secs ( 9.606 > MPixel/sec) [100.0%] > Fill Rectangle (blend) 8.785 secs ( 0.745 > MPixel/sec) [100.0%] > Fill Rectangles [10] 6.683 secs ( 9.806 > MPixel/sec) [100.1%] > Fill Rectangles [10] (blend) 87.664 secs ( 0.747 > MPixel/sec) [100.0%] > Fill Triangles 3.193 secs ( 7.183 > MPixel/sec) [100.0%] > Fill Triangles (blend) 4.591 secs ( 0.713 > MPixel/sec) [100.0%] > Draw Rectangle 3.098 secs ( 0.903 > KRects/sec) [100.6%] > Draw Rectangle (blend) 3.524 secs ( 0.170 > KRects/sec) [100.0%] > Draw Lines [10] 3.026 secs ( 3.304 > KLines/sec) [100.0%] > Draw Lines [10] (blend) 3.863 secs ( 0.776 > KLines/sec) [100.0%] > Fill Spans 3.151 secs ( 8.319 > MPixel/sec) [100.0%] > Fill Spans (blend) 8.927 secs ( 0.734 > MPixel/sec) [100.0%] > Blit 3.118 secs ( 10.509 > MPixel/sec) [100.3%] > Blit 180 3.108 secs ( 10.543 > MPixel/sec) [100.3%] > Blit colorkeyed 3.921 secs ( 6.685 > MPixel/sec) [100.0%] > Blit destination colorkeyed 3.655 secs ( 3.586 > MPixel/sec) [100.2%] > Blit with format conversion 5.728 secs ( 2.288 > MPixel/sec) [100.1%] > Blit with colorizing 3.789 secs ( 1.729 > MPixel/sec) [100.0%] > Blit from 32bit (blend) 11.793 secs ( 0.555 > MPixel/sec) [100.0%] > Blit from 32bit (blend) with colorizing 12.839 secs ( 0.510 > MPixel/sec) [100.0%] > Stretch Blit 4.866 secs ( 6.821 > MPixel/sec) [100.2%] > Stretch Blit colorkeyed 5.071 secs ( 6.545 > MPixel/sec) [100.0%] > > > Kind regards, > Robert > > -- > Robert Feld, Dipl.-Ing. > Research and Development > > Corscience GmbH & Co. KG > Henkestr. 91 > D-91052 Erlangen > Germany > > Tel: +49 9131 977986-511 > Fax: +49 9131 977986-59 > e-mail: [email protected] > Internet: www.corscience.de > ---------------------------------------- > Corscience GmbH & Co. KG > Sitz der Gesellschaft/Place of business: Erlangen > Amtsgericht/Local court: Fürth > Handelsregisternummer/Commercial Register No.: HRA 7510 > Geschäftsführer/Managing director: Prof. Dr. Armin Bolz, Dr. Karl-Andreas > Feldhahn, Dipl.-Volksw. Marc Griefahn > > CONFIDENTIALITY: This e-mail and any attachments are confidential and may > also be privileged. If received in error, please do not disclose the > contents to anyone, but notify us immediately by return e-mail and delete > this e-mail and any attachments from your system. Thank you. > > > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > I'm running on a Marvell PXA310 processor at 624 Mhz and 208 Mhz system bus which is an Intel XScale derivative (and further derived up an ARM architecture). Below is the software rendering results. I would look into the architecture on your processor, as on my CPU the main bus carries all data from memory to GCU to LCD to drive access, i/o. I found that going from 640x480 output on the LCD to 320x240 produced dramatic results in my frame rates due to there being 4 times less data being sent across the bus. Also the LCD output on the PXA will support 25 bit RBGT format, but we also had to reduce the size to 16 bit RGB. This provided a great speed boost benefit as well to the CPU rendering rates. What could be happening is that the bus is wasting a lot of the CPU time transporting the data from the CPU to the GCU to LCD output, or combination there of. Despite the architecture being 32 bit and 208 mhz (theoretical bandwidth of 793 MB/s) we found that 640x480 @ 30 fps @ 24bit depth should utilize about 210.95 MB/s or 27% of the bus bandwidth where as 320x240 @ 30 fps @ 16 bit depth should utilize about 35.16 MB/s or a little under 5% of the bus bandwidth. A dramatic difference as the CPU doesn't need to wait on memory access or other timing issues related to the bus being occupied transporting frames. Anti-aliased Text 3.015 secs ( 42.985 KChars/sec) Anti-aliased Text (blend) 3.106 secs ( 13.908 KChars/sec) Fill Rectangle 3.036 secs ( 153.262 MPixel/sec) Fill Rectangle (blend) 4.454 secs ( 2.942 MPixel/sec) Fill Rectangles [10] 3.058 secs ( 171.448 MPixel/sec) Fill Rectangles [10] (blend) 22.455 secs ( 2.918 MPixel/sec) Fill Triangles 3.034 secs ( 76.681 MPixel/sec) Fill Triangles (blend) 3.419 secs ( 2.875 MPixel/sec) Draw Rectangle 3.007 secs ( 4.389 KRects/sec) Draw Rectangle (blend) 3.019 secs ( 1.059 KRects/sec) Draw Lines [10] 3.033 secs ( 16.815 KLines/sec) Draw Lines [10] (blend) 3.057 secs ( 4.579 KLines/sec) Fill Spans 3.019 secs ( 117.222 MPixel/sec) Fill Spans (blend) 4.532 secs ( 2.892 MPixel/sec) Blit 3.083 secs ( 55.268 MPixel/sec) Blit colorkeyed 3.053 secs ( 23.612 MPixel/sec) Blit destination colorkeyed 3.854 secs ( 5.101 MPixel/sec) Blit with format conversion 3.925 secs ( 6.678 MPixel/sec) Blit with colorizing 3.860 secs ( 5.093 MPixel/sec) Blit from 32bit (blend) 5.625 secs ( 2.330 MPixel/sec) Blit from 32bit (blend) with colorizing 3.680 secs ( 1.780 MPixel/sec) Stretch Blit 3.379 secs ( 42.781 MPixel/sec) Stretch Blit colorkeyed 3.738 secs ( 31.673 MPixel/sec) I know this doesn't answer your question about a specific driver for the ATMEL chip, but it may help increase your frame rate. I hope this is helpful to you. Ian
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
