Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a laptop with an ATI Radeon 3450 Graphic card (Lenovo U330). I have Crunchbang Linux (basically Debian Squeeze). After installing the proprietary ATI drivers (ati-driver-installer-11-12-x86.x86_64.run) I can't run a GLUT sample scene. I'm using freeglut3.

The program compiles, but when I try to execute it, I get a strange error...

freeglut (./TEST_GLUT):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  30
  Current serial number in output stream:  33

I tried glxinfo and I get this..

name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

When I try glxdemo the error is:

Error: couldn't get an RGB, Double-buffered visual

Any help?

share|improve this question
    
Did you enable the extension in your X config and restart X server after that? –  favoretti Dec 14 '11 at 20:06
    
Does glxgears work? –  genpfault Dec 14 '11 at 20:08
    
glxgears was not working... anyway, I couldn't waste time on it, bit risky but I uninstalled the driver and reinstalled opengl mesa an freeglut... Now it's working Thanks, sorry for the trolling –  Joksim Dec 14 '11 at 20:19
    
Please note that glut is deprecated. –  Stefano Sanfilippo May 8 '13 at 23:04
add comment

migrated from stackoverflow.com Dec 14 '11 at 20:59

This question came from our site for professional and enthusiast programmers.

Your Answer

 
discard

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