|
From: Brian P. <bri...@tu...> - 2008-03-28 00:23:54
|
Brian Thomas wrote:
> We are running chromium on a display wall using DMX. It seems to be
> working well except for when we try to get a display mode with an alpha
> channel. For example, using GLUT_ALPHA. One example program crashes
> with the following message:
>
> X Error of failed request: BadMatch (invalid parameter attributes)
> Major opcode of failed request: 144 (GLX)
> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
> Serial number of failed request: 19
> Current serial number in output stream: 19
>
> Removing GLUT_ALPHA causes it to run without error. We have had this
> problem for several months now and would appreciate any suggestions.
In your config file, try setting the 'default_visual' option for your
render SPUs. For example:
renderspu.Conf('default_visual', 'rgb, double, depth, stencil, alpha')
Otherwise, the problem is likely that the Cr version of
glXChooseVisual() in opengl_stub/glx.c is returning a different GLX
visual ID than what's being chosen in spu/render/renderspu_glx.c
You might try instrumenting the crChooseVisual() function in
spu_loader/choosevisual.c to print the incoming attribute list and
returned visual ID. That might give a clue.
-Brian
|