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).
Steps to Reproduce:
Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-18.104.22.16841102-r0,
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]
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
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
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
Created attachment 44807 [details]
An strace -cT of ut2004
I'm wondering why its calling get time of day so much
A *43* MB attachment of strace -r ut2004 is available at http://mighmos.hopto.org/~adam/Misc%20Downloads/ut2k4.txt . Be warned, its 40MB, but :grep -v gettimeofday" reduces it to around 20, if that's a heads up about anything.
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.
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?
What about binutils, glibc, alsa-lib, or anything else that could affect this such as nvidia-kernel or ati-drivers?
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 still...click). 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.
Great! So you have found your solution... *grin*
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.
It's alright... it really sounds like an optimization problem of some sort. I would recommend recompiling your entire system with sane flags.