Author Topic: Ubuntu 10.04 LTS issues  (Read 2286 times)

Codarir

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Ubuntu 10.04 LTS issues
« on: May 03, 2010, 07:50:59 pm »
I upgraded to Kubuntu 10.04 over the weekend and ran into the following problems and have found the following workarounds.
the 1st problem was openal. there are 3 options for this:
1) uninstall openal
2) install the karmic version system wide http://packages.ubuntu.com/karmic/libopenal1
3)or extract libopenal.so.1.8.446 from the file linked to above, rename it to libopenal.so.1, and place it in your /Planeshift/libs/ file (mine is in /usr/local/games/ default install is /opt/)

after this i had another problem. pslaunch crashes. as of yet, i haven't found a way to get this working. here is the console output:

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://planeshift.clevertech.net/Updates/
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 8300/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
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Mon May  3 11:31:04 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon May  3 11:31:04 2010, Could not open image: >/paws/base/maps/leather/bottom_1.png<
DEBUG: Initializing OpenAL sound system
DEBUG: Retrieving available devices.
Segmentation fault

the game can be run by running psclient in a terminal.


only other issue i have had since i started playing this game is memory usage. after playing for awhile, all available memory is taken up and it starts caching to the hdd.

system specs:
amd phenom 9850
nvidia geforce 8300 driver: 195.36.15
4 GB ddr2 1066
« Last Edit: May 03, 2010, 07:52:50 pm by Codarir »

gurn1701

  • Traveller
  • *
  • Posts: 12
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #1 on: May 10, 2010, 02:06:24 pm »
Hmm. maybe I will stay with 9.10

Theotenai

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #2 on: May 15, 2010, 02:46:15 pm »
Hello (please excuse my bad english),

I had the openal problem but extracting libopenal.so.1.8.446 from the karmic package, etc... worked fine.

But now I have another problem when I click "Play" I got this message :
libgcc_s.so.1 must be installed for pthread_cancel to work
Abandon

I found this on the internet about this error on Ubuntu (https://bugs.launchpad.net/ubuntu/+source/pound/+bug/40285) :

Quote
"the error:

 libgcc_s.so.1 must be installed for pthread_cancel to work

is printed by applications using pthreads and calling:

set the thread to check or cancel:
thread_setcancelstate (PTHREAD_CANCEL_ENABLE, NULL);
        pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, NULL);

and then in a tight loop try to lock a mutex and call test cancel like:
while (pthread_mutex_trylock (&progress_lock) ==
                               EBUSY)
                                pthread_testcancel ();

if the thread is exited because the parent thread sent a pthread_exit (NULL); for instance, you will see that error.

gcc thinks that this file is in:
$> gcc --print-file-name=libgcc_s.so.1
/lib/../lib/libgcc_s.so.1

and not /lib/libgcc_s.so.1. though the path should really point to the same file in the end.

This error is fixed by adding /lib to /etc/ld.so.conf and running ldconfig

I tried adding /lib to /etc/ld.so.conf and running ldconfig but there is no change.
It seems that the bug is closed without solution.

Any idea ?

Thanks in advance :)

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #3 on: May 16, 2010, 08:28:06 pm »
Does the same happen when you just start psclient? (Best from a command prompt)

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

Theotenai

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #4 on: May 20, 2010, 08:31:07 pm »
Sorry for the delay.

Yes, it works by starting psclient (without sound though, but it's probably another problem). Do I have to do it this way or is there something I can do to launch the game in a "normal" way ?

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #5 on: May 20, 2010, 08:39:25 pm »
I don't know to be honest. But you can make a desktop-shortcut to psclient, so that you don't need to open a command promt each time.
Maybe someone else here or on the irc channel (if you go there) has an idea.

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

Theotenai

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Ubuntu 10.04 LTS issues
« Reply #6 on: May 20, 2010, 09:03:38 pm »
In fact it's a bit strange, it works even by launching "planeshift" as root now... Maybe due to an upgrade of something since the last time I tried. But the message is still there when I close the game.
I will try to properly re-install the game and see what happens (also shortcuts desappeared in the menu).

Anyway, at least I can play now, thanks for your answer :)