Saturday, 1 June 2013

gl error with Mesa 8.0.4

gl error with Mesa 8.0.4

I want to run OpenGL program on Intel machine with graphics
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
I installed the following package to install the driver for Intel Mobile Chipset
xserver-xorg-video-intel
mesa-common-dev
freeglut-dev
glew-dev
Next, I also added the Intel driver repository and installed xserver-xorg-video-intel again:
add-apt-repository ppa:ubuntu-x-swat/x-updates
The problem I have is first I am not sure if the right driver is installed as I did not notice any change in the display after reboot. second, I give the following error when I run OpenGL program:
GL version: 2.1 Mesa 8.0.4
Error compiling shader type 35633: '0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.00 ES, 1.10, and 1.20

0:4(9): error: unrecognized layout identifier `location'

'
How can I make sure right driver is installed? is that the only package?
How can I run the GL program? such that it supports shaders.

No comments:

Post a Comment