PlaneShift

Support => Linux Specific Issues => Topic started by: Alvinius on November 23, 2008, 03:19:08 am

Title: No Sound Intrepid 8.10 64 bit
Post by: Alvinius on November 23, 2008, 03:19:08 am
Hi, I do not get any sound in game. I am running Ubuntu 8.10. Alsa, I have no other issues with sound in any other applications.

Here is the output:

:~/planeshift/PlaneShift$ ./psclient
Your configuration files are in... /home/james/.PlaneShift
DEBUG: Sound System Software Renderer Initializing...

planeshift.application.client:
  PlaneShift Steel Blue (0.4.01)
  This game uses Crystal Space Engine created by Jorrit and others
  1.4.0 [Unix-x86-GCC]
Sat Nov 22 18:55:11 2008, LOG_ANY flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_WEATHER flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SPAWN flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CELPERSIST flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_PAWS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_GROUP flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CHEAT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_LINMOVE flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SPELLS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_NEWCHAR flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SUPERCLIENT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_EXCHANGES flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_ADMIN flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_STARTUP flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CHARACTER flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CONNECTIONS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CHAT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_NET flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_LOAD flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_NPC flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_TRADE flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SOUND flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_COMBAT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SKILLXP flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_QUESTS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_SCRIPT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_MARRIAGE flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_MESSAGES flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_CACHE flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_PETS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_USER flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_LOOT flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_DUELS flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, LOG_TRIBES flag deactivated with no filter.
Sat Nov 22 18:55:11 2008, All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 22 for resolution 1680x1050
WARNING! Object 'spikes_04' is not closed!
WARNING! Object '_s_sigil_05' is not closed!
WARNING! Object 'spikes_03' is not closed!
WARNING! Object '_s_sigil_04' is not closed!
WARNING! Object 'spikes_02' is not closed!
WARNING! Object '_s_sigil_03' is not closed!
...
  PSLoader: step 2: success
Sat Nov 22 18:55:19 2008, <src/client/pscharcontrol.cpp:879 LoadKeys SEVERE>
Sat Nov 22 18:55:19 2008, Failed to map 'F10' to 'Brightness reset'
  PSLoader: step 3: success
Sat Nov 22 18:55:21 2008, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Sat Nov 22 18:55:21 2008, Could not find file: /planeshift/world/terr_common/sound.xml
Sat Nov 22 18:55:21 2008, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Sat Nov 22 18:55:21 2008, Could not find file: /planeshift/world/hydlaa_jayose/sound.xml
  PSLoader: step 4: success
Sat Nov 22 18:55:24 2008, <src/client/psclientdr.cpp:248 HandleStatsUpdate SEVERE>
Sat Nov 22 18:55:24 2008, Stat request failed because CelClient not ready for 41852
Map akkaio loaded successfully in 2650ms
Sat Nov 22 18:55:28 2008, <src/client/psclientdr.cpp:248 HandleStatsUpdate SEVERE>
Sat Nov 22 18:55:28 2008, Stat request failed because CelClient not ready for 41852

crystalspace.mesh.anim.pdlight:
  Could not find light 'crystal2akkroad2' in sector 'akkroad1'
  Could not find light 'crystal1akkroad1' in sector 'akkroad2'
Map akkroad loaded successfully in 40ms
Sat Nov 22 18:55:28 2008, <src/client/zonehandler.cpp:189 HandleMessage>
Sat Nov 22 18:55:28 2008, Still loading maps, ignoring crossing to sector Akk-Central.

planeshift.application.client:
  PSLoader: step 5: success
  PSLoader: step 6: success
Sat Nov 22 18:55:29 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:55:29 2008, Got DR message for unknown entity 41489.
Sat Nov 22 18:55:29 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:55:29 2008, Got DR message for unknown entity 39833.
Sat Nov 22 18:55:51 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:55:51 2008, Got DR message for unknown entity 41337.
Sat Nov 22 18:55:58 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:55:58 2008, Got DR message for unknown entity 41782.
Sat Nov 22 18:56:02 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:56:02 2008, Got DR message for unknown entity 34900.
Sat Nov 22 18:56:08 2008, <src/client/psclientdr.cpp:212 HandleDeadReckon SEVERE>
Sat Nov 22 18:56:08 2008, Got DR message for unknown entity 34900.

Now I highlited what may be the problem;
Sat Nov 22 18:55:21 2008, Could not find file: /planeshift/world/terr_common/sound.xml
Sat Nov 22 18:55:21 2008, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Sat Nov 22 18:55:21 2008, Could not find file: /planeshift/world/hydlaa_jayose/sound.xmlSat Nov 22 18:55:21 2008, Could not find file: /planeshift/world/terr_common/sound.

I do not have a folder /planeshift/world



Title: Re: No Sound Intrepid 8.10 64 bit
Post by: weltall on November 23, 2008, 10:26:39 am
no it's not that. it's that pulseaudio thingy gnome people wanted as default for distro shipping with it and  the fact ubuntu people in intrepid release  did even a worse disaster (other than adding it in the first place since hardy): now pulseaudio takes in hostage alsa all the time since bootup.
there are four ways to fix this.
1) wait next ps release and then use openal as output plugin for cs (as the lagging sound problems with it were fixed in last cs revisions)
2) kill pulseaudio
3) use pasuspend ./psclient (doesn't always work)
4) remove pulseaudio and setup all applications to use alsa which works way better

