PlaneShift

Support => Linux Specific Issues => Topic started by: Jantaro on February 21, 2010, 02:23:39 am

Title: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 02:23:39 am
I'm using Fedora 12, and when I run the launcher from the terminal I get this:
Code: [Select]
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'
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: Can not load default shader vars, no iSyntaxService available
Opening GLX2D
Checking for updates to the updater: Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x0000000000000024, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
NOTIFY: Applied: NVidia: GENERATE_MIPMAPS does not generate last level
NOTIFY: OpenGL renderer: GeForce 9800M GS/PCI/SSE2 (vendor: NVIDIA Corporation) version 3.2.0 NVIDIA 190.53
NOTIFY: Using windowed mode at resolution 1024x768.
NOTIFY: Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48 AccumAlpha: 16 MultiSamples: 0
NOTIFY: Multisample: disabled
NOTIFY: Using VBO with 64 MB of VBO memory
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
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Sat Feb 20 20:14:46 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sat Feb 20 20:14:46 2010, Could not open image: >/paws/base/maps/leather/bottom_1.png<
DEBUG: Initializing OpenAL sound system
DEBUG: Retrieving available devices.
DEBUG: Available OpenAL device: PulseAudio Software
DEBUG: Available OpenAL device: ALSA Software
DEBUG: Default OpenAL device: PulseAudio Software
DEBUG: No device specified
DEBUG: Falling back on default device
Segmentation fault
I'm at a loss as to what I should do; any ideas?
Title: Re: PS launcher doesn't work
Post by: bilbous on February 21, 2010, 03:15:46 am
Either run the updater from the commandline
Code: [Select]
planeshift --console and the game as
Code: [Select]
/opt/PlaneShift/psclientor uninstall openal.  Of course if the game installed somewhere else you will have to change the latter to specifically refer to where it is installed.

Also you probably need to ensure that ~/.PlaneShift/planeshift.cfg has a line in it:
Code: [Select]
System.PlugIns.iSndSysRenderer = crystalspace.sndsys.renderer.software  where the last term is either software or null and not openal.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 03:30:20 am
I know that I tried those first two: running the updater did seem to update it (there was a loading bar at least) but then it gave me the same errors, and I tried running the client, and it segfaulted.
Changing the end of that line to software or null didn't change anything either.
Running the console thing for the second time said that the "Local config and server config are incompatible!", and that I should repair it. How would I go about that?
Thanks for the help.
Title: Re: PS launcher doesn't work
Post by: bilbous on February 21, 2010, 04:53:52 am
hmm did you have a previous version (.4) installed? If so you need to completely uninstall it. I'm pretty sure you can save your log files and shortcuts but not positive.
You could also try running planeshift --repair but make sure your updaterinfo.xml looks something like this:
Code: [Select]
<config>
    <mirrors>
        <mirror id="1" name="xordan" url="http://testing.xordan.com/" />
        <mirror id="2" name="clevertech" url="http://planeshift.clevertech.net/Updates/" />
    </mirrors>
    <updater version="2.3" md5win32="f6eeb8b45ced29b557fdc2f3b949270f" md5linux32="b6bd870603804d6595d1e258dd9367b9" md5linux64="003a73e695ecd78076926791604c55aa" md5macosx="70c85d6f87de1027f8bb71066545b8cc" md5win64="5ba8ab349fb329ff190e6305ed343aac" />
    <client>
        <version name="0.5.1.3" md5win32="a3321bd349dfba780b59f5520be82bf1" md5linux32="eada7f518ebef7ae4a704d9a18ffefbd" md5linux64="dd590e743a216e440fcdea7e5ad68e6a" md5macosx="2969583b0a474f1e75b402bedb03e5f5" md5win64="7bc5250ad2b944f25a0074eeb78ca909" md5generic="c22becfa1caec9381ede7b4d8c3b50cc" />
    </client>
</config>
Well at least you want the mirrors fields to point to those servers, I wouldn't much with whatever else is in there as it will update from the mirror.

