"Ville Syrj�l�" <[EMAIL PROTECTED]> wrote:
>On Wed, Oct 01, 2003 at 09:03:28PM +0200, Duncan Webb wrote:
>> "Ville Syrj�l�" <[EMAIL PROTECTED]> wrote:
>>
>> Here's my matroxfb G400 clock patch if someone want's to try it. It's
>> against 2.4.22.
>>
>> I don't seem to be able to build matroxfb_DAC1064.c after applying the
>> patch. I've scanned the code and the reason is not obvious and think that
it
>> is something to do with one of my .config setting. The error is:
>>
>> matroxfb_DAC1064.c: In function `g400_preinit':
>> matroxfb_DAC1064.c:982: warning: passing arg 1 of `DAC1064_calcclock'
makes
>> pointer from integer without a cast
>> matroxfb_DAC1064.c:982: warning: passing arg 3 of `DAC1064_calcclock'
makes
>> integer from pointer without a cast
>> matroxfb_DAC1064.c:982: error: too few arguments to function
>> `DAC1064_calcclock'
>
>Oops. I didn't test it with CONFIG_FB_MATROX_MULTIHEAD. I've attached a
>fixed patch. Let me know if it works...

The patch has worked fine and here are my results before and after
installing the kernel. The machine is a PII 350MHz and a G400 DualHead MAX

Benchmarking with 256x256 in 16bit mode... (16bit)

# Without patch applied
Anti-aliased Text                              3.003 secs (  481.918
KChars/sec)
Anti-aliased Text (blend)                      3.006 secs (  487.425
KChars/sec)
Fill Rectangles                                3.005 secs (  610.651
MPixel/sec)
Fill Rectangles (blend)                        3.035 secs (  159.791
MPixel/sec)
Fill Triangles                                 3.005 secs (  522.325
MPixel/sec)
Fill Triangles (blend)                         3.017 secs (  157.486
MPixel/sec)
Draw Rectangles                                3.001 secs (   46.484
KRects/sec)
Draw Rectangles (blend)                        3.001 secs (   21.092
KRects/sec)
Draw Lines                                     3.002 secs (  235.842
KLines/sec)
Draw Lines (blend)                             3.004 secs (  106.191
KLines/sec)
Blit                                           3.013 secs (  300.164
MPixel/sec)
Blit colorkeyed                                3.020 secs (  303.809
MPixel/sec)
Blit with format conversion                    3.046 secs (  135.547
MPixel/sec)
Blit from 32bit (alphachannel blend)           3.051 secs (  120.288
MPixel/sec)
Blit from 8bit palette                         3.081 secs (   14.889
MPixel/sec)
Blit from 8bit palette (alphachannel blend)    4.023 secs (    3.258
MPixel/sec)
Stretch Blit                                   3.262 secs (  149.028
MPixel/sec)
Stretch Blit colorkeyed                        3.613 secs (  134.550
MPixel/sec)

# With patch applied
Anti-aliased Text                              3.005 secs (  485.191
KChars/sec)
Anti-aliased Text (blend)                      3.004 secs (  488.948
KChars/sec)
Fill Rectangles                                3.003 secs (  611.058
MPixel/sec)
Fill Rectangles (blend)                        3.030 secs (  160.054
MPixel/sec)
Fill Triangles                                 3.001 secs (  518.653
MPixel/sec)
Fill Triangles (blend)                         3.008 secs (  156.868
MPixel/sec)
Draw Rectangles                                3.002 secs (   46.435
KRects/sec)
Draw Rectangles (blend)                        3.004 secs (   20.938
KRects/sec)
Draw Lines                                     3.002 secs (  228.514
KLines/sec)
Draw Lines (blend)                             3.006 secs (  106.121
KLines/sec)
Blit                                           3.013 secs (  300.164
MPixel/sec)
Blit colorkeyed                                3.057 secs (  186.510
MPixel/sec)
Blit with format conversion                    3.015 secs (   69.557
MPixel/sec)
Blit from 32bit (alphachannel blend)           3.027 secs (   62.786
MPixel/sec)
Blit from 8bit palette                         3.569 secs (    7.345
MPixel/sec)
Blit from 8bit palette (alphachannel blend)    3.404 secs (    1.925
MPixel/sec)
Stretch Blit                                   3.263 secs (  148.982
MPixel/sec)
Stretch Blit colorkeyed                        3.258 secs (  149.211
MPixel/sec)

Sorry but the results look similar but I could have messed something up
alone the way, so I shall rebuild and reinstall the kernel and the CVS
DirectFB from scratch. With the fusion patch and the the G400 clock patch.

Something that I didn't quite get was the addition of matrox:init to the
kernel, it changed the display size back to 80x25. Anyway the lilo config
line is:

    append="hdd=ide-scsi video=matrox:init:vesa:0x11A,mtrr,ywrap"

I haven't applied the 32MB patch, well I had and then took it out because
the screen went funny after scrolling a few pages in either direction.

Duncan




-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to