[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947196: Acknowledgement (mesa: "BadMatch" error on X_ShmPutImage in 24bpp; breaks openscad testsuite)



Some additional data: The error occurs when openscad tries to run
glXSwapBuffers().

Here are the attributes requested from glXChooseFBConfig() and the list of
XVisualInfo returned:

  int attributes[] = {
    GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT | GLX_PIXMAP_BIT | GLX_PBUFFER_BIT,
    GLX_RENDER_TYPE,   GLX_RGBA_BIT,
    GLX_RED_SIZE, 8,
    GLX_GREEN_SIZE, 8,
    GLX_BLUE_SIZE, 8,
    GLX_ALPHA_SIZE, 8,
    GLX_DEPTH_SIZE, 24,
    GLX_STENCIL_SIZE, 8,
    GLX_DOUBLEBUFFER, true,
    None
  };

  fbconfig  0, visual ID  0x33x: depth=24 class=4
  fbconfig  1, visual ID 0x379x: depth=24 class=4
  fbconfig  2, visual ID 0x381x: depth=24 class=4
  fbconfig  3, visual ID 0x385x: depth=24 class=4
  fbconfig  4, visual ID  0x34x: depth=24 class=5
  fbconfig  5, visual ID 0x420x: depth=24 class=5
  fbconfig  6, visual ID 0x422x: depth=24 class=5
  fbconfig  7, visual ID 0x426x: depth=24 class=5
  fbconfig  8, visual ID 0x382x: depth=24 class=4
  fbconfig  9, visual ID 0x386x: depth=24 class=4
  fbconfig 10, visual ID 0x423x: depth=24 class=5
  fbconfig 11, visual ID 0x427x: depth=24 class=5
  fbconfig 12, visual ID 0x243x: depth=32 class=4
  fbconfig 13, visual ID 0x457x: depth=32 class=4
  fbconfig 14, visual ID 0x459x: depth=32 class=4
  fbconfig 15, visual ID 0x460x: depth=32 class=4

The error occurs for all the visuals with XVisualInfo.depth=24 (0-11 in the
list). It does _not_ occur with visuals 12-15 having depth=32.

 - Kristian.


Reply to: