Forums

Full Version: Radeon Shaders Broken.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I just checked with the latest release (non subversion and spotted that shaders are broken on latest radeon cards.
Code:
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/dandel
INFO: Settings file: /home/dandel/.vdrift/VDrift.config
INFO: Data directory: /usr/local/share/games/vdrift/data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/dandel/.vdrift/log.txt
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
INFO: Display change was successful: 1280x1024x32 24z fullscreen=1
INFO: Video card information:
      Vendor: ATI Technologies Inc.
      Renderer: ATI Radeon HD 5700 Series
      Version: 4.0.9901 Compatibility Profile Context
      Maximum texture size: 16384
      Maximum varying floats: 64
      Using GLEW 1.5.1
INFO: Your video card doesn't support framebuffer objects.  Disabling shaders.
INFO: Maximum anisotropy: 16
INFO: 1 joystick found:
INFO:     0. Alienware Alienware Dual Compatible Game Pad
INFO: Loading car controls from: /home/dandel/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Got quit message from GUI.  Shutting down...
INFO: Shutting down...
INFO: Exiting

Code:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 4.0.9901 Compatibility Profile Context
It says framebuffer objects are not supported by my card, but glxinfo says otherwise.

Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
client glx vendor string: ATI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_NV_swap_group,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_swap_barrier, GLX_SGIX_swap_group,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
    GLX_EXT_framebuffer_sRGB, GLX_ARB_fbconfig_float, GLX_AMD_gpu_association
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_NV_swap_group, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_swap_barrier,
    GLX_SGIX_swap_group, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 4.0.9901 Compatibility Profile Context
OpenGL shading language version string: 4.00
OpenGL extensions:
    GL_AMDX_debug_output, GL_AMDX_vertex_shader_tessellator,
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend,
    GL_AMD_name_gen_delete, GL_AMD_performance_monitor,
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export,
    GL_AMD_texture_cube_map_array, GL_AMD_texture_texture4,
    GL_AMD_transform_feedback3_lines_triangles,
    GL_AMD_vertex_shader_tessellator, GL_ARB_blend_func_extended,
    GL_ARB_color_buffer_float, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_gpu_shader5,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_imaging,
    GL_ARB_instanced_arrays, GL_ARB_map_buffer_range, GL_ARB_multisample,
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_provoking_vertex, GL_ARB_sample_shading, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_shader_atomic_counters,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects,
    GL_ARB_shader_subroutine, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_shadow_ambient,
    GL_ARB_sync, GL_ARB_tessellation_shader, GL_ARB_texture_border_clamp,
    GL_ARB_texture_buffer_object, GL_ARB_texture_compression,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map,
    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_snorm, GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos, GL_ATI_draw_buffers,
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_meminfo,
    GL_ATI_separate_stencil, GL_ATI_texture_compression_3dc,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_bindable_uniform, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB,
    GL_EXT_geometry_shader4, GL_EXT_gpu_program_parameters,
    GL_EXT_gpu_shader4, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_subtexture, GL_EXT_texgen_reflection, GL_EXT_texture3D,
    GL_EXT_texture_array, GL_EXT_texture_buffer_object,
    GL_EXT_texture_buffer_object_rgb32, GL_EXT_texture_compression_bptc,
    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer,
    GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
    GL_NV_conditional_render, GL_NV_copy_depth_to_color,
    GL_NV_explicit_multisample, GL_NV_float_buffer, GL_NV_half_float,
    GL_NV_primitive_restart, GL_NV_texgen_reflection, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays,
    GL_WIN_swap_hint, WGL_EXT_swap_control
as for game settings...
I set everything as high as it would go.

as for System details:
Ubuntu 10.04 (64-bit)
Radeon HD 5770
Athlon II x4 630
ATI Catalyst 10.6 driver


Edit: Forgot to run glewinfo:
Code:
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 1.5.2
Reporting capabilities of display :0.0, visual 0x29
Running on a ATI Radeon HD 5700 Series from ATI Technologies Inc.
OpenGL version 4.0.9901 Compatibility Profile Context is supported
Large chunks here, so i'll cut down to the framebuffer object.
Code:
GL_ARB_fragment_shader:                                        OK
-----------------------

GL_ARB_framebuffer_object:                                     OK
--------------------------
  glBindFramebuffer:                                           OK
  glBindRenderbuffer:                                          OK
  glBlitFramebuffer:                                           OK
  glCheckFramebufferStatus:                                    OK
  glDeleteFramebuffers:                                        OK
  glDeleteRenderbuffers:                                       OK
  glFramebufferRenderbuffer:                                   OK
  glFramebufferTexture1D:                                      OK
  glFramebufferTexture2D:                                      OK
  glFramebufferTexture3D:                                      OK
  glFramebufferTextureLayer:                                   OK
  glGenFramebuffers:                                           OK
  glGenRenderbuffers:                                          OK
  glGenerateMipmap:                                            OK
  glGetFramebufferAttachmentParameteriv:                       OK
  glGetRenderbufferParameteriv:                                OK
  glIsFramebuffer:                                             OK
  glIsRenderbuffer:                                            OK
  glRenderbufferStorage:                                       OK
  glRenderbufferStorageMultisample:                            OK

GL_ARB_framebuffer_sRGB:                                       OK
------------------------

GL_ARB_geometry_shader4:                                       OK
------------------------
  glFramebufferTextureARB:                                     OK
  glFramebufferTextureFaceARB:                                 OK
  glFramebufferTextureLayerARB:                                OK
  glProgramParameteriARB:                                      OK
Well, the frame buffer object check looks like this:
Code:
    else if (!GLEW_ARB_framebuffer_object)
    {
        info_output << "Your video card doesn't support framebuffer objects.  Disabling shaders." << endl;
        DisableShaders(shaderpath, error_output);
    }

Maybe a driver issue? GLEW says:
Quote:Experimental Drivers

GLEW obtains information on the supported extensions from the graphics driver. Experimental or pre-release drivers, however, might not report every available extension through the standard mechanism, in which case GLEW will report it unsupported. To circumvent this situation, the glewExperimental global switch can be turned on by setting it to GL_TRUE before calling glewInit(), which ensures that all extensions with valid entry points will be exposed.

Could you try "glewExperimental = true;" in graphics.cpp line 159 before glewInit() and report if it works?
I actually tried something a bit different... I changed that statement to this:
Code:
    else if (!GLEW_ARB_framebuffer_object && !glewGetExtension("GL_ARB_framebuffer_object"))
    {
        info_output << "Your video card doesn't support framebuffer objects.  Disabling shaders." << endl;
        DisableShaders(shaderpath, error_output);
    }

and in fbobject.cpp i changed the assert:
Code:
    //initialize framebuffer object (FBO)
    //assert(GLEW_ARB_framebuffer_object);
    assert(glewGetExtension("GL_ARB_fragment_program"));

after these two changes, the program ran properly.

also as a quick note, on ubuntu 10.04 a header (namely, asio.hpp) is missing unless libasio-dev is installed.
libasio-dev is a prerequisite: http://wiki.vdrift.net/Compiling

Quote:assert(glewGetExtension("GL_ARB_fragment_program"));
in fboobject should be "GL_ARB_framebuffer_object".

Do you mind to test the glewExperimental = true; switch?
I tried the fix and it didn't work at all.... another possible fix is to check against the opengl version... OpenGL 3.0 includes Framebuffer Objects in the specification, and OpenGL 4.0 requires framebuffer objects as part of it's core spec.

http://www.opengl.org/wiki/Framebuffer_Objects
Hold on... VDrift checks if GLEW_ARB_framebuffer_object is true, and glewinfo *also* checks if GLEW_ARB_framebuffer_object is true (that's how it determines whether to say "OK"). So something odd is going on with your GLEW installation. Can you do:
which glewinfo
ldd /path/to/glewinfo
ldd /path/to/vdrift
Here's the requested ldd details...
Code:
dandel@dandel-desktop:~$ ldd /usr/local/bin/vdrift
    linux-vdso.so.1 =>  (0x00007fff75b6b000)
    libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x00007f81150d3000)
    libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f8114e62000)
    libGLEW.so => /home/dandel/projects/ati-stream-sdk-v2.1-lnx64/lib/x86_64/libGLEW.so (0x00007f8114c0e000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f81149f1000)
    libSDL_image-1.2.so.0 => /usr/lib/libSDL_image-1.2.so.0 (0x00007f81147d4000)
    libSDL_gfx.so.13 => /usr/lib/libSDL_gfx.so.13 (0x00007f81145bf000)
    libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x00007f81143b7000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f81140a3000)
    libm.so.6 => /lib/libm.so.6 (0x00007f8113e1f000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f8113c08000)
    libc.so.6 => /lib/libc.so.6 (0x00007f8113885000)
    libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f81136ad000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f81134a9000)
    libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00007f81132a5000)
    libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f8113062000)
    libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x00007f8112ddf000)
    libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x00007f8112bd5000)
    libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x00007f81129bb000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f81127a2000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f8112592000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f811237f000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f8112049000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8115395000)
    libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00007f8111de7000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f8111bc2000)
    libz.so.1 => /lib/libz.so.1 (0x00007f81119ab000)
    libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f811177e000)
    libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f8111576000)
    libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00007f811146d000)
    libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0x00007f8111220000)
    librt.so.1 => /lib/librt.so.1 (0x00007f8111018000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f8110dfd000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f8110bf4000)
    libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f81109ec000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f8110787000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f811056a000)
    libwrap.so.0 => /lib/libwrap.so.0 (0x00007f811035f000)
    libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f81100fa000)
    libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00007f810feba000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00007f810fcb5000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f810fab0000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f810f8aa000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00007f810f690000)
    libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f810f444000)
    libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f810f069000)
