Hi, last night, after an emerge --sync ut2004 was updated to the latest version. games-fps/ut2004 Latest version available: 3369-r3 Latest version installed: 3369-r3 After that, I installed the ut2004-bonuspack-cbp2 and ut2004-bonuspack-cbp1 packages. Since then ut2004 crashes on starup with this error: cat UT2004.log Log: Log file open, Thu Mar 16 06:54:53 2006 Init: Name subsystem initialized Init: Version: 3369 (128.29) Init: Compiled: Dec 14 2005 17:11:00 Init: Command line: Init: (This is Linux64 patch version 3369.2) Init: Character set: Unicode Init: Base directory: /opt/ut2004/System/ Init: Ini:UT2004.ini UserIni:User.ini Init: Build label: UT2004 Build UT2004_Build_[2005-11-23_16.22] Init: Object subsystem initialized Log: Initializing OpenGLDrv... Log: binding libGL.so.1 Log: Game class is 'GameInfo' Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 3.896077... ScriptLog: GameInfo::InitGame : bEnableStatLogging False Log: Browse: NvidiaLogo.ut2?Name=energyman?Class=Engine.Pawn?Character=Gorge?team=255?Sex=M Log: Collecting garbage Log: Purging garbage Log: Garbage: objects: 33836->33833; refs: 350043 Log: Game class is 'CinematicGame' Log: Bringing Level NvidiaLogo.myLevel up for play (0) appSeconds: 5.777599... ScriptLog: GameInfo::InitGame : bEnableStatLogging False Log: Created and initialized a new SDL viewport. Log: Developer Backtrace: Log: [ 1] ./ut2004-bin [0xb29bad] Log: [ 2] /lib/libpthread.so.0 [0x2b481ef37e80] Log: [ 3] /usr/lib/libasound.so(__snd_pcm_hw_params_get_buffer_size+0x21) [0x2aaaab232a61] Log: [ 4] ./openal.so(set_write_alsa+0x1ae) [0x2aaaab041d4e] Log: [ 5] ./openal.so(set_write_audiodevice+0x64) [0x2aaaab040684] Log: [ 6] ./openal.so(_alcDeviceSet+0x2c) [0x2aaaab04535c] Log: [ 7] ./openal.so [0x2aaaab04437a] Log: [ 8] ./openal.so(alcMakeContextCurrent+0x87) [0x2aaaab0431c7] Log: [ 9] ./ut2004-bin(_ZN17UALAudioSubsystem4InitEv+0x234) [0xd48a34] Log: [10] ./ut2004-bin(_ZN7UEngine9InitAudioEv+0xd5) [0x663d25] Log: [11] ./ut2004-bin(_ZN11UGameEngine4InitEv+0xeb3) [0x67e363] Log: [12] ./ut2004-bin [0x533c14] Log: [13] ./ut2004-bin(main+0x30f8) [0x52eef8] Log: [14] /lib/libc.so.6(__libc_start_main+0xf6) [0x2b481f627116] Log: [15] ./ut2004-bin(strcat+0xaa) [0x52bc2a] Log: Unreal Call Stack: alcMakeContextCurrent <- UALAudioSubsystem::Init <- UEngine::InitAudio <- UGameEngine::Init <- InitEngine Exit: Exiting. Log: FileManager: Reading 0 GByte 40 MByte 600 KByte 15 Bytes from HD took 0.100157 seconds (0.100157 reading, 0.000000 seeking). Log: FileManager: 0.000000 seconds spent with misc. duties Uninitialized: Name subsystem shut down Uninitialized: Allocation checking disabled Uninitialized: Log file closed, Thu Mar 16 06:54:59 2006 I knew 'this' problem from earlier problems and replaced the ut2004 openal.so with my systems version. Since then, ut2004 does not crash, but does not play any sounds too! This is in the log with the systems libopenal, renamed to openal.so: cat .ut2004/System/UT2004.log Log: Log file open, Thu Mar 16 06:57:22 2006 Init: Name subsystem initialized Init: Version: 3369 (128.29) Init: Compiled: Dec 14 2005 17:11:00 Init: Command line: Init: (This is Linux64 patch version 3369.2) Init: Character set: Unicode Init: Base directory: /opt/ut2004/System/ Init: Ini:UT2004.ini UserIni:User.ini Init: Build label: UT2004 Build UT2004_Build_[2005-11-23_16.22] Init: Object subsystem initialized Log: Initializing OpenGLDrv... Log: binding libGL.so.1 Log: Game class is 'GameInfo' Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 4.266594... ScriptLog: GameInfo::InitGame : bEnableStatLogging False Log: Browse: NvidiaLogo.ut2?Name=energyman?Class=Engine.Pawn?Character=Gorge?team=255?Sex=M Log: Collecting garbage Log: Purging garbage Log: Garbage: objects: 33836->33833; refs: 350043 Log: Game class is 'CinematicGame' Log: Bringing Level NvidiaLogo.myLevel up for play (0) appSeconds: 6.144568... ScriptLog: GameInfo::InitGame : bEnableStatLogging False Log: Created and initialized a new SDL viewport. Error: Audio initialization failed. ScriptLog: New Player energyman id=50bc3cad6633cdb9e05e08d236b7a301 Log: TTS: No output filename specified. Log: Enter SetRes: 1280x960 Fullscreen 1 Log: OpenGL Log: GL_VENDOR : NVIDIA Corporation Log: GL_RENDERER : GeForce 6600/PCI/SSE2 Log: GL_VERSION : 2.0.1 NVIDIA 81.78 Log: OpenGL: Device supports: GL Log: OpenGL: Device supports: GL_EXT_bgra Log: OpenGL: Device supports: GL_ARB_texture_compression Log: OpenGL: Device supports: GL_EXT_texture_compression_s3tc Log: OpenGL: Device supports: GL_ARB_texture_cube_map Log: OpenGL: Device supports: GL_ARB_texture_env_combine Log: OpenGL: Device supports: GL_NV_texture_env_combine4 Log: OpenGL: Device supports: GL_EXT_texture_lod_bias Log: OpenGL: Device supports: GL_ARB_multitexture Log: OpenGL: Device supports: GL_NV_vertex_array_range Log: OpenGL: Device supports: GL_NV_vertex_array_range2 Log: OpenGL: Device supports: GL_ARB_multisample Log: OpenGL: Device supports: GL_NV_multisample_filter_hint Log: OpenGL: Device supports: GL_EXT_texture_filter_anisotropic Log: OpenGL: Device supports: GL_ARB_vertex_buffer_object Log: OpenGL: Device supports: GL_ARB_fragment_program Log: OpenGL: Device supports: GL_ARB_vertex_program Log: OpenGL: Device supports: GL_EXT_framebuffer_object Log: OpenGL: Device supports: GL_ARB_texture_non_power_of_two Log: OpenGL: C32 RGB888 Z24 S0 Log: OpenGL: Level of anisotropy is 1.000000 (max 16.000000). Log: OpenGL: Have 0 multisamples buffers, 0 samples. Log: OpenGL: Failed to get a multisample GL context Log: OpenGL: Using GL_ARB_fragment_program for pixel shaders. Log: OpenGL: Using GL_EXT_framebuffer_object for render-to-texture. Log: OpenGL: allocated 32 MByte of AGP memory Log: Startup time: 6.789885 seconds Log: Precaching: NvidiaLogo.LevelInfo0 Log: Static mesh batches: 508608 vertex bytes, 110460 index bytes Log: Allocating 32768 byte dynamic index buffer. Log: Allocating 65536 byte dynamic vertex buffer. Log: Finished precaching geometry in 0.138 seconds Log: Finished precaching textures in 0.548 seconds Debug: UT2k4MainMenu.Opened() Sender:Package.UT2k4MainMenu Log: URL: Adding default option Name=energyman Log: URL: Adding default option Class=Engine.Pawn Log: URL: Adding default option Character=Gorge Log: URL: Adding default option team=255 Log: Browse: Index.ut2?disconnect?Name=energyman?Class=Engine.Pawn?Character=Gorge?team=255 Log: Failed; returning to Entry ScriptLog: UT2k4MainMenu NotifyLevelChange PendingConnection:False Log: GP=FALSE Log: Spawning new actor for Viewport SDLViewport ScriptLog: New Player energyman id=50bc3cad6633cdb9e05e08d236b7a301 Log: Static mesh batches: 0 vertex bytes, 0 index bytes Debug: UT2k4MainMenu.Opened() Sender:None Log: Time=858.458605 ms Warning: Failed to load 'NULL': Can't resolve package name Warning: Failed to load 'Mesh None.': Can't resolve package name ScriptLog: Could not load mesh: For player: Error: Audio initialization failed. Error: Audio initialization failed. Debug: UT2k4MainMenu.Opened() Sender:None Log: Time=1278.020677 ms Log: appRequestExit(0) Exit: Preparing to exit. Log: Purging garbage Exit: Game engine shut down Exit: SDL client shut down Log: (Karma): Level Karma Terminated. Log: Garbage: objects: 39655->0; refs: 350043 Exit: Object subsystem successfully closed. Exit: Exiting. Log: FileManager: Reading 0 GByte 45 MByte 254 KByte 937 Bytes from HD took 1.141578 seconds (1.141578 reading, 0.000000 seeking). Log: FileManager: 0.000000 seconds spent with misc. duties Uninitialized: Name subsystem shut down Uninitialized: Allocation checking disabled Uninitialized: Log file closed, Thu Mar 16 06:58:29 2006 openal is version: media-libs/openal Latest version available: 20050504-r2 Latest version installed: 20050504-r2 alsa-lib is version: * media-libs/alsa-lib Latest version available: 1.0.11_rc3 Latest version installed: 1.0.11_rc3 emerge --info Portage 2.1_pre6-r3 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r0, 2.6.16-rc6 x86_64) ================================================================= System uname: 2.6.16-rc6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 S3TC X aac acpi aio alsa aotuv asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr clamav cpudetection crypt css curl dio dnd dpms dri dv dvd dvdr dvdread emul-linux-x86 encode experimental exscalibar fame ffmpeg fftw flac foomaticdb fortran gif gimp glitz glut glx gnokii gpm gstreamer gtk gtk2 icq id3 imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse irmc jabber java javascrip javascript joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim lame lesstif libwww lm_sensors lzo lzw lzw-tiff mad matroska mime mjpeg mmap mng mp3 mpeg mpeg2 mplayer ncurses nls no-old-linux nocd nosendmail nowin nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pdf pdflib perl pertty physfs player png python qt quicktime rar readline real reiserfs rtc scanner sdl sendfile sharedmem sms sndfile spell sqlite ssl stencil-buffer subtitles svg sysfs tcpd tga theora threads tiff toolbar transcode truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vcd video_cards_none video_cards_nv video_cards_nvidia video_cards_v4l videos visualization vorbis webdav wmf xanim xcomposite xine xml2 xpm xrandr xv xvid xvmc yv12 zlib zvbi elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS card is a nvidia geforce 6600, amd64 3200+ Venive, Creative Audigy2 Value sound card,
Hi, worked around it by copying system's libSDL into /opt/ut2004/System. But the game should work without the need to copy around libraries....
Well, it works *perfectly* for me on my AMD64, with sound, using only the built-in libraries. I don't have openal installed, since it isn't necessary for the game to run, but my alsa-lib version is 1.0.11_rc2. I doubt that makes a difference, but it is possible. I'm setting my system to upgrade now and will see if it changes anything. Are you sure you didn't update anything else that might affect this?
I've seen anecdotes about this sometimes being a required fix, and sometimes being a great performance booster. Both methods (binaries vs links to /usr/lib) work for me, but we know what Gentoo would prefer :) I've included this in bug #126538.
Hi, well ut2004 brings its own sdl lib and openal, so it should not matter which one, if any of them, are installed in the system. It is just a sorry fact, that ut2004 does not work for me with its onboard libs. hm, from the error - maybe it is an alsa/glibc-2.4 problem? but I had similar probs with earlier ut2004/alsa/glibc incarnations, so I am not convinced about that...
Well, I've been unsable to reproduce this. I also haven't added support for selecting to use the Gentoo libraries for a reason, and that is because it was requested of me from upstream. It's much easier for them to debug their product when it is the same as shipped, rather than having arbitrary versions of libSDL/openal with any combination of USE/CFLAGS. I've tried to reproduce this and simply can't do it. I do have one question, do you use the in-kernel ALSA drivers or "alsa-driver"?
I am using in-kernel alsa. I always did.
Try alsa-driver instead and see if it makes a difference. I use alsa-driver and everything works fine for me.
Hi, I am rebuilding kernel without sound at the moment, I will report back in a few minutes, if it crashes with external drivers. but uname -a Linux energy 2.6.17.1 #1 Thu Jun 29 00:41:11 CEST 2006 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux crashes with internal drivers: Log: Bringing Level NvidiaLogo.myLevel up for play (0) appSeconds: 14.472694... ScriptLog: GameInfo::InitGame : bEnableStatLogging False Log: Created and initialized a new SDL viewport. Log: Developer Backtrace: Log: [ 1] ./ut2004-bin [0xb29bad] Log: [ 2] /lib/libpthread.so.0 [0x2ace1bf6bb10] Log: [ 3] /usr/lib/libasound.so(__snd_pcm_hw_params_get_buffer_size+0x21) [0x2aaaab235b91] Log: [ 4] ./openal.so(set_write_alsa+0x1ae) [0x2aaaab047d4e] Log: [ 5] ./openal.so(set_write_audiodevice+0x64) [0x2aaaab046684] Log: [ 6] ./openal.so(_alcDeviceSet+0x2c) [0x2aaaab04b35c] Log: [ 7] ./openal.so [0x2aaaab04a37a] Log: [ 8] ./openal.so(alcMakeContextCurrent+0x87) [0x2aaaab0491c7] Log: [ 9] ./ut2004-bin(_ZN17UALAudioSubsystem4InitEv+0x234) [0xd48a34] Log: [10] ./ut2004-bin(_ZN7UEngine9InitAudioEv+0xd5) [0x663d25] Log: [11] ./ut2004-bin(_ZN11UGameEngine4InitEv+0xeb3) [0x67e363] Log: [12] ./ut2004-bin [0x533c14] Log: [13] ./ut2004-bin(main+0x30f8) [0x52eef8] Log: [14] /lib/libc.so.6(__libc_start_main+0xf4) [0x2ace1c62b944] Log: [15] ./ut2004-bin(strcat+0xaa) [0x52bc2a] Log: Unreal Call Stack: alcMakeContextCurrent <- UALAudioSubsystem::Init <- UEngine::InitAudio <- UGameEngine::Init <- InitEngine Exit: Exiting. Log: FileManager: Reading 0 GByte 40 MByte 607 KByte 462 Bytes from HD took 8.409865 seconds (8.409865 reading, 0.000000 seeking). Log: FileManager: 0.000000 seconds spent with misc. duties Uninitialized: Name subsystem shut down Uninitialized: Allocation checking disabled Uninitialized: Log file closed, Sat Jul 1 23:26:16 2006 and ut2004's own openal/libsdl.
Hi, I tried alsa-driver media-sound/alsa-driver Latest version available: 1.0.11 Latest version installed: 1.0.11 and it crashes: Developer Backtrace: Log: [ 1] ./ut2004-bin [0xb29bad] Log: [ 2] /lib/libpthread.so.0 [0x2b900f1a2b10] Log: [ 3] /usr/lib/libasound.so(__snd_pcm_hw_params_get_buffer_size+0x21) [0x2aaaab235b91] Log: [ 4] ./openal.so(set_write_alsa+0x1ae) [0x2aaaab047d4e] Log: [ 5] ./openal.so(set_write_audiodevice+0x64) [0x2aaaab046684] Log: [ 6] ./openal.so(_alcDeviceSet+0x2c) [0x2aaaab04b35c] Log: [ 7] ./openal.so [0x2aaaab04a37a] Log: [ 8] ./openal.so(alcMakeContextCurrent+0x87) [0x2aaaab0491c7] Log: [ 9] ./ut2004-bin(_ZN17UALAudioSubsystem4InitEv+0x234) [0xd48a34] Log: [10] ./ut2004-bin(_ZN7UEngine9InitAudioEv+0xd5) [0x663d25] Log: [11] ./ut2004-bin(_ZN11UGameEngine4InitEv+0xeb3) [0x67e363] Log: [12] ./ut2004-bin [0x533c14] Log: [13] ./ut2004-bin(main+0x30f8) [0x52eef8] Log: [14] /lib/libc.so.6(__libc_start_main+0xf4) [0x2b900f862944] Log: [15] ./ut2004-bin(strcat+0xaa) [0x52bc2a] but when I replaye openal and libsdl with the system versions, it does not crash. If I only replace openal.so, I have no sound at all. And no log. btw, with the systems libSDL ut2004 does not return the command prompt after I end the game. I have to hit ctrl-c to get it back: ut2004 WARNING: ALC_EXT_capture is subject to change! CTRL-C before main loop ... forcing exit. but with the games libSDL it quits normaly. So I have the choice betwen: clean quit, no sound, or forced quit, but sound. With the SDLs and crash or no crash with the openals.
I had the same problem. Replacing the openal.so with the systems version allowed me to progress further, but now the game crashes before fully initializing with the following error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 135 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) Value in failed request: 0x135 Serial number of failed request: 149 Current serial number in output stream: 151 I am running xorg 7.1, nvidia drivers 1.0.8774, and glibc 2.4. I suspect the problem is with one of these. emerge --info: Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-3.4.5, glibc-2.4-r3, 2.6.17-ck1-r3 x86_64) ================================================================= System uname: 2.6.17-ck1-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apache2 avi berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus dlloader dri dvd dvdr eds emboss emul-linux-x86 encode exif fam ffmpeg firefox flac fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal ipv6 isdnlog java jpeg kde kdeenablefinal ldap libg++ lirc mad mikmod mng mono mouse mozsvg mp3 mpeg musicbrainz ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xine xml xorg xv xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux lirc_devices_mceusb2 userland_GNU video_cards_nv video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Adam, we are not interested in the problems once you have replaced the shipped files with non-shipped files. We do not support this, nor will we, as upstream has asked us to not support it and they do not support it, either. Aside from this, we're going to have to see what upstream has to say about this, as they are the only ones with the ability to ship an updated set of libraries.
System libraries are used now. Upstream doesn't care anymore.