[Mplayer-advusers] Bug? Anomalous CPU usage when playing HDTV clips.
John Stebbins
stebbins at jetheaddev.com
Sat Mar 20 02:21:09 CET 2004
Follow up to my last e-mail.
Another variable in this is option PageFlip. It was on in the
tests given in my last e-mail (speeds up glxgears). When turned
off, results are like the non-dbe results below.
This led me to try the gl drivers again and take a closer look.
They are buggy, so I've been ignoring them until now.
Using the vo gl, CPU usage actually looks pretty sane
for both 1280x720 and 1024x576 @ 30fps. mplayer runs
between 20% and 30%, X is negligible. But 1280 has
broken video, nothing but a white display. Also, higher
fps clips do not play at correct speed.
Using the vo gl2, nothing plays at the correct speed.
mplayer CPU usage is high, but below 60%, so its not
due to pegging out the CPU.
On Fri, 2004-03-19 at 16:14, John Stebbins wrote:
> Ivan, I couldn't find an easy way to disable VSync in the X
> drivers. I'm not even sure all the configurations I tried this
> on have VSync capability.
>
> I'm not sure what you are referring to with regard to checking
> AGP tuning/speed. All systems tested are AGP 4x.
>
> I have been running some additional experiments that may shed some
> more light on the problem. I would say that this is some problem
> with X alone, but look at the last test that I run below. There is
> some very odd interaction that involves image size, fps, and
> X extensions being used that also affect mplayers cpu usage.
>
> Here's an interesting one. Double buffering extension(dbe)
> seems to have some odd effects.
>
> I ran a series of tests using:
> 1280x720 @ 30fps clip
> 1024x576 @ 30fps clip
> xv output
> x11 output
> dbe enabled
> dbe disabled
>
> Results
> -------
> X CPU mplayer CPU
> 1280x720,xv,dbe 30 30
>
> 1280x720,x11,dbe 30 30
>
> 1280x720,xv,no-dbe 30 30
>
> 1280x720,x11,no-dbe negligible 30
>
> 1024x576,xv,dbe negligible 30 (you would think mplayer CPU
> should have dropped here by
> 50% due to smaller image size)
> 1024x576,x11,dbe negligible 30
>
> 1024x576,xv,no-dbe negligible 30
>
> 1024x576,x11,no-dbe negligible 5-20 (mostly under 10) HUH!?
>
>
> >I've just got another (simplier) idea.
> >It could also be connected with VSync (changing picture
> >on retrace). You can test this by increaseing monitor
> >vertical refresh rate. Or finding option to disable
> >VSync.
> >
> >--- Ivan Kalvatchev <iive at yahoo.com> wrote:
> >> Hmm quite interesting.
> >> My quess is that the you may have reached AGP limit.
> >> Could you check your AGP tunning/speed?
> >> Best Regards
> > Ivan Kalvachev
> > iive
>
>
>
>
> _______________________________________________
> Mplayer-advusers mailing list
> Mplayer-advusers at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-advusers
More information about the MPlayer-advusers
mailing list