Author Topic: Sounds works inside Planeshift, but now broken for everything else!  (Read 1196 times)

angrydw4rf

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Installed planeshift, started it up, everything worked great, quit and tried to play some music and sound was horribly garbled, sounded like fuzz on a tv.  Its not just with one application, its with playing movies, mp3s, sounds on aim.  If I start planeshift, it's sound is crystal clear! but everything outside is very garbled and fuzzy.  I am pretty new to Linux, I am running gentoo on amd64 architecture, installed from the amd64 binary, not through portage (i couldn't find it!).  Is it possible that Planeshift is not releasing its resources from the sound card or something? When I close plane shift, or its config, it closes but has a seg fault, other then that it works great (besides corrupting all the sounds outside).  I am using alsa, not oss.  Any ideas?

Eodun

  • Hydlaa Resident
  • *
  • Posts: 58
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #1 on: November 10, 2007, 12:44:59 am »
Which sound engine do you use, ALSA or OSS?

Perhaps you're using one in PS and one for the sistem and they collide.

Also, portage is not a "place" in itself. Search for the explanation of the system, as it's one of the greatness of debian-like systems ;)

BTW, this is a linux-only view of the problem, as I've been unable of playing PS yet   :'(
"I think 640k will be enough for everyone"

angrydw4rf

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #2 on: November 10, 2007, 01:35:50 am »
I understand how portage works, I did "emerge --search planeshift" and didn't find anything, its entirely possible its in there and I missed it.  The issue is still that my sounds is corrupted outside of the game after running the game.  How can I check to see if the game is being run using oss support instead of alsa?  or, how can I force it to run in ALSA?

As stated in my original post, I use ALSA sound support I found in the .cfg, PS is configured to use also.

also, I did see a line that appeared to be changing a setting for ALSA

SndSys.Driver.ALSA.SoundBufferms = 150

is it possible that this could be the cause?
« Last Edit: November 10, 2007, 02:08:33 am by angrydw4rf »

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #3 on: November 10, 2007, 02:29:40 am »
1.) What are you using system wide? Alsa, or OSS?
2.) What kind of sound card do you have? If it doesn't support hardware mixing and somehow PS is locking the card then that is a potential problem where enabling software mixing could be a workaround.

angrydw4rf

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #4 on: November 10, 2007, 07:02:47 am »
1. System wide I am using ALSA.

2. My sound card is nVidia Corporation CK804 AC'97 Audio Controller.

angrydw4rf

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #5 on: November 10, 2007, 07:06:54 am »
Since sound worked fine before running planeshift, and sound till runs fine inside planeshift, I would think a good place to start would be,

Does planeshift change any settings or set any parameters to the sound driver?

SynergfyFlo

  • Traveller
  • *
  • Posts: 24
  • Reborn heathen, playful pagan, latterday druid!
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #6 on: December 27, 2007, 02:52:25 pm »
hey, I have a similar issue...

i run ubuntu 7.04 on an amd athlon 64Bit motherboard with 2GB RAM and an Nvidia Graphics card.

it took me a while to set the system up so that I could play any kind of sound.

recently, I re-installed the latest version of PS...good fun.
initially, I got sound, then it simply stopped. and all other sound on my system stopped too, even outside of PS.

Restarting doesn't solve the issue at all, unfortunately, and I'm worried that I may have to go through the entire rigmarole of setting up sound again. X-/

does PS make any configuration changes to the sound system on linux?

is there any more info out there on how to fix this?

thanks and be well,
Flo
Next to myself,
I consider all of life
as my teacher.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #7 on: December 27, 2007, 03:12:34 pm »
PS does not change any sound or any other local settings on your pc, the only changes it makes are to the config files it makes.

SynergfyFlo

  • Traveller
  • *
  • Posts: 24
  • Reborn heathen, playful pagan, latterday druid!
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #8 on: December 27, 2007, 03:40:55 pm »
thanks caarrie,

you seem to be keeping your finger on the pulse in these forums.

i'll see if re-configuring my sound-settings system-wide will help.

Next to myself,
I consider all of life
as my teacher.

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: Sounds works inside Planeshift, but now broken for everything else!
« Reply #9 on: December 28, 2007, 07:51:08 am »
Hi,
you're talking about 'emerge' SynergfyFlo, right ?
why not using ebuild for planeshift ? look at : http://hydlaa.com/smf/index.php?topic=27667.0
hope it'll help you
loux