PlaneShift

Support => Linux Specific Issues => Topic started by: Maxime on May 09, 2010, 01:59:33 pm

Title: segmentation fault Fedora x64
Post by: Maxime on May 09, 2010, 01:59:33 pm
I'm installed planeshift 0.5 on my computer, with Fedora 12 as OS. But the game doesn't run.

When i run pslaunch here is i have like return

Code: [Select]
[root@max PlaneShift]# ./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'
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: Using mirror http://216.6.227.163/xordan/
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 8400M G/PCI/SSE2 (vendor: NVIDIA Corporation) version 3.2.0 NVIDIA 195.36.15
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
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Sun May  9 13:57:55 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Sun May  9 13:57:55 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: ALSA Software
DEBUG: Default OpenAL device: ALSA Software
DEBUG: No device specified
DEBUG: Falling back on default device
Erreur de segmentation (core dumped)

And when i run ./psclient

Code: [Select]
[root@max PlaneShift]# ./psclient
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0509 13:59:04.838503  2623 libcurl_wrapper.cc:57] LibcurlWrapper init succeeded
Your configuration files are in... /root/.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.
W0509 13:59:04.935348  2623 libcurl_wrapper.cc:205] Could not find libcurl function curl_formfree
W0509 13:59:04.935377  2623 libcurl_wrapper.cc:157] Could not find function pointers
Unable to start correctly libcurl!
Erreur de segmentation (core dumped)
Title: Re: segmentation fault Fedora x64
Post by: bilbous on May 09, 2010, 04:33:38 pm
this appears to be an openal problem you might try setting it to null in the psclient.cfg or planeshift.cfg files. As far as I know you still won't get the pslaunch program to run but you might be able to get psclient to run and thus run the game without sound. When you need to update the game you will need to run planeshift --console.

Another thing you might try is to install the alsa sound system and muck about with the openal config but that would be more complicated. Openal pulseaudio support seems to be broken unless it uses an alsa backend which Fedora does not, unless possible you install KDE. I never got it to work, myself but I gave up pretty quickly because I had it working in Mandriva and the Fedora installer left my system in an unstable state generally. I still have it installed on a secondary partition but I never boot it at all.

By the way you shouldn't run games with the root account in any event.

Another factor of Fedora that might be contributing is the Selinux security subsystem which is a little complicated to figure out.
Title: Re: segmentation fault Fedora x64
Post by: Maxime on May 09, 2010, 06:21:52 pm
Thanks, I succeed in running the game without the audio by changing psclient.cfg.

it remains to try.