Tremulous Forum

General => Troubleshooting => Topic started by: zwett on April 07, 2006, 10:24:41 am

Title: problem with tremulous standalone
Post by: zwett on April 07, 2006, 10:24:41 am
cant start the game i dont know what it is but heres what it says in the console


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)...
SDL_Init(SDL_INIT_VIDEO) passed.
QGL_Init: Can't load libGL.so.1 from /etc/ld.so.conf or current dir: Could not load OpenGL library
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


i have added /usr/lib/ in /etc/ld.so.conf but that didnt work
Title: problem with tremulous standalone
Post by: Draconishinobi on April 07, 2006, 08:32:24 pm
What is the output of:

$ cat /etc/ld.so.conf

For me it is:

include ld.so.conf.d/*.conf

I run the nVidia glx drivers ... what drivers do you run ?
Title: Re: problem with tremulous standalone
Post by: fader on April 07, 2006, 11:40:24 pm
Quote from: "zwett"

Sys_Error: GLimp_Init() - could not load OpenGL subsystem


Seems opengl isn't working on your system. Make shure, your SDL has been compiled with opengl support. You may also try to copy/link the libGL.so.1 to the tremulous directory. If that works, check your ld.so.conf settings.
Title: problem with tremulous standalone
Post by: zwett on April 09, 2006, 02:20:03 pm
thank you so much for the replys :)

i will chek this tonight when i have time and se if it works to move(link/copy i ment :P) that file

and i use nvidia glx 1.0-8756

its quite strange  other gl aps works like muppen64 and my gl screensaver also works

edit:
it seems that i dont have libGl.so.1 only as a link to libGL.so.1.0.8756

edit2: the output of cat /etc/ld.so.conf is
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
Title: problem with tremulous standalone
Post by: Draconishinobi on April 11, 2006, 04:07:32 am
Looks ok ... where is libGL.so.1.0.8756  and  libGL.so.1 located ? wherever it is located, that directory should be included in /etc/ld.so.conf (make sure you back it up before changing it) For example mine is located in /usr/lib/nvidia and that line should be in /etc/ld.so.conf (or in my case in one of the files in /etc/ld.so.conf.d as dictated by the include ld.so.conf.d/*.conf )

Also, did you try to copy the link libGL.so.1 into the tremulous directory (make sure it still points to the libGL.so.1.0.8756) ... it might just work.

I'm assuming "SDL has been compiled with opengl support" as fader said. Can't think of a reason why SDL would not have been compiled with OpenGL support, but who knows.
Title: problem with tremulous standalone
Post by: zwett on April 12, 2006, 11:30:59 am
libGL.so.1 and libGL.so.1.0.8... is located in /usr/lib

yes i tried to move libGL.so.1 into tremulous directory but it dint work

i find some kind of logg in /var/lib/nvidia



1.0-8756
NVIDIA Accelerated Graphics Driver for Linux-x86
2: /usr/X11R6/lib/libGL.so.1
libGL.so.1.2
120777 0 0
100: /usr/X11R6/lib/libGL.a
874669641 100644 0 0
101: /usr/X11R6/lib/libGL.so.1.2
2230898198 100755 0 0
102: /usr/X11R6/lib/modules/extensions/libglx.a
2852657253 100444 0 0
103: /usr/X11R6/lib/modules/extensions/libGLcore.a
756879640 100444 0 0
2: /usr/X11R6/lib/libGL.so
libGL.so.1.2
120777 0 0
2: /usr/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1
120777 0 0
2: /usr/lib/libGL.so
/usr/X11R6/lib/libGL.so
120777 0 0
104: /usr/include/GL/gl.h
635846225 100444 0 0
105: /usr/include/GL/glext.h
2863542592 100444 0 0
106: /usr/include/GL/glx.h
3064286971 100444 0 0
107: /usr/include/GL/glxext.h
3887639422 100444 0 0
1: /usr/lib/libGL.so.1.0.8756
3734847574
1: /usr/lib/libGLcore.so.1.0.8756
1254512175
1: /usr/X11R6/lib/modules/extensions/libglx.so.1.0.8756
3240895058
1: /usr/lib/libnvidia-tls.so.1.0.8756
1595756932
1: /usr/lib/tls/libnvidia-tls.so.1.0.8756
1461533186
1: /usr/lib/libnvidia-cfg.so.1.0.8756
506344550
1: /usr/X11R6/lib/modules/drivers/nvidia_drv.o
304750897
1: /usr/X11R6/lib/modules/drivers/nvidia_drv.so
1259202493
1: /usr/X11R6/lib/libXvMCNVIDIA.a
2650274283
1: /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.8756
617793568
1: /usr/include/GL/gl.h
448874206
1: /usr/include/GL/glext.h
2897221542
1: /usr/include/GL/glx.h
2688748099
1: /usr/include/GL/glxext.h
2525468270
1: /usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h
448874206
1: /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glext.h
2897221542
1: /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h
2688748099
1: /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glxext.h
2525468270
1: /usr/share/doc/NVIDIA_GLX-1.0/NVIDIA_Changelog
2134107485
1: /usr/share/doc/NVIDIA_GLX-1.0/XF86Config.sample
1292817097
1: /usr/share/doc/NVIDIA_GLX-1.0/nvidia-settings-user-guide.txt
4259129129
1: /usr/share/doc/NVIDIA_GLX-1.0/README.txt
3682215329
1: /usr/share/doc/NVIDIA_GLX-1.0/LICENSE
1309744396
1: /usr/share/doc/NVIDIA_GLX-1.0/nvidia-settings.png
246303651
1: /usr/share/man/man1/nvidia-xconfig.1.gz
3675965471
1: /usr/share/man/man1/nvidia-installer.1.gz
536790826
1: /usr/share/man/man1/nvidia-settings.1.gz
2543973441
1: /usr/bin/nvidia-settings
2584471455
1: /usr/bin/nvidia-xconfig
973040775
1: /usr/bin/nvidia-installer
3340248149
1: /usr/bin/nvidia-bug-report.sh
2774419135
1: /lib/modules/2.4.31/kernel/drivers/video/nvidia.o
3805256962
1: /usr/lib/libGL.la
4193195466
1: /usr/share/applications/nvidia-settings.desktop
977511138
0: /usr/lib/libGL.so.1
libGL.so.1.0.8756
0: /usr/lib/libGL.so
libGL.so.1
0: /usr/lib/libGLcore.so.1
libGLcore.so.1.0.8756
0: /usr/lib/libnvidia-tls.so.1
libnvidia-tls.so.1.0.8756
0: /usr/lib/tls/libnvidia-tls.so.1
libnvidia-tls.so.1.0.8756
0: /usr/lib/libnvidia-cfg.so.1
libnvidia-cfg.so.1.0.8756
0: /usr/lib/libnvidia-cfg.so
libnvidia-cfg.so.1
0: /usr/X11R6/lib/modules/extensions/libglx.so
libglx.so.1.0.8756
0: /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1
libXvMCNVIDIA.so.1.0.8756
Title: problem with tremulous standalone
Post by: Draconishinobi on April 12, 2006, 09:17:44 pm
Quote from: "zwett"


the output of cat /etc/ld.so.conf is
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib

libGL.so.1 and libGL.so.1.0.8... is located in /usr/lib


add the line /usr/lib to /etc/ld.so.conf so that cat /etc/ld.so.conf output is:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib