Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 15:30:36 +0100
From:      "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
To:        Stefan `Sec` Zehl <sec@42.org>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: Sound lag in Games? (Unreal Tournament/Linux)
Message-ID:  <20010102153036.A48954@wop21.wop.wtb.tue.nl>
In-Reply-To: <20001130032318.A11898@matrix.42.org>; from sec@42.org on Thu, Nov 30, 2000 at 03:23:19AM %2B0100
References:  <20001130032318.A11898@matrix.42.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 30, 2000 at 03:23:19AM +0100, Stefan `Sec` Zehl wrote:
> Hi,
> 
> I've finally found the time to try running Unreal Tournament on FreeBSD.
> There are a few informative pages out there which helped me a lot.[1]
> 
> I finally managed to get version 436 (from lokigames website) to run. It
> starts up and runs without any problems, but the sound lags behind the
> graphics for about 1 or 2 seconds.
> 
> Does anybody know what I can do about this?
>
Not really, but because I don't see anyone else answering I'll give it a 
try. The sound lag in linux games has often occured to me. However, when
I switched back from a SB-PCI-128 to a SB-ViBRA16X (isa-pnp) in 4.x I
was surprised that my sound suddenly did not lag anymore. Since then I've
always used the pci card in a machine where I don't play (linux) games.
(It was in 4.0, I don't know about recent -stable).

Another thing that came to my mind later on: Check in your Unrealtournament.ini
(in $HOME/.loki/ut/System) what sound system you have. I once had trouble
(sound lag and slow performance as far as I remember) with OpenAL sound, 
that was enabled after an upgrade. Changing it back to the Generic sound
made the game play smooth again. (Sorry, I don't have the precise entries
handy right now. If you don't know what I mean, drop me a mail and I can
send you the lines later on).

> I have installed the ports
> linux_base-6.1      The base set of packages needed in Linux mode
> linux_devtools-6.1  Packages needed for doing development in Linux mode
> 
> and the linux rpms:
> mktemp-1.5-1
> gzip-1.2.4-14
> cpio-2.4.2-13
> tar-1.13.11-1
> findutils-4.1-32
> Glide_V2-2.53-6 [2]
> 
Hmmm, what about the files in www.lokigames.com/~overcode/ut-compat.tar.gz ?
Some of them are needed for the GUI version of the installer, others like 
esound and libaudiofile are required libs to have in /usr/compat/linux. 
Maybe you have them already. Note that a linux binary should use linux 
libraries, so you'll probably end up with a linux version in /usr/compat/linux 
and a FreeBSD version elsewhere on your system. 

BTW, the Loki FAQ doesn't say anything about ut-compat.tar.gz for FreeBSD,
so maybe it is only required for older (4.25) versions of UT... I should
check if 4.36 installs the libs in the game directory to be sure.

> Is it the soundcard, or a driver issue? Can I fix that somehow? Any help
> would be appreciated...
> 
I don't really know :-(. Recently I installed Soldier of Fortune in
FreeBSD and when I'm upgrading to version 1.06 I'm suddenly getting sound
lags again... while the 1.04 version from the CD works fine, though the
performance is slowish - I need to have a closer look to it.

Karel.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010102153036.A48954>