My glxinfo :
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
GLX version: 1.3
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX 440 with AGP8X/AGP/SSE2
OpenGL version string: 1.5.8 NVIDIA 96.43.18
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_register_combiners,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_array_range,
GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
GL_SUN_slice_accum
48 GLX Visuals
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x28 24 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x2b 24 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x2c 24 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x2e 24 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x2f 24 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x30 24 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x31 24 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x32 24 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x33 24 dc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x34 24 dc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x35 24 dc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x36 24 dc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x37 24 dc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x38 24 dc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x39 24 dc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x3a 24 dc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x3b 24 dc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x3c 24 dc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x3d 24 dc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x3e 24 dc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x3f 24 dc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x40 24 dc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x41 24 dc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x23 32 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x42 32 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x43 32 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x44 32 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x45 32 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x46 32 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x47 32 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x48 32 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x49 32 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x4a 32 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x4b 32 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x4c 32 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x4d 32 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x4e 32 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x4f 32 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x50 32 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
55 GLXFBConfigs:
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x51 0 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x52 0 dc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x53 0 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x54 0 dc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x55 0 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x56 0 dc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x57 0 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x58 0 dc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x59 0 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x5a 0 dc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x5b 0 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x5c 0 dc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x5d 0 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x5e 0 dc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x5f 0 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x60 0 dc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x61 0 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x62 0 dc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x63 0 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x64 0 dc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x65 0 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x66 0 dc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x67 0 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x68 0 dc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x69 0 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x6a 0 dc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x6b 0 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x6c 0 dc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x6d 0 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x6e 0 dc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x6f 0 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x70 0 dc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x71 0 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x72 0 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x73 0 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x74 0 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x75 0 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x76 0 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x77 0 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
0x78 0 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
0x79 0 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x7a 0 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x7b 0 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
0x7c 0 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
0x7d 0 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x7e 0 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x7f 0 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x80 0 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x81 0 sg 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x82 0 sg 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x83 0 sg 0 16 0 r y . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x84 0 sg 0 16 0 r . . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x85 0 sg 0 0 0 r . . 0 0 0 0 4 16 0 16 16 16 16 0 0 None
0x86 0 sg 0 0 0 r . . 0 0 0 0 4 24 0 16 16 16 16 0 0 None
0x87 0 sg 0 0 0 r . . 0 0 0 0 4 24 8 16 16 16 16 0 0 None
In R2862 I have a seg fault too.
By replacing GL_EXT_framebuffer_object by GLEW_EXT_framebuffer_object in texture.cpp, game is working.
I inserted this in graphics.cpp :
Code:
// go through and extract the clip matrix, storing it in a texture matrix
renderscene.SetOrtho(cam.orthomin, cam.orthomax);
renderscene.SetCameraInfo(cam.pos, cam.orient, cam.fov, cam.view_distance, cam.w, cam.h, false);
float mv[16], mp[16], clipmat[16];
OPENGL_UTILITY::CheckForOpenGLErrors("1", std::cerr);
glGetFloatv( GL_PROJECTION_MATRIX, mp );
OPENGL_UTILITY::CheckForOpenGLErrors("2", std::cerr);
glGetFloatv( GL_MODELVIEW_MATRIX, mv );
OPENGL_UTILITY::CheckForOpenGLErrors("3", std::cerr);
glMatrixMode( GL_TEXTURE );
OPENGL_UTILITY::CheckForOpenGLErrors("4", std::cerr);
glPushMatrix();
OPENGL_UTILITY::CheckForOpenGLErrors("5", std::cerr);
glLoadIdentity();
OPENGL_UTILITY::CheckForOpenGLErrors("6", std::cerr);
glTranslatef (0.5, 0.5, 0.5);
OPENGL_UTILITY::CheckForOpenGLErrors("7", std::cerr);
glScalef (0.5, 0.5, 0.5);
OPENGL_UTILITY::CheckForOpenGLErrors("8", std::cerr);
glMultMatrixf(mp);
OPENGL_UTILITY::CheckForOpenGLErrors("9", std::cerr);
glMultMatrixf(mv);
OPENGL_UTILITY::CheckForOpenGLErrors("10", std::cerr);
glGetFloatv(GL_TEXTURE_MATRIX, clipmat);
OPENGL_UTILITY::CheckForOpenGLErrors("11", std::cerr);
glPopMatrix();
OPENGL_UTILITY::CheckForOpenGLErrors("12", std::cerr);
glMatrixMode( GL_MODELVIEW );
OPENGL_UTILITY::CheckForOpenGLErrors("13", std::cerr);
glActiveTexture(GL_TEXTURE4+i);
OPENGL_UTILITY::CheckForOpenGLErrors("14", std::cerr);
glMatrixMode( GL_TEXTURE );
OPENGL_UTILITY::CheckForOpenGLErrors("15", std::cerr);
glLoadMatrixf(clipmat);
OPENGL_UTILITY::CheckForOpenGLErrors("16", std::cerr);
glMatrixMode( GL_MODELVIEW );
OPENGL_UTILITY::CheckForOpenGLErrors("17", std::cerr);
glActiveTexture(GL_TEXTURE0);
OPENGL_UTILITY::CheckForOpenGLErrors("18", std::cerr);
But the only output remains : ERROR: OpenGL error "invalid operation" during: render finish