Jump to content
Eternal Lands Official Forums
bluap

Client crash in check_fbo_formats()

Recommended Posts

Latest CVS, default options. OS, Linux Debian Etch. Nvidia GeForce4 Ti 4200 graphics. Client always crahses in check_fbo_formats() during startup before prompting for username/password. If I stop the call to check_fbo_formats() client starts and works normally.

 

Here's the gdb information:

 

(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0808d9e0 in check_fbo_formats () at framebuffer.c:171
#2  0x08095490 in init_gl_extensions () at gl_init.c:890
#3  0x0809e2b3 in init_stuff () at init.c:686
#4  0x080af929 in main (argc=3, argv=0xbfa9fb24) at main.c:245

 

Here's the graphics info output at startup and the output from "#glinfo". This with the check_fbo_formats() call disabled.

 

Log started at 2007-06-25 00:40:06 localtime (BST)

[00:40:06] Window size adjusted to 1250x990
[00:40:06] GL_ARB_multitexture extension found, using it.
[00:40:06] GL_ARB_texture_env_combine extension found, using it.
[00:40:06] GL_EXT_compiled_vertex_array extension found, using it.
[00:40:06] GL_ARB_point_sprite extension found, using it.
[00:40:06] GL_ARB_texture_compression extension found, using it.
[00:40:06] GL_EXT_texture_compression_s3tc extension found, using it.
[00:40:06] GL_SGIS_generate_mipmap extension found, using it.
[00:40:06] GL_ARB_shadow extension found, using it.
[00:40:06] GL_ARB_vertex_buffer_object extension found, using it.
[00:40:06] Couldn't find the GL_EXT_framebuffer_object extension, not using it...
[00:40:06] GL_EXT_draw_range_elements extension found, using it.
[00:40:06] Couldn't find the GL_ARB_texture_non_power_of_two extension, not using it...
[00:40:06] Couldn't find the GL_ARB_fragment_program extension, not using it...
[00:40:06] GL_ARB_vertex_program extension found, using it.
[00:40:06] Couldn't find the GL_ARB_fragment_shader extension, not using it...
[00:40:06] GL_ARB_vertex_shader extension found, using it.
[00:40:06] GL_ARB_shader_objects extension found, using it.
[00:40:06] GL_ARB_shading_language_100 extension found, using it.
[00:40:06] GL_ARB_texture_mirrored_repeat extension found, NOT using it...
[00:40:06] GL_ARB_texture_rectangle extension found, NOT using it...
[00:40:06] GL_EXT_fog_coord extension found, NOT using it...
[00:40:06] Couldn't find the GL_ATI_texture_compression_3dc extension, not using it...
[00:40:13] Your personal settings and logs will be saved in /home/paul/.elc/
[00:40:13] Connecting to Server...
[00:40:13] Test Server!

[00:40:19] Video card: GeForce4 Ti 4200 with AGP8X/AGP/SSE2
[00:40:19] Vendor ID: NVIDIA Corporation
[00:40:19] OpenGL Version: 1.5.6 NVIDIA 87.76
[00:40:19] Supported extensions: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp 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_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord 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_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D 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_timer_query GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_fog_distance GL_NV_gpu_program_parameters GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 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_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_a
[00:40:46] Framebuffer disabled (need newer driver)

 

The last line occurs if I try to enable frame buffer support. Never needed it in the past, hope I don't need it in the future. I'm using the latest graphics drivers with Debian Etch.

Share this post


Link to post
Share on other sites

I'm probably taking a wild stab in the dark but should the call to check_fbo_formats() be conditional on have_extension(ext_framebuffer_object) being true. The call that crashes the client for me is made elsewhere but its conditional on have_extension(ext_framebuffer_object) being true.

 

In any case, is no one else having this problem?

Share this post


Link to post
Share on other sites

Okay, I've added the check to that one in CVS, please see if it's fixed... If not, maybe try adding checks like that (where applicable) to the places where you get the next crash so you can find all the places where the check should have been applied :happy:

 

ed: Sorry I (or other devs) didn't get to it early, but the same changes that broke it for you broke a heck of a lot of other things as well, there has been a lot to fix today :o

Edited by ttlanhil

Share this post


Link to post
Share on other sites

Okay, I've added the check to that one in CVS, please see if it's fixed...

Yep, that's the fix I'm currently using (bar the white space and bracket positioning :) ). Thanks.

 

ed: Sorry I (or other devs) didn't get to it early, but the same changes that broke it for you broke a heck of a lot of other things as well, there has been a lot to fix today :o

No problem, you're all doing a great job. Some bugs are bound to slip in, it's the job of the rest of us to help find them :happy:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×