dandel@dandel-desktop:~$ ldd /usr/bin/glewinfo
    linux-vdso.so.1 =>  (0x00007fff95713000)
    libGLEWmx.so.1.5 => /usr/lib/libGLEWmx.so.1.5 (0x00007f1f8d2e6000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f1f8d0cd000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f1f8cebc000)
    libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f1f8cc4b000)
    libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f1f8ca74000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f1f8c861000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f1f8c52b000)
    libc.so.6 => /lib/libc.so.6 (0x00007f1f8c1a8000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f1f8bf42000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1f8bc2e000)
    libm.so.6 => /lib/libm.so.6 (0x00007f1f8b9ab000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f1f8b793000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1f8b576000)
    libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00007f1f8b46d000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f1f8b250000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f1f8b04c000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1f8d55f000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f1f8ae43000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f1f8ac27000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f1f8aa23000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f1f8a81d000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00007f1f8a617000)

Edit:

I noticed that the ldd showed the non-repo version of libglew so i fixed the ldd patch and the problem still exists.
Code:
dandel@dandel-desktop:~/Downloads/etc/vdrift-2010-06-30$ ldd /usr/local/bin/vdrift
    linux-vdso.so.1 =>  (0x00007fff08cc3000)
    libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x00007f08e9e11000)
    libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f08e9ba0000)
    libGLEW.so => /usr/lib/libGLEW.so (0x00007f08e994c000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f08e972f000)
    libSDL_image-1.2.so.0 => /usr/lib/libSDL_image-1.2.so.0 (0x00007f08e9512000)
    libSDL_gfx.so.13 => /usr/lib/libSDL_gfx.so.13 (0x00007f08e92fd000)
    libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x00007f08e90f5000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f08e8de1000)
    libm.so.6 => /lib/libm.so.6 (0x00007f08e8b5d000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f08e8946000)
    libc.so.6 => /lib/libc.so.6 (0x00007f08e85c3000)
    libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f08e83eb000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f08e81e7000)
    libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00007f08e7fe3000)
    libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f08e7da0000)
    libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x00007f08e7b1d000)
    libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x00007f08e7913000)
    libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x00007f08e76f9000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f08e74e0000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f08e72d0000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f08e70bd000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f08e6d87000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f08ea0d3000)
    libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00007f08e6b25000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f08e6900000)
    libz.so.1 => /lib/libz.so.1 (0x00007f08e66e9000)
    libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f08e64bc000)
    libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f08e62b4000)
    libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00007f08e61ab000)
    libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0x00007f08e5f5e000)
    librt.so.1 => /lib/librt.so.1 (0x00007f08e5d56000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f08e5b3b000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f08e5932000)
    libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f08e572a000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f08e54c5000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f08e52a8000)
    libwrap.so.0 => /lib/libwrap.so.0 (0x00007f08e509d000)
    libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f08e4e38000)
    libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00007f08e4bf8000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00007f08e49f3000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f08e47ee000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f08e45e8000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00007f08e43ce000)
    libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f08e4182000)
    libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f08e3da7000)

