[MPlayer-users] New tdfxfb driver

Arpi arpi at thot.banki.hu
Tue Apr 9 15:01:01 CEST 2002


Hi,

> be found at:
> 
> http://pkl.net/~mark/vo_tdfxfb.c

nice! it works fine with voodoo-3 3000 too!

test machine: single celeron 300 at 450, in old abit bx6 board (intel 440bx)
voodoo3 3000 agp, at 640x480x32bpp, tdfxfb from 2.4.18:
sound: sb 16 isa pnp (using OSS driver of kernel)

mplayer -vo tdfxfb Coyote.Ugly.Sample-highbitrate-atmos.avi -benchmark
-quiet -aop list=resample:fout=44100 -vc XXX [-dr|-noslices]


VIDEO:  [DIV3]  640x480  24bpp  25.00 fps  1867.1 kbps (227.9 kbyte/s)

ffdivx (YV12 copy)
BENCHMARKs: VC:  17.680s VO:  25.980s A:   2.056s Sys:  30.740s =   76.455s
BENCHMARK%: VC: 23.1245% VO: 33.9803% A:  2.6885% Sys: 40.2067% = 100.0000%

ffdivx (YV12 DR (fake DR - just copy by slices)):
BENCHMARKs: VC:  39.859s VO:   3.652s A:   2.154s Sys:  30.790s =   76.455s
BENCHMARK%: VC: 52.1338% VO:  4.7769% A:  2.8179% Sys: 40.2714% = 100.0000%

vfw (yuy2 copy):
BENCHMARKs: VC:  39.697s VO:   8.665s A:   2.069s Sys:  26.038s =   76.469s
BENCHMARK%: VC: 51.9127% VO: 11.3315% A:  2.7051% Sys: 34.0507% = 100.0000%

vfw (yuy2 DR)  jerky!
BENCHMARKs: VC:  32.523s VO:   3.643s A:   2.090s Sys:  38.161s =   76.417s
BENCHMARK%: VC: 42.5602% VO:  4.7677% A:  2.7347% Sys: 49.9374% = 100.0000%

dshow (yuy2 copy)
BENCHMARKs: VC:  32.034s VO:   8.651s A:   2.061s Sys:  33.688s =   76.434s
BENCHMARK%: VC: 41.9109% VO: 11.3187% A:  2.6959% Sys: 44.0745% = 100.0000%

dshow (yuy2 DR)
BENCHMARKs: VC:  34.493s VO:   3.864s A:   2.351s Sys:  36.755s =   77.464s
BENCHMARK%: VC: 44.5279% VO:  4.9883% A:  3.0354% Sys: 47.4484% = 100.0000%

odivx (yv12 copy)  buggy (horizontal stripes!)
BENCHMARKs: VC:  26.527s VO:  26.961s A:   2.063s Sys:  20.944s =   76.495s
BENCHMARK%: VC: 34.6783% VO: 35.2452% A:  2.6967% Sys: 27.3799% = 100.0000%

divx4 (yuy2 copy)  buggy (horizontal stripes!)
BENCHMARKs: VC:  30.406s VO:   8.804s A:   2.063s Sys:  35.153s =   76.426s
BENCHMARK%: VC: 39.7855% VO: 11.5195% A:  2.6993% Sys: 45.9957% = 100.0000%

divx4 (yuy2 DR)  buggy (horizontal stripes!)
BENCHMARKs: VC:  29.532s VO:   3.645s A:   2.129s Sys:  41.093s =   76.400s
BENCHMARK%: VC: 38.6549% VO:  4.7705% A:  2.7870% Sys: 53.7876% = 100.0000%

comments:
- displaying yuy2 seems to be much faster, than yv12 (~5.2 sec vs. ~23 sec)
it's strange, especially as yv12 needs less memory transfer!
yuy2 may be faster due to one big linear copy, while yv12 copies many small
lines... maybe separating the 3 plane memcpy loops may help?

- latest divx4linux (divx4linux-20011025.tgz) has horizontal stride bug
decoding divx3 content, at least triggered by this file

best decoding performance: ffdivx
best total performance: divx4+dr

hey, voodoo3 + tdfxfb really rocks, ~ 7% cpu usage for full 640x480 yuy2
blit is really nice for such slow system!


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list