[Mesa-users] Problem getting GLSL 3.3 working on Mesa3D 10.1 with Intel Haswell 5200 Iris pro

Patrick McMorris patrick at sixpack.ca
Fri Dec 27 16:10:03 PST 2013


Hello, I'm trying to get the latest Mesa3D working on my system but am
having trouble.

My laptop uses the Haswell Iris Pro 5200 (Gallago UltraPro).  From what
I've read, there is support for OpenGL 3.3 support now.  But getting it
working seems to be non-trivial.

I have installed the new version of mesa installed via a ppa:
https://launchpad.net/~oibaf/+archive/graphics-drivers/

After installing I can check the status using glxinfo:

$ glxinfo | grep -i version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.0-devel
(git-e2d53fa saucy-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.1.0-devel (git-e2d53fa saucy-oibaf-ppa)
OpenGL shading language version string: 1.30

But from the last line, it still seems to be using the shader language from
OpenGL 3.0 (not even 3.1 or anything inbetween). So when I try to run newer
code, the shaders fail to compile:

Error compiling shader type GL_VERTEX_SHADER: '0:2(10): error: GLSL 3.30 is
not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00
ES'

For what its worth I'm on Ubuntu 13.10 and using this kernel:
$ uname -srvm
Linux 3.12.5 #6 SMP Sat Dec 14 23:17:15 PST 2013 x86_64

Can anyone that has gotten OpenGL 3.3 running (including shader compiling
with glsl 3.3) point out what I might be missing?

Thanks,


Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20131227/e1a3dffa/attachment.html>


More information about the mesa-users mailing list