edit 2:

Here's my log after i comment out the check for glew_arb_framebuffer but have the assert in place.

Code:
dandel@dandel-desktop:~/Downloads/etc/vdrift-2010-06-30$ vdrift
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/dandel
INFO: Settings file: /home/dandel/.vdrift/VDrift.config
INFO: Data directory: data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/dandel/.vdrift/log.txt
INFO: SDL initialization successful
INFO: Automatictally setting depth buffer to 24-bit because shadows are enabled
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
INFO: Display change was successful: 1024x768x32 24z fullscreen=0
INFO: Video card information:
      Vendor: ATI Technologies Inc.
      Renderer: ATI Radeon HD 5700 Series
      Version: 4.0.9901 Compatibility Profile Context
      Maximum texture size: 16384
      Maximum varying floats: 64
      Using GLEW 1.5.1
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 8
INFO: Texture units: 8 full, 16 partial
INFO: ----- Start Shader Compile Log for data/shaders/simple/vertex.glsl -----
==================================

Lots of Log entries here, but no errors

==================================      
INFO: ----- End Shader Link Log -----
INFO: Loaded shader package ssao_blur
INFO: Successfully enabled shaders
INFO: Initialized render output: full_scene_depth (FBO)
INFO: Initialized render output: full_scene_color (FBO)
INFO: Initialized render output: normal_xy (FBO)
INFO: Initialized render output: material_properties (FBO)
INFO: Initialized render output: diffuse_albedo (FBO)
INFO: Initialized render output: log_luminance (FBO)
INFO: Initialized render output: log_luminance_tiny (FBO)
INFO: Initialized render output: ssao1 (FBO)
INFO: Initialized render output: ssao2 (FBO)
INFO: Initialized render output: reflection_cube (FBO)
INFO: Initialized render output: shadow_depths_near (FBO)
INFO: Initialized render output: shadow_depths_medium (FBO)
INFO: Initialized render output: shadow_depths_far (FBO)
INFO: Maximum anisotropy: 16
INFO: 1 joystick found:
INFO:     0. Alienware Alienware Dual Compatible Game Pad
INFO: Loading car controls from: /home/dandel/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
ERROR: Error loading texture file: data/cars/F1-02/textures/brake.png
ERROR: Error loading texture file: data/cars/F1-02/textures/reverse.png
INFO: Loading track from path: data/tracks/vir
INFO: Can't find surfaces configfile: data/tracks/vir/surfaces.txt
INFO: No Surfaces File. Continuing with standard surfaces
INFO: Track timing sectors: 2
INFO: Track object list has 14 params per object, expected 17, this is fine, continuing
INFO: Collision objects: 1
INFO: No car interior model exists, continuing without one
INFO: Car loading was successful: CS
INFO: Got quit message from GUI.  Shutting down...
INFO: Shutting down...
INFO: Saving replay to /home/dandel/.vdrift/replays/10.vdr
INFO: Exiting
At this point I think it might be a GLEW bug. Try building the latest GLEW from source.
I tried glew v1.5.5 and the bug still persists.
What do you get when you ldd glewinfo with the 1.5.5 that you built? What's the output of glewinfo with the 1.5.5 that you built?
Here's the ldd output of glewinfo with glew version1.5.5
Code:
dandel@dandel-desktop:~/$ ldd /usr/bin/glewinfo
    linux-vdso.so.1 =>  (0x00007fff391ff000)
    libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0x00007fa950675000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007fa95045c000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fa95024b000)
    libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007fa94ffda000)
    libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007fa94fe03000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa94fbf0000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa94f8ba000)
    libc.so.6 => /lib/libc.so.6 (0x00007fa94f537000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fa94f2d1000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa94efbd000)
    libm.so.6 => /lib/libm.so.6 (0x00007fa94ed3a000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fa94eb22000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007fa94e905000)
    libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0x00007fa94e7fc000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fa94e5df000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007fa94e3db000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa950904000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fa94e1d2000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fa94dfb6000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa94ddb2000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa94dbac000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00007fa94d9a6000)