Let me stress though that you might want to wait to hear from someone else as I have not had this problem myself and you follow this advice at your own risk. The openal thing I have had in several other versions of linux but the last fedora I have run here was either 8 or 9 and I haven't seen that incompatible message myself.


By the way, if you uninstalled openal then the launcher should work and it would likely prompt you to do the repair. I can't guarantee that either though. I do know that the configuration files that come with .5 are not all compatible with the previous version and the installer makes no attempt to clean up the old ones so if you did have .4 installed it is likely the problem.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 06:29:20 am
Thanks for the help. I'm in fact still running the repair thing, and it's taking quite a while for the .zip files to download, so I will most likely return tomorrow with some information. Hopefully this will work.

Okay, the updater finished and nothing seems to have changed. Also when you talk about .5 and .4, are you referring to planeshift or openal?
Nvm, I'm dumb. I'm almost entirely certain that I have .5 of PS.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 09:28:03 pm
Okay, this is weird. I ran planeshift --console again on a whim, and it did in fact update something, but it gave me those errors again. I decided, for no real reason, to do the console again. It gave me a loading bar and then this:

Code: [Select]
Patching file art/materials.zip: Done!
Checking for correct md5sum: Success!
Patching file art/meshes.zip: Done!
Checking for correct md5sum: Success!
Patching file art/soundlib.xml: Done!
Checking for correct md5sum: Success!
Patching file art/world.zip: Done!
Checking for correct md5sum: Success!
Patching file data/gui/bankwindow.xml: Done!
Checking for correct md5sum: Success!
Patching file data/gui/gmaddeditaction.xml: Done!
Checking for correct md5sum: Success!
Patching file data/gui/guildwindow.xml: Done!
Checking for correct md5sum: Success!
Patching file data/help.xml: Done!
Checking for correct md5sum: Success!
Patching file data/options/controls_def.xml: Done!
Checking for correct md5sum: Success!

So I decided to try running /opt/PlaneShift/pslaunch again, and I simply got this single error:

Code: [Select]
./pslaunch.bin: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

What the heck happened? Is that better or worse than what I had?

For the record, this appears when I run the repair or the console. I think I might have broken it.
Title: Re: PS launcher doesn't work
Post by: Sen on February 21, 2010, 10:24:43 pm
Hi

you should not use the updater right now (There is a topic about that somewhere here...) - the server was updated and the new client should be released soon.
About the last error message: Try to install the ssl development package.
Once the client works again you can check if you are now already on 0.5.2.

Sen
Title: Re: PS launcher doesn't work
Post by: Xordan on February 21, 2010, 10:25:39 pm
hmm, looks like libssl just became a dependency of pslaunch... a bit odd. Might be because we just started using a new http transfer lib.
You can try installing libssl from your package manager, I'll see if I can ship with libssl in future.

Edit: You can also try deleting libcurl.so.4 from the libs/ folder.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 10:32:26 pm
I couldn't find anything called "libssl", but I apparently have openssl and openssl-devel installed. Looking through my package manager, I see a ton of various ssl packages designed for different protocols or whatever, do you think I'd need a specific one?
Title: Re: PS launcher doesn't work
Post by: Lanarel on February 21, 2010, 10:32:44 pm
When building on windows I had to download curl from somewhere. There are versions with and without SSL. I guess this one is with.
Title: Re: PS launcher doesn't work
Post by: Sen on February 21, 2010, 10:40:28 pm
What version is your openssl? I wonder if there is any libssl.so.xxxxx on your system.

Sen
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 10:44:09 pm
The entire name is "openssl-1.0.0.0.13.beta4.fc12.x86_64".
Title: Re: PS launcher doesn't work
Post by: Sen on February 21, 2010, 11:18:41 pm
So I assume somewhere on your system (possibly in /lib) is a file called libssl.so.1.0.0 or something like that. I personally would then do just a "ln -s libssl.so.1.0.0 libssl.so.0.9.8" in the right directory. For me it looks like your openssl is newer than what the client expects.
I hope that helps.

