View Full Version : Help - X11 driver not configured for OpenGL
Caradhras
06-26-2008, 11:59 AM
Hello,
I installed my fglrx drivers (catalyst 8.6) and fglrx confirmes that it should work.
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600
OpenGL version string: 2.1.7659 Release
Direct rendering ist working, too.
Desktop Effects work quite well.
But if I start an OpenGL Game (like Spring), I get the message mentioned in the topic.
What could be wrong and what could I do?
I should add, that I upgraded from 7.10 before. Perhaps the xorg.conf is corrupted?
Thanks a lot in advance!
Regards
Caradhras
adamk
06-26-2008, 12:22 PM
How are you starting the game? Does it start properly if you launch it from a terminal?
Adam
Caradhras
06-26-2008, 12:38 PM
How are you starting the game? Does it start properly if you launch it from a terminal?
Adam
No it does not!
When I launch ExtremeTuxRacer for example by typing etracer into terminal, I get the same error...
adamk
06-26-2008, 12:46 PM
Do you get the error in the terminal or in a separate window? Are you running compiz at the time?
Adam
Caradhras
06-26-2008, 01:00 PM
Desktop Effects are off.
I get the error in the terminal.
etracer
Extreme TuxRacer SVN Development -- http://www.extremetuxracer.com
(c) 2007 The ETRacer team
(c) 2004-2005 The PPRacer team
(c) 1999-2001 Jasmin F. Patry<jfpatry@sunspirestudios.com>
ETRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.
*** etracer error: Couldn't initialize video: X11 driver not configured with OpenGL (Resource temporarily unavailable)
adamk
06-26-2008, 02:37 PM
That's very odd. Do other opengl games give the same error? Have you encountered any that do work?
Adam
Caradhras
06-26-2008, 02:57 PM
Spring does show this Message as an xmessage window, i am just testing different games (sauerbraten)
Caradhras
06-26-2008, 04:10 PM
sauerbraten gives me this:
sauerbraten
Using home directory: /home/xxx/.sauerbraten
init: sdl
init: enet
init: video: mode
Unable to create OpenGL screen: X11 driver not configured with OpenGL
adamk
06-26-2008, 05:07 PM
Well, unfortunately, I don't know what's going on. What's the output of 'ldd /usr/bin/spring' ?
Adam
Caradhras
06-27-2008, 11:35 AM
Well, unfortunately, I don't know what's going on. What's the output of 'ldd /usr/bin/spring' ?
Adam
ldd /usr/bin/spring
ldd: /usr/bin/spring: No such file or directory
It must be installed somewhere else.
But the problem must be something with the X server or OpenGL.
So would could I do beside dpkg reconfigure xserver?
adamk
06-27-2008, 11:55 AM
By all accounts, though, your Xserver and drivers are properly configured and setup.
My current theory is that these applications are linking against some replacement libGL.so.1.2 file that's checking to see if your drivers are installed properly and coming to the wrong conclusion. It seems unlikely, but everything else seems unlikely too.
How about 'ldd `which spring`' ?
Adam
Caradhras
06-27-2008, 12:06 PM
By all accounts, though, your Xserver and drivers are properly configured and setup.
My current theory is that these applications are linking against some replacement libGL.so.1.2 file that's checking to see if your drivers are installed properly and coming to the wrong conclusion. It seems unlikely, but everything else seems unlikely too.
How about 'ldd `which spring`' ?
Adam
Sorry, what do you want to say?
adamk
06-27-2008, 12:22 PM
I want you to run this command in a terminal: 'ldd `which spring`'
Adam
Caradhras
06-27-2008, 12:33 PM
I want you to run this command in a terminal: 'ldd `which spring`'
Adam
ldd `which spring`
linux-vdso.so.1 => (0x00007fffee7fe000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f93e6169000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f93e5f52000)
libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x00007f93e5cbe000)
libopenal.so.0 => /usr/lib/libopenal.so.0 (0x00007f93e5a70000)
libboost_regex-gcc42-mt-1_34_1.so.1.34.1 => /usr/lib/libboost_regex-gcc42-mt-1_34_1.so.1.34.1 (0x00007f93e57bf000)
libboost_thread-gcc42-mt-1_34_1.so.1.34.1 => /usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1 (0x00007f93e55b3000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f93e6458000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f93e532f000)
libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0x00007f93e50ea000)
libIL.so.1 => /usr/lib/libIL.so.1 (0x00007f93e4dd0000)
libILU.so.1 => /usr/lib/libILU.so.1 (0x00007f93e4bb9000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x00007f93e49b2000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f93e4786000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f93e4581000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0x00007f93e4211000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f93e3f06000)
libm.so.6 => /lib/libm.so.6 (0x00007f93e3c85000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f93e3a77000)
libc.so.6 => /lib/libc.so.6 (0x00007f93e3715000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f93e3511000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f93e32f5000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f93e2ff2000)
libicui18n.so.38 => /usr/lib/libicui18n.so.38 (0x00007f93e2c95000)
libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0x00007f93e2957000)
librt.so.1 => /lib/librt.so.1 (0x00007f93e274e000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f93e253d000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f93e2324000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f93e211b000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007f93e1ef6000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f93e1cd3000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00007f93e1a7a000)
libmng.so.1 => /usr/lib/libmng.so.1 (0x00007f93e18fc000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f93e16f9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f93e63e8000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f93e14f8000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f93e12dd000)
libicudata.so.38 => /usr/lib/libicudata.so.38 (0x00007f93e0634000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f93e0432000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f93e01ce000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f93dffc6000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f93dfdab000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0x00007f93dfb75000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f93df970000)
adamk
06-27-2008, 01:53 PM
Hmmm.. Now how about 'rpm -qf /usr/lib/libGL.so.1' ?
Adam
jhallen1968
08-07-2008, 02:24 PM
I had this problem on gentoo. It turned out that my libsdl wasn't built with opengl support.
david.hilton.p
09-19-2008, 09:44 PM
Thanks for the note about the use flag for libsdl, it was just what I was looking for. I'm going to add a small note to help with indexing.
"Unable to create OpenGL screen: X11 driver not configured with OpenGL"
NeoBrain
09-20-2008, 02:09 AM
EDIT: Okay whatever, I should read the second page before posting any replies :/
Alejandro Nova
02-13-2009, 06:41 PM
Ubuntu has this bug lying around. The solution is: you must download a tarball from http://www.libsdl.org , compile libSDL yourself, and install it over Ubuntu's. This is going to fix it for sure.
Caradhras
02-16-2009, 03:37 AM
hi!
yes, it was a problem with the sdl library.
But I do not remember how I solved it ;-)
Thanks anyway!
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.