PDA

View Full Version : Error using webgl on Firefox and chromium with



Quentin
04-11-2010, 08:22 AM
Hello,
I try to test Webgl on my laptop.
On the first one, every thing works like a charm.

On the second one, I've got a very strange issue :
When I try webgl exemples (such as http://learningwebgl.com/lessons/lesson01/index.html and many other) with Firefox, the browser tells me that He can't initialize webgl.
When I try using Chromium, i've got a black canvas, (for exemple http://gwt-g3d.appspot.com/). It's something like everything is working but he doesn't display the 3D canvas :(

I've got the --enable-webgl attribute, and FF's webgl about:config set to true.

I've got an ATI radeon X1600 with the last drivers,
and OpenGL version 6.14.10.5696

Am I missing something ?
Can it be possible that OpenGl ES isn't installed ?
Any help is welcome :)

Thanks

giles
04-12-2010, 12:20 PM
It might be a problem with the version of OpenGL supported by the driver on your second laptop -- you need at least 2.1.

I did have a link for a good tool for working out which version a machine had, but I've misplaced it... this one sounds like it might do the job, though: http://www.ozone3d.net/gpu_caps_viewer/


Cheers,

Giles

giles
04-12-2010, 12:23 PM
It might be a problem with the version of OpenGL supported by the driver on your second laptop -- you need at least 2.1.

Sorry, I should say: 6.14.10.5696 isn't an OpenGL version -- they only just released version 4.

giles
04-12-2010, 12:29 PM
Final update: this blog post gives a link to the tool I've used before: http://gregs-blog.com/2007/12/16/how-to-find-which-opengl-version-youre-running/

keemmo
04-27-2010, 03:44 AM
Hello giles,

i have the same problem as described by Quentin. Using the OpenGL Extensions Viewer 3.22 it shows my OpenGL Version 2.1.
Using software rendering with OSMESA32.DLL instead is working. Is some special OpenGL Extension required? Version 2.1 is supported 100%.

The graphics card is ATI Mobility FireGL v5200.

Any hint would be appreciated.

Thanks keemmo

