Tremulous Forum

General => Troubleshooting => Topic started by: mority on August 04, 2006, 06:39:29 pm

Title: delayed sound effects
Post by: mority on August 04, 2006, 06:39:29 pm
Hi,

I read the FAQ and searched the forum for this issue but could not find anything related.

I am experiencing a delayed sound in Tremulous 1.1.0 running on a Ubuntu 6.06 x86_64 system. That is: I press the fire key, the gun gives some shots, but the corresponding sound effect just comes half second or so later. That is kinda ugly.

Is there anything I can do about this like some command line tweaking options?

Thanks for reading...
Title: delayed sound effects
Post by: Mikiupdown2 on August 04, 2006, 07:46:35 pm
On the in-game options menu there should be some sound settings. Try setting your sound quality to low and try again. It may be that your sound card cannot cope with the higher quality sounds.

If that doesnt work, try visiting your sound cards manufactors website and see if there are any newer drivers available.
Title: delayed sound effects
Post by: rasz_pl on August 04, 2006, 09:01:52 pm
enable/disable OpenAL
disable ESD (systen/sound/first option)
Title: delayed sound effects
Post by: Odin on August 05, 2006, 08:23:19 am
Q3A uses the OSS sound system by default. Either kill ESD, or don't run any other ESD applications at the same time.
Title: delayed sound effects
Post by: rasz_pl on August 05, 2006, 03:38:16 pm
ESD dies off automagically about 30 secs from the last use afaik/afair, but to be safe its better to just turn it off, no idea why you would want it on anyway :)
Title: delayed sound effects
Post by: Odin on August 05, 2006, 03:41:44 pm
Gnome.
Title: delayed sound effects
Post by: rasz_pl on August 05, 2006, 04:02:09 pm
Quote from: "Odin"
Gnome.


ok, and? :)
seriously I have no idea why its there? its like arts, another crap layer of sh.. cruft. Supposedly to make /dev/dsp duplex or something.; But everything works fine on pure Alsa/oss for me.
Title: delayed sound effects
Post by: Teiman on August 05, 2006, 07:37:07 pm
Quote from: "Odin"
Q3A uses the OSS sound system by default. Either kill ESD, or don't run any other ESD applications at the same time.


Maybe he can try alsa. OSS seems better for Quake, but anyway... theres a command to use the other engine, humm.. no idea.
Title: delayed sound effects
Post by: burzuum on August 19, 2006, 02:54:03 pm
Hi guys,

Just to say that i have the same problem here.

Sound delayed with :
- Ubuntu 6.06 LTS
- MB: Asus A7N8X
- GC : Nvidia TI 4200 8X 128 Mo
- Sound : on MB, chipset Realtek ALC650E

I deactivated the esd totally, i tried with low sound (11khz) and low graphics. I tried with ALSA or OpenAL (0 and 0a).

BTW how to active the OSS driver in Tremulous ? It seems to only launch the ALSA driver ...

Thanks :)
Title: delayed sound effects
Post by: David on August 19, 2006, 04:13:33 pm
i had that exact problem, just on XUbuntu.

the problem was with a 'fix' i had tryed for other sound problems. i undid it and all works well.

it was something to do with /etc/asound.conf, i used to have it blank, put stuff in there and it did this dlaying thing, blanked the files again, and is is good now.

try looking at that files, see what you have there.
or google that file.

EDIT: i just looked into that file, and thanks to this (http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php) website my sound works now, so thanks, and i hope you get it working soon.
Title: delayed sound effects
Post by: kevlarman on August 19, 2006, 04:53:51 pm
if nothing else works... you can try this:
Code: [Select]

echo 'tremulous.x86 0 0 direct' |sudo tee /proc/asound/card0/pcm0p/oss
Title: delayed sound effects
Post by: burzuum on August 19, 2006, 05:40:38 pm
Thanks kevlarman !!

That worked for me ... all good now. For people who will try this command : at the end, it only give you the following text

Quote
tremulous.x86 0 0 direct


This is normal and you just have to launch the game after.

@+, Burzuum
Title: delayed sound effects
Post by: kevlarman on August 19, 2006, 05:50:20 pm
for anyone who doesn't know, that is the traditional linux hack to fix desynced sound. if you can't find any other solution, i recommend a script in /etc/init.d/ and the corresponding symlink in /etc/rc2.d/ to do this at system startup.
Title: delayed sound effects
Post by: Raumkraut on September 30, 2006, 05:53:57 pm
I was just having the same sound-delay problem with Dapper, and none of the above solutions worked for me. :(

Turns out that my problem was:
Quote
Failed to load library: "libopenal.so.0".

So one quick install of the libopenal0 package, and blam! Synced sound. :)
Yay for OpenAL!