Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60406 - Ut2004: Could not load OpenGL library
Summary: Ut2004: Could not load OpenGL library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-15 04:58 UTC by Sam Cole
Modified: 2004-11-29 04:25 UTC (History)
0 users

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 Sam Cole 2004-08-15 04:58:44 UTC
Everytime I try to start Unreal Tournament 2004 it says:
Could not load OpenGL library

History: 

Exiting due to error

This doesn't happen when I use the one installed by the icculus-installer.
This is NVIDIA drivers - 6111


Reproducible: Always
Steps to Reproduce:
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-16 06:25:49 UTC
Could you post the output of your "emerge info" and any other pertinent information?
Comment 2 Sam Cole 2004-08-16 06:31:21 UTC
Not sure what any other pertinent info would be but here's the emerge info:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7
-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.5.2
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 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mi
rrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups debug dvd encode es
d foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib jpeg kde ldap libg+
+ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd theo
ra truetype x86 xinerama xml2 xmms xv zlib"
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-16 06:44:06 UTC
Try running opengl-update nvidia again and see what happens.

Also, what if you try using glxinfo | grep -i rendering or try running glxgears?
Comment 4 Sam Cole 2004-08-16 06:49:44 UTC
OpenGL works in other applications (quake3 for example) and I did try an opengl-update, no go.
Comment 5 Sam Cole 2004-08-18 16:05:35 UTC
I believe this is an error in TLS some google reveals:
http://lists.debian.org/debian-user/2004/03/msg04864.html
Comment 6 Sam Cole 2004-08-22 05:41:00 UTC
Found the problem: I needed the nptl USE flag on when I emerged glibc.
Comment 7 Keith Constable 2004-09-16 19:00:01 UTC
This bug is hardly "Fixed."

USEing ntpl is just a workaround.

For example with the latest UT2004:

$ ut2004
Could not load OpenGL library

History: 

Exiting due to error

--
$ emerge info
Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r1 i686)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.5.3
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
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ ftp://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa avi bitmap-fonts cdparanoia cdr crypt cups dga dv dvd dvdr encode evo faad flac foomaticdb gif gnutls gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx mng monkey motif moznocompose moznoirc moznomail mozsvg mpeg ncurses network nvidia oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc ruby samba sdl slang speex spell sse ssl svg tcltk tcpd tetex tga theora tiff truetype wmf x86 xml xml2 xmms xprint xv xvid zlib"

nVidia geForce 2 family video card with the newest unmasked version of nVidia's drivers available in portage.
Comment 8 Neil Watson 2004-11-27 09:23:22 UTC
I'm having the same trouble with ut2004.  I tried re-emerging glibc using using the ntpl work around but glic would not compile.  These errors were reported:
../string/string.h:331: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
In file included from ../sysdeps/ieee754/ldbl-96/strtold_l.c:45:
strtod_l.c: In function `____strtold_l_internal':
strtod_l.c:1560: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.

ettin default # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/opt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib java jpeg kde libg++ libwww mad mbox mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xinerama xml xml2 xmms xv zlib"

glxgears works fine.  Bzflag also works fine.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-29 04:25:36 UTC
Neil: file a bug for glibc, as I am not responsible for it