keemmo
04-27-2010, 04:14 AM
Here`s the report of OpenGL Extensions Viewer 3:
Renderer: ATI MOBILITY FireGL V5200
Vendor: ATI Technologies Inc.
Memory: 256 MB
Version: 2.1.7287 FireGL Release
Shading language version: 1.20


Max texture size: 4096 x 4096
Max texture coordinates: 8
Max vertex texture image units: 0
Max texture image units: 16
Max geometry texture units: 0
Max anisotropic filtering value: 16
Max number of light sources: 8
Max viewport size: 4096 x 4096
Max uniform vertex components: 512
Max uniform fragment components: 512
Max geometry uniform components: 0
Max varying floats: 44
Max samples: 6
Max draw buffers: 4


Extensions: 94

GL_AMD_performance_monitor
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_fragment_program
GL_ARB_fragment_shader
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_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_shadow_ambient
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_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
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_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_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_copy_texture
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_object
GL_EXT_gpu_program_parameters
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_pixels
GL_EXT_point_parameters
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_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_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_rectangle
GL_EXT_texture_sRGB
GL_EXT_vertex_array
GL_KTX_buffer_region
GL_NV_blend_square
GL_NV_texgen_reflection
GL_SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_WIN_swap_hint
WGL_ARB_buffer_region
WGL_ARB_extensions_string
WGL_ARB_make_current_read
WGL_ARB_multisample
WGL_ARB_pbuffer
WGL_ARB_pixel_format
WGL_ARB_render_texture
WGL_ATI_pixel_format_float
WGL_ATI_render_texture_rectangle
WGL_EXT_extensions_string
WGL_EXT_framebuffer_sRGB
WGL_EXT_swap_control

Core features
v1.1 (100 % - 7/7)
v1.2 (100 % - 8/8)
v1.3 (100 % - 9/9)
v1.4 (100 % - 15/15)
v1.5 (100 % - 3/3)
v2.0 (100 % - 10/10)
v2.1 (100 % - 3/3)
v3.0 (13 % - 3/23)
v3.1 (12 % - 1/8)
v3.2 (0 % - 0/9)
v3.3 (0 % - 0/9)
v4.0 (0 % - 0/13)

OpenGL driver version check (Current: 6.14.10.7287, Latest known: 2.1.7415 FireGL Release):
Latest version of display drivers found
According the database, you are running the latest display drivers for your video card.

Compiled vertex array support
This feature improves OpenGL performance by using video memory to cache transformed vertices.

Multitexture support
This feature accelerates complex rendering such as lightmaps or environment mapping.

Secondary color support
This feature provides an alternate method of coloring specular highlights on polygons.

S3TC compression support
This feature improves texture mapping performance in some applications by using lossy compression.

Texture edge clamp support
This feature improves texturing quality by adding clamping control to edge texel filtering.

Vertex program support
This feature enables a wide variety of effects via flexible vertex programming (equivalent to DX8 Vertex Shader.)

Fragment program support
This feature enables a wide variety of effects via per pixel programming (equivalent to DX9 Pixel Shader.)

Texture anisotropic filtering support
This feature improves the quality of texture mapping on oblique surfaces.

Occlusion test support
This feature provides hardware accelerated culling for objects.

Point sprite support
This feature improves performance in some particle systems.

OpenGL Shading Language support
This feature enables high level shading language for shaders.

Frame buffer object support
This feature enables render to texture functionality.

Extension verification:
GL_ARB_imaging was not found, but has the entry point glBlendEquation
GL_EXT_framebuffer_blit was not found, but has the entry point glBlitFramebufferEXT
GL_EXT_framebuffer_multisample was not found, but has the entry point glRenderbufferStorageMultisampleEXT
GL_EXT_vertex_shader was not found, but has the entry point glBeginVertexShaderEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindLightParameterEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindMaterialParameterEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindParameterEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindTexGenParameterEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindTextureUnitParameterEXT
GL_EXT_vertex_shader was not found, but has the entry point glBindVertexShaderEXT
GL_EXT_vertex_shader was not found, but has the entry point glDeleteVertexShaderEXT
GL_EXT_vertex_shader was not found, but has the entry point glDisableVariantClientStateEXT
GL_EXT_vertex_shader was not found, but has the entry point glEnableVariantClientStateEXT
GL_EXT_vertex_shader was not found, but has the entry point glEndVertexShaderEXT
GL_EXT_vertex_shader was not found, but has the entry point glExtractComponentEXT
GL_EXT_vertex_shader was not found, but has the entry point glGenSymbolsEXT
GL_EXT_vertex_shader was not found, but has the entry point glGenVertexShadersEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetInvariantBooleanvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetInvariantFloatvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetInvariantIntegervEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetLocalConstantBooleanvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetLocalConstantFloatvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetLocalConstantIntegervEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetVariantBooleanvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetVariantFloatvEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetVariantIntegervEXT
GL_EXT_vertex_shader was not found, but has the entry point glGetVariantPointervEXT
GL_EXT_vertex_shader was not found, but has the entry point glInsertComponentEXT
GL_EXT_vertex_shader was not found, but has the entry point glIsVariantEnabledEXT
GL_EXT_vertex_shader was not found, but has the entry point glSetInvariantEXT
GL_EXT_vertex_shader was not found, but has the entry point glSetLocalConstantEXT
GL_EXT_vertex_shader was not found, but has the entry point glShaderOp1EXT
GL_EXT_vertex_shader was not found, but has the entry point glShaderOp2EXT
GL_EXT_vertex_shader was not found, but has the entry point glShaderOp3EXT
GL_EXT_vertex_shader was not found, but has the entry point glSwizzleEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantPointerEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantbvEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantdvEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantfvEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantivEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantsvEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantubvEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantuivEXT
GL_EXT_vertex_shader was not found, but has the entry point glVariantusvEXT
GL_EXT_vertex_shader was not found, but has the entry point glWriteMaskEXT
GL_ARB_fragment_program_shadow was not found, but is available in driver version 6.14.10.5757
GL_ARB_imaging was not found, but is available in driver version 6.14.10.5757
GL_ARB_vertex_blend was not found, but is available in driver version 6.14.10.5757
GL_ATI_element_array was not found, but is available in driver version 6.14.10.5757
GL_ATI_map_object_buffer was not found, but is available in driver version 6.14.10.5757
GL_ATI_shader_texture_lod was not found, but is available in driver version 6.14.10.5757
GL_ATI_texture_mirror_once was not found, but is available in driver version 6.14.10.5757
GL_ATI_vertex_array_object was not found, but is available in driver version 6.14.10.5757
GL_ATI_vertex_attrib_array_object was not found, but is available in driver version 6.14.10.5757
GL_ATI_vertex_streams was not found, but is available in driver version 6.14.10.5757
GL_ATIX_texture_env_combine3 was not found, but is available in driver version 6.14.10.5757
GL_ATIX_texture_env_route was not found, but is available in driver version 6.14.10.5757
GL_ATIX_vertex_shader_output_point_size was not found, but is available in driver version 6.14.10.5757
GL_EXT_clip_volume_hint was not found, but is available in driver version 6.14.10.5757
GL_EXT_polygon_offset was not found, but is available in driver version 6.14.10.5757
GL_EXT_vertex_shader was not found, but is available in driver version 6.14.10.5757
GL_HP_occlusion_test was not found, but is available in driver version 6.14.10.5757
GL_NV_occlusion_query was not found, but is available in driver version 6.14.10.5757
GL_S3_s3tc was not found, but is available in driver version 6.14.10.5757
GL_SGI_color_matrix was not found, but is available in driver version 6.14.10.5757
GL_SGIS_multitexture was not found, but is available in driver version 6.14.10.5757
GL_SGIS_texture_border_clamp was not found, but is available in driver version 6.14.10.5757
GL_SUN_multi_draw_arrays was not found, but is available in driver version 6.14.10.5757

Regards keemmo

giles
04-27-2010, 09:16 AM
Hmm. The stuff about the extensions at the bottom looks odd -- IIRC you have driver version 6.14.10.7287, but it's saying "GL_ATI_element_array was not found, but is available in driver version 6.14.10.5757", which sounds like certain extensions have been lost between the two driver versions. The "GL_EXT_vertex_shader was not found, but has the entry point XXX" lines look odd too.

Not sure what to suggest, though -- sorry :-(

keemmo
04-28-2010, 06:46 AM
Hi giles,

thanks for the feedback, even if it doesn`t help. On additional information from OpenGL Extensions Viewer 3 - Rendering Test:


Test 2.1 Passed 87 fps

ATI MOBILITY FireGL V5200
Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
1680 x 1050 pixels, 32 bits, 60 Hz

Regards keemmo