Author Topic: Sys_Error: GLimp_Init() - could not load OpenGL subsystem  (Read 23840 times)

Nighto

  • Posts: 2
  • Turrets: +0/-0
    • http://www.uniriotec.br/~arlindo.pereira
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« on: June 08, 2006, 03:04:30 am »
Code: [Select]
kurumin@kurumin:~/tremulous$ ./tremulous.x86
tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/kurumin/.tremulous/base
/home/kurumin/tremulous/base/vms-1.1.0.pk3 (4 files)
/home/kurumin/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/home/kurumin/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/home/kurumin/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/home/kurumin/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/home/kurumin/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/home/kurumin/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/home/kurumin/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/home/kurumin/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/home/kurumin/tremulous/base/data-1.1.0.pk3 (1229 files)
/home/kurumin/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Using 8/8/8 Color bits, 16 depth, 8 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


I'm sure that my 3d drivers are activated. what can i do?

Thanks in advance.

Teiman

  • Posts: 286
  • Turrets: +0/-0
Re: Sys_Error: GLimp_Init() - could not load OpenGL subsyste
« Reply #1 on: June 08, 2006, 03:35:38 pm »
1) maybe your card is not nvidia.
2) can you play other 3d games?
3) can you play other quake games? enemy territory?
4) etc.

Draconishinobi

  • Posts: 68
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #2 on: June 09, 2006, 10:37:49 pm »
It would help if you told us your distro and video card make.

Make sure you install glx drivers for the card ... instructions on how to activate it should come as documentation.

Nighto

  • Posts: 2
  • Turrets: +0/-0
    • http://www.uniriotec.br/~arlindo.pereira
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #3 on: June 10, 2006, 03:07:25 pm »
i realized that in a short power my filesystem had a little of corruption, and that i should reinstall the drivers. Not it's working! Thanks a lot.

benplaut

  • Posts: 195
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #4 on: June 17, 2006, 03:24:57 am »
almost the same error over here, ati radeon mobile 7500, Arch Linux.

3d is enabled (using DRI), and it's the same xorg.conf as my ubuntu install, where everything worked fine.

Here's the log (not sure how different it is)

Code: [Select]
tremulous 1.1.0 linux-x86 Jun 14 2006
----- FS_Startup -----
Current search path:
/home/gimmick/.tremulous/base
/opt/tremulous/base/vms-1.1.0.pk3 (4 files)
/opt/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/opt/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/opt/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/opt/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/opt/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/opt/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/opt/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/opt/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/opt/tremulous/base/data-1.1.0.pk3 (1229 files)
/opt/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
couldn't exec autogen.cfg
execing autoexec.cfg
execing quickChat.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
 You are using software Mesa (no hardware acceleration)!  
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

tjw

  • Posts: 210
  • Turrets: +10/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #5 on: June 17, 2006, 06:55:51 am »
***********************************************************
 You are using software Mesa (no hardware acceleration)!  

You need to install the mesa package that has DRI support.  Looks like it's called libgl-dri on arch.

benplaut

  • Posts: 195
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #6 on: June 18, 2006, 01:21:43 am »
Quote from: "tjw"
***********************************************************
 You are using software Mesa (no hardware acceleration)!  

You need to install the mesa package that has DRI support.  Looks like it's called libgl-dri on arch.


already have it...  :(
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

Chaom

  • Posts: 28
  • Turrets: +0/-0
Did anyone read the message?!?
« Reply #7 on: June 18, 2006, 05:55:31 pm »
Well after I got that error, I simply read the message. It told me this.
Code: [Select]
***********************************************************
 You are using software Mesa (no hardware acceleration)!  
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************

I just added the "+set r_allowSoftwareGL 1" to the end of the run command and my game ran fine. See if this helps  :D .
n the beginning, there was nothing. And God said: "Let there be light!" And there was still nothing, but you could see it. -Unknown

Chaom

  • Posts: 28
  • Turrets: +0/-0
Did anyone read the message?!?
« Reply #8 on: June 18, 2006, 05:56:27 pm »
Well after I got that error, I simply read the message. It told me this.
Code: [Select]
***********************************************************
 You are using software Mesa (no hardware acceleration)!  
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************

I just added the "+set r_allowSoftwareGL 1" to the end of the run command and my game ran fine. See if this helps  :D .
n the beginning, there was nothing. And God said: "Let there be light!" And there was still nothing, but you could see it. -Unknown

benplaut

  • Posts: 195
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #9 on: June 19, 2006, 04:59:57 am »
the game will start that way, but it's software rendering... slow as f* and looks horrible.

i went into settings and it said it was using libGL.so.1, like it should... it exists in /usr/lib, but isn't working for some reason
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

Danish

  • Posts: 10
  • Turrets: +0/-0
    • My Steam Profile
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #10 on: July 05, 2006, 01:02:27 pm »
had a tough time with my voodoo 5 5500 after I installed XP, and 2k on two of my boxes. Since, they both had V5 5500's I could not play Jedi Knight, Mohaa, SOF2, etc. So I looked into it, and found that if you install WickedGL, CHANGE the FILENAME of the game you want to play (ex: ~/JediKnightII/jk2sp.ede) to quake3.exe, open WickedGL, scan that directory for Quake3, it will notify you that it has been found, then change the filename back to the original, and BOOM your back to hardcore gaming.


Download Locations:
- Download http://www.voodoofiles.com/getit.asp?id=6581&g=1&d=5&s=720639503

But it may be a quake3 problem inside...
I found this http://support.microsoft.com/?kbid=316474

benplaut

  • Posts: 195
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #11 on: July 15, 2006, 12:19:55 am »
@Danish:
I'm confused... what parts there were in windows, and which in linux 0_o

i can try something in wine, not dual booting, though
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

drag

  • Posts: 1
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #12 on: July 16, 2006, 05:07:50 am »
I had a similar problem with Linux using the Free software DRI drivers on my x800. The r300_dri.so drivers from Mesa CVS.

Try running the game with
LIBGL_DEBUG=verbose
set.  This will allow more insight into what is going wrong.

If you get a error that is similar to this:

LibGL error: dlopen <path to your *_dri.so driver) failed (<path to your *_dri.so driver>: undefined symbol: _glapi_add_dispatch)
LibGL error: unable to find driver: *_dri.so

