Ubuntu – OpenGL doesn’t seem to work in the Ubuntu

openglUbuntuubuntu-10.04

I used to create SFML applications in Windows XP.

When I moved to Ubuntu and set my development environment up, a Segmentation fault error always comes up everytime I compile and run my program. Then I tried to check the OpenGL status by running glxinfo through terminal (as suggested in a website), I got these errors:

root@ubuntu:/# 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".
3 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Segmentation fault

What should I do?

  • Ubuntu 10.04 Lucid Lynx
  • ATI Radeon 9550

I also have these packages installed:

  • libgl1-mesa
  • libgl1-mesa-glx
  • libglu1-mesa

Any kind of help would be appreciated 🙂

Best Answer

You need to install the propreitory fglrx drivers. The Ubuntu Community Documentation page has details on how you can proceed with installing it.

Related Question