Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64624 - games-fps/americas-army-210: Fails to start: Could not load OpenGL library (with solution)
Summary: games-fps/americas-army-210: Fails to start: Could not load OpenGL library (w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 05:07 UTC by FieldySnuts
Modified: 2004-10-15 18:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FieldySnuts 2004-09-19 05:07:17 UTC
games-fps/americas-army-210 fails to start for me, I see the following on STDOUT:

Could not load OpenGL library

History:

Exiting due to error


And in ArmyOps.log we find:

Log: Log file open, Sun Sep 19 08:03:27 2004
Init: Name subsystem initialized
Log: Your locale: [ANSI_X3.4-1968].

Init: Unreal Version: 2110
Init: AGP Version: 2110.2.1.0
Init: Compiled: May 23 2004 15:00:12
Init: Command line:
Init: Base directory: /opt/americas-army/System/
Init: Character set: Unicode
Init: Object subsystem initialized
Init: OS Type=x86 Linux
Init: CPU Detected: PentiumPro-class processor (AuthenticAMD)
Init: CPU Features: CMov FPU RDTSC PAE MMX SSE
Init: CPU Speed=1545.999756 MHz
Init: File handle limit is soft=(1024), hard=(1024).
Warning: Missing Class Class Editor.TransBuffer
Init: Unreal engine initialized
Init: Detected 0 joysticks
Init: SDLClient initialized.
Init: Initializing OpenGLDrv...
Log: binding libGL.so.1
Critical: appError called:
Critical: Could not load OpenGL library
Exit: Executing UObject::StaticShutdownAfterError
Exit: Executing USDLClient::ShutdownAfterError
Exit: Exiting.
Log: Waiting for file streaming thread to finish...
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, Sun Sep 19 08:03:38 2004


However, if I start it like so, it works fine:

LD_PRELOAD="/usr/lib/libGL.so.1" armyops

Credit to webkiller71 on #gentoo for finding this.

Is there something the ebuild needs to change in order for this to work?

I'm using xorg-x11-6.8.0 and an Nvidia 5900FX Ultra, with 6111 drivers.


Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-grsec)
=================================================================
System uname: 2.6.7-grsec i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.blueyonder.co.uk ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bitmap-fonts cdr chroot crypt dv dvd dvdr encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png pwdb python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-20 00:17:40 UTC
remerge the nvidia stuff, rerun opengl-update and remerge americas-army.

There shouldn't be any need to do any preloading stuff.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-20 12:10:02 UTC
I'll look into it, but I'm really not sure what I am going to come up with.

What if you downgrade to a version of the nvidia driver <6106?  I only ask because that is when things started getting a little strange with those drivers and the addition of the 32-bit comptability for amd64.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-15 18:22:44 UTC
Actually, I think Mr Bones is right... try that and if it doesn't work, REOPEN the bug.