[MPlayer-dev-eng] vo_gl PBO patch ..

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Fri May 2 22:13:01 CEST 2008


Hi Sven Gothel!

 On 2008.04.29 at 13:44:32 -0600, Sven Gothel wrote next:

> 
> version 4 .. reflecting Reimar's suggestions.
> 

What driver are you using? What kind of benchmark showed performance
increase?
Because with ati X1900 and fglrx driver rendering is about 50% slower
both with pbodma=1 and pbodma=2 options (compared to pbodma=0 or
unpatched mplayer). That's according to mplayer stats, which sometimes
doesn't show the right things, but I guess you can believe them in quick
and dirty test.

I.e. when playing 30-40mbit/s 1080p mpeg2 scene on core 2 duo @ 3.15 ghz
with -vf-clr -vo gl:yuv=2, a few seconds after seeking:
A: 255.7 V: 255.7 A-V:  0.000 ct:  0.191 657/657 22%  7%  1.2% 0 0 49%
(cpu usage in vo is at 7-8%)
same scene with -vo gl:yuv=2:pbodma=1:
A: 249.3 V: 249.3 A-V:  0.000 ct:  0.178 177/177 21% 13%  1.0% 0 0 47% 
(cpu usage in vo is at 12-13%)
For the record, with xv (texturedvideo implementation) cpu usage is 5-6%.
Though I prefer gl because of colored subtitles and high-quality font
rendering in ssa/ass.

PS Could it be that your problem (with dma not being used) is specific
to R6xx hardware? Because gl output driver performs perfectly on R3xx
and R5xx class hardware and doesn't use much more cpu than xv.

-- 

Vladimir



More information about the MPlayer-dev-eng mailing list