Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

The system: Dell Latitude E6520

Video Card Intel® HD Graphics 3000 NVIDIA® NVSTM 4200M (DDR3 512MB) Discrete Graphics with Optimus

Ubuntu 12.04

I installed bumblebee.

I installed PyOpenGL and am following the tutorial (

Result on Python says:

RuntimeError: ('Shader compile failure (0): 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.00 ES, 1.10, 1.20, and 1.30\n\n', ['#version 330\n void main() {\n gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n }'], GL_VERTEX_SHADER)

I know NVIDIA Graphics with Optimus can not be supported on Ubuntu. But I think Intel Graphics should support the latest version of OpenGL.

(1) What should I do? Can I update something like drivers to make Intel Graphics support the GLSL 3.30?

(2) If I can not, how can I use lower version of OpenGL in PyOpenGL? On, it writes: PyOpenGL 3.0.2 includes support for: OpenGL v1.1 through 4.3

So there would be an option to set OpenGL at a lower version. But I failed to find the way to do it.

Help!! Thanks in advance!

[Update] (1)

So there would be an option to set OpenGL at a lower version. But I failed to find the way to do it.

I found the option in the code. Need to specify the version; of course, consequently some code too.

(2) From the wiki/GLSL#Versions, the corresponding GLSL versions are

GLSL version OpenGL version 1.30.10 3.0 1.40.08 3.1 1.50.11 3.2 3.30.6 3.3

So it seems Intel Graphics 3000 support OpenGL Version 3.0.

I went to the Intel official website and Linux driver website, fail to find the answer. (Drivers for Linux* (I am not allowed to post more than 2 links :(

Linux Graphics

But now I almost know I will use OpenGL 3.0 and only follow tutorials for OpenGL 3.0. Who could recommend good ones?

share|improve this question
as it seems, Intel is still working on OpenGL 3.1 for Linux , best bet would be to use your Nvidia card with the proprietary driver for the task. –  Ganesh Hegde Feb 16 '13 at 9:26

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.