And what does glewinfo say for the framebuffer object part?

If glewinfo shows it as available but VDrift doesn't, you might try compiling a small test application that just initializes glew and checks whether or not GLEW_ARB_framebuffer_object is true. That's what both glewinfo and VDrift do, so it's odd that glewinfo would say it's true and VDrift would say it's false if they're using the same GLEW library.
Actually, glewinfo says i have the framebuffer_object.

Code:
GL_ARB_framebuffer_object:                                     OK
--------------------------
  glBindFramebuffer:                                           OK
  glBindRenderbuffer:                                          OK
  glBlitFramebuffer:                                           OK
  glCheckFramebufferStatus:                                    OK
  glDeleteFramebuffers:                                        OK
  glDeleteRenderbuffers:                                       OK
  glFramebufferRenderbuffer:                                   OK
  glFramebufferTexture1D:                                      OK
  glFramebufferTexture2D:                                      OK
  glFramebufferTexture3D:                                      OK
  glFramebufferTextureLayer:                                   OK
  glGenFramebuffers:                                           OK
  glGenRenderbuffers:                                          OK
  glGenerateMipmap:                                            OK
  glGetFramebufferAttachmentParameteriv:                       OK
  glGetRenderbufferParameteriv:                                OK
  glIsFramebuffer:                                             OK
  glIsRenderbuffer:                                            OK
  glRenderbufferStorage:                                       OK
  glRenderbufferStorageMultisample:                            OK