Sen
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 21, 2010, 11:37:04 pm
Thanks; what would you consider to be the "right directory", the one that libssl.so.1.0.0 is in? I found it in /usr/lib64. Are you just saying that I should make a symbolic link to it so that the client will get the same data, just under a different name?
Title: Re: PS launcher doesn't work
Post by: Earowo on February 22, 2010, 12:20:37 am
Hi

you should not use the updater right now (There is a topic about that somewhere here...) - the server was updated and the new client should be released soon.
About the last error message: Try to install the ssl development package.
Once the client works again you can check if you are now already on 0.5.2.

Sen
i think that saves me some effort, earlier today [i had 5.1.1] i got an update, but the update cancled itself and wouldnt come back, and repair put me at 4.03....AGAIN
now that i know that, ima try and download 5.2
thnx
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 22, 2010, 12:37:08 am
Okay, after accidentally making a symbolic link called "libssl.so.o.9.8" and feeling like an idiot, I did it correctly and now it's whining about libcrypto.so.0.9.8, so I'm just gonna do the same thing until it works. Or until another problem appears.

Edit: Made another symbolic link (it needed libcrypto.so.0.9.8 and I had libcrypto.so.1.0.0) and now I'm back to the original flood of errors.
Hopefully that might help refine the fixing process.
Thanks for all the help.

Edit: For the record, it still doesn't work; any ideas?
Title: Re: PS launcher doesn't work
Post by: Xordan on February 23, 2010, 01:31:48 am
I've just created new installers which ship with a version of libcurl which does not require libssl.
Please download and try it, hopefully it will work for you!

http://testing.xordan.com/PlaneShift-v0.5.2.1-x86.bin         4eed62fbe7be695d390658a81f4fa8be
http://testing.xordan.com/PlaneShift-v0.5.2.1-x64.bin         75f1c7ebe74ede626b699a222d321518
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 23, 2010, 01:37:31 am
All right, I'll try those (or rather, I'm pretty sure I want the x64 one). Thanks a lot!

Crud, I can't uninstall the one I had originally, apparently that isn't working either. Is there another way to get rid of it?
Because /opt/PlaneShift/uninstall doesn't even exist. Where did it go?
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 23, 2010, 04:39:39 am
Uninstalled, reinstalled, ran, and got this again:
Code: [Select]
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://216.6.227.163/xordan/
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: Can not load default shader vars, no iSyntaxService available
Opening GLX2D
Creating Context
No updates needed!
Checking for updates to all files: No updates needed!
Video driver GL/X version (direct renderer)
Visual ID: 0x0000000000000024, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
NOTIFY: Applied: NVidia: GENERATE_MIPMAPS does not generate last level
NOTIFY: OpenGL renderer: GeForce 9800M GS/PCI/SSE2 (vendor: NVIDIA Corporation) version 3.2.0 NVIDIA 190.53
NOTIFY: Using windowed mode at resolution 1024x768.
NOTIFY: Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48 AccumAlpha: 16 MultiSamples: 0
NOTIFY: Multisample: disabled
NOTIFY: Using VBO with 64 MB of VBO memory
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
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Mon Feb 22 22:37:25 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Feb 22 22:37:25 2010, Could not open image: >/paws/base/maps/leather/bottom_1.png<
DEBUG: Initializing OpenAL sound system
DEBUG: Retrieving available devices.
DEBUG: Available OpenAL device: PulseAudio Software
DEBUG: Available OpenAL device: ALSA Software
DEBUG: Default OpenAL device: PulseAudio Software
DEBUG: No device specified
DEBUG: Falling back on default device
Segmentation fault
:@#\
Title: Re: PS launcher doesn't work
Post by: bilbous on February 23, 2010, 06:26:04 am
you can update using pslaunch --console and run the game using psclient
both programs are in the install directory. The openal bug is still with us.
if the update does not work you can try --repair.

