PlaneShift

Support => Linux Specific Issues => Topic started by: Ichigo on May 01, 2008, 08:36:58 pm

Title: Game starts but when i want to login i get fatal error
Post by: Ichigo on May 01, 2008, 08:36:58 pm
Operatingsystem= Kubuntu 8.04 Linux
I got intel chipset x3100.

See termial output of game.


Quote
wesley@zangetsu:/opt/PlaneShift$ ./psclient.bin
Missing `=' on line 187 of /this/psclient.cfg
Your configuration files are in... /home/wesley/.PlaneShift
DEBUG: Sound System Software Renderer Initializing...
ATTENTION: default value of option force_s3tc_enable overridden by environment.

planeshift.application.client:
  PlaneShift Steel Blue (0.4.00)
  This game uses Crystal Space Engine created by Jorrit and others
  1.2.0 [Unix-x86-GCC]
     465) LOG_ANY flag deactivated with no filter.
     465) LOG_WEATHER flag deactivated with no filter.
     465) LOG_SPAWN flag deactivated with no filter.
     465) LOG_CELPERSIST flag deactivated with no filter.
     465) LOG_PAWS flag deactivated with no filter.
     465) LOG_GROUP flag deactivated with no filter.
     465) LOG_CHEAT flag deactivated with no filter.
     466) LOG_LINMOVE flag deactivated with no filter.
     466) LOG_SPELLS flag deactivated with no filter.
     466) LOG_NEWCHAR flag deactivated with no filter.
     466) LOG_SUPERCLIENT flag deactivated with no filter.
     466) LOG_EXCHANGES flag deactivated with no filter.
     466) LOG_ADMIN flag deactivated with no filter.
     466) LOG_STARTUP flag deactivated with no filter.
     467) LOG_CHARACTER flag deactivated with no filter.
     467) LOG_CONNECTIONS flag deactivated with no filter.
     470) LOG_CHAT flag deactivated with no filter.
     470) LOG_NET flag deactivated with no filter.
     470) LOG_LOAD flag deactivated with no filter.
     470) LOG_NPC flag deactivated with no filter.
     470) LOG_TRADE flag deactivated with no filter.
     470) LOG_SOUND flag deactivated with no filter.
     471) LOG_COMBAT flag deactivated with no filter.
     471) LOG_SKILLXP flag deactivated with no filter.
     471) LOG_QUESTS flag deactivated with no filter.
     471) LOG_SCRIPT flag deactivated with no filter.
     471) LOG_MARRIAGE flag deactivated with no filter.
     471) LOG_MESSAGES flag deactivated with no filter.
     471) LOG_CACHE flag deactivated with no filter.
     471) LOG_PETS flag deactivated with no filter.
     473) LOG_USER flag deactivated with no filter.
     473) LOG_LOOT flag deactivated with no filter.
     473) LOG_DUELS flag deactivated with no filter.
     474) LOG_TRIBES flag deactivated with no filter.
     474) All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
     594) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     595) Could not open image: >/this/art/gui/border/topleft.png<
     595) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     595) Could not open image: >/this/art/gui/border/topright.png<
     595) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     595) Could not open image: >/this/art/gui/border/bottomleft.png<
     595) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     595) Could not open image: >/this/art/gui/border/bottomright.png<
     596) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     596) Could not open image: >/this/art/gui/border/leftmiddle.png<
     596) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     596) Could not open image: >/this/art/gui/border/rightmiddle.png<
     596) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     596) Could not open image: >/this/art/gui/border/topmiddle.png<
     596) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     596) Could not open image: >/this/art/gui/border/bottommiddle.png<
     596) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     596) Could not open image: >/paws/base/maps/leather/top_left_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     597) Could not open image: >/paws/base/maps/leather/top_right_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     597) Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     597) Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     597) Could not open image: >/paws/base/maps/leather/left_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     597) Could not open image: >/paws/base/maps/leather/right_1.png<
     597) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     598) Could not open image: >/paws/base/maps/leather/top_1.png<
     598) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
     598) Could not open image: >/paws/base/maps/leather/bottom_1.png<
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 16 for resolution 1024x768
WARNING! Object '_s_bridge_01' is not closed!
WARNING! Object '_s_sigil_01' is not closed!
WARNING! Object 'spikes_03' is not closed!
WARNING! Object 'spikes_05' is not closed!
WARNING! Object '_s_sigil_02' is not closed!
WARNING! Object '_s_sigil_04' is not closed!
...
psclient.bin: intel_regions.c:231: intel_region_data: Assertion `dst_offset + dstx + width + (dsty + height - 1) * dst->pitch * dst->cpp <= dst->pitch * dst->cpp * dst->height' failed.
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorwesley@zangetsu:/opt/PlaneShift$

