[MPlayer-users] Question about -vo gl

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Sun Jan 30 22:28:59 CET 2005

Hi Reimar D?ffinger!

 On 2005.01.30 at 19:34:20 +0100, Reimar D?ffinger wrote next:

> On Sun, Jan 30, 2005 at 05:45:40PM +0300, Vladimir Mosgalin wrote:
> > I don't understand one thing in gl output driver: both gl and gl2
> > drivers eat much more cpu resources in window mode than in fullscreen.
> > Why? Shouldn't it be other way around or, more likely, no difference?
> Well, first of all it is very easy to get incorrect numbers for CPU
> usage...

No, they are correct numbers. I switch to top on another screen and
look at idle time. It is 5-10% less in window mode.
Second, if mplayer eats about 75% of cpu for video filters and decoding,
it drops a lot of frames on gl playback in window mode and works perfect
in fullscreen.

> But it could be slightly more e.g. because in non-fs mode other windows

slightly? But it is A LOT more.

> need to be rendered, too. It might of course be some bug, but actually
> the most probable explanation is that OpenGL is often used for games
> that use fullscreen mode, so that is specially optimized (you can use

Hmm.. So mplayer uses fullscreen the same way the games do it? Never
thought of this, but the games always take a lot of time to switch to fs
and back, even the ones that don't eat as much cpu as mplayer - and
mplayer does this very fast.

> the whole framebuffer in this case, might ease some things). And last
> but not least from all I heard the fglrx drivers are know to be
> exceptionally crappy POS.

POS stands for?..
Though I can admit that they are crappy drivers ;) Unfortunately, the
only ones with 3d support for R300 and up. I don't really care about 3d
in linux except for screensavers, but I like osd in gl driver a lot, it
is the only way to get hardware scaling and hi-res fonts at the same
time right now.



More information about the MPlayer-users mailing list