X crashes when starting the game

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

X crashes when starting the game

Postby Cloudy Wizzard » Wed Mar 21, 2007 11:51 am

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.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Mar 21, 2007 3:04 pm

Check your Darwinia directory for a file called blackbox.txt . If it exists, it might help.

xander
User avatar
Testrie
level3
level3
Posts: 486
Joined: Thu Aug 17, 2006 8:02 pm
Location: CA, United States
Contact:

Postby Testrie » Wed Mar 21, 2007 4:03 pm

do other games crash?

do you have direct rendering enabled?

do you have a graphics driver that actually supports direct rendering?

eyra
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Wed Mar 21, 2007 10:41 pm

xander wrote:Check your Darwinia directory for a file called blackbox.txt . If it exists, it might help.

xander


There is no such file in the darwinia directory
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Wed Mar 21, 2007 10:46 pm

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 :lol:
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Wed Mar 21, 2007 10:54 pm

Just checked and now Defcon does the same as Darwinia.

so I guess it's a problem with the new xorg core package or the NVidia module (going to recompile it tomorrow and see if that fixes the problem).
estel
level4
level4
Posts: 690
Joined: Mon Jan 02, 2006 11:20 pm
Location: Bristol
Contact:

Postby estel » Thu Mar 22, 2007 10:34 am

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.
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Thu Mar 22, 2007 11:08 am

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.
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Thu Mar 22, 2007 12:31 pm

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 :?
estel
level4
level4
Posts: 690
Joined: Mon Jan 02, 2006 11:20 pm
Location: Bristol
Contact:

Postby estel » Fri Mar 23, 2007 12:08 pm

but I can't find any framerate information in that list.

Framerate information comes from running the seperate program "glxgears".
All graphics drivers are bonkers, when I was on fglrx I rarely updated, I didn't trust it wouldn't break everything.
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Sat Mar 24, 2007 12:01 am

Yeah, I remember that glxgears used to give the framerates in the console before but recently it only shows the running gears in a window and nothing else in the terminal (maybe I need to give it a commandline parameter or something now (newer version) ?)
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Sat Mar 24, 2007 12:58 am

You'll need to run glxgears -printfps

You can also run glxgears -iacknowledgethatthistoolisnotabenchmark - I'm not joking ;)
Cloudy Wizzard
level1
level1
Posts: 21
Joined: Wed Mar 14, 2007 3:06 pm
Location: Belgium

Postby Cloudy Wizzard » Sat Mar 24, 2007 11:49 am

shinygerbil wrote:You'll need to run glxgears -printfps

You can also run glxgears -iacknowledgethatthistoolisnotabenchmark - I'm not joking ;)


LOL, Yeah Linux developers :lol:

I also like the moo feature of APT "apt-get moo" :lol: :lol:

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).

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 3 guests