From: Brian T. <bri...@gm...> - 2008-03-27 22:21:04
|
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. Thanks! -Brian Thomas -- **************************** Brian Thomas bj...@ms... **************************** |
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 |
From: Brian T. <bri...@gm...> - 2008-03-28 00:34:52
|
I guess also important is that the same error occurs without using chromium as well. So I'm not sure if it is a chromium issue or a dmx issue. However, if I run it using DISPLAY=:0, it works just fine. Thanks! On Thu, Mar 27, 2008 at 7:23 PM, Brian Paul <bri...@tu...> wrote: > 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 > > -- **************************** Brian Thomas bj...@ms... **************************** |
From: Brian T. <bri...@gm...> - 2008-03-28 04:42:21
|
Figured it out finally. Didn't catch that libGL was not properly linked to the chromium libraries. Thanks for the help. On Thu, Mar 27, 2008 at 7:23 PM, Brian Paul <bri...@tu...> wrote: > 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 > > -- **************************** Brian Thomas bj...@ms... **************************** |