and so on and so forth. I beleive that this is due to a problem with how these quake-based games dlopen the file and strips some sort of information out of the libgl.so library file that the driver depends on.

I don't know, it's over my head. You'd probably have to ask the dri folks exactly why this is happenning.

But to fix this you need to preload the libGL.so.1 library file. Like this:
export LD_PRELOAD=/usr/lib/libGL.so.1
before starting tremulous.

Then it should work fine with full acceleration.

Hope that helps.

peoro

  • Posts: 12
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #13 on: July 24, 2006, 08:31:57 am »
Quote from: "drag"
I had a similar problem with Linux using the Free software DRI drivers on my x800. The r300_dri.so drivers from Mesa CVS.

Try running the game with
LIBGL_DEBUG=verbose
set.  This will allow more insight into what is going wrong.

If you get a error that is similar to this:

LibGL error: dlopen <path to your *_dri.so driver) failed (<path to your *_dri.so driver>: undefined symbol: _glapi_add_dispatch)
LibGL error: unable to find driver: *_dri.so

and so on and so forth. I beleive that this is due to a problem with how these quake-based games dlopen the file and strips some sort of information out of the libgl.so library file that the driver depends on.

I don't know, it's over my head. You'd probably have to ask the dri folks exactly why this is happenning.

But to fix this you need to preload the libGL.so.1 library file. Like this:
export LD_PRELOAD=/usr/lib/libGL.so.1
before starting tremulous.

Then it should work fine with full acceleration.

Hope that helps.
I had this problem too, with my matrox G400 and MesaGL+dri.
This is not a q3's problem, but a dri's one, look here: http://marc.theaimsgroup.com/?t=114901304400001&r=1&w=2

Old drivers (dri included in Xorg 6) work fine.

I spent a couple of weeks to find out that problem
ORCODDIO

dodo1122

  • Posts: 160
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #14 on: July 24, 2006, 05:27:05 pm »
had same thing, download driver and install it again (form nvidia web site)
nime & manga fan <3

Currently learning the fine art of programming in c++
Currently on holidays (will be back @ 24/08/07 )

kramed

  • Posts: 25
  • Turrets: +1/-0

ripper614

  • Posts: 2
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #16 on: August 02, 2006, 10:52:30 pm »
im having this problem: could not open GL subsystem heres the code help me someone!...calling CDS: ok
...created window@0,0 (640x480)
Initializing OpenGL driver
...getting DC: succeeded
...GLW_ChoosePFD( 16, 16, 0 )
...35 PFDs found
...GLW_ChoosePFD failed
...GLW_ChoosePFD( 16, 16, 0 )
...35 PFDs found
...GLW_ChoosePFD failed
...failed to find an appropriate PIXELFORMAT
...restoring display settings
...WARNING: could not set the given mode (3)
...shutting down QGL
...unloading OpenGL DLL
...assuming '3dfxvgl' is a standalone driver
...initializing QGL
...WARNING: missing Glide installation, assuming no 3Dfx available
...shutting down QGL
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
GLW_StartOpenGL() - could not load OpenGL subsystem

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #17 on: August 02, 2006, 11:57:02 pm »
Quote from: "ripper614"
im having this problem: could not open GL subsystem heres the code help me someone!...calling CDS: ok
...created window@0,0 (640x480)
Initializing OpenGL driver
...getting DC: succeeded
...GLW_ChoosePFD( 16, 16, 0 )
...35 PFDs found
...GLW_ChoosePFD failed
...GLW_ChoosePFD( 16, 16, 0 )
...35 PFDs found
...GLW_ChoosePFD failed
...failed to find an appropriate PIXELFORMAT
...restoring display settings
...WARNING: could not set the given mode (3)
...shutting down QGL
...unloading OpenGL DLL
...assuming '3dfxvgl' is a standalone driver
...initializing QGL
...WARNING: missing Glide installation, assuming no 3Dfx available
...shutting down QGL
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
GLW_StartOpenGL() - could not load OpenGL subsystem


