Forums » Linux

Voice Chat Issues and Workarounds

12»
Jun 05, 2008 incarnate link
Hi, this thread is for Voice Chat related problems and solutions on the Linux platform. Here's a few we know of:

--------------------------

Ubuntu comes with something called "Pulse Audio" which apparently causes issues with a programs using FMOD Ex. You can work around this by starting the game with:

pasuspender <game>

(where <game> is the game executable).

---------------------------

ALSA may auto-configure for an input other than the one you intend to use. Working around this may require forcing ALSA to specifically use the desired input. This is especially common in situations where a USB headset is used: ALSA sets up the onboard soundcard input as the default, rather than the USB recording device. More information on configuring the .asoundrc can be found here:

http://alsa.opensrc.org/.asoundrc

Mr_Spuck's example:

http://pastebin.com/m66f45d1c

Configuring Dmix:

http://alsa.opensrc.org/home/w/org/opensrc/alsa/index.php?title=DmixPlugin
Jun 05, 2008 Spider link
pulseaudio is also the default in Fedora, So if you get issues in F9, try pasuspender there as well.

Pulse Audio is generally a very good implementation, but some caveats. If we get a reproducible problem, I might suggest smacking a line to Lennart about it, he's usually an opinionated fellow, but does write some nifty code. Most likely it's about sample size or similar...
Jun 05, 2008 Lord~spidey link
So even IF i get vo running on the eee the ALSA drivers wont work D:<
this eee will be seeing windblows soon as i get a damn external CD drive.
Jun 05, 2008 mr_spuck link
Just a note. That config is what I use with my SI7012 (CMI9739) on board audio. It's pretty much the same as what's used if no asound.conf is present, just with lower buffer settings for the dmix plugin. The defaults cause serious audio lag here, it's probably not appropriate everywhere though.
Jun 06, 2008 drazed link
Note that the VoiceChat stopped working on my linux box with the last update (public voice chat update). It worked fine when it was pre-update PCC voicechat only, it also continues to work fine on my macbook. It fails on my gentoo64 =(

When I open the voicechat config on my gentoo box and enable it it won't let me change any of the other settings, they just revert back when I press OK, so voice chat is enabled but the push-to-talk and auto-gain are both disabled and can't be enabled. It seems I can't hear other players either, as I tried talking to myself from the macbook and it failed.

I tested my gentoo mic with skype, it works fine so that shouldn't be the issue.

Relevant ALSA info appended:

ALSA device list:
#0: NVidia CK804 with ALC655 at irq 3

Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [22.50dB] [on]
Front Right: Capture 15 [100%] [22.50dB] [on]
Jun 07, 2008 tramshed link
drazed, I had vo switch to using OSS a coupla times for no apparent reason and had the same issue, check to see what audio driver it is using.
Jun 08, 2008 drazed link
thanks tramshed, that's exactly what happened =)
Aug 13, 2008 Prefader link
Howdy. I can't seem to get voice chat to enable on my system, but I'm not sure why. I'm on Ubuntu Hardy, with pulseaudio removed. Playback works fine everywhere, and I can capture audio from my default device in gnome-sound-recorder just fine as well. I'm using alsa for everything, with my default set to my onboard sound card (CK804). I also have an M-Audio Delta 1010 on this system.

VO is using the alsa driver for all sounds, but voice chat just won't work for me. I do see the following line in my errors.log file every time I run VO:

Error opening playback device: 0x00000906

But I have no idea what device it thinks it's trying to use there. All other game audio works fine.
Aug 21, 2008 Prefader link
Hmmm, no takers? I realize that the devs are extremely busy with much bigger issues right now, so while I submitted a bug report, I don't expect immediate action on what is probably an isolated or rare problem.

Does anyone have any ideas about what could be causing my problem? I've tried removing the Delta 1010 (first, just unloading the modules for it, then actually pulling the hardware), and using a different soundcard (have an Audigy2 kicking around), but voice chat just won't enable.

Oh right, this is on Hardy 64 bit. Any insight is greatly appreciated.
Aug 23, 2008 mr_spuck link
Have you tried changing the audio device in the voice chat options? maybe it's picking the wrong one.
Aug 24, 2008 Prefader link
Actually, it wasn't letting me change anything in that window.

However, I recently managed to run rm -rf in my home folder, because I'm a frickin' genius. Since I didn't have a backup, I had to re-install. This time around I went with 32 bit, and it appears to be working just fine. Not a clue what was going on, but maybe some day when I've got some free time, I'll try 64 bit again and see if the problem is still there.
Sep 06, 2008 Aleksey link
openSUSE 11, SB Live! 5.1, no PulseAudio: no voice chat for me. Game sounds via ALSA without no problems.

When I try to enable voice chat, it either crashes the game, or tells "Unable to enable Voice Chat. Voice Chat initialization failed"

This is what I found in errors.log:

[Sun Sep 7 01:23:09 2008] Can't load driver /home/lx/.vendetta/drivers/gkvc.so: libfmodex.so: cannot open shared object file: No such file ordirectory
Sep 06, 2008 mr_spuck link
Do you have ~/.vendetta/drivers/libfmodex.so? if not the updater might have screwed up.

I also get that if I start the game without going through the updater.
Sep 07, 2008 Aleksey link
Yes, I have that file
Sep 07, 2008 Aleksey link
Seems like that line appears in errors.log only if I start the game not through updater. Also in that case the game doesn't crash when I try to enable voice chat.

Though if I start the game via updater, it doesn't show any error in errors.log, the game just crashes if I try to enable voice chat.
Oct 04, 2008 erniegeddes link
I'm on 32-bit Ubuntu Hardy and I am experiencing the same issue with the latest update to TeamSpeak in VO:

When I click on the box to "Enable Voice Chat" I get an error box that reads "Unable to enable Voice Chat. Voice Chat Initialization Failed."

I've tried using both the ALSA and OSS driver - same result for each - no go.

Seems like the vast majority of Linux users lost voice with the update. Any workaround?
Dec 19, 2008 Cymbals link
I'm on Ubuntu 8.10 32bit and I am having problems with the voice chat.

When I click on the box to "Enable Voice Chat" the game crashes to desktop
Jan 03, 2009 hav0x link
_____________________________________________________________

Can't load driver /home/hav0x/.vendetta/drivers/gkvc.so: /home/hav0x/.vendetta/drivers/gkvc.so: undefined symbol: _ZN4FMOD6System6addDSPEPNS_3DSPEPPNS_13DSPConnectionE
_____________________________________________________________

how do i fix that?

pasuspender et al didn't work and I'm using ubuntu 8.10
Jan 12, 2009 cblaster link
same hre, ubunto 8.10 64bits, crashes if enable voice chat, waiting for some workaround.
Jan 29, 2009 jmcphee link
Same here. Ubuntu 8.10, open Options, Voice Chat, check the Enable Voice Chat and it crashes the vendetta program. Tried with and without pasuspender.