PlaneShift

Gameplay => Newbie Help (Start Here) => Topic started by: Xtreme on June 20, 2004, 10:37:38 am

Title: Linux 2D Problems
Post by: Xtreme on June 20, 2004, 10:37:38 am
Hey guys, I gotta question.

Here\'s what I did:
I installed cel, CS and Planeshift under Linux, compiled and installed everything. Now, when I\'m trying to start Planeshift, a window pops up, I hear music, but the Screen is black with three white blocks in the middle! I think I also installed the arts, so I\'m running out of ideas how to fix this problem.
I\'d be glad if someone could help me.

Greez
Title:
Post by: Karosh_Steinkatz on June 20, 2004, 05:03:46 pm
Can you post the console log? It helps to understand your problem ;)
Title:
Post by: Xtreme on June 20, 2004, 11:24:36 pm
After starting PS with ./psclient, my console says this:

Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".
Detecting maximum texture size fails! 256x256 is assumed.
Edit Video.OpenGL.Caps.MaxTextureSize if you want to change.
block_size: 8192
Mounting maps: dungeon hydlaa tower podium temple.
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]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
Title:
Post by: Karosh_Steinkatz on June 21, 2004, 10:29:07 am
Quote

Xlib: extension \"XFree86-DRI\" missing on display \":0.0\".


As I thought. Either your graphics driver is not correctly installed, or it doesn\'t  support direct rendering. Which graphics card and driver do you have installed?
Title:
Post by: Xtreme on June 21, 2004, 11:49:31 am
I have a Geforce Ti 4200 64MB and the SuSE Yast Nvidia Driver installed. I also activated \"3D Acceleration\", doesn\'t help either!
Title:
Post by: Karosh_Steinkatz on June 21, 2004, 12:54:56 pm
I think this is the XFree driver which doesn\'t support DRI. Get this one instead: http://www.nvidia.com/object/linux_display_ia32_1.0-5336.html
Title:
Post by: Xtreme on June 22, 2004, 09:34:47 am
Thanks, I\'ll try it!
Title:
Post by: Xtreme on June 23, 2004, 12:01:00 am
Well, I try to start the script in init 3, but the installer tells me he\'s unable to download a new compiled kernel or something like that from the NVIDIA site!
Man, I think I\'ll switch to Debian!
Title:
Post by: Karosh_Steinkatz on June 23, 2004, 03:18:14 am
It just checks if it can find precompiled kernel headers for your system on the NVidia site. If it fails, you can still continue and it will compile the ones on your system. Next time read the error messages more carefully ;)
Title:
Post by: Xtreme on June 23, 2004, 10:53:24 am
Then he says error in Makefile.
I\'m kinda losing my patience. Well, I\'ll install Debian and come back.
Title:
Post by: Karosh_Steinkatz on June 23, 2004, 08:21:26 pm
Why do you change your distro? Just because of the driver? *shakes his head* I think you just had to install the kernel sources.
Well good luck with debian. From what I heard  the compilation of PS is more troublesome than on other distros.

Quote

\"Why doing it the easy way if there is a more difficult one?\"
Title:
Post by: Xtreme on June 23, 2004, 11:29:20 pm
Re Quote:
Because the more difficult one provides an own working installation routine!
BTW: Kernel Sources are installed, Kernel Nvidia Module, too.

I\'m fed up with RPMs! I always read good things about Debian, so I\'ll take a try.
Title:
Post by: Feeyo on June 28, 2004, 12:32:37 am
Yes very frustrating those nVidia drivers...
Reinstalling your os just for the drivers? well linux aint for you then i geusse.

Anyhow
I need some help with OpenGL support =)
This is what i get:

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!

My 3D driver is installed (nVidia 5332)

Verifying 3D configuration for 3D board \"nVidia Corporation 0x0312 (10de@0312)\":


Verifying driver installation:
  nvidia ... done.

Tests for XFree86 configuration:
  Config File /etc/X11/XF86Config ... done.
  Driver ... done.
  Extensions ... done.
  Options ... done.


Checking GL/GLU/glut runtime configuration:
  GL/GLU  ... done (package XFree86-Mesa)
  glut ... done (package freeglut)

Now on Software mode it does work but crashesh on connecting the game..?
This is the console output:

no CEL environment variable set!
block_size: 8192
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Mounting maps: dungeon hydlaa tower podium temple.
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]
        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: psEngine initialized.
Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Loading RPG Data.....Loading RPG Data.....1OK!
PreloadModels: Preloading complete
psAuthenticationClient::Authenticate(Feeyo,mybabychella,0)
planeshift.application.client: PSLoader: step 1: success
planeshift.application.client: PSLoader: step 2: success
GetPSWindow: No PSWindow with the name \'Inventory Window\' was found.
        loading definitions file /planeshift/gui/iconbar.def...
        load successful (2 windows, 0 skins loaded.)
        loading definitions file /planeshift/gui/confirm.def...
        load successful (1 windows, 0 skins loaded.)
crystalspace.awsprefs: Could not open image file \'\' on VFS!
crystalspace.awsprefs: Could not open image file \'\' on VFS!
        loading definitions file /planeshift/gui/options.def...
        load successful (1 windows, 0 skins loaded.)
crystalspace.awsprefs: Could not open image file \'\' on VFS!
New player requesting World!
planeshift.application.client: PSLoader: step 3: success
SetTimeout!
HandleMessage: Persist Message: CELPERSISTCMD_SEND_WORLD

cel.persist.classic:   Reading entity 99 (\'world\')...

cel.persist.classic: Adding PC \'pcinventory\' to Entity \'world\'
Before LoadMapFile: time=10454
Load TYPE plugin crystalspace.mesh.object.emit
WARNING! Object \'_p_laanx_entrance2hydlaa_plaza\' is not closed!
Segmentation fault

Hope you can help :)

Thanks.
Title:
Post by: Karosh_Steinkatz on June 28, 2004, 01:11:33 am
Did you set the exports correctly? example:

export CRYSTAL=/opt/CS
export CEL=/opt/cel
export CSCONFPATH=/opt/cel

If you got your copy of PS from the Sourceforge or PS website try the CVS way as described here (http://www16.brinkster.com/acraig/planeshift/buildmb.html) since that tarball is buggy for some people.
Title:
Post by: Feeyo on June 28, 2004, 01:18:06 am
Hi,

Nope i havent configured the exports in anyway.
And yes i got it from Sourceforge, i will try the CVS way first.

Keep you updated.

Thanks for your help.
Title:
Post by: josephoenix on June 28, 2004, 03:54:17 am
Hm.. are you running enlightenment? That does funny stuff if you change the window focus while playing/loading...

Oddly, it seems like its calling CEL functions as it loads, but it complains at the beginning that there is no CEL environment var set. o_O

Ah, well... The wonderful quirkyness of linux. :P

josePhoenix
Title:
Post by: Feeyo on June 28, 2004, 01:18:33 pm
Hi,

Nope not running enlightement. and tried the cvs version and the build.sh script none work ... ugh.. so i have put the export lines into my .bash file.

Dont work either.
Maybe its because i am using a 64-bit os???

I tried to run it with :
F33y0@neptune:~> linux32 ./psclient-bin
no luck.  :(
Title:
Post by: Karosh_Steinkatz on June 28, 2004, 07:52:55 pm
I don\'t know how PS compiles or runs in 64bit. But if you post the errors maybe someone can help.
Title:
Post by: josephoenix on June 28, 2004, 08:14:08 pm
I\'m running (erm, attempting to run. Stupid closed-source drivers >.< ) 64-bit linux. When I _did_ have a working psclient binary it was called ./psclient , IIRC psclient-bin is only in the binary version of PS.

Or maybe I\'m wrong *shrug*

josePhoenix
Title:
Post by: Karosh_Steinkatz on June 28, 2004, 08:20:28 pm
Yeah, psclient-bin is in the tarball from sourceforge.
Feeyo, if you want you can try the binaries from here: http://freewebtown.com/alchemylab/
The site is still very basic, but more stuff will be added soon.
Title:
Post by: josephoenix on June 28, 2004, 08:24:51 pm
Eh, Karosh? I guess it really doesn\'t have much on there... all I get is a \"404: The page has been sucked into a black hole\"
EDIT: Working now... maybe it was just my spazzy internet connection o_O

josePhoenix
Title:
Post by: Karosh_Steinkatz on June 28, 2004, 08:26:25 pm
I corrected the url already ;)
edit: *lol* bad timing
Title:
Post by: Feeyo on June 29, 2004, 02:54:09 am
ugh. nope doesn\'t work either =(

I will try and get it to work.

If i find a solution i will keep you all updated.
Thanks anyways :)
Title:
Post by: Feeyo on July 01, 2004, 12:40:58 am
Ok installed the new nVidia driver :D  work great by the way :)
New nvidia-settings Gui added.

Anyhow i just created a ner Character, and when uploading it. it told me i am link dead? then slam crash.

planeshift.application.client: PSLoader: step 1: success
Constructing psdWarning: 0xab67f50
GetPSWindow: No PSWindow with the name \'Communication Window\' was found.
GetPSWindow: No PSWindow with the name \'Player Window\' was found.
Destructing Warning: 0xab67f50
planeshift.application.client: 1 References too much for psengine!

Using 2D mode by the way the OpenGL doesnt work either. :(
Title:
Post by: josephoenix on July 01, 2004, 04:30:53 am
I remeber that series of errors occuring when I didn\'t have the art installed... However, if you made a character, then you have the art instlled apparently... It wouldn\'t let you proceed through the char creation otherwise...

Was the segfault right when it told you you were linkdead? If so, try making another character and going through real fast (stats don\'t matter at the moment). This seems to fix the linkdead error for some...

And by 2d mode do you mean software rendering mode?
As I\'m sure you\'re aware, 2d is two dimensional (flat) and 3d has depth... And Planeshift is a 3D MMORPG ;)

josePhoenix
Title:
Post by: Feeyo on July 01, 2004, 08:21:46 am
Uhm yeah Software mode i mean lol, sorry typo was too busy with my nvidia drivers :D

Will try that now.
Title:
Post by: Feeyo on July 01, 2004, 08:24:21 am
Mes:
HandleMessage: Persist Message: CELPERSISTCMD_SEND_WORLD

cel.persist.classic:   Reading entity 99 (\'world\')...

cel.persist.classic: Adding PC \'pcinventory\' to Entity \'world\'
Before LoadMapFile: time=62733
Load TYPE plugin crystalspace.mesh.object.emit
WARNING! Object \'_p_laanx_entrance2hydlaa_plaza\' is not closed!
./psclient: line 6:  9725 Segmentation fault      ./psclient-bin

Back to desktop....
did a fast creation of character no luck yet.