Does someone know how to fix this? Could it be i am missings dependies?



Title: Re: Game starts but when i want to login i get fatal error
Post by: Caarrie on May 01, 2008, 08:41:39 pm
start with
http://hydlaa.com/smf/index.php?topic=32238.0
and then
http://hydlaa.com/smf/index.php?topic=32288.0
Title: Re: Game starts but when i want to login i get fatal error
Post by: Ichigo on May 01, 2008, 10:28:12 pm
I dont think this helps i get not further then login screen and then i get the fatal error so there must be missing something i believe.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Caarrie on May 01, 2008, 10:45:58 pm
the error seems to be related to Cg 2.0 as in the first link i posted and the other issues could be related to your intel card which the other link takes care of. Also you should be running ./psclient not ./psclient.bin. if that does not work run ./psupdater.bin and dont run a .bin after that
Title: Re: Game starts but when i want to login i get fatal error
Post by: Ichigo on May 02, 2008, 12:11:43 am
And what about dependies for crystal space? Kubuntu only had devs and i did install those. 

Quote
wesley@zangetsu:/opt/PlaneShift$ ./pssetup
Your configuration files are in... /home/wesley/.PlaneShift
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Mounting skin: /planeshift/art/apps.zip

planeshift.setup.application:
  Application initialized successfully.
wesley@zangetsu:/opt/PlaneShift$ ./psclient
Your configuration files are in... /home/wesley/.PlaneShift
DEBUG: Sound System Software Renderer Initializing...
ATTENTION: default value of option force_s3tc_enable overridden by environment.

