Closed Bug 844715 Opened 13 years ago Closed 6 years ago

Assertion failure: false (Draw FB binding misprediction!)

Categories

(Core :: Graphics: CanvasWebGL, defect)

ARM
MeeGo
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: romaxa, Unassigned)

References

Details

(Whiteboard: webgl-assert)

Attachments

(2 files)

Attempt to load simple webgl page failed with next error: Attempting load of libEGL.so Extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_NOK_image_shared EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_NOKIA_texture_from_pixmap EGL_NOK_texture_from_pixmap EGL_KHR_fence_sync EGL_IMG_context_priority EGL_KHR_lock_surface EGL_KHR_lock_surface2 EGL_NOK_image_yuv EGL_NOK_image_yuv_pixmap EGL_NOK_image_yuv_framebuffer EGL_NOK_image_framebuffer Found extension EGL_KHR_image Found extension EGL_KHR_image_base Found extension EGL_KHR_image_pixmap Found extension EGL_KHR_gl_texture_2D_image Found extension EGL_KHR_fence_sync Found extension EGL_KHR_lock_surface Initializing context (nil) surface 0xe on display 0x1 OpenGL vendor ('Imagination Technologies') recognized as: (null) Extensions: GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_standard_derivatives GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_stream2 GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_OES_EGL_sync GL_IMG_read_format GL_IMG_program_binary Found extension GL_OES_rgb8_rgba8 Found extension GL_OES_depth24 Found extension GL_OES_texture_float Found extension GL_OES_EGL_image Found extension GL_OES_depth_texture Found extension GL_OES_standard_derivatives Found extension GL_OES_EGL_image_external Found extension GL_EXT_texture_format_BGRA8888 Found extension GL_IMG_texture_compression_pvrtc Found extension GL_OES_EGL_sync Found extension GL_IMG_read_format Can't find symbol 'GetTexImage'. Can't find symbol 'GetTexLevelParameteriv'. --- WebGL context created: 0x7e1c90 Initializing context 0xf7f58 surface 0x105ba8 on display 0x1 Can't find symbol 'GetTexImage'. Can't find symbol 'GetTexLevelParameteriv'. Misprediction: Bound draw FB predicted: 70001. Was: 0. Assertion failure: false (Draw FB binding misprediction!), at /gfx/gl/GLScreenBuffer.cpp:194 jgilbert - any ideas what is going on?
Attached file Backtrace
Attached patch patchSplinter Review
It sounds like the GLContext's GLScreenBuffer is not being initialized properly. Does this patch help? It binds FBs to zero in GLScreenBuffer::Create.
Flags: needinfo?(romaxa)
Attachment #718015 - Attachment is patch: true
Also when WebGL context enabled I see this crash again... it seems we do not cleanup some context state or have some problem with threads... 1)WebGL context render: 2) Native render: PVR:Aborting: Offset to VBO out of bounds. Likely an app bug in glVertexAttribPointer if WebGL iteration excluded then it works ok
Flags: needinfo?(romaxa)
Depends on: 844698
Whiteboard: webgl-assert
See Also: → 1125123
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: