From owner-freebsd-multimedia Tue Jan 2 6:30:58 2001 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 2 06:30:56 2001 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id 1335137B400 for ; Tue, 2 Jan 2001 06:30:55 -0800 (PST) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.11.1/8.11.1) id f02EUa049065; Tue, 2 Jan 2001 15:30:36 +0100 (CET) (envelope-from karelj) Date: Tue, 2 Jan 2001 15:30:36 +0100 From: "Karel J. Bosschaart" To: Stefan `Sec` Zehl Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Sound lag in Games? (Unreal Tournament/Linux) Message-ID: <20010102153036.A48954@wop21.wop.wtb.tue.nl> Reply-To: K.J.Bosschaart@wtb.tue.nl References: <20001130032318.A11898@matrix.42.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20001130032318.A11898@matrix.42.org>; from sec@42.org on Thu, Nov 30, 2000 at 03:23:19AM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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