Author Topic: PS (Linux) + Team Speak = no go  (Read 1128 times)

Ginjeet

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
PS (Linux) + Team Speak = no go
« on: January 10, 2006, 02:32:41 pm »
Doh just like in Enemy Territory, Quake 3 etc. Planeshift has no sound while TS runs. Not with \"Software\" neither with \"OpenAL\". I think it is realy important to make both work becouse if one would like to use tactics with mates than he/she would like to hear them and the game too.

..... :(

Drey

  • Forum Addict
  • *
  • Posts: 2380
    • View Profile
(No subject)
« Reply #1 on: January 10, 2006, 03:08:22 pm »
Quote
Planeshift has no sound while TS runs


PlaneShift doesnt have too much sound at any time due to various problems....

Maybe you will have different results when the sound is more stable.
<Rux> i wish i could say that narrows it down, but the internet is one freaky place

Havox

  • Hydlaa Resident
  • *
  • Posts: 59
    • View Profile
(No subject)
« Reply #2 on: January 10, 2006, 05:06:08 pm »

It works here with both software and OpenAL.
Define \"no go\".  ;)

also:
i got it workin\' with both Quake and ET too.
« Last Edit: January 10, 2006, 05:18:31 pm by Havox »

goland

  • Hydlaa Resident
  • *
  • Posts: 86
    • View Profile
(No subject)
« Reply #3 on: January 10, 2006, 06:19:28 pm »
What sound system are you using? Arts? OSS? ALSA?

In order to get teamspeak to work with Enemy Territory (Haven\'t found a need for it with planeshift yet) I converted completely from Arts (I swear by KDE) to ALSA.

To get planeshift to use ALSA, all I had to do was select \'Software\' sound in pssetup and start planeshift with the aoss wrapper.

I can play mp3\'s on amarok and play planeshift at the same time now.  It should work fine for teamspeak also I\'d think.
It\'s amazing how we can do things simultaneously, like talking and not listening.

Havox

  • Hydlaa Resident
  • *
  • Posts: 59
    • View Profile
(No subject)
« Reply #4 on: January 10, 2006, 06:47:58 pm »
ESD - ALSA ( i swear by Gnome ) ;)
And i can play planeshift (whatever sound settings - usually it\'s openal) with Teamspeak fully working AND have Rhythmbox playing my favorite tunes muahahaha
Of course you need a decent enough sound card ... the sound properly configured ... etc etc
As for Enemy territory w/ Teamspeak, it\'s been well documented for a long time now, it only takes a couple of comand line magic lines no need to drop your sound daemon ;)
« Last Edit: January 10, 2006, 06:55:09 pm by Havox »

goland

  • Hydlaa Resident
  • *
  • Posts: 86
    • View Profile
(No subject)
« Reply #5 on: January 10, 2006, 07:06:02 pm »
Arts with enemy territory always worked sporadically at best.  I love KDE but can\'t wait till they replace arts.  With ALSA, everything usually works really easily....except my microphone but that would be fixed with a better sound card (I use my onboard)
It\'s amazing how we can do things simultaneously, like talking and not listening.

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #6 on: January 10, 2006, 07:52:57 pm »
One question:

Do you run a sound server like arts, esd, jack or similar?

If not, then it\'s not a miracle that you don\'t hear TeamSpeak as Planeshift is blocking the sound device/sound card.

There are some soundcards who can do sound mixing themselves, but not too many of the normal consumer cards. So you either find one of those or you use a sound server or a plug-in like dmix for alsa.

So for me this looks like a Linux-only issue ...
« Last Edit: January 10, 2006, 07:53:44 pm by Rolf Blacksmith »
Typing and grammatic errors may be safely ignored, they come without charge ...

Palin.Majere

  • Traveller
  • *
  • Posts: 16
    • View Profile
esd is no go
« Reply #7 on: January 10, 2006, 09:18:46 pm »
As far as i know, Teamspeak does not support esd and so locks the audio device both in read (recording, mike) and in write (reproducing) mode.

If you are running mandriva you can try to run both starting them from soundwrapper. Es:


prompt$ soundwrapper ./psclient &
prompt$ soundwrapper name_of_teamspeak_binary &


and see if something work. This usually fix output (e.g. sound being reproduced), don\'t know if it affects recording too.

If you are a lucky owner of one of the nice sound cards with 2 dsp devices you can configure teamspeak to use /dev/dsp1 instead of /dev/dsp0 and it should fix everything. This most often is the case of old creative stereo sound cards using es1371 driver.

ps: also make sure you get the right settings for your mixer, so that the input source is the microphone and not line in.
Palin
[Merawes Nerevest]

Havox

  • Hydlaa Resident
  • *
  • Posts: 59
    • View Profile
(No subject)
« Reply #8 on: January 10, 2006, 09:40:02 pm »
To settle the thread Teamspeak uses OSS (it pwns OSS and it\'s mommy).
If you do have OSS (and im not talking alsa \"oss emulation\") there should be no problem in running TS+PS. TS gets to hog OSS and PS plays with ALSA. No sound daemon \"manbo jambo\"/soundwrapper hacks and dark dark magic is gonna fix the fact that Teamspeak (edit: for linux, the win32 client ain\'t this bad) is old and poorly designed even for its time.
And besides like Drey said sound in PS is a dozen ogg files. you can turn it off because you wont be missing like much i mean it\'s not like PS has these great sound tracks and sound effects.
Oy! use gnome-meeting!  :D
« Last Edit: January 10, 2006, 09:41:29 pm by Havox »

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
(No subject)
« Reply #9 on: January 11, 2006, 07:10:22 pm »
Best solution is to buy a soundcard that does hardware mixing.  A SBLive! card works perfectly well for this.  

They are extremely inexpensive and well supported in linux.  I think they use a EMU10K chipset or something similar.