The current X11GLContext hangs on some older drivers when it tries to create 3.0 context using the new context creation method. Would it be possible to check GL version before trying to do that? This way I could get an error to the user about unsupported GL version instead of my app just hanging.
The current GL context creation is a bit funny IMHO. Even if I ask for 3.3 forward compatible context I might get much older context through fallbacks. So I need to check myself if I got what I wanted.
Snippet from glxinfo output:
GLX version: 1.4
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_ARB_multisample, GLX_NV_float_buffer,
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GS/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 195.36.31
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler