Re: openGL2

From: Alexis Cousein (al_at_brussels.sgi.com)
Date: 07/31/03


Date: Thu, 31 Jul 2003 16:25:18 +0200
To: Khalid Schofield <oums0246@raven.linux.ox.ac.uk>

Khalid Schofield wrote:

> why will going to a higher x server colour depth increase mplayer's
> performance? I remember I tried this on my linux box and it didn't like it
> as it was rendering the desktop at 24 bit as well as rendering the movie
> and it couldn't cope witht eh extra work.

This isn't a Linux box - I don't think setting it to anything I know makes
the Octane slow.

Now, the X server's default visual is usually a PseudoColor visual,
and they come in 8 and 12 bits, so all this talk of 16 and 24 bits is
strange to me ;).

Note: the default visual only influences broken apps -- unlike some
Linux Xfree servers, the SGI is perfectly able to publish all the PseudoColor
and TrueColor visuals it's capable of handling (simultaneously) regardless
of the default visual. See xdpyinfo.

But even for broken apps, the only reasonable settings for default visual are:

-class PseudoColor -depth 8 (default)
-class PseudoColor -depth 12 (if you have colour flashing)
-class TrueColor -depth 24 (if something expects a TrueColor default visual. Of
course, you'll have to fight all the other broken apps that expect a PseudoColor
visual ;{ ).