Re: Problem getting GLSL 3.3 working on Mesa3D 10.1 with Intel Haswell 5200 Iris pro

Jordan Justen <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAFe8ug_hxr4PqRRWPi2EpQ5+MNKd_gw1mnQmgY0Guf4UByJ0_Q@mail.gmail.com>
On Fri, Dec 27, 2013 at 4:10 PM, Patrick McMorris <[email protected]> wrote:
> 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

This GL 3.3 context is a 'core' profile context.

> OpenGL version string: 3.0 Mesa 10.1.0-devel (git-e2d53fa saucy-oibaf-ppa)
> OpenGL shading language version string: 1.30

This is a non-core (legacy) context. (We only support GL 3.0 for
non-core contexts.)

See GLX_CONTEXT_CORE_PROFILE_BIT_ARB on:
http://www.opengl.org/registry/specs/ARB/glx_create_context.txt

Or, perhaps the glxinfo source:
http://cgit.freedesktop.org/mesa/demos/plain/src/xdemos/glxinfo.c

What are you using to create the GL context? (SDL?)

-Jordan

> 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
>
>
> _______________________________________________
> mesa-users mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.