GL_ARB_framebuffer_sRGB:                                       OK
------------------------
You might try compiling a small test application that just initializes glew and checks whether or not GLEW_ARB_framebuffer_object is true. That's what both glewinfo and VDrift do, so it's odd that glewinfo would say it's present and VDrift would say it's not if they're using the same GLEW library.
I did a few more tests... It appears libGLEW v1.5.2 does not properly detect, and that is what causes the framebuffer object to not work, however, once i fixed this, i spotted another crash.

Using Glew v1.5.2? (Whatever was packaged with ubuntu 10.04)
Code:
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/dandel
INFO: Settings file: /home/dandel/.vdrift/VDrift.config
INFO: Data directory: data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/dandel/.vdrift/log.txt
INFO: SDL initialization successful
INFO: Automatictally setting depth buffer to 24-bit because shadows are enabled
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
INFO: Display change was successful: 1024x768x32 24z fullscreen=0
INFO: Video card information:
      Vendor: ATI Technologies Inc.
      Renderer: ATI Radeon HD 5700 Series
      Version: 4.0.10057 Compatibility Profile Context
      Maximum texture size: 16384
      Maximum varying floats: 64
      Using GLEW 1.5.1
INFO: Your video card doesn't support framebuffer objects.  Disabling shaders.
INFO: Maximum anisotropy: 16
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/dandel/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Got quit message from GUI.  Shutting down...
INFO: Shutting down...
INFO: Exiting
Using Glew 1.5.5:
Code:
dandel@dandel-desktop:/usr/lib$ vdrift
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/dandel
INFO: Settings file: /home/dandel/.vdrift/VDrift.config
INFO: Data directory: /usr/local/share/games/vdrift/data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/dandel/.vdrift/log.txt
INFO: SDL initialization successful
INFO: Automatictally setting depth buffer to 24-bit because shadows are enabled
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
INFO: Display change was successful: 1024x768x32 24z fullscreen=0
INFO: Video card information:
      Vendor: ATI Technologies Inc.
      Renderer: ATI Radeon HD 5700 Series
      Version: 4.0.10057 Compatibility Profile Context
      Maximum texture size: 16384
      Maximum varying floats: 64
      Using GLEW 1.5.5
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 8
INFO: Texture units: 8 full, 16 partial
This was just a bunch of successes.
Code:
INFO: Loaded shader package ssao_blur
INFO: Successfully enabled shaders
INFO: Initialized render output: full_scene_depth (FBO)
INFO: Initialized render output: full_scene_color (FBO)
INFO: Initialized render output: normal_xy (FBO)
INFO: Initialized render output: material_properties (FBO)
INFO: Initialized render output: diffuse_albedo (FBO)
INFO: Initialized render output: log_luminance (FBO)
INFO: Initialized render output: log_luminance_tiny (FBO)
INFO: Initialized render output: ssao1 (FBO)
INFO: Initialized render output: ssao2 (FBO)
INFO: Initialized render output: reflection_cube (FBO)
INFO: Initialized render output: shadow_depths_near (FBO)
INFO: Initialized render output: shadow_depths_medium (FBO)
INFO: Initialized render output: shadow_depths_far (FBO)
INFO: Maximum anisotropy: 16
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/dandel/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
ERROR: Error loading texture file: /usr/local/share/games/vdrift/data/cars/CO/textures/reverse.png
ERROR: Error loading texture file: /usr/local/share/games/vdrift/data/cars/350Z/textures/brake.png
ERROR: Error loading texture file: /usr/local/share/games/vdrift/data/cars/T73/textures/brake.png
ERROR: Error loading texture file: /usr/local/share/games/vdrift/data/cars/T73/textures/reverse.png
INFO: Loading track from path: /usr/local/share/games/vdrift/data/tracks/monaco88
INFO: Can't find surfaces configfile: /usr/local/share/games/vdrift/data/tracks/monaco88/surfaces.txt
INFO: No Surfaces File. Continuing with standard surfaces
INFO: Track timing sectors: 2
INFO: Track object list has 16 params per object, expected 17, this is fine, continuing
INFO: Collision objects: 1
INFO: Car loading was successful: SV
vdrift: include/cartelemetry.h:63: void CARTELEMETRY::Update(double): Assertion `file' failed.
SIGABRT detected, releasing the mouse
Aborted
Pages: 1 2