Author Topic: delayed sound effects  (Read 5667 times)

mority

  • Posts: 2
  • Turrets: +0/-0
delayed sound effects
« 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...
size=10]german kezboards suck!
mo.agrav.org[/size]

Mikiupdown2

  • Posts: 100
  • Turrets: +0/-1
    • http://www.ifuckinghatemyspace.com
delayed sound effects
« Reply #1 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.

rasz_pl

  • Guest
delayed sound effects
« Reply #2 on: August 04, 2006, 09:01:52 pm »
enable/disable OpenAL
disable ESD (systen/sound/first option)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
delayed sound effects
« Reply #3 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.

rasz_pl

  • Guest
delayed sound effects
« Reply #4 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 :)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
delayed sound effects
« Reply #5 on: August 05, 2006, 03:41:44 pm »
Gnome.

rasz_pl

  • Guest
delayed sound effects
« Reply #6 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.

Teiman

  • Posts: 286
  • Turrets: +0/-0
delayed sound effects
« Reply #7 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.

burzuum

  • Posts: 2
  • Turrets: +0/-0
delayed sound effects
« Reply #8 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 :)

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
delayed sound effects
« Reply #9 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 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

  • Posts: 2737
  • Turrets: +291/-295
delayed sound effects
« Reply #10 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
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok 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

  • Posts: 2
  • Turrets: +0/-0
delayed sound effects
« Reply #11 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

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
delayed sound effects
« Reply #12 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.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok 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

  • Posts: 17
  • Turrets: +0/-0
delayed sound effects
« Reply #13 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!