For the record there was an update today which wouldn't take for me until I --repair. I am now at .5.2.1 and pslaunch or planeshift  which calls it gives me exactly the same error you have but the game runs fine when called by psclient.

You have been the victim of some unfortunate timing in that the new client (.5.2) came out right after you tried to install the game and there were a few problems with it.

If you got the openal thing after using psclient you need to go into planeshift.cfg and make that change again as I suggested in my first post. Openal can be turned off in the game proper but it cannot be turned off for the launcher.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 23, 2010, 09:07:40 pm
Running the console didn't do much, it said everything was up to date. When I ran pslaunch it gave me the usual, and psclient gave me this:
Code: [Select]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0223 15:05:43.742615  2341 libcurl_wrapper.cc:57] LibcurlWrapper init succeeded
Your configuration files are in... /home/sam/.PlaneShift
PlaneShift has quit unexpectedly!

A report containing only information strictly necessary to identify this problem will be sent to the PlaneShift developers.
Please consult the PlaneShift forums for more details.
Attempting to upload crash report.
W0223 15:05:43.787391  2341 libcurl_wrapper.cc:205] Could not find libcurl function curl_formfree
W0223 15:05:43.787416  2341 libcurl_wrapper.cc:157] Could not find function pointers
Unable to start correctly libcurl!
Segmentation fault

I'm gonna go fix that config file and see if it does anything.

Okay, I changed the line so it ended in ".software" and this happened:

Code: [Select]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0223 15:12:09.768566  2384 libcurl_wrapper.cc:57] LibcurlWrapper init succeeded
Your configuration files are in... /home/sam/.PlaneShift

crystalspace.syntax.shadervariable:
  Texture '/lib/std/shadow_noise.png' not found.
  [node: shadervars,shadervar(name=tex shadow noise)]
PlaneShift has quit unexpectedly!

A report containing only information strictly necessary to identify this problem will be sent to the PlaneShift developers.
Please consult the PlaneShift forums for more details.
Attempting to upload crash report.
W0223 15:12:10.170443  2384 libcurl_wrapper.cc:205] Could not find libcurl function curl_formfree
W0223 15:12:10.170466  2384 libcurl_wrapper.cc:157] Could not find function pointers
Unable to start correctly libcurl!
Segmentation fault

I guess I'll try ".null" now...

HAHA! EAT THAT YOU SILLY CODE! I WIN!
In other words, the damn thing finally worked with a few errors, but the main screen appeared w/ servers and such. Thanks for all the help, I'll tell you if there are any other problems.
Title: Re: PS launcher doesn't work
Post by: bilbous on February 23, 2010, 09:37:22 pm
Check out this link, (http://www.hydlaaplaza.com/smf/index.php?topic=36937.0) It is possible to get the sound working in linux. The openal problem can be eliminated.
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 24, 2010, 01:00:54 am
Hmm, I placed that file where it belongs, but when I do the whole ".null",".software",".openal" thing, it still doesn't work unless it's ".null".
Title: Re: PS launcher doesn't work
Post by: bilbous on February 24, 2010, 02:12:25 am
Odd, but perhaps you are not using an alsa backend for general sound processing. Pulse audio might be doing something different or perhaps your sound card only has oss drivers.  It is important to note as well that the . is actually part of the proper name of the file .alsoftrc so if you left it out that might be why. Oh and if you uninstalled the openal and you want it to work you will have to reinstall it. It doesn't help to add a config file for an app that isn't installed.

I still haven't got my fedora working so maybe I'll take another crack at that to see if I can find what difference there might be. Did you locate the config file in the /etc directory?
Title: Re: PS launcher doesn't work
Post by: Jantaro on February 24, 2010, 04:32:19 am
I don't know what you're referring to about the /etc thing, but I know that I did name it with a "." and openal is still there. I'll take another look at it tomorrow. Thanks for the help, I had a lot of fun playing today.