Author Topic: Game does not start and spit out errors instead  (Read 964 times)

Typhon

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Game does not start and spit out errors instead
« on: May 02, 2010, 08:02:06 pm »

I installed Planeshift 0.5.3 for Linux 64bits on my Ubuntu machine, and the game doesnt seem to launch.

Here's what happen when i run psclient :

Code: [Select]
$ ./psclient
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0502 19:53:29.112630  3509 libcurl_wrapper.cc:57] LibcurlWrapper init succeeded
Your configuration files are in... /home/****/.PlaneShift
bt_audio_service_open: connect() failed: Connexion refusée (111)
bt_audio_service_open: connect() failed: Connexion refusée (111)
bt_audio_service_open: connect() failed: Connexion refusée (111)
bt_audio_service_open: connect() failed: Connexion refusée (111)

crystalspace.syntax.shadervariable:
  Texture '/lib/std/shadow_noise.png' not found.
  [node: shadervars,shadervar(name=tex shadow noise)]
crystalspace.window.x:  XOpenIM() failed
crystalspace.canvas.glx2d:  Failed to open the X-Window!
crystalspace.graphics3d.opengl:  Error opening Graphics2D context.
crystalspace.window.x:  XOpenIM() failed
crystalspace.canvas.glx2d:  Failed to open the X-Window!

crystalspace.engine.warning:
  Default shader /shader/std_lighting.xml not available
  Default shader /shader/std_lighting_portal.xml not available
shader z_only: ....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
shader lighting_default: ....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%

planeshift.application.client:
  PlaneShift Arcane Chrysalis (0.5.3)
  This game uses Crystal Space Engine created by Jorrit and others
  1.9.77.1146 [Unix-x86(64)-GCC]
  Failed to init app!
AL lib: ALc.c:1368: exit(): closing 1 Device
AL lib: ALc.c:1345: alcCloseDevice(): destroying 1 Context

And when i run ps launch :

Code: [Select]
$ ./pslaunch
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.weaver'
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: could not load plugin 'crystalspace.level.loader'
Checking for updates to the updater: Using mirror http://testing.xordan.com/
Couldn't write to file! (/home/****/.PlaneShift/updaterinfo.xml.download)
No updates needed!
Checking for updates to all files: No updates needed!
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: Can not load default shader vars, no iSyntaxService available
Opening GLX2D
Creating Context
ERROR: XOpenIM() failed
Failed to open the X-Window!
Error opening Graphics2D context.
Opening GLX2D
Creating Context
ERROR: XOpenIM() failed
Failed to open the X-Window!
Default shader /shader/std_lighting.xml not available
Default shader /shader/std_lighting_portal.xml not available
WARNING: could not load plugin 'crystalspace.renderloop.step.generic.type'
Failed to load plugin crystalspace.renderloop.step.generic.type; pandemonium will ensue.
WARNING: could not load plugin 'crystalspace.rendermanager.unshadowed'
No rendermanager set!
Mounting skin: /planeshift/art/pslaunch.zip
Texture Manager parsing /paws/launcher/imagelist.xml
Erreur de segmentation

I dont understand  what the problem is. Please help me.

Typhon

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Game does not start and spit out errors instead
« Reply #1 on: May 02, 2010, 08:25:49 pm »
I have no idea, but I'd try a
./pslaunch --repair
until someone smarter answers here :)

Sen
.....also a saddle that won't pinch the tail. One day!

Typhon

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Game does not start and spit out errors instead
« Reply #2 on: May 02, 2010, 09:47:13 pm »
./pslaunch repair downloaded a few files, that were apparently corrupted, but it didnt seem to change anything.

Typhon

RlyDontKnow

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 403
    • View Profile
Re: Game does not start and spit out errors instead
« Reply #3 on: May 03, 2010, 03:29:54 am »
looks like a driver issue to me.
as you can read in the log ps fails to open the x window because it cannot create an OpenGL2D context

this can have several causes, the most common ones are(in no particular order):
- your graphics driver isn't installed properly
- you have the wrong graphics driver installed
- your X configuration is wrong
- your graphics driver is too old

so your best bet will probably be to reinstall/update your graphics driver.
if it doesn't help, you should verify it's actually installed properly:
ldd `which glxgears` -> libGL.so should point to the right one
glxinfo | grep direct -> should say direct rendering is enabled
glxgears -> you should see some rotating wheels and in the terminal get a decent amount of FPS (I'd say 3000-5000 as a minimum, but don't nail me on those values)

especially with multi-arch systems, it commonly happens that libGL for one arch points to the wrong one.
in this case do ldconfig

also you should make sure that your installed graphic driver actually supports your graphic card (e.g. open source drivers may not support the latest cards and binary drivers may not support very old cards)

finally in case your X configuration is wrong: I'd say it's best if you consult a help channel of your choice - preferably for your distribution - to get some help

additionally something seems wrong with your audio configuration. you may want to check this as well

kind regards
RlyDontKnow

Typhon

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Game does not start and spit out errors instead
« Reply #4 on: May 06, 2010, 09:33:46 pm »
I downloaded the appropriate driver and updated my system.

Now, whenever i run either pslaunch or psclient, it says this :

Code: [Select]
Inconsistency detected by ld.so: dl-close.c: 731: _dl_close: Assertion `map->l_init_called' failed!
EDIT : Ok, so i found the solution on this thread.

Now, it's spitting out the same old errors...

Typhon
« Last Edit: May 06, 2010, 09:43:05 pm by Typhon »