Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72606 - ut2004 keeps clicking throughout loading screens. strace attached
Summary: ut2004 keeps clicking throughout loading screens. strace attached
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2004-11-26 22:50 UTC by Adam
Modified: 2004-11-29 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

An strace -cT of ut2004 (strace_-cT_ut2004,3.54 KB, text/plain)
2004-11-26 22:52 UTC, Adam

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2004-11-26 22:50:57 UTC
I've installed ut2004-3339, and my speakers keep clicking during loading screens, as well as the system freezing while the clicks are happening (to the point ps is giving me output in 3-6 line bursts).  

Reproducible: Always
Steps to Reproduce:

Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-,
2.6.9-cko3 i686)
System uname: 2.6.9-cko3 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.6
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux26-headers-
Libtools: sys-devel/libtool-1.5.2-r7
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -pipe
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -pipe
FEATURES="autoaddcvs candy ccache digest distcc distlocks sandbox userpriv
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
USE="3dnow 3dnowex S3TC X X509 Xaw3d aalib acpi acpi4linux aim alsa audiofile
avi cddb cdr cjk crypt cups curl dga directfb divx4linux dmx dnd dvd dvdread eds
encode esd ext-png fam foomaticdb freetype gif gimpprint gnome gnutls gstreamer
gtk gtk2 hal imlib imlib2 jabber java javascript jpeg libwww matroska md5sum mmx
mozilla moznocompose moznoirc moznomail mpeg mpeg4 mpi mplayer msn ncurses nls
nocardbus nocd nodod nowin nptl nptlonly nvidia offensive oggvorbis openal
opengl oscar pam pdflib pic png ppds print quicktime readline real samba sdl
session silc slp spamassassin spell src sse ssl stencil-buffer svg svga tcpd
theora threads truetype unicode usb userlocales videos x86 xine xml xml2 xv xvid
Comment 1 Adam 2004-11-26 22:52:02 UTC
Created attachment 44807 [details]
An strace -cT of ut2004

I'm wondering why its calling get time of day so much
Comment 2 Adam 2004-11-26 22:56:13 UTC
A *43* MB attachment of strace -r ut2004 is available at .  Be warned, its 40MB, but :grep -v gettimeofday" reduces it to around 20, if that's a heads up about anything.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-27 06:06:09 UTC
1.  Try again by recompiling important things like X and glibc *without* -mfpmath=sse,387 as it is known to be broken and will be removed from future versions of GCC for that exact reason.

2.  You have breakmygentoo stuff in your overlay.  I cannot support you.  If #1 does not resolve your situation, then I am sorry, but introducing non-Gentoo ebuilds, especially ebuilds from breakmygentoo which are known to be of poor quality and bring about any possibly combination of unknowns into a system, keeps me from being able to diagnose the problem well.  Try removing all references to breakmygentoo and performing a complete "emerge -e world" after removing the overlays to return to a pristine Gentoo system.
Comment 4 Adam 2004-11-27 06:43:19 UTC
I know my system looks a lot more unstable than it really is, but I do adjust my CFLAGS for different packages, and Xorg was not compiled w/ these agressive CFLAGS.  Also, I don't believe I actually have too any BMG ebuilds installed, its just a cary over from when they carried GNOME betas a while back.  I've just un-done the BMG mask and only abiword and gimp were installed through BMG.  Could I request a re-open?
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-27 07:59:08 UTC
What about binutils, glibc, alsa-lib, or anything else that could affect this such as nvidia-kernel or ati-drivers?
Comment 6 Adam 2004-11-27 08:27:25 UTC
alsa-lib would be the only thing compiled with these CFLAGS.  Today I did some more testing, and discovered the machine will not lock up if AGPGART is disabled in the kernel (but the clicks will  I further tested and discovered that if I link openal and libsdl to my native one's (aggressivly optimized) all game artifacts cease.  But if I switch back, they start back up again.  
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-29 04:23:26 UTC
Great!  So you have found your solution... *grin*
Comment 8 Adam 2004-11-29 12:21:39 UTC
Well, I feel bad wasting a bug number, but I've been trying to fix this on my own for ~2 months before placing a report here.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-29 14:09:13 UTC
It's alright... it really sounds like an optimization problem of some sort.  I would recommend recompiling your entire system with sane flags.