News:

Come Chat with us live! Learn how HERE!

Main Menu

delayed sound effects

Started by mority, August 04, 2006, 06:39:29 PM

mority

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...
size=10]german kezboards suck!
mo.agrav.org[/size]

Mikiupdown2

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.

rasz_pl

enable/disable OpenAL
disable ESD (systen/sound/first option)

Odin

Q3A uses the OSS sound system by default. Either kill ESD, or don't run any other ESD applications at the same time.

rasz_pl

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 :)

Odin


rasz_pl

Quote from: OdinGnome.

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.

Teiman

Quote from: OdinQ3A 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.

burzuum

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 :)

David

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 website my sound works now, so thanks, and i hope you get it working soon.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

kevlarman

if nothing else works... you can try this:
echo 'tremulous.x86 0 0 direct' |sudo tee /proc/asound/card0/pcm0p/oss
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

burzuum

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

Quotetremulous.x86 0 0 direct

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

@+, Burzuum

kevlarman

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.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Raumkraut

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:
QuoteFailed to load library: "libopenal.so.0".
So one quick install of the libopenal0 package, and blam! Synced sound. :)
Yay for OpenAL!