PlaneShift

Support => Linux Specific Issues => Topic started by: AndreR on July 14, 2006, 05:30:31 pm

Title: No Sound?
Post by: AndreR on July 14, 2006, 05:30:31 pm
Hm, little problem, guys...

I can't hear anything. I think, this is a problem. I use a "CreativeLabs SoundBaster Audigy 4"-card and SuSE Linux 10.1. Please help, thanks.
Title: Re: No Sound?
Post by: Wired_Crawler on July 14, 2006, 06:21:43 pm
It may be the thing which I described -> there (http://hydlaa.com/smf/index.php?topic=23049.msg267135#msg267135). Add to Your psclient.cfg the line:
Code: [Select]
SndSys.Driver.ALSA.SoundBufferms = 150
and try if it helps. You may need other value to get more stable sound.

Alternatively You can switch to oss by uncommenting the line
Code: [Select]
SndSys.Driver = crystalspace.sndsys.software.driver.oss
but oss driver works worse then alsa.
Title: Re: No Sound?
Post by: AndreR on July 14, 2006, 08:53:10 pm
Now there is sond in the menue but not ingame...
Title: Re: No Sound?
Post by: scatha on July 19, 2006, 10:18:59 am
I am also SuSE 10.1 and when I installed the 015b client out of the box, the sound was working fine. However, after I run the "Updater", sound was down again, and when I enable the OSS line in the .cfg, it crashes again
Title: Re: No Sound?
Post by: scatha on July 19, 2006, 10:27:18 am
Ok, I tried this

SndSys.Driver.ALSA.SoundBufferms = 150

and it works for me, sound is fine as it is supposed to be !
Title: Re: No Sound?
Post by: Bigglez on July 30, 2006, 12:00:25 pm
Added that (SndSys.Driver.ALSA.SoundBufferms = 150) line but there is still no sound.
Am on Fedora Core 3.
Updated to the latest planeshift version and ran fixlibs.

help... :'(
Title: Re: No Sound?
Post by: Wired_Crawler on July 31, 2006, 09:27:29 am
Try smaller and higher values for that parameter, maybe You will be lucky. If You are not, You will have to do what I did - compile CS/cel/PS from source according to compiling guide, then get and compile older version of Crystal Space's alsa driver (plugins/sndsys/renderer/software/drivers/alsa), revision 23869 from svn repository.
Title: Re: No Sound?
Post by: Capprion on August 01, 2006, 06:54:15 am
so does sound still cause a mem leak ?
Title: Re: No Sound?
Post by: Induane on August 01, 2006, 06:55:52 am
afaik that has been fixed, but don't quote me on that ;)
Title: Re: No Sound?
Post by: Capprion on August 01, 2006, 10:36:21 am
well i spose it doesnt matter much to me cncidering i can hear the sound at the loading screen and then at the character creation and selection...but soon as i get in game music/sound dont work at all
Title: Re: No Sound?
Post by: Wired_Crawler on August 01, 2006, 10:57:13 am
This is exactly what was happening for me, that's why I use older alsa driver, which works fine.
Title: Re: No Sound?
Post by: Capprion on August 01, 2006, 11:06:22 am
i use alsa or oss either one..dont matter, just seems to not work for some reason in this game
Title: Re: No Sound?
Post by: Wired_Crawler on August 01, 2006, 11:27:25 am
Maybe my statement wasn't clear enough. I had to compile older version of sound plugin (more precisely - alsa dirver) in Crystal Space (just look at my earlier post above).
OSS support in CS sucks :/.
Title: Re: No Sound?
Post by: Xordan on August 03, 2006, 07:21:07 pm
We should be getting a OpenAL plugin soon (one or two updates away), so hopefully that will work better for people.
Title: Re: No Sound?
Post by: Bigglez on August 06, 2006, 10:34:36 pm
Update:
I moved to Kubuntu 6.06
Planeshift (latest) runs fine.
First time I ran it there was sound. I was so happy.
Second time - no more sound.
:(

But those new areas! Wow. Such wonder.
 \\o// \\o// \\o//
Title: Re: No Sound?
Post by: Induane on August 18, 2006, 04:27:16 am
Oddly enough ... someone was having trouble getting sound working of FreeBSD as they dont have alsa at all apparantly.  Uncommenting oss in psclient caused it to crash... I on a stupid whim had him add


SndSys.Driver.OSS.SoundBufferms = 150

to psclient.cfg and then it started working...

don't know if it was related or not but perhaps its a temp fix for those totally out in the cold.
Title: Re: No Sound?
Post by: Capprion on August 30, 2006, 08:29:48 am
ok so where exactly should i add this line..or any lines the end? any spaces or dropdowns or whatever needed..iv never fooled round with files like this befor

 i just added it to the end and got sound working up until i actually enterd the world. makes no sence
Title: Re: No Sound?
Post by: Induane on August 30, 2006, 04:47:28 pm
Make sure the oss driver is uncommented then add that line anywhere.
Title: Re: No Sound?
Post by: Capprion on August 30, 2006, 11:43:02 pm
errr lol you lost me when ya said commented
Title: Re: No Sound?
Post by: Induane on September 02, 2006, 06:43:18 am
no problem! :D

Open the file psclient.cfg in a text editor.  Look for these two lines:

; Linux - OSS sound system

;SndSys.Driver = crystalspace.sndsys.software.driver.oss

A comment simply means that a character or two is placed in front of a line to disable it... it means the line is ignored by psclient.  To uncomment remove the ; from the 2nd line so that it looks like this:

; Linux - OSS sound system
SndSys.Driver = crystalspace.sndsys.software.driver.oss