It works if I replace changes in gdk_gl_context_share_new() with rev 37115. Is attrList[] really assigned to valid data?
{$IFDEF UseFPGLX}
FBConfig: TGLXFBConfig;
FBConfigs: PGLXFBConfig;
FBConfigsCount: Integer;
{ Attributes to choose context with glXChooseFBConfig.
Similar to Attr, but not exactly compatible. }
AttrFB: Array[0..10] of integer = (
GLX_X_RENDERABLE, 1 { true },
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_DOUBLEBUFFER, 1 { true },
none);
{$ENDIF}
...
FBConfigs:=glXChooseFBConfig(dpy, DefaultScreen(dpy), AttrFB, FBConfigsCount);