Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Teamspeak2 + Steam?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 20, 2005 3:08 pm    Post subject: Teamspeak2 + Steam? Reply with quote

Has anyone got this working? Steam works fine alone for me. Teamspeak2 client works fine alone for me. But when the TS2 Client is running and I start Steam, I get no sound whatsoever in steam. I setup dmix and dsnoop, tried setting Cedega's default to alsa instead of OSS, but nothing has worked. This is my .asoundrc (Stolen from another Forum member who said that he had TS and dmix working). Any tips:

Also, dmix works great as long as I use ALSA apps only (for instance, I had to manually set the GAIM command to aplay %s and use the XMMS ALSA plugin). Any tips on getting it working with OSS apps (like TS)?

Code:
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 0
}

# Allow mixing of multiple output streams to this device
pcm.dmix {
     type dmix
     ipc_key 1024
     slave.pcm "snd_card"
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          period_time 0
          period_size 1024
          buffer_size 8192
     }

     bindings {
          0 0
          1 1
     }
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnoop {
     type dsnoop
     ipc_key 2048
     slave.pcm "snd_card"

## Possible artsd full duplex fix:
#     slave {
#          period_time 0
#          period_size 1024
#          buffer_size 8192
#     }

     bindings {
          0 0
          1 1
     }
}

# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
     type asym
     playback.pcm "dmix"
     capture.pcm "dsnoop"
}

###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {
     type plug
     slave.pcm "duplex"
}

# Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#     type plug
#     slave.pcm "snd_card"
#}

########
# AOSS #
########
# OSS dsp0 device
pcm.dsp0 {
     type plug
     slave.pcm "duplex"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "snd_card"
}

# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "snd_card"
}

_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
gflash
n00b
n00b


Joined: 21 Jul 2004
Posts: 64
Location: Germany/NRW

PostPosted: Sun Feb 20, 2005 7:44 pm    Post subject: Reply with quote

The problem is that Teamspeak does only support OSS, and if you run TS, one dsp-device is blocked. And if you have a cheap Sondcard like the AC97, there is afaik no workaround or solution for this problem. If you have a slightly better soundcard, this howto may help you:

http://www.linux-gamers.net/modules/wfsection/article.php?articleid=34

The best choice ist buying a soundcard wich supports hardwaremixing. In my old box i had a Soundblaster Player! 1024 and no Problems with running more than one sond-playing application at the same time. I even did not need arts, dmix or whatever, it simply worked. My new one is a Notebook with an AC97, and it sucks.

I really hope, TS3 will support ALSA.... The Ventrilo Guy are working on a Linux client, too, btw.
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 20, 2005 8:37 pm    Post subject: Reply with quote

So..... Essentially because my onboard sound (AC97) sucks, I should get a better card. Should most PCI cards have hardware mixing? I have access to a pile of old PCI Sound Blaster 1024s. I don't really have the cash right now to run out and buy an Audigy 2 ZS (although it has now popped to the top of my list, even above another 512MB of RAM), so any suggestions for the interim? Also, what cards out there have Hardware Mixing? I know that the Audigy and newer do, but does the SB Live? How about older Creative cards?
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Fri Mar 25, 2005 9:32 am    Post subject: Reply with quote

i've a audigy soundcard, running alsa (oss emulation) and have exactly the same problem trying to run enemy territory & TeamSpeak2.
i don't think your soundcard sucks, because a friend mine can run enemy territory & TeamSpeak2 in windowze with the same onboard soundcard as yours, maybe linux sucks, not the soundcard.
i suspect my problem is between the keyboard and the chair as usual.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Fri Mar 25, 2005 3:23 pm    Post subject: Reply with quote

emu10k1 card can be bought for ~$30 or so with hardware mixing. sb live 5.1 i think
_________________
John5788
Back to top
View user's profile Send private message
MadDogE134
n00b
n00b


Joined: 09 Jun 2004
Posts: 70
Location: Warner Robins, Ga.

PostPosted: Sat Mar 26, 2005 10:11 pm    Post subject: Reply with quote

i had the same problem with my old soundblaster 16 pci... and now have an original Audigy but have not tested it with game and TS going.

from what i have read on the net... many have been forced to get a second sound card... one to run game sound and the other to run TS.

i think it is an ALSA/OSS problem... not linux per sey.

although many games do not give you the option for switching sound ( they use default ) Teamspeak does allow you to choose seperate sound cards.

so try a cheapy off that pile of soundblasters and see if that works for you :)
_________________
Check out the Pariah link below
http://www.m80teams.com/?QzoxMTY1OjQ0NTU0Mw==
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sat Mar 26, 2005 11:07 pm    Post subject: Reply with quote

Worked Flawlessly on my Audigy2 ZS. Only problem was that you had to connect to TS before starting Steam, otherwise Steam would steal the Mic port and TS wouldn't work. If you start TS first, you have no Ingame Voice, but you can talk on TS and hear TS and the game perfect.
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Sun Mar 27, 2005 12:24 am    Post subject: Reply with quote

Arainach wrote:
Worked Flawlessly on my Audigy2 ZS. Only problem was that you had to connect to TS before starting Steam, otherwise Steam would steal the Mic port and TS wouldn't work. If you start TS first, you have no Ingame Voice, but you can talk on TS and hear TS and the game perfect.


i think thats true for other games as well. i have to open TS first in order to play americas army with teamspeak.
_________________
John5788
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum