Hi guys,
Thanks to everyones help I now have a working framebuffer. My problem
was that fbcon needs to be loaded before the viafb module (unlike the
via driver, which works better with it loaded afterwards). I do get the
forementioned white screen just after switching, but I'm not too worried
about that at the moment.
I can't get any joy with the built in version, all I get is a kernel
type panic. Which is a shame cos I would like a graphical boot, but it
doesnt matter for now, as I can concentrate on the application.
My last question is I've used df_dok to benchmark both the
framebuffers using this device, and attached is the output. I will try
checking out the cvs version or directfb tonight and see if that changes
things. I wasnt aware that the framebuffer driver would make alot of
difference to the speed and whats accelerated. The only significant
changes are
(offical via driver)
Blit 3.003 secs (* 322.987 MPixel/sec)
Blit colorkeyed 3.002 secs (* 323.095 MPixel/sec)
Blit destination colorkeyed 3.016 secs (* 189.046 MPixel/sec)
(directfb cvs driver)
Blit 3.032 secs (* 196.694 MPixel/sec)
Blit colorkeyed 3.081 secs ( 12.762 MPixel/sec)
Blit destination colorkeyed 3.417 secs ( 13.425 MPixel/sec)
Of course I really want it working properly and as fast as possible (and
the moon on a stick...).
LiaB
Mark Adams wrote:
I use kernel 2.6.13 with viafb compiled as a module. It doesn't seem to
like being built in or started via the kernel arguments.
I use viafb built in to the kernel with no problems (but with 2.6.11;
haven't tried anything later). I don't have any other framebuffer
drivers in the kernel.
Mark
Benchmarking with 256x256 in 24bit mode... (32bit)
Anti-aliased Text 3.000 secs (* 345.600 KChars/sec)
Anti-aliased Text (blend) 3.009 secs (* 345.762 KChars/sec)
Fill Rectangle 3.009 secs (* 561.923 MPixel/sec)
Fill Rectangle (blend) 3.013 secs (* 293.639 MPixel/sec)
Fill Rectangles [10] 3.082 secs (* 552.866 MPixel/sec)
Fill Rectangles [10] (blend) 3.124 secs (* 293.695 MPixel/sec)
Fill Triangles 3.008 secs (* 393.259 MPixel/sec)
Fill Triangles (blend) 3.002 secs (* 295.807 MPixel/sec)
Draw Rectangle 3.000 secs (* 91.400 KRects/sec)
Draw Rectangle (blend) 3.000 secs (* 38.966 KRects/sec)
Draw Lines [10] 3.001 secs (* 340.886 KLines/sec)
Draw Lines [10] (blend) 3.001 secs (* 172.609 KLines/sec)
Fill Spans 3.006 secs (* 418.593 MPixel/sec)
Fill Spans (blend) 3.043 secs (* 122.758 MPixel/sec)
Blit 3.003 secs (* 322.987 MPixel/sec)
Blit colorkeyed 3.002 secs (* 323.095 MPixel/sec)
Blit destination colorkeyed 3.016 secs (* 189.046 MPixel/sec)
Blit with format conversion 3.005 secs (* 257.346 MPixel/sec)
Blit with colorizing 3.023 secs (* 197.280 MPixel/sec)
Blit from 32bit (blend) 3.005 secs (* 167.929 MPixel/sec)
Blit from 32bit (blend) with colorizing 3.002 secs (* 168.097 MPixel/sec)
Stretch Blit 3.017 secs (* 253.029 MPixel/sec)
Stretch Blit colorkeyed 4.446 secs ( 14.590 MPixel/sec)
Benchmarking with 256x256 in 24bit mode... (32bit)
Anti-aliased Text 3.006 secs (* 346.107 KChars/sec)
Anti-aliased Text (blend) 3.005 secs (* 346.222 KChars/sec)
Fill Rectangle 3.005 secs (* 527.777 MPixel/sec)
Fill Rectangle (blend) 3.020 secs (* 279.938 MPixel/sec)
Fill Rectangles [10] 3.033 secs (* 518.583 MPixel/sec)
Fill Rectangles [10] (blend) 3.044 secs (* 279.884 MPixel/sec)
Fill Triangles 3.006 secs (* 394.611 MPixel/sec)
Fill Triangles (blend) 3.000 secs (* 281.804 MPixel/sec)
Draw Rectangle 3.000 secs (* 86.900 KRects/sec)
Draw Rectangle (blend) 3.002 secs (* 37.308 KRects/sec)
Draw Lines [10] 3.000 secs (* 323.000 KLines/sec)
Draw Lines [10] (blend) 3.000 secs (* 165.333 KLines/sec)
Fill Spans 3.004 secs (* 416.690 MPixel/sec)
Fill Spans (blend) 3.015 secs (* 121.725 MPixel/sec)
Blit 3.032 secs (* 196.694 MPixel/sec)
Blit colorkeyed 3.081 secs ( 12.762 MPixel/sec)
Blit destination colorkeyed 3.417 secs ( 13.425 MPixel/sec)
Blit with format conversion 3.006 secs (* 255.080 MPixel/sec)
Blit with colorizing 3.030 secs (* 196.824 MPixel/sec)
Blit from 32bit (blend) 3.018 secs (* 162.862 MPixel/sec)
Blit from 32bit (blend) with colorizing 3.017 secs (* 162.916 MPixel/sec)
Stretch Blit 3.007 secs (* 252.245 MPixel/sec)
Stretch Blit colorkeyed 5.171 secs ( 12.544 MPixel/sec)
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users