From: Eero P. <epa...@gm...> - 2012-08-10 14:42:00
|
On Fri, Aug 10, 2012 at 3:36 PM, John Tsiombikas <nu...@me...> wrote: > There are two issues here. > >> freeglut (pymol): ERROR: Internal error <FBConfig with necessary >> capabilities not found> in function fgOpenWindow > > Pymol made freeglut ask for a GLX visual that wasn't possible. This > happens for instance if you ask for stereoscopic visuals on machines > without stereo support. Knowing that pymol does indeed use stereo OpenGL > (optionally I believe), this is probably the cause in this case, and no > fault of freeglut. > The situation might be more complicated, when using the NX remote desktop I am able to run things like glxgears (although "slowly") and glxinfo returns four reasonable looking visuals. 4 GLXFBConfigs: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x039 24 tc 0 24 0 y . 8 8 8 0 . . 0 16 0 0 0 0 0 0 0 None 0x03a 24 tc 0 24 0 y . 8 8 8 0 . . 0 16 8 16 16 16 0 0 0 None 0x03b 24 tc 0 32 0 y . 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None 0x03c 24 tc 0 32 0 . . 8 8 8 8 . . 0 16 8 16 16 16 16 0 0 None But my freeglut program gets nothing from glXChooseFBConfig I just ran the program under debugger and I at least tried to set 0 as the first attribute (I hope that means None) and thus remove all the attributes, I still get no configs back. I will try this again later. I do agree that this does not mean that there is anything wrong with freeglut, I think it is more likely that the OpenGL implementation is somehow broken regarding this issue. Eero |