planeshift.application.client:
  PlaneShift Steel Blue (0.4.00)
  This game uses Crystal Space Engine created by Jorrit and others
  1.2.0 [Unix-x86-GCC]
    1268) LOG_ANY flag deactivated with no filter.
    1269) LOG_WEATHER flag deactivated with no filter.
    1269) LOG_SPAWN flag deactivated with no filter.
    1269) LOG_CELPERSIST flag deactivated with no filter.
    1269) LOG_PAWS flag deactivated with no filter.
    1269) LOG_GROUP flag deactivated with no filter.
    1269) LOG_CHEAT flag deactivated with no filter.
    1269) LOG_LINMOVE flag deactivated with no filter.
    1270) LOG_SPELLS flag deactivated with no filter.
    1270) LOG_NEWCHAR flag deactivated with no filter.
    1270) LOG_SUPERCLIENT flag deactivated with no filter.
    1270) LOG_EXCHANGES flag deactivated with no filter.
    1270) LOG_ADMIN flag deactivated with no filter.
    1270) LOG_STARTUP flag deactivated with no filter.
    1270) LOG_CHARACTER flag deactivated with no filter.
    1271) LOG_CONNECTIONS flag deactivated with no filter.
    1271) LOG_CHAT flag deactivated with no filter.
    1271) LOG_NET flag deactivated with no filter.
    1271) LOG_LOAD flag deactivated with no filter.
    1271) LOG_NPC flag deactivated with no filter.
    1271) LOG_TRADE flag deactivated with no filter.
    1271) LOG_SOUND flag deactivated with no filter.
    1272) LOG_COMBAT flag deactivated with no filter.
    1272) LOG_SKILLXP flag deactivated with no filter.
    1272) LOG_QUESTS flag deactivated with no filter.
    1273) LOG_SCRIPT flag deactivated with no filter.
    1273) LOG_MARRIAGE flag deactivated with no filter.
    1274) LOG_MESSAGES flag deactivated with no filter.
    1274) LOG_CACHE flag deactivated with no filter.
    1274) LOG_PETS flag deactivated with no filter.
    1274) LOG_USER flag deactivated with no filter.
    1274) LOG_LOOT flag deactivated with no filter.
    1274) LOG_DUELS flag deactivated with no filter.
    1274) LOG_TRIBES flag deactivated with no filter.
    1275) All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
    1415) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1418) Could not open image: >/this/art/gui/border/topleft.png<
    1418) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1418) Could not open image: >/this/art/gui/border/topright.png<
    1418) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1418) Could not open image: >/this/art/gui/border/bottomleft.png<
    1418) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1420) Could not open image: >/this/art/gui/border/bottomright.png<
    1420) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1421) Could not open image: >/this/art/gui/border/leftmiddle.png<
    1421) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1421) Could not open image: >/this/art/gui/border/rightmiddle.png<
    1421) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1421) Could not open image: >/this/art/gui/border/topmiddle.png<
    1421) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1421) Could not open image: >/this/art/gui/border/bottommiddle.png<
    1421) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1421) Could not open image: >/paws/base/maps/leather/top_left_1.png<
    1422) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1422) Could not open image: >/paws/base/maps/leather/top_right_1.png<
    1422) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1422) Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
    1422) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1422) Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
    1422) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1422) Could not open image: >/paws/base/maps/leather/left_1.png<
    1424) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1424) Could not open image: >/paws/base/maps/leather/right_1.png<
    1424) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1424) Could not open image: >/paws/base/maps/leather/top_1.png<
    1424) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
    1424) Could not open image: >/paws/base/maps/leather/bottom_1.png<
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 16 for resolution 1024x768
WARNING! Object '_s_bridge_01' is not closed!
WARNING! Object '_s_sigil_01' is not closed!
WARNING! Object 'spikes_03' is not closed!
WARNING! Object 'spikes_05' is not closed!
WARNING! Object '_s_sigil_02' is not closed!
WARNING! Object '_s_sigil_04' is not closed!
...
psclient.bin: intel_regions.c:231: intel_region_data: Assertion `dst_offset + dstx + width + (dsty + height - 1) * dst->pitch * dst->cpp <= dst->pitch * dst->cpp * dst->height' failed.
Aborted
wesley@zangetsu:/opt/PlaneShift$

This the output now but what with those could not open image,s lines ?
Title: Re: Game starts but when i want to login i get fatal error
Post by: Caarrie on May 02, 2008, 12:18:08 am
unless you are building your own client, you do NOT need to install CrystalSpace. please follow the directions in the prior links before asking for more help.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Ichigo on May 02, 2008, 12:49:47 am
I did and i did try link 2 but link 1 is hocus spocus for me i dont get what i need to do.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Caarrie on May 02, 2008, 01:32:00 am
I did and i did try link 2 but link 1 is hocus spocus for me i dont get what i need to do.

stop running ./psclient.bin run ./psupdater.bin then run ./psclient ONLY uninstall Cg 2.0 that you seem to have installed and make sure you have Cg 1.5 installed if anything.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Ichigo on May 02, 2008, 03:14:34 am
The first part worked second i dont know changed the the lines. But there something i saw the card name does not match with the one in that file ( i can be wrong )

Quote
wesley@zangetsu:/opt/PlaneShift$ ./psclient
Your configuration files are in... /home/wesley/.PlaneShift
DEBUG: Sound System Software Renderer Initializing...
ATTENTION: default value of option force_s3tc_enable overridden by environment.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  134 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x5600002
  Serial number of failed request:  284
  Current serial number in output stream:  288
wesley@zangetsu:/opt/PlaneShift$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 965GM 4.1.3002 x86/MMX/SSE2
wesley@zangetsu:/opt/PlaneShift$
Title: Re: Game starts but when i want to login i get fatal error
Post by: jekng on May 03, 2008, 04:55:01 pm
Hi. I get the same error and I have installed CG 1.5 and set the 3d acceleration as recommended by the second link and it still doesn't work.  If anyone can help me it would be most appreciated.   I am a newbie with linux and I just installed Ubuntu Hardy Heron.  My kernal is 2.6.24-16-generic and I installed the 32 bit version of Planeshift. I have a Core 2 Duo Intel processor with a Intel x3100 graphics card.  I have 1GB of ram.  Thanks.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Shader on May 03, 2008, 10:30:37 pm
Yeah i have the same problem here  :whistling:

I am on a Intel Dual core CPU and Intel X3100 graphics chipset using Ubuntu 8.04. Please help US!!! I don't want to play this game on wind0ze :(
Title: Re: Game starts but when i want to login i get fatal error
Post by: Rizin on May 03, 2008, 11:15:06 pm
What driver are you using from Intel?
Title: Re: Game starts but when i want to login i get fatal error
Post by: jekng on May 04, 2008, 01:16:12 pm
I am not using any specific driver from Intel.  Just the ones that came with my Ubuntu installation.  How can I find out what drivers I am using.  Thanks.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Shader on May 04, 2008, 02:08:45 pm
Same here, i didn't install any drivers after installing Ubuntu 8.04 since i don't have any problems with |Counter Strike 1.6 on Wine|, |Unreal Tournament| and |Custom Compiz effects|...

*edit*

bump bump

[we don't do bump threads here. --neko]
Title: Re: Game starts but when i want to login i get fatal error
Post by: Kerol on May 11, 2008, 06:58:56 am
Well, apparently none of us encountered this problem before to give qualified answers without asking for more specifics.
I personally am encountering unresolvable compilation problems on ubuntu, using a different compiler ( following http://planeshift.svn.sourceforge.net/viewvc/*checkout*/planeshift/trunk/docs/compiling.html#compile (http://planeshift.svn.sourceforge.net/viewvc/*checkout*/planeshift/trunk/docs/compiling.html#compile) ).

However, using the precompiled client and following Rizin's Ubuntu Problem Solution Thread (http://hydlaa.com/smf/index.php?topic=32288.msg371380#msg371380) solved all my problems so far.
Title: Re: Game starts but when i want to login i get fatal error
Post by: Kayden on May 16, 2008, 11:05:45 pm
Ah, yes...for some reason direct rendering crashes with an assertion on newer Intel drivers (since 2.1.x I think).

You'll want to use indirect rendering (which should be accelerated, assuming you have AIGLX turned on—if you're using the desktop effects, you definitely do):

$ cd (wherever your planeshift folder is)
$ export LIBGL_ALWAYS_INDIRECT=1
$ ./psclient

See if that helps.  If it is, you'll want to put the export LIBGL_ALWAYS_INDIRECT=1 line in your .bash_profile or in the "psclient" script itself.

Good luck!
--Kayden
Title: Re: Game starts but when i want to login i get fatal error
Post by: jekng on May 19, 2008, 03:41:26 pm
Hi.  I get the following error when I entered  export LIBGL_ALWAYS_DIRECT=1 first:

ATTENTION: default value of option force_s3tc_enable overridden by environment.
ALERT: crystalspace.window.x.extf86vm:  Unable to switch mode

crystalspace.window.x.extf86vm:  Unable to switch mode
ALERT: crystalspace.canvas.glx2d:  Failed to open the X-Window!

crystalspace.canvas.glx2d:  Failed to open the X-Window!
ALERT: crystalspace.graphics3d.opengl:  Error opening Graphics2D context.

crystalspace.graphics3d.opengl:  Error opening Graphics2D context.
ATTENTION: option value of option force_s3tc_enable ignored.

planeshift.application.client:
  PlaneShift Steel Blue (0.4.00)
  This game uses Crystal Space Engine created by Jorrit and others
  1.2.0 [Unix-x86-GCC]
  Failed to init app!
Title: Re: Game starts but when i want to login i get fatal error
Post by: Caarrie on May 19, 2008, 03:58:46 pm
Hi.  I get the following error when I entered  export LIBGL_ALWAYS_DIRECT=1 first:


$ cd (wherever your planeshift folder is)
$ export LIBGL_ALWAYS_INDIRECT=1
$ ./psclient

See if that helps.  If it is, you'll want to put the export LIBGL_ALWAYS_INDIRECT=1 line in your .bash_profile or in the "psclient" script itself.

Well it seems you are not exporting the right thing it is INDIRECT not DIRECT
Title: Re: Game starts but when i want to login i get fatal error
Post by: jekng on May 25, 2008, 03:04:41 pm
Hi.  Thanks that has solved the problem. Much appreciated.