Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57067 - Ebuild request: Doom 3
Summary: Ebuild request: Doom 3
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 13:03 UTC by Chris Gianelloni (RETIRED)
Modified: 2004-10-07 05:47 UTC (History)
12 users (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 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-14 13:03:05 UTC
I'm filing this for myself, well in advance mind you, so we can stave off the 300 bugs that are going to hit Bugzilla on August 5th.  Just to let everyone know, yes, I preordered the game, and yes, I will be making an ebuild for it.  If anyone wants to submit a working ebuild before I get one in portage, great!  Submit it to this ebuild and I'll add it.  Otherwise, you guys will have to wait until I write one up.
Comment 1 Joost Hillen 2004-07-20 15:02:02 UTC
hm.. i doubt the linux binaries will be ready on the 5th, but we'll see.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-20 18:57:41 UTC
No offense, but was there a point to that at all?  This is not a forum, this is a place for bug reports and feature requests.  Your comment had absolutely zero value other than to add yet one more item to my inbox to sift through.  Thank you, your hard work and dedication has paid off in wasting one more developer's time... and yes, I know that this post is wasting time, but I just really had to point out just how little sense your comment made in the context of a bug tracking system.

That being said, the binaries definitely will not be in the box.  Just for everyone that decides to comment here, I ordered my copy from Tux Games, so it'll be at least a week after the game has Linux binaries before I get it, since I'm in the USA and Tux Games is in the UK.

Don't think I'm going to forget about you guys... I'm drooling in anticipation.
Comment 3 Hinrik Örn Sigurðsson 2004-10-04 14:35:32 UTC
http://zerowing.idsoftware.com/linux/doom/ :D
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-04 14:45:18 UTC
I know... ;]

Now I just have to write an ebuild for it...
Comment 5 SpanKY gentoo-dev 2004-10-04 21:33:28 UTC
now in portage, uNF
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-05 05:46:46 UTC
I'm going to REOPEN since the ebuild in portage is broken and I have one to commit later today.
Comment 7 Henti Smith 2004-10-05 07:40:29 UTC
I assume this brokerage is related to the following : 

dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL

Running Xorg 24bit, etc etc ... 

strace shows it seg faults : 

open("tls/i686/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/i686/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("i686/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libnvidia-tls.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("./tls/i686/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/i686/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tls/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./i686/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./sse2/libnvidia-tls.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./libnvidia-tls.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1", O_RDONLY) = 15
read(15, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\3\0"..., 512) = 512
lseek(15, 980, SEEK_SET)                = 980
read(15, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\3\0\0\0"..., 32) = 32
fstat64(15, {st_mode=S_IFREG|0755, st_size=2004, ...}) = 0
close(15)                               = 0
munmap(0x41796000, 54629)               = 0
munmap(0x417a4000, 425024)              = 0
munmap(0x4180c000, 7174120)             = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(1, "signal caught: Segmentation faul"..., 34) = 34
write(1, "si_code 1\n", 10)             = 10
write(1, "Trying to exit gracefully..\n", 28) = 28
Comment 8 Henti Smith 2004-10-05 07:59:52 UTC
ok ... 

running doom3 like this : 

LD_PRELOAD=libGL.so.1 doom3

gets it up and running ..
Comment 9 Jordan 2004-10-05 14:29:36 UTC
I'm getting a different error, not sure if it's relevant:

Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension Activated at 640x480
Couldn't get a visual
idRenderSystem::Shutdown()
Fatal X Error:
  Major opcode of failed request: 105
  Minor opcode of failed request: 0
  Serial number of failed request: 38
BadValue (integer parameter out of range for operation)
Fatal X Error:
  Major opcode of failed request: 2
  Minor opcode of failed request: 0
  Serial number of failed request: 42
BadWindow (invalid Window parameter)
Fatal X Error:
  Major opcode of failed request: 4
  Minor opcode of failed request: 0
  Serial number of failed request: 43
BadWindow (invalid Window parameter)
Sys_Error: Unable to initialize OpenGL
Comment 10 Jordan 2004-10-05 14:32:23 UTC
posted to soon, I had to be running in 24 bit mode...should have read the FAQ first...
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-05 15:19:34 UTC
Added to portage... for any bugs, file a bug... this is not the place
Comment 12 SpanKY gentoo-dev 2004-10-06 16:39:36 UTC
for those who have the libGL problem and the LD_PRELOAD=libGL.so.1 doom3 fixes it, could you please post your `emerge info`

also, try removing libgcc_s.so.1 and libstdc++.so.5 from /opt/doom3/ and see if `doom3` then works for you
Comment 13 Fernando Serboncini (RETIRED) gentoo-dev 2004-10-06 18:24:06 UTC
I had this problem and the PRELOAD fix works...

Removing the files from /opt/doom3 doesn't work here.

My emerge info:

Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(TM) XP 2400+
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.19-r1,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -funroll-loops -mmmx -m3dnow -pipe -funroll-loops -fomit-frame-pointer -ms se -mfpmath=sse"
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/defaul ts/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/te xmf/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="-O2 -march=athlon-xp -funroll-loops -mmmx -m3dnow -pipe -funroll-loops -fomit-frame-pointer - msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://www.linorg.usp.br/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/  http://www.gtli b.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp ://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cups doc dvd emacs e ncode fbcon flac fmod foomaticdb gdbm ggi gif gpm gtk gtk2 gtkhtml guile imagemagick imlib java jpeg ld ap libcaca libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurse s network nls ofx oggvorbis openal opengl pam pdflib perl png python qt quicktime readline sdl slang ss e ssl svg svga tcltk tcpd tetex tiff truetype unicode x86 xinerama xml2 xmms xprint xv zlib"
Comment 14 Henti Smith 2004-10-07 01:28:17 UTC
Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.5.3
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,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.tcsn.co.za ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm arts avi berkdb bitmap-fonts canna cdr cjk crypt cups dba dvd dvdread encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-07 05:47:59 UTC
OK guys... STOP POSTING TO THIS BUG...

Open a new one with this issue, as this bug is CLOSED... it was *only* a request to have the ebuild added to portage... =]