it says missing Glide install. go to there wepsire and download it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

DIGI_Byte

  • Posts: 508
  • Turrets: +5/-1
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #18 on: August 03, 2006, 02:13:10 am »
i have some problem a bit like that
gtkr qorks fine in quake 3 mode but wheen i tried trem mode it comes up with an openGL error all textures are white becuase of it i think mine has to do with system.config file

ripper614

  • Posts: 2
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #19 on: August 12, 2006, 10:13:02 pm »
i got your message, but were is the wepspire section

caribou

  • Posts: 2
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #20 on: April 16, 2007, 04:59:21 pm »
Hello, I'm upping this topic because I have the same message here :

Code: [Select]
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

Here is the history :

Code: [Select]

tremulous 1.1.0 linux-x86 Oct  5 2006
----- FS_Startup -----
Current search path:
/home/caribou/.tremulous/base
/usr/share/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/share/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/share/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/share/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/share/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/share/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/share/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/share/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/share/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/share/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/share/games/tremulous/base
/usr/lib/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
couldn't exec autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2006-12-04 07:00)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
SDL_Init(SDL_INIT_VIDEO) failed: DirectFBCreate: Initialization error!
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


And now the things I can tell you :

- I can't start the game as 'root'
- I'm executing the game as 'caribou' (normal user, not root)
- 'uname -a' says 'Linux Caribox 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux'
- The graphic packages I've installed are : nvidia-glx, nvidia-kernel-2.6.18-4-486, nvidia-kernel-common, nvidia-settings, nvidia-xconf
- When I try to install the 686 nvidia packages I can't load the 'nvidia' module
- 'glxinfo |grep direct' return :
-- as root
Code: [Select]
direct rendering: Yes
-- as caribou
Code: [Select]
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: unable to open display (null)


What I understand is that as 'caribou' I can't load the 3D support then I can give you my sudoers but like I said before "I can't start the game as 'root'"
Code: [Select]
-su: tremulous: command not found

My 'sudoers'
Code: [Select]
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults        env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%adm ALL=(ALL) ALL


Thank you :)

Caveman

  • Guest
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #21 on: April 16, 2007, 05:10:09 pm »
NEVER EVER use root to run USER-space programs.

caribou

  • Posts: 2
  • Turrets: +0/-0
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #22 on: April 16, 2007, 05:12:25 pm »
Ok I write down :)

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #23 on: April 16, 2007, 10:10:52 pm »
Append to your xorg.conf or whatever X server configuration file you use:

Code: [Select]
Section "DRI"
    Mode 0666
EndSection


Quote from: "David"
it says missing Glide install. go to there wepsire and download it.


:roll: QUAKE 3 USES GLIDE AS FALLBACK DRIVER BECAUSE IT WAS WRITTEN IN 1999! GLIDE IS __NOT__ USED IN NEW GRAPHICS CHIPSETS SINCE 2001!
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

tomek-k

  • Guest
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #24 on: April 16, 2007, 11:49:22 pm »
not sure if it has anything to do with 3D acceleration, but are you (the user 'caribou') a member of a group called 'video'?

besides - what card do you have? some old or new nvidia?

and @next_ghost - don't you remember that nvidia drivers do not use DRI? so there should not be any DRI section in the X configuration

Caveman

  • Guest
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #25 on: April 17, 2007, 12:11:05 am »
Not only that.
Trem should not be trying to use the FrameBuffer device.
But that is what you get when you do a "su -" while running a X and denying root the usage of X.

Just run Trem as the user that started X and you are set.

got_nix

  • Posts: 1
  • Turrets: +0/-0
    • http://animesynergy.com
Re: Did anyone read the message?!?
« Reply #26 on: April 21, 2007, 06:49:48 pm »
Quote from: "Chaom"
Well after I got that error, I simply read the message. It told me this.
Code: [Select]
***********************************************************
 You are using software Mesa (no hardware acceleration)!  
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************

I just added the "+set r_allowSoftwareGL 1" to the end of the run command and my game ran fine. See if this helps  :D .


This worked for me.. however it moved really slouchy.
lar

tomek-k

  • Guest
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
« Reply #27 on: April 22, 2007, 12:30:21 pm »
yeah, that's not the best solution

have you tried running this before tremulous?
Code: [Select]
export LD_PRELOAD=/usr/lib/libGL.so.1
does it help?