PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Commando on April 15, 2003, 01:06:39 pm

Title: 2.010 Linux version problem
Post by: Commando on April 15, 2003, 01:06:39 pm
[chs@command chs]$ cd /usr/games/planeshift/
[chs@command planeshift]$ ./psclient
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!
[chs@command planeshift]$

What does this mean?? I have the leatest CS and CEL....
Can\'t download though CVS, just that u know
Title:
Post by: Atanor on April 15, 2003, 01:17:32 pm
Is the problem coming from our binary package? Or did you build it yourself ?
Title: Not CVS
Post by: Commando on April 15, 2003, 01:22:35 pm
its that package from your download section...

SysInfo:
OS: RedHat 8.0
Glibc: 2.3.2
3D:  ASUS GeForce 4 128MB
./csdemon looks really nice
Title:
Post by: Atanor on April 15, 2003, 01:27:55 pm
It seems that a problem is happening while loading the opengl driver. Are you able to run opengl games usually ?


try these commands:

export CRYSTAL=./
export CEL=./

./psclient-bin -verbose

and tell me what happens...

Title:
Post by: Commando on April 15, 2003, 01:34:22 pm
[chs@command chs]$ cd /usr/games/planeshift/
[chs@command planeshift]$ export CRYSTAL=./
[chs@command planeshift]$ export CEL=./
[chs@command planeshift]$ ./psclient-bin -verbose
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!
[chs@command planeshift]$

./walktest & ./csdemo looks great... UT2003, maby opengl?
Title:
Post by: Atanor on April 15, 2003, 01:38:17 pm
okay, your system misses OpenGL32 libs, you should look for a RPM with opengl32 libs for your distrib.


try this test command to test opengl:

glxgears

(i think that one is using opengl32 )
Title: Yeah
Post by: Commando on April 15, 2003, 01:44:32 pm
It worked... Without any upgrade...
glxgears show a fast rotating things with diff colors..
./walktest -video=opengl -fs -mode=1024x768 dmburg.zip does show a really nice world that i can walk in, i think its a house/castle

Do i need to update if these works?
Title:
Post by: Atanor on April 15, 2003, 01:47:11 pm
no, wait i am lost now...
where did you get walktest from ?
Title: Wine??
Post by: Commando on April 15, 2003, 01:49:39 pm
when i do a google on libopengl32.so i only get a lots of WINE package... I already got a fully functional WINE, KaZaA and DeusEx runs pretty nice... but no libopengl32.so

If i download the latest wine source, run ./configure make and NOT make install, and copy libopengl32.so to... WHERE?
Title:
Post by: Atanor on April 15, 2003, 01:51:40 pm
hmm

type this in Planeshift drectory:

ldd gl3d.so

Title: ok
Post by: Commando on April 15, 2003, 01:55:23 pm
[chs@command chs]$ cd /usr/games/planeshift/
[chs@command planeshift]$ ldd gl3d.so
        libdl.so.2 => /lib/libdl.so.2 (0x400b2000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400b6000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400cc000)
        libopengl32.so => not found
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4011c000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40125000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4013c000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4021b000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40229000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4024b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402fd000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[chs@command planeshift]$
Title:
Post by: Atanor on April 15, 2003, 01:59:40 pm
you said you had CS installed? could you do a \'ldd\' on your own gl3d.so please?
Title: ok
Post by: Commando on April 15, 2003, 02:02:10 pm
U said \"in your planeshift directory\", well, here it is

[chs@command chs]$ cd /usr/other/CS/
[chs@command CS]$ ldd gl
gl3d.so   glx2d.so
[chs@command CS]$ ldd gl3d.so
        libdl.so.2 => /lib/libdl.so.2 (0x400d8000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400dc000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400f2000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40142000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4018f000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40198000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401af000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4028e000)
        libm.so.6 => /lib/i686/libm.so.6 (0x4029c000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x402be000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40370000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40378000)
[chs@command CS]$
Title:
Post by: Atanor on April 15, 2003, 02:08:42 pm
yes...
strange we don\'t have the same dependencies...
And I looked a bit on google... this libopengl32.so seems to be apart of wine or winex... But I wonder why CS is creating trouble with it... We need Jorrit for that stuff.
Anyway, you could try use your own version of CS with PS by replacing the .so files with yours...
Title:
Post by: corvus on April 20, 2003, 09:28:34 pm
having the same problem on suse 8.2.
i also have both the latest wine and winex2.2 installed.
maybe i\'ll try compiling ps from cvs.
greetz,
corvus.
Title:
Post by: hook on April 21, 2003, 05:47:14 pm
i had the same problem. the solve was that you need CEL installed ...well, that worked for me ...dunno why it doesn\'t say anywhere actually ...and you definetly DON\'T need wine to run it.
Title:
Post by: vario on April 22, 2003, 03:56:00 am
I am having similar problems as you can see:

+-(~/downloads/planeshift/planeshift)> ./psclient-bin -verbose
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!

However, I do not have openGL. I am using the mesa libs and they work fine.  I can run the glxgears demo just fine and here are its dependencies:

