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.

For some reason, any OpenGL game I try to play crashes when it wants to open the window. Let me give you an example from running teeworlds from terminal:

imnotanerd@sys76laptop:~$ teeworlds
# skip to the error
[5015be1f][gfx]: unable to set video mode: X11 driver not configured with OpenGL   
[5015be1f][gfx]: out of ideas. failed to init graphics

That X11 error will pop up with any OpenGL game I open. I've been researching this (Without much luck) and have seen that I should install SDL. Ok, so on to libsdl.org, download source, ./configure && make && make install, no errors with that, and the same error still shows. Any ideas on how to finally fix this?

share|improve this question
    
What graphics card do you have? Does your laptop have a hybrid graphics solution?\ –  Cumulus007 Jul 29 '12 at 23:42
    
My laptop is running HD 4000 on an i7. –  Imnotanerd Jul 30 '12 at 0:40
add comment

1 Answer 1

Found the answer on this page. In case you don't feel like clicking here's the tl;dr:

From the SDL directory you downloaded: sudo make uninstall ; ./configure --prefix=/usr ; sudo make ; sudo make install

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.