Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73453 - duke3d doesn't run if compiled with opengl support
Summary: duke3d doesn't run if compiled with opengl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-05 08:39 UTC by Alexandru Toma
Modified: 2005-02-10 02:51 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 Alexandru Toma 2004-12-05 08:39:30 UTC
It compiles with opengl enabled, but then the game doesn't run.
When I try to run the game I get:
BUILDSDL/GL: Failed to load OpenGL library!
BUILDSDL/GL: Try setting environment variable BUILD_SDLDEBUG for more info.

and when I run it with "BUILD_SDLDEBUG=- duke3d" I get:
BUILDSDL/GL: Trying to open library "[default]"...
BUILDSDL/GL: Library opening failed; [Could not load OpenGL library].
BUILDSDL/GL: Out of ideas. Giving up.
BUILDSDL/GL: Failed to load OpenGL library!

Another thing... If I compile it with USE=-opengl and I try to run it I get:
griever@cloud griever $ duke3d 
                   Duke Nukem 3D v1.4 - Atomic Edition
                   Copyright (c) 1996 3D Realms Entertainment                   


Multiple Configuration Files Encountered
========================================
Please choose a configuration file from the following list by pressing its
corresponding letter:
a. DUKE3D.CFG <DEFAULT>
b. network.cfg

(duke3d.cfg will be used if no selection is made within 10 seconds.)

0 seconds left. 

Using Setup file: '/home/griever/.duke3d/duke3d.cfg'
ReadSetup: /home/griever/.duke3d/duke3d.cfg does not exist
           Please run SETUP.EXE

That 0 seconds left is actually a countdown. Pressing a or b doesn't have any effect. After the countdown is finished the game tries to read the ".duke3d/duke3d.cfg" file from my home directory. Isn't it supposed to read the /usr/share/games/duke3d/DUKE3D.CFG which is actually a symlink to /etc/games/duke3d.cfg?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
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-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib alsa apache apm avi bitmap-fonts cdr crypt cups curl
encode f77 faac faad fam flac foomaticdb fortran gd geoip gif gphoto2 gpm gtk2
guile imagemagick imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad matroska
mikmod mmx motif mpeg mysql ncurses network nls no_wxgtk1 oggvorbis opengl pam
png python quicktime readline rtc ruby sdl slang spell sse ssl tcpd tga theora
tiff truetype x86 xchatdccserver xml2 xmms xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-05 09:29:39 UTC

*** This bug has been marked as a duplicate of 73391 ***
Comment 2 Alexandru Toma 2004-12-05 09:58:15 UTC
It's not fixed .... that's why I opened a new bug since it was a different problem than the other bug. It now copiles without opengl and it runs but has some issues and, even though it compiles with opengl support, it doesn't run.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-10 02:12:06 UTC
Can you provide an strace of it being run please?
Comment 4 Alexandru Toma 2005-02-10 02:51:59 UTC
Since I have posted this, I have upgraded my nvidia drivers and SDL library and the game seems to work just fine now... So I'm closing this.