+-(~/downloads/planeshift/planeshift)> which glxgears
/usr/X11R6/bin/glxgears
+-(bfdi533@cbacc-security3)-(pts)-(04:50pm:04/21/03)--
+-(~/downloads/planeshift/planeshift)> ldd /usr/X11R6/bin/glxgears
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40024000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40098000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4019e000)
        libm.so.6 => /lib/libm.so.6 (0x401ee000)
        libc.so.6 => /lib/libc.so.6 (0x40210000)
        libdl.so.2 => /lib/libdl.so.2 (0x40346000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

But the psclient is linked specifically against the opengl32.so libs.

+-(~/downloads/planeshift/planeshift)> !ldd
ldd ./gl3d.so
        libdl.so.2 => /lib/libdl.so.2 (0x400ac000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400b0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x400c5000)
        libopengl32.so => not found
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40115000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4011e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40135000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4022e000)
        libm.so.6 => /lib/libm.so.6 (0x4023c000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4025e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40311000)
        libc.so.6 => /lib/libc.so.6 (0x40319000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I am using a Radeon card on Suse 8.1.

How can this be worked around?

Ed
Title: doh
Post by: chetsan on April 23, 2003, 04:49:19 am
I\'m having a similar problem. . .
I\'m running Mandrake 9.1 and I followed all instructions in the Linux How-to.

my output looks like this:

[shawn@ny-amherst8a-282 planeshift]$ ./psclient -verbose
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!

if I do ./psclient-bin I get:
[shawn@ny-amherst8a-282 planeshift]$ ./psclient-bin
Xlib:  extension \"GLX\" missing on display \":0.0\".
Cannot use preferred GLX visual - Generic visual will be used.
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support a generic visual with double buffer and depth buffer
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not provide double buffering
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support a depth buffer
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support at least 12 bit color
crystalspace.graphics3d.opengl: Error opening Graphics2D context.
ALERT: crystalspace.graphics3d.opengl: Error opening Graphics2D context.
Xlib:  extension \"GLX\" missing on display \":0.0\".
Cannot use preferred GLX visual - Generic visual will be used.
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support a generic visual with double buffer and depth buffer
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not provide double buffering
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support a depth buffer
Xlib:  extension \"GLX\" missing on display \":0.0\".
Graphics display does not support at least 12 bit color
block_size: 8192
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
planeshift.application.client: Failed to init app!


by the way, if it helps I have an Nvidia TNT2. . .kinda shitty, but hey.
Title:
Post by: Fextina on April 24, 2003, 09:56:53 pm
Add me to the list!

I have SuSE 8.2 and the Mesa libraries, glxgrears gives me this:

20750 frames in 5.0 seconds = 4150.000 FPS
24601 frames in 5.0 seconds = 4920.200 FPS

./psclient-bin -verbose
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
Warning: Failed to load `gl3d\'; reason(s):
DLERROR (gl3d): libopengl32.so: cannot open shared object file: No such file or directory
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!

One other issue, I didn\'t see a README file or INSTALL file in linux binary, why?
Title:
Post by: Fextina on April 25, 2003, 06:46:27 pm
Well, anyone knows how to resolve this?

Should we try to build PS from the CVS or what?
Title: Same Prob
Post by: teruell on April 30, 2003, 06:58:28 am
I have the same problem. Just thought I\'d add my 2 cents.
Title:
Post by: Atanor on April 30, 2003, 08:58:00 pm
Yes, in fact we realized that it would be hard to make binaries working for everyone... That\'s why I have an automated source package.... here is the URL... Try to build PS from it... contact me on IRC if you got any problem with it...
(read README.txt plz)
I am going to bring a full support for poeple who would like tio compile PS. I made this source pack in a way which will make you able to pack and share your own distro of PS. That way, we can make binaries for all distribs!!!


http://prdownloads.sourceforge.net/planeshift/planeshift-0.2.010FullSourceAndArt.tar.gz?download
Title:
Post by: simcop2387 on May 11, 2003, 11:03:39 pm
VERY EASY TO FIX

#su
Password: ...

#ln -s /usr/lib/libGL.so /usr/lib/libopengl32.so
#./psclient


thats all that you need to do, what happened is that it appears that the people who made the binaries for linux linked the binaries to libopengl32.so which seems to me be a mistake from a windows person not realizing that its not called opengl32 on linux, as it is on windows (see: opengl32.dll in your c:\\windows\\system)
Title:
Post by: Rulzern on May 12, 2003, 03:12:34 pm
poor semi-16-bit bastards ;)

chetsan: check that you are loading GLX when starting X
Title:
Post by: stodge on July 21, 2003, 06:33:42 pm
Quote
Originally posted by simcop2387
VERY EASY TO FIX

#su
Password: ...

#ln -s /usr/lib/libGL.so /usr/lib/libopengl32.so
#./psclient


thats all that you need to do, what happened is that it appears that the people who made the binaries for linux linked the binaries to libopengl32.so which seems to me be a mistake from a windows person not realizing that its not called opengl32 on linux, as it is on windows (see: opengl32.dll in your c:\\windows\\system)


Doesn\'t work for me. I just get:

Code: [Select]

[mike@pc-00065 Planeshift]$ ./psclient-bin -verbose
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: No such file or directory
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: No such file or directory
aws-debug: Couldn\'t find iGraphics2D plugin!!
Segmentation fault
Title: same
Post by: hadri on October 04, 2003, 08:13:17 pm
same problem for me

[root@localhost planeshift]# ./psclient-bin -verbose
no CEL environment variable set!
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: No such file or directory
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: No such file or directory
aws-debug: Couldn\'t find iGraphics2D plugin!!
Segmentation fault
[root@localhost planeshift]#

so i will compile...
Title:
Post by: gazR on October 04, 2003, 09:26:27 pm
Same problems here, I\'m using Mandrake 9.1 and GeForce 4 4600 ti

gonna try source compile now (thank god for broadband!)

Really want to get this working !!!!
Title: haaaaaaaaaa
Post by: hadri on October 04, 2003, 10:26:39 pm
data/Jamfile: No such file or directory
plugins/cssaver/Jamfile: No such file or directory
apps/Jamfile: No such file or directory
...patience...
don\'t know how to make skinlex.cpp
don\'t know how to make skinpars.cpp
...patience...
...found 2471 target(s)...
...can\'t find 2 target(s)...
...can\'t make 3 target(s)...
...skipped skinlex.o for lack of skinlex.cpp...
...skipped skinpars.o for lack of skinpars.cpp...
...skipped aws.so for lack of skinlex.o...
...skipped 3 target(s)...

i dont know what is it but dont work
what i must do ? go windows ? :@
Title: if you're missing libXxf86vm.so.1
Post by: zeta on October 05, 2003, 05:36:16 am
If libXxf86vm.so.1 does not exist on your system (but if a libXxf86vm.a does exist) there is an easy way to create a .so from the .a library. This should work for a debian distro, not so sure if others will need to tweak. This is a pretty common thing too, since I think libXxf86vm.so.1 is on redhat systems but not on most others.

cd /usr/X11R6/lib
ar x libXxf86vm.a
g++ -shared -o libXxf86vm.so.1 XF86VMode.o
ln -s libXxf86vm.so.1 /usr/lib/libXxf86vm.so.1

Hope this helps, it fixed my problem.
Title: ok
Post by: hadri on October 05, 2003, 11:01:45 am
no CEL environment variable set!
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: Too many levels of symbolic links
Warning: Failed to load `xwin\'; reason(s):
DLERROR (xwin): libXxf86vm.so.1: cannot open shared object file: Too many levels of symbolic links
aws-debug: Couldn\'t find iGraphics2D plugin!!
Segmentation fault

OK i v this message now.

Thanks for reply all
Title: yeahh
Post by: hadri on October 05, 2003, 11:12:16 am
Ok RUN for me on Mandrake 9.1 iv just use

ln -s /usr/lib/libGL.so /usr/lib/libopengl32.so
./psclient

&

cd /usr/X11R6/lib
ar x libXxf86vm.a
g++ -shared -o libXxf86vm.so.1 XF86VMode.o
ln -f libXxf86vm.so.1 /usr/lib/libXxf86vm.so.1

Thanks a lot !!!
Title:
Post by: gazR on October 05, 2003, 02:14:17 pm
Quote
Originally posted by hadri
Ok RUN for me on Mandrake 9.1 iv just use

ln -s /usr/lib/libGL.so /usr/lib/libopengl32.so
./psclient

&

cd /usr/X11R6/lib
ar x libXxf86vm.a
g++ -shared -o libXxf86vm.so.1 XF86VMode.o
ln -f libXxf86vm.so.1 /usr/lib/libXxf86vm.so.1

Thanks a lot !!!


Nice one hadri, works for me now as well
Title: add me
Post by: alpenjon on November 01, 2003, 10:55:09 pm
debian unstable && nvidia gforce ti

opengl works just fine, but i still get the following:

~/downloads/games/plantshift/planeshift$ ./psclient-bin
no CEL environment variable set!
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
Warning: Failed to load `gl3d\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
aws-debug: Couldn\'t find iGraphics2D plugin!!
psclient: No 3d driver (iGraphics3D) plugin!
~/downloads/games/plantshift/planeshift$

maybe the CEL environment variable is the problem? wtf is CEL?

thanks in advance for any hint... damn i have to get this game working!
Title:
Post by: elscouta on November 01, 2003, 11:02:36 pm
urg... the opengl symlinks looks like a ugly hack for me.

PS needs two particular packages that includes opengl libraries:
CrystalSpace and CEL.

You need to download them. Just read the thread started by acraig and read his howto (or use his script)
Title: Solved?
Post by: Almindor on November 05, 2003, 10:34:47 pm
Try this:

cd /usr/X11R6/lib
ar x libXxf86vm.a
g++ -shared -o libXxf86vm.so.1 XF86VMode.o
ln -s /usr/X11R6/lib/libXxf86vm.so.1 /usr/lib/libXxf86vm.so.1

It got me running but then I ran into a closed library problem(the game went ok but when I connected BANG)

Damnation