Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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


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'

  1. How can I make sure right driver is installed? is that the only package?
  2. How can I run the GL program? such that it supports shaders.
share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.