title: OpenGL GLX extension not supported
body: <p>I had installed OpenGL and freeglut in Ubuntu 10.04 and it worked fine in 10.04 and 10.10. But after I upgraded to 11.04, the applications I've developed using OpenGL is not running properly. They're compiling without errors, but when I try to execute them, I get there errors:</p>
  
  <p>For GLUT:</p>
  
  <pre><code>Xlib:  extension "GLX" missing on display ":0.0".
  freeglut (./a.out): OpenGL GLX extension not supported by display ':0.0'
  </code></pre>
  
  <p>For just OpenGL:</p>
  
  <pre><code>Xlib:  extension "GLX" missing on display ":0.0".
  main: X server has no OpenGL GLX extension
  </code></pre>
  
  <p>A few things I tried:</p>
  
  <blockquote>
  <pre><code>$glxgears
  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't get an RGB, Double-buffered visual
  
  
  $glxinfo
  name of display: :0.0
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't find RGB GLX visual or fbconfig
  
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  </code></pre>
  </blockquote>
  
  <p>Edit:
  It is unlikely that this is because I don't have the graphics drivers as all I have is on board graphics.</p>
  
  <p>This is my system graphics information from sysinfo</p>
  
  <blockquote>
  <pre><code>$sysinfo
  GRAPHIC CARD
        VGA controller
      Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
      Subsystem: Toshiba America Info Systems Device ff50
  </code></pre>
  </blockquote>
  
  <p>Edit 2:
  And it seems I have a driver installed for that.</p>
  
  <blockquote>
  <pre><code>$lshw -C display
    *-display:0             
         description: VGA compatible controller
         product: Mobile 4 Series Chipset Integrated Graphics Controller
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 07
         width: 64 bits
         clock: 33MHz
         capabilities: msi pm vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:44 memory:f4000000-f43fffff memory:d0000000-dfffffff ioport:1800(size=8)
  </code></pre>
  </blockquote>
  
  <p>Look at "configuration: driver="</p>