[MPlayer-users] Very slow play with gl default

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 27 18:41:26 CET 2010


On Sat, Feb 27, 2010 at 06:31:51PM +0100, Marcin 'Rambo' Roguski wrote:
> > But if it is CPU only, how can the performance be so different between
> > x11 (mplayer taking around 20% CPU) and gl/gl2 (mplayer's CPU use >90%)?
> 
> Basically with gl you're doing the same thing twice, first on GL level, 
> then doing it on X protocol level.

That's not quite right, first gl needs to also do stuff related to 3D rendering.
But the real problem is that the software rasterizer nowadays supports fragment
shaders, and MPlayer uses then those software-emulated fragment shaders to do
YUV->RGB conversion.
-vo gl:yuv=0 will probably closer to usable performance, but there's no point
in using OpenGL in that case.


More information about the MPlayer-users mailing list