X crashes when starting the game
Moderators: jelco, bert_the_turtle, Chris, andy, John
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
X crashes when starting the game
I just bought Darwinia yesterday (the DEMO worked fine on my laptop but a bit slow so I decided to buy the full version and install it on my desktop).
The installation end normally but when I try to start the game X seems to crash completely (get a black screen and X just reloads and brings me back to the login manager, GDM).
This happens with both the 1.3 version and the 1.4.x BETA version.
I'm running Debian Etch with X.org (but that's the same as on my laptop).
I don't know of any error message since it all goes so fast and I can't find anything in the Xorg logfiles.
The installation end normally but when I try to start the game X seems to crash completely (get a black screen and X just reloads and brings me back to the login manager, GDM).
This happens with both the 1.3 version and the 1.4.x BETA version.
I'm running Debian Etch with X.org (but that's the same as on my laptop).
I don't know of any error message since it all goes so fast and I can't find anything in the Xorg logfiles.
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
Testrie wrote:do other games crash?
Uplink and Defcon worked fine yesterday (I'll have to check since I think there was an updated xorg core package is Etch yesterday or today).
Testrie wrote:do you have direct rendering enabled?
I think, not sure but here is my xorg.conf :
Code: Select all
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generieke videokaart"
Driver "nvidia"
BusID "PCI:1:0:0"
VideoRam 256
EndSection
Section "Monitor"
Identifier "PHILIPS 109S"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generieke videokaart"
Monitor "PHILIPS 109S"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Testrie wrote:do you have a graphics driver that actually supports direct rendering?
eyra
It's a pretty recent NVidia GeForce 6800Xtreme do I guess it's supports Direct Rendering
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
estel wrote:To check if direct rendering is working, run glxinfo (the top lines tell you). glxgears is a simple OpenGL program. If it runs at a few thousand FPS, it's working.
well it shows Direct Rendering as yes :
Code: Select all
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
but I can't find any framerate information in that list. (I DID recompile the Nvidia modules already so I don't know if I would have the same result yesterday).
I'm doing some stull I don't want to risk losing so I'm gonna see if they still crash when those things are done.
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
I guess it was a problem with the NVidia module.
I just checked and all 3 games Uplink, Defcon and Darwinia are working now without crashing the X server. It's weird though since the last time there was a problem with the NVidia module X wouldn't even load, now it seems to work well until you want to run a game
I just checked and all 3 games Uplink, Defcon and Darwinia are working now without crashing the X server. It's weird though since the last time there was a problem with the NVidia module X wouldn't even load, now it seems to work well until you want to run a game
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
- shinygerbil
- level5
- Posts: 4667
- Joined: Wed Dec 22, 2004 10:14 pm
- Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
- Contact:
You'll need to run glxgears -printfps
You can also run glxgears -iacknowledgethatthistoolisnotabenchmark - I'm not joking
You can also run glxgears -iacknowledgethatthistoolisnotabenchmark - I'm not joking
-
- level1
- Posts: 21
- Joined: Wed Mar 14, 2007 3:06 pm
- Location: Belgium
shinygerbil wrote:You'll need to run glxgears -printfps
You can also run glxgears -iacknowledgethatthistoolisnotabenchmark - I'm not joking
LOL, Yeah Linux developers
I also like the moo feature of APT "apt-get moo"
Anyways, here are the FPS, look fine now, but I'll have to remember this for the next time there is a problem with X crashing when trying to run a game.
Code: Select all
glxgears -iacknowledgethatthistoolisnotabenchmark
49538 frames in 5.0 seconds = 9906.544 FPS
47841 frames in 5.0 seconds = 9568.127 FPS
51675 frames in 5.0 seconds = 10334.971 FPS
50509 frames in 5.0 seconds = 10101.671 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
Who is online
Users browsing this forum: No registered users and 1 guest