You are not logged in.

#1 2007-06-07 10:44:38

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

doom 3 crashes, probably wrong xorg.conf... help!

stderr

Xlib:  extension "XFree86-DGA" missing on display ":0.0".
ERROR: DDX driver fingerprint mismatch: got 0x517DC51A, but expected 0xB280C1BB
libGL error: InitDriver failed

whole output

Xlib:  extension "XFree86-DGA" missing on display ":0.0".
ERROR: DDX driver fingerprint mismatch: got 0x517DC51A, but expected 0xB280C1BB
libGL error: InitDriver failed
DOOM 1.3.1.1304 linux-x86 Jan 16 2007 21:58:02
found interface lo - loopback
found interface eth0 - 160.78.167.217/255.255.255.0
------ Initializing File System ------
Loaded pk4 /opt/doom3/base/game01.pk4 with checksum 0x51c6981f
Loaded pk4 /opt/doom3/base/game02.pk4 with checksum 0xf3ec6f7
Loaded pk4 /opt/doom3/base/game03.pk4 with checksum 0x5d4230ea
Loaded pk4 /opt/doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /opt/doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /opt/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /opt/doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /opt/doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /opt/doom3/base/pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 /opt/doom3/base/pak006.pk4 with checksum 0x95b65ab
Loaded pk4 /opt/doom3/base/pak007.pk4 with checksum 0x666bdb3c
Loaded pk4 /opt/doom3/base/pak008.pk4 with checksum 0x23ae5993
Current search path:
/home/ezzetabi/.doom3/base
/opt/doom3/base
/opt/doom3/base/pak008.pk4 (3 files)
/opt/doom3/base/pak007.pk4 (38 files)
/opt/doom3/base/pak006.pk4 (48 files)
/opt/doom3/base/pak005.pk4 (63 files)
/opt/doom3/base/pak004.pk4 (5137 files)
/opt/doom3/base/pak003.pk4 (4676 files)
/opt/doom3/base/pak002.pk4 (6120 files)
/opt/doom3/base/pak001.pk4 (8972 files)
/opt/doom3/base/pak000.pk4 (2698 files)
/opt/doom3/base/game03.pk4 (2 files)
/opt/doom3/base/game02.pk4 (2 files)
/opt/doom3/base/game01.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
couldn't exec DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Failed to detect DGA DirectVideo Mouse
Free86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: Mesa GLX Indirect
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias 

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
dlopen(libasound.so.2)
dlopen(libasound.so.2) failed: libasound.so.2: wrong ELF class: ELFCLASS64
Alsa is not available
----------- Alsa Shutdown ------------
--------------------------------------
------ OSS Sound Initialization ------
opened sound device '/dev/dsp'
ioctl SNDCTL_SYSINFO failed: Invalid argument
this ioctl is only available in OSS/Linux implementation. If you run OSS/Free, don't bother./dev/dsp - bit rate: 16, channels: 2, frequency: 44100
allocated a mix buffer of 16384 bytes
WARNING: ioctl SNDCTL_DSP_SETTRIGGER PCM_ENABLE_OUTPUT failed: Broken pipe
--------------------------------------
...using GL_ARB_multitexture
...using GL_ARB_texture_env_combine
...using GL_ARB_texture_cube_map
...using GL_ARB_texture_env_dot3
...using GL_ARB_texture_env_add
X..GL_ARB_texture_non_power_of_two not found
X..GL_ARB_texture_compression not found
X..GL_EXT_texture_filter_anisotropic not found
...using GL_EXT_texture_lod
...using GL_1.4_texture_lod_bias
X..GL_EXT_shared_texture_palette not found
X..GL_EXT_texture3D not found
X..GL_EXT_stencil_wrap not found
X..GL_NV_register_combiners not found
X..GL_EXT_stencil_two_side not found
X..GL_ATI_separate_stencil not found
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
X..EXT_depth_bounds_test not found
---------- R_NV20_Init ----------
Not available.
----------- R200_Init -----------
Not available.
---------- R_ARB2_Init ----------
Not available.
----- R_ReloadARBPrograms -----
glprogs/test.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/test.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/interaction.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/interaction.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/bumpyEnvironment.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/bumpyEnvironment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/ambientLight.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/ambientLight.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/shadow.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/R200_interaction.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_bumpAndLight.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_diffuseColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_specularColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_diffuseAndSpecularColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/environment.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/environment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/arbVP_glasswarp.txt: File not found
glprogs/arbFP_glasswarp.txt: File not found
-------------------------------
WARNING: vertex array range in virtual memory (SLOW)
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
Shutting down sound hardware
------ OSS Sound Shutdown ------
close sound device
--------------------------------
idRenderSystem::Shutdown()

I am using arch x86-64 with an ati configured with fglrx, and the direct rendering should be active...
Ideas?

Offline

#2 2007-06-10 17:08:34

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: doom 3 crashes, probably wrong xorg.conf... help!

I installed it with this PKGBUILD... can it help?

# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
# Modified and adapted for arch64 by ezzetabi <ezzetabi@gawab.com>

