From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 77724] New: error: GLSL ES 3.00 is not supported.
Supported versions are: 1.00 ES
Date: Mon, 21 Apr 2014 10:28:31 +0000
Message-ID:
Priority
medium
Bug ID
77724
Assignee
nouveau@lists.freedesktop.org
Summary
error: GLSL ES 3.00 is not supported. Supported versions are: 1.00 ES
Severity
blocker
Classification
Unclassified
OS
All
Reporter
pulkitnandan@gmail.com
Hardware
All
Status
NEW
Version
unspecified
Component
Drivers/DRI/nouveau
Product
Mesa
I was trying to compile and run simple example programs from opengles
programming guide 2.0 for opengles 3.0 and got follwing error.
I build mesa while building wayland and it also have dri3 but it doenot loads
it.
Attaching the debug trace. What is the issue here and if follow exact
intructions from https://github.com/danginsburg/opengles3-book/ then it says to
use Powervr sdk which also results in similar error but with mesa egl following
is the trace.
libEGL debug: Native platform type: x11 (autodetected)
libEGL debug: EGL search path is /home/rnandan/install/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: DRI2: dlopen(/home/rnandan/install/lib/dri/nouveau_dri.so)
libEGL debug: driver does not expose __driDriverGetExtensions_nouveau():
/home/rnandan/install/lib/dri/nouveau_dri.so: undefined symbol:
__driDriverGetExtensions_nouveau
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 4
libEGL debug: DRI2: found extension `DRI_ConfigOptions'
libGL: Can't open configuration file /home/rnandan/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/rnandan/.drirc: No such file or
directory.
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 4
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 8
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: DRI2: found extension `DRI2_Throttle'
libEGL debug: the best driver is DRI2
Error compiling shader:
0:1(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.00 ES
Error compiling shader:
0:1(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.00 ES
Mesa: User error: GL_INVALID_VALUE in glAttachShader
Error linking program:
error: program lacks a vertex shader
libEGL debug: Display 0x1abaa80 is destroyed with resources
rnandan@rnandan-lt:~/opengles3-book/build$
Chapter_2/Hello_Triangle/./Hello_Triangle
libEGL debug: Native platform type: x11 (autodetected)
libEGL debug: EGL search path is /home/rnandan/install/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: DRI2: dlopen(/home/rnandan/install/lib/dri/nouveau_dri.so)
libEGL debug: driver does not expose __driDriverGetExtensions_nouveau():
/home/rnandan/install/lib/dri/nouveau_dri.so: undefined symbol:
__driDriverGetExtensions_nouveau
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 4
libEGL debug: DRI2: found extension `DRI_ConfigOptions'
libGL: Can't open configuration file /home/rnandan/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/rnandan/.drirc: No such file or
directory.
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 4
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 8
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: DRI2: found extension `DRI2_Throttle'
libEGL debug: the best driver is DRI2
Error compiling shader:
0:1(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.00 ES
Error compiling shader:
0:1(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.00 ES
Mesa: User error: GL_INVALID_VALUE in glAttachShader
Error linking program:
error: program lacks a vertex shader
libEGL debug: Display 0x1a41a80 is destroyed with resources
with powervr sdk following is the trace. WHat is the problem with these.
While previously I was able to run all these examples with earlier version.