View previous topic :: View next topic |
Author |
Message |
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Sat Dec 11, 2004 3:22 pm Post subject: Problem starting Doom3 |
|
|
My nvidia setup works fine with ut2003. When I start doom3 I get :
Code: |
DOOM 1.1.1286 linux-x86 Nov 24 2004 17:56:04
Hostname: server.gables.org
Alias: server
local IP: 192.168.3.1
------ Initializing File System ------
Loaded pk4 /opt/doom3/base/game00.pk4 with checksum 0xf07eb555
Loaded pk4 /opt/doom3/base/game01.pk4 with checksum 0x16cf3b8a
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
Current search path:
/home/manleyd/.doom3/base
/opt/doom3/base
/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/game01.pk4 (2 files)
/opt/doom3/base/game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 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
5151 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
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
XFree86-VidModeExtension not available
Xlib: extension "XFree86-DGA" missing on display ":0.0".
Failed to detect DGA DirectVideo Mouse
Couldn't get a visual
dlopen(libGL.so.1)
Initializing OpenGL display
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
XFree86-VidModeExtension not available
Xlib: extension "XFree86-DGA" missing on display ":0.0".
Failed to detect DGA DirectVideo Mouse
Couldn't get a visual
idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL
|
I had to manually copy the .pk4 files across from the CD's to get this far. I've tried the LD_PRELOAD=/usr/lib/libGL.so.1 doom3 approach with no success.
I've also played around with the Option "omit xfree86-dga" parameter in my xorg.conf file but must admit I don't really know what I'm doing.
Any ideas anyone? |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Sun Dec 12, 2004 2:58 am Post subject: |
|
|
What's the output of
glxinfo | grep direct
And what's your xorg config? |
|
Back to top |
|
|
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Sun Dec 12, 2004 10:11 am Post subject: |
|
|
/dev/random wrote :
Quote: | What's the output of
glxinfo | grep direct
And what's your xorg config?
|
Here's glxinfo:
Code: | manleyd~> glxinfo | grep direct
direct rendering: Yes
|
Here's xorg.conf. I've left out the commented lines.
Code: | Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/local/"
EndSection
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerFlags"
Option "blank time" "10"
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "Monitor"
Identifier "iiyama"
HorizSync 31.50 - 82.00
VertRefresh 40.00 - 150.00
Option "dpms"
EndSection
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "iiyama"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
|
|
|
Back to top |
|
|
wolf31o2 Retired Dev
Joined: 31 Jan 2003 Posts: 628 Location: Mountain View, CA
|
Posted: Mon Dec 13, 2004 7:42 pm Post subject: |
|
|
manleyd wrote: |
Option "omit xfree86-dga" |
Delete this line.
manleyd wrote: | Section "DRI"
Mode 0666
EndSection |
Delete these lines.
manleyd wrote: |
DefaultDepth 16 |
Change this to DefaultDepth 4 as Doom 3 will not run at 16-bit. _________________ Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org |
|
Back to top |
|
|
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Mon Dec 13, 2004 11:01 pm Post subject: |
|
|
Thank you for your help wolf31o2.
I made the changes you suggested but when I restarted X it failed :
Code: | (II) NVIDIA(0): Creating default Display subsection in Screen section
"Screen 1" for depth/fbbpp 4/4
(EE) NVIDIA(0): Given color depth (4) is not supported
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
|
I set DefaultDepth to 8 and restarted X. It came up OK but I got a very poor quality screen. I tried doom3 and it failed:
Code: | Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension Activated at 640x480
Couldn't get a visual
dlopen(libGL.so.1)
Initializing OpenGL display
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: 37
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: 41
BadWindow (invalid Window parameter)
Fatal X Error:
Major opcode of failed request: 4
Minor opcode of failed request: 0
Serial number of failed request: 42
BadWindow (invalid Window parameter)
Sys_Error: Unable to initialize OpenGL
|
Is there some way I can get doom3 to use a depth of 4 without changing the default depth of 16 for X? |
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Tue Dec 14, 2004 12:13 am Post subject: |
|
|
The correct depth value is "24." Lousy typos.... |
|
Back to top |
|
|
manleyd n00b
Joined: 23 Jul 2003 Posts: 61 Location: England
|
Posted: Tue Dec 14, 2004 12:19 pm Post subject: |
|
|
mike4148
Thanks for the clarification.
Setting DefaultDepth to 24 prevents doom3 from crashing.
I now seem to have a different problem. All I get is a blank screen and no sound. Non of the keys seem to get any response, including Ctrl+Alt+Del.
I am able to change virtual terminal (Ctrl+Alt+F1) and cancel doom3. I then have to reset the resolution (Ctrl+Alt+'Numeric+'). Finaly I have to log-out and log-in again to get my mouse cursor back.
Thanks for your help so far. Any ideas on what else is wrong? |
|
Back to top |
|
|
|