Allan Schaffer (allan++at++sgi.com)
Tue, 7 Dec 1999 08:42:51 -0800 (PST)
On Dec 3, 10:33am, Brynn Rogers wrote:
> I have got the Xfree 4.0 beta working on my voodoo 3 celery linux box.
> Open GL in a window, and accelerated, woo-woo!
>
> I have been downloading every openGL app I can find to play with, and I
> get this error when I try to run performer:
>
> # perfly
> PF Warning(2): Using gettimeofday() clock
> GenuineIntel cpu detected.
> MMX cpu detected.
> X Error of failed request: GLXBadContextTag
> Major opcode of failed request: 146 (GLX)
> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
> Serial number of failed request: 30
> Current serial number in output stream: 30
>
> Daryll Strauss has guessed that performer is requesting a visual he
> doesn't provide. Is it possible to make performer request a different
> visual or tell us which one it wants so we can get this running?
It's not easy to guess exactly where in the code Performer is at that
moment, so perhaps try "setenv PFNFYLEVEL 7" and run it again to get
a bit more information, including some debug info about which
visual(s) it tried to choose.
But I can give some general data that might help here --
When a Performer app starts up it creates a very-temporary
windowsystem connection used for querying various capabilities
of the system. It tries for three visuals in the following order:
1. Try a true No-Port window first.
2. If NULL, go for a regular window with stencil.
3. If NULL, go for a regular window without stencil.
The call is a simple glXChooseVisual(dsp, screen, attributes);
Case 1:
static int attrNoport[FB_NUM_ATTRS] = {
None
};
Case 2:
static int attributes_min[FB_NUM_ATTRS] = {
GLX_RGBA,
GLX_DOUBLEBUFFER,
GLX_DEPTH_SIZE, 1,
GLX_DEPTH_SIZE, 1,
GLX_STENCIL_SIZE, 1,
GLX_RED_SIZE, 1,
None,
};
Case 3:
static int attributes_nostencil[FB_NUM_ATTRS] =
{
GLX_RGBA,
GLX_DOUBLEBUFFER,
GLX_DEPTH_SIZE, 1,
GLX_RED_SIZE, 1,
None
};
Feel free to contact me (off info-performer) to pursue this further..
Allan
-- Allan Schaffer allan++at++sgi.com Silicon Graphics http://reality.sgi.com/allan
This archive was generated by hypermail 2.0b2 on Tue Dec 07 1999 - 08:42:51 PST