you can look at this thread for various informations about pulseaudio problems http://ubuntuforums.org/showthread.php?t=852355 there are some nice links in the middle of the thread
Title: Re: No Sound Intrepid 8.10 64 bit
Post by: jruggle on November 23, 2008, 10:40:21 pm
This worked for me:
Code: [Select]
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound
sudo rm /etc/X11/Xsession.d/70pulseaudio
Title: Re: No Sound Intrepid 8.10 64 bit
Post by: gralco on December 02, 2008, 07:16:21 am
This worked for me:
Code: [Select]
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound
sudo rm /etc/X11/Xsession.d/70pulseaudio


I did that and still got

** (nautilus:19011): WARNING **: Unable to add monitor: Operation not supported
Your configuration files are in... /home/eric/.PlaneShift
DEBUG: Initializing OpenAL sound system
DEBUG: Retrieving available devices.
DEBUG: Default OpenAL device: '((sampling-rate 44100) (device '(native))
DEBUG: No device specified
DEBUG: Falling back on default device
DEBUG: Can't retrieve attributes size: OpenAL error ALC_INVALID_DEVICE

planeshift.application.client:
  PlaneShift Steel Blue (0.4.03)
  This game uses Crystal Space Engine created by Jorrit and others
  1.4.0 [Unix-x86-GCC]
Tue Dec  2 01:10:24 2008, LOG_ANY flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_WEATHER flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SPAWN flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CELPERSIST flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_PAWS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_GROUP flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CHEAT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_LINMOVE flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SPELLS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_NEWCHAR flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SUPERCLIENT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_EXCHANGES flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_ADMIN flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_STARTUP flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CHARACTER flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CONNECTIONS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CHAT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_NET flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_LOAD flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_NPC flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_TRADE flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SOUND flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_COMBAT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SKILLXP flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_QUESTS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_SCRIPT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_MARRIAGE flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_MESSAGES flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_CACHE flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_PETS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_USER flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_LOOT flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_DUELS flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, LOG_TRIBES flag deactivated with no filter.
Tue Dec  2 01:10:24 2008, All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 26 for resolution 1920x1200
WARNING! Object '_s_column_01' is not closed!
WARNING! Object 'spikes_06' is not closed!
WARNING! Object '_s_bridge_01' is not closed!
WARNING! Object '_s_walls_01' is not closed!
WARNING! Object 'spikes_05' is not closed!
WARNING! Object 'spikes_01' is not closed!
...
  PSLoader: step 2: success
Tue Dec  2 01:10:38 2008, <src/client/pscharcontrol.cpp:880 LoadKeys SEVERE>
Tue Dec  2 01:10:38 2008, Failed to map 'F10' to 'Brightness reset'
  PSLoader: step 3: success
Tue Dec  2 01:10:39 2008, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Tue Dec  2 01:10:39 2008, Could not find file: /planeshift/world/terr_common/sound.xml
Tue Dec  2 01:10:39 2008, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Tue Dec  2 01:10:39 2008, Could not find file: /planeshift/world/hydlaa_jayose/sound.xml
  PSLoader: step 4: success
Map hydlaa_common loaded successfully in 83ms
Tue Dec  2 01:10:39 2008, <src/client/psclientdr.cpp:248 HandleStatsUpdate SEVERE>
Tue Dec  2 01:10:39 2008, Stat request failed because CelClient not ready for EID:25473

crystalspace.mesh.anim.pdlight:
  Could not find light with ID '4831bf6f6f7453e7ad13cf536c263180'
  Could not find light with ID '4831bf6f6f7453e7ad13cf536c263180'
  Could not find light with ID '4831bf6f6f7453e7ad13cf536c263180'
  Could not find light with ID '4831bf6f6f7453e7ad13cf536c263180'
Map tutorial loaded successfully in 660ms
Tue Dec  2 01:10:40 2008, <src/client/psclientdr.cpp:248 HandleStatsUpdate SEVERE>
Tue Dec  2 01:10:40 2008, Stat request failed because CelClient not ready for EID:25473

planeshift.application.client:
  PSLoader: step 5: success
  PSLoader: step 6: success

crystalspace.graphics3d.shader.fixed:
  Multitexture units: moderate 4
psEngine destroyed.
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x4200003
  Serial number of failed request:  492
  Current serial number in output stream:  494
Title: Re: No Sound Intrepid 8.10 64 bit
Post by: thumbnail on February 16, 2009, 01:42:05 pm
have you tried

Code: [Select]
$ sudo modprobe snd-pcm-oss && sudo cat 'snd-pcm-oss' >> /etc/modules

And then restarting the client? Also don't bother with esound or any form of sound daemon unless you have a really compelling reason to (like a crap sound card that doesn't support hardware mixing from multiple sources) sound daemons/servers are usually more trouble than they're worth for oridinary day-to-day desktop use.

Note: the first part loads the oss compatibility module that creates a /dev/dsp device in udev and the second makes sure that module is always loaded on boot.

Hope this helps

  Elekeir Sarkain