pkgname=doom3
pkgver=1.3.1.1304
pkgrel=1
pkgdesc="Doom 3. The adventures of `the marine` in the hell, x86_64 version."
url="http://www.doom3.com/"
arch=('x86_64')
license="commercial"
depends=('lib32-libxext' 'lib32-fglrx-utils' 'lib32-alsa-lib>=1.0.6')
makedepends=()
conflicts=()
replaces=()
backup=()
install="doom3.install"
source=(ftp://ftp.idsoftware.com/idstuff/doom3/linux/$pkgname-linux-$pkgver.x86.run
        $pkgname.sh $pkgname-dedicated.sh
        pak000.pk4 pak001.pk4 pak002.pk4 pak003.pk4 pak004.pk4
)
noextract=(pak000.pk4 pak001.pk4 pak002.pk4 pak003.pk4 pak004.pk4)
md5sums=('6325f0936f59420d33668754032141cb'
         '18c6802eee15ad499e2fd3ae03d641a6'
         'da4e827e7ddec2209bf832db5cd3ab74'
         '71b8d37b2444d3d86a36fd61783844fe'
         '4bc4f3ba04ec2b4f4837be40e840a3c1'
         'fa84069e9642ad9aa4b49624150cc345'
         'f22d8464997924e4913e467e7d62d5fe'
         '38561a3c73f93f2e6fd31abf1d4e9102')

build() {
  cd $startdir/src
  chmod +x $pkgname-linux-$pkgver.x86.run
  mkdir -p $startdir/pkg/opt/$pkgname $startdir/pkg/usr/bin
  ./$pkgname-linux-$pkgver.x86.run -- -i $startdir/pkg/opt/$pkgname -b $startdir/pkg/usr/bin
  # ncurses & gtk installers don't return 1 when canceled, so check that files are installed
  ls $startdir/pkg/opt/$pkgname/base || return 1

  install -m755 -D $pkgname.sh           $startdir/pkg/opt/$pkgname/$pkgname
  install -m755 -D $pkgname-dedicated.sh $startdir/pkg/opt/$pkgname/$pkgname-dedicated
  install -m644 pak000.pk4 pak001.pk4 pak002.pk4 pak003.pk4 pak004.pk4 $startdir/pkg/opt/$pkgname/base

  ln -sf /opt/$pkgname/$pkgname           $startdir/pkg/usr/bin/$pkgname
  ln -sf /opt/$pkgname/$pkgname-dedicated $startdir/pkg/usr/bin/$pkgname-dedicated
}

Last edited by ezzetabi (2007-06-10 17:12:40)

Offline

#3 2007-06-14 11:46:48

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: doom 3 crashes, probably wrong xorg.conf... help!

It is possible using fglgear / info in 32 bit emulation mode? So I can make some other tests?

Offline

#4 2007-06-14 12:19:55

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: doom 3 crashes, probably wrong xorg.conf... help!

check that your lib32 and 64bit nvidia-utils versions are in sync

Last edited by lloeki (2007-06-14 12:20:08)


To know recursion, you must first know recursion.

Offline

#5 2007-06-14 12:59:13

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: doom 3 crashes, probably wrong xorg.conf... help!

I have an ATI... Well, no they aren't!

$ pacman -Q | grep fglrx
fglrx 8.37.6-1
fglrx-utils 8.37.6-1
lib32-fglrx-utils 8.36.5-1

So this is the problem? The community repo have an older version... I'll try to find the newest version and reinstall it.

Offline

#6 2007-06-14 14:04:10

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: doom 3 crashes, probably wrong xorg.conf... help!

yup this can, because your kernel and userland must match each other, and this is not the case in 32bit land.
use ABS to rebuild the lib32-fglrx-utils package with the new version. see the wiki for details.


To know recursion, you must first know recursion.

Offline

#7 2007-06-14 17:25:54

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: doom 3 crashes, probably wrong xorg.conf... help!

APPLAUSE! APPLAUSE! Praise to lloeki!
That was the problem, now Doom 3 works flawlessy... Thanks.

Here the PKBUILD I used for remaking the new lib32-fglrx-utils, it is just the old one with the new version.

# $Id: PKGBUILD,v 1.3 2007/04/27 15:52:48 Pierre Exp $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
_pkgsourcename=fglrx-utils
pkgname=lib32-$_pkgsourcename
pkgver=8.37.6
pkgrel=1
pkgdesc="Proprietary userspace tools and libraries for the AMD/ATI RADEON (9500 and later), \
         MOBILITY RADEON (M10 and later), RADEON XPRESS IGP and FireGL (Z1 and later) series of graphics accelerators."
url="http://www.ati.com"
arch=(x86_64)
license=('custom:"ATI"')
groups=('lib32')
depends=('lib32-libxext' 'lib32-libdrm' 'lib32-libstdc++5')
conflicts=('lib32-libgl' 'lib32-nvidia-utils')
replaces=('lib32-ati-fglrx-utils')
provides=('lib32-libgl')
source=(ftp://ftp.archlinux.org/extra/os/i686/$_pkgsourcename-$pkgver-$pkgrel.pkg.tar.gz lib32-fglrx.sh)
md5sums=('caf9630998bf5d51969491e2956feca4'
         'd62aac73b43c33f2e3e6e1cb17d18543')

build() {
        cd $startdir/src

        # add environment variable to point to lib32-gl-lib
        install -D -m755 lib32-fglrx.sh $startdir/pkg/etc/profile.d/lib32-fglrx.sh

        install -d m755 $startdir/pkg/opt/lib32/usr/lib/xorg/modules/dri
        cp -dp usr/lib/*.so* $startdir/pkg/opt/lib32/usr/lib
        cp -dp usr/lib/xorg/modules/dri/*.so* $startdir/pkg/opt/lib32/usr/lib/xorg/modules/dri

        # fix wrong links
        cd $startdir/pkg/opt/lib32/usr/lib
        ln -sf libfglrx_gamma.so.1.0 libfglrx_gamma.so.1
        ln -sf libfglrx_pp.so.1.0 libfglrx_pp.so.1
}

lib32-fglrx.sh

export LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/opt/lib32/usr/lib/xorg/modules/dri

Offline

Board footer

Powered by FluxBB