[MPlayer-dev-eng] [PATCH] change gl and matrixview priorities

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Mar 14 15:58:37 CET 2010


On Sun, Mar 14, 2010 at 03:51:38PM +0100, Dominik 'Rathann' Mierzejewski wrote:
> On Sunday, 14 March 2010 at 15:36, Steinar H. Gunderson wrote:
> > On Sun, Mar 14, 2010 at 03:33:48PM +0100, Reimar Döffinger wrote:
> > > Well, I actually applied it and then fixed it to only use gl if it looks
> > > like hardware acceleration is available (more precisely, if the renderer
> > > is not "Software Rasterizer").
> > 
> > Isn't normally what you want check for direct rendering? Even if you have a
> > hardware accelerator, performance is typically pretty lousy is glXIsDirect()
> > is false (and software rendering is, AFAIK, never direct).
> 
> The last statement is not true IIRC. On new Radeon cards with non-bleeding-edge
> radeon driver you get DRI but no 3D acceleration.

Not only that, but also when using X forwarding you will not have direct rendering
but -vo gl will be vastly faster than x11 (mostly due to using YV12 instead of e.g.
RGB32 and thus having to transfer less than half the amount of data).
In addition, I actually think that on modern Linux/Mesa versions software rendering
actually always says "direct rendering", not only for radeon (I know that at least
Ubuntu 10.04 in VMWare player reports direct rendering but there is no hardware
acceleration and thus e.g. 3D effects can not be enabled).



More information about the MPlayer-dev-eng mailing list