DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: I have Video
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: I have Video



I dont know what those benchmark results mean.  I have attached the results to the email below.  When running in benchmark mode, the video does look nice, except that it is fast :)

>Make sure you have write-combining enabled for the video memory. Matroxfb
>should do this automagically for you. You can check this from the
>output of 'fbset -i' and 'cat /proc/mtrr

[root@htpc root]# fbset -i 

mode "640x480-60"
    # D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
    geometry 640 480 640 26214 8
    timings 39721 40 24 32 11 96 2
    accel true
    rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
    Name        : MATROX
    Address     : 0xd4000000
    Size        : 16777216
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 640
    MMIO Address: 0xd6000000
    MMIO Size   : 16384
    Accelerator : Matrox G400

[root@htpc root]# cat /proc/mtrr 
reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
reg01: base=0x20000000 ( 512MB), size= 256MB: write-back, count=1
reg02: base=0xd4000000 (3392MB), size=  32MB: write-combining, count=2
reg05: base=0xf0000000 (3840MB), size=  64MB: write-combining, count=1




>Also you can try with 'mplayer -benchmark -nosound ...'. The video should
>be too fast now. You also add -frames N option. Replave N with some
>reasonable number of frames eg. 1000. When it has played the N frames you
>will get the benchmark results.
>Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [dfbmga] 720x480 => 854x480 Planar YV12  [fs]
vo_dfbmga: Video surface 720x480 YV12
vo_dfbmga: Field parity set to: Don't care
aspect: Warning: no suitable new res found!
vo_dfbmga: CRTC2 using triple buffering
vo_dfbmga: CRTC2 surface 720x480 YV12
vo_dfbmga: Sub-picture layer using triple buffering
vo_dfbmga: Sub-picture surface 720x480 ALUT44 (Sub-picture layer)
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
V:   0.7   16   0%  0%  0.0% 0 0 0%
demux_mpg: 24fps progressive NTSC content detected, switching framerate.
V:  41.9  1004  17%  9%  0.0% 0 0 0%

BENCHMARKs: VC:   7.395s VO:   3.887s A:   0.000s Sys:   0.617s =   11.900s
BENCHMARK%: VC: 62.1439% VO: 32.6688% A:  0.0000% Sys:  5.1872% = 100.0000%
(!) [ 4016:    0.000] --> Caught signal 11 (at 0x95, invalid address) <--



Home | Main Index | Thread Index


directfb.org / Development / Old Archives