Bug 41221 - Mesa 7.11 implementation error: Incomplete OpenGL ES 2.0 support.
Summary: Mesa 7.11 implementation error: Incomplete OpenGL ES 2.0 support.
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 7.11
Hardware: x86 (IA32) Linux (All)
: highest blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 04:34 UTC by minti
Modified: 2012-01-16 16:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description minti 2011-09-26 04:34:27 UTC
while trying to compiling and  run helloTriangle   for OpenGL ES 2.0 using  libgles2-mesa-dev on Ubuntu 11.10 , successfully installed the  required package  using apt-get .and able to build the test case  but while running  it 
getting error as 

$ ./test 
Mesa 7.11 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at bugs.freedesktop.org
LOG MESSAGE error: program lacks a vertex shader

Unable to init 
$
Comment 1 Tapani Pälli 2011-10-18 03:12:42 UTC
What is the graphics HW used and can you upload the test application as an attachment? Have you tried running es2tri in mesa demos? For me OpenGL ES 2.0 applications compile and run fine with Mesa 7.11 on Intel and on Nvidia.
Comment 2 ondrej.platek 2011-11-23 06:50:40 UTC
Hello I have the same problem from the same application like minti
To download the application
svn checkout http://opengles-book-samples.googlecode.com/svn/trunk/LinuxX11
opengles-book-samples-read-only_LinuxX11 

Built all examples with make and run 
Chapter_2/Hello_Triangle/CH02_HelloTriangle 

The output is:

Mesa 7.11 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at bugs.freedesktop.org
Error linking program:
error: program lacks a vertex shader
Comment 3 ondrej.platek 2011-11-23 06:55:10 UTC
I forget my hardware set up
-Computer-
Processor		: 2x Intel(R) Atom(TM) CPU N270   @ 1.60GHz
Memory		: 2050MB (900MB used)
Operating System		: Ubuntu 11.10
Resolution		: 1280x1624 pixels
OpenGL Renderer		: Mesa DRI Intel(R) 945GME x86/MMX/SSE2
X11 Vendor		: The X.Org Foundation
Comment 4 Ian Romanick 2011-11-23 13:25:47 UTC
The examples from the Orange book use desktop OpenGL.  OpenGL ES 2.0 has the added restriction (compared to desktop OpenGL 2.x) that there *must* be both a vertex shader and a fragment shader.  Since ES2.0 lacks any fixed-function vertex (or fragment) processing, there is no other way.

In the Mesa demos repository, there is a program called es2_info.  Can you add the full output from that program?  It should look something like below.  The exact output will be different because I'm using a different GPU, etc.

EGL_VERSION = 1.4 (DRI2)
EGL_VENDOR = Mesa Project
EGL_EXTENSIONS = EGL_MESA_drm_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_gles1 EGL_KHR_surfaceless_gles2 EGL_KHR_surfaceless_opengl EGL_NOK_swap_region EGL_NOK_texture_from_pixmap 
EGL_CLIENT_APIS = OpenGL OpenGL_ES OpenGL_ES2 
GL_VERSION: OpenGL ES 2.0 Mesa 7.11.1
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile 
GL_EXTENSIONS:
    GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays, 
    GL_EXT_texture_filter_anisotropic, GL_OES_depth24, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, GL_OES_mapbuffer, 
    GL_OES_rgb8_rgba8, GL_OES_stencil8, GL_OES_texture_3D, 
    GL_OES_texture_npot, GL_OES_EGL_image, GL_OES_depth_texture, 
    GL_OES_packed_depth_stencil, GL_EXT_texture_type_2_10_10_10_REV, 
    GL_EXT_texture_format_BGRA8888
Comment 5 Ian Romanick 2012-01-16 16:47:50 UTC
Here's my output from a G33 system which uses the same driver as the reporter's system.

EGL_VERSION = 1.4 (DRI2)
EGL_VENDOR = Mesa Project
EGL_EXTENSIONS = EGL_MESA_drm_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_gles1 EGL_KHR_surfaceless_gles2 EGL_KHR_surfaceless_opengl EGL_NOK_swap_region EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer 
EGL_CLIENT_APIS = OpenGL OpenGL_ES OpenGL_ES2 
GL_VERSION: OpenGL ES 2.0 Mesa 7.11.2
GL_RENDERER: Mesa DRI Intel(R) G33 
GL_EXTENSIONS:
    GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays, 
    GL_EXT_texture_filter_anisotropic, GL_OES_depth24, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, GL_OES_mapbuffer, 
    GL_OES_rgb8_rgba8, GL_OES_stencil8, GL_OES_texture_3D, 
    GL_OES_texture_npot, GL_OES_EGL_image, GL_OES_depth_texture, 
    GL_OES_packed_depth_stencil, GL_EXT_texture_type_2_10_10_10_REV, 
    GL_EXT_texture_format_BGRA8888


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.