I have a PIII 800Mhz and a Matrox G200, and when i play mpeg2 files  
with xine for X11, I get about 30% CPU usage, but when I play them  
with xine for DirectFB, I get about 60% CPU usage. Is the Matrox  
driver for X11 that much faster, or have I likely done  something  
wrong? My output from df_dok indicates that the hardware acceleration  
is working:

      =======================|  DirectFB 1.1.0  |=======================
           (c) 2001-2007  The DirectFB Organization (directfb.org)
           (c) 2000-2004  Convergence (integrated media) GmbH
         ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-06-14 11:42) [ DEBUG ]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 12166)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 12169)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(!) [Main Thread       0.000] (12163) *** Assumption [core != NULL]  
failed *** [core.c:441 in dfb_core_create_palette()]
(!) [Main Thread       0.000] (12163) *** Assumption [core != NULL]  
failed *** [core.c:598 in dfb_core_shmpool()]
(*) DirectFB/Graphics: Matrox G200 0.7 (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 with 256x256 in 16bit mode... (16bit)

Anti-aliased Text                              3.008 secs (* 302.792  
KChars/sec)
Anti-aliased Text (blend)                      3.009 secs (* 302.691  
KChars/sec)
Fill Rectangle                                 3.031 secs (* 248.651  
MPixel/sec)
Fill Rectangle (blend)                         3.026 secs (*  64.972  
MPixel/sec)
Fill Rectangles [10]                           3.163 secs (* 248.634  
MPixel/sec)
Fill Rectangles [10] (blend)                   4.034 secs (*  64.983  
MPixel/sec)
Fill Triangles                                 3.013 secs (* 225.123  
MPixel/sec)
Fill Triangles (blend)                         3.006 secs (*  64.315  
MPixel/sec)
Draw Rectangle                                 3.002 secs (*  29.680  
KRects/sec)
Draw Rectangle (blend)                         3.004 secs (*  13.581  
KRects/sec)
Draw Lines [10]                                3.006 secs (* 140.385  
KLines/sec)
Draw Lines [10] (blend)                        3.007 secs (*  64.516  
KLines/sec)
Fill Spans                                     3.014 secs (* 228.310  
MPixel/sec)
Fill Spans (blend)                             3.018 secs (*  58.630  
MPixel/sec)
Blit                                           3.018 secs (* 130.290  
MPixel/sec)
Blit colorkeyed                                3.018 secs (* 141.147  
MPixel/sec)
Blit destination colorkeyed                    3.518 secs (    3.725  
MPixel/sec)
Blit with format conversion                    3.032 secs (*  54.036  
MPixel/sec)
Blit with colorizing                           3.092 secs (*  59.346  
MPixel/sec)
Blit from 32bit (blend)                        3.035 secs (*  49.664  
MPixel/sec)
Blit from 32bit (blend) with colorizing        3.034 secs (*  49.681  
MPixel/sec)
Stretch Blit                                   3.048 secs (*  60.096  
MPixel/sec)
Stretch Blit colorkeyed                        3.104 secs (*  60.380  
MPixel/sec)


Johan Moe

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to