Sound Lag

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sun Dec 02, 2007 6:56 pm

  • I'm having a small (but still irritating) lag in the game.
    I've installed the game on ubuntu 7.10 trough appget. Current version is 2.3-2.

    Is there a solution for this?
    ion
    Newbie
     
    Posts: 2
    Joined: Sun Dec 02, 2007 6:48 pm

Sun Dec 02, 2007 7:13 pm

  • ion wrote:I'm having a small (but still irritating) lag in the game.
    I've installed the game on ubuntu 7.10 trough appget. Current version is 2.3-2.

    Is there a solution for this?

    I get huge sound lag with esd and artsd. In case you are using one of these sound daemons you could try without.
    Nil
    Advanced member
     
    Posts: 81
    Joined: Wed Mar 01, 2006 5:10 pm

Mon Dec 03, 2007 7:14 pm

  • On nvidia chipsets the default sound buffer size from alsa is rather large, yielding about a half second lag for a full buffer. Try reducing the value of the _snd_mixahead cvar - I use "0.08".
    Whenever You go, then You aren't.
    kyre
    Alien
     
    Posts: 118
    Joined: Tue Jun 13, 2006 8:56 pm
    Location: Sweden

Fri Dec 07, 2007 8:45 am

  • Thanks for your tips, but so far i haven't managed to solve the problem

    It seems that i can't disable artsd, because some KDE programs, like amarok are using it.
    Soudcard is SB live 5.1. I'm using only stereo channels though. Ihaven't faced sound lag problems in any other game so far. Maybe this is the only game using ALSA that i've tested. F.E Sounds in Enemy Territory are ok.
    ion
    Newbie
     
    Posts: 2
    Joined: Sun Dec 02, 2007 6:48 pm

Fri Dec 07, 2007 12:53 pm

  • well Enemy Territory uses OSS, not alsa so.

    You might want to give pulseaudio a try although I wouldn't recomend doing this unless you know what you're doing...
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Tue Dec 16, 2008 3:10 am

  • I was having the same problem until I added some lines to my xorg.conf file. I am on my ARCHOS right now, so I can't give the link right now. Until then, I suggest searching for Ubuntu input lag.
    TheUbuntuGuy
    Member
     
    Posts: 15
    Joined: Mon Dec 15, 2008 11:36 pm

Tue Dec 16, 2008 4:07 am

  • Paste this code in your /etc/X11/xorg.conf file, and restart Nexuiz:
    [go to terminal and type "sudo gedit /etc/X11/xorg.conf" and then paste, then save"

    Code: Select all
    Section "ServerFlags"
            Option "AutoAddDevices" "False"
    EndSection

    Section "InputDevice"
            Identifier "mouse"
            Driver     "mouse"
            Option     "CorePointer" "True"

            Option     "Emulate3Buttons" "False"
    EndSection

    Section "InputDevice"
            Identifier "kbd"
            Driver     "keyboard"
            Option     "CoreKeyboard" "True"

            Option     "XkbRules" "xorg"
            Option     "XkbModel" "pc105"
            Option     "XkbLayout" "de"
            Option     "XkbVariant" "nodeadkeys"
    EndSection
    TheUbuntuGuy
    Member
     
    Posts: 15
    Joined: Mon Dec 15, 2008 11:36 pm

Tue Dec 16, 2008 9:47 am

  • TheUbuntuGuy wrote:Paste this code in your /etc/X11/xorg.conf file, and restart Nexuiz:
    [go to terminal and type "sudo gedit /etc/X11/xorg.conf" and then paste, then save"

    Code: Select all
    Section "ServerFlags"
            Option "AutoAddDevices" "False"
    EndSection

    Section "InputDevice"
            Identifier "mouse"
            Driver     "mouse"
            Option     "CorePointer" "True"

            Option     "Emulate3Buttons" "False"
    EndSection

    Section "InputDevice"
            Identifier "kbd"
            Driver     "keyboard"
            Option     "CoreKeyboard" "True"

            Option     "XkbRules" "xorg"
            Option     "XkbModel" "pc105"
            Option     "XkbLayout" "de"
            Option     "XkbVariant" "nodeadkeys"
    EndSection

    fail.
    He is talking about audio lag, not input lag.
    IRC quote:
    [kojn] I've been coming a bit more recently
    [kojn] she took it the dirty way
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Tue Dec 16, 2008 1:52 pm

  • Supposedly in Ubuntu sound lag is related to input lag, because it worked for him.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Tue Dec 16, 2008 3:28 pm

  • Weird linux stuff. :x
    IRC quote:
    [kojn] I've been coming a bit more recently
    [kojn] she took it the dirty way
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest