Page 1 of 1

Crash on start-up

Posted: Sun Dec 13, 2009 5:53 pm
by Scrapp
I tried to change the resolution in game and it crashed on me. When I try to open game again it just crashes immediately. Tried completely uninstalling it and reinstall but that didn't work. Looked through all files I can find but I don't see a way to change resolution back to the way it was without getting in game. Here's the output when I try to start it and thanks in advance.

Code: Select all

2009-12-13 08:43:48.439 oolite[7544] initialising SDL
2009-12-13 08:43:48.638 oolite[7544] init: numSticks=0
2009-12-13 08:43:48.640 oolite[7544] CREATING MODE LIST
2009-12-13 08:43:48.640 oolite[7544] Added res 1024 x 768
2009-12-13 08:43:48.641 oolite[7544] Added res 800 x 600
2009-12-13 08:43:48.641 oolite[7544] Added res 840 x 525
2009-12-13 08:43:48.641 oolite[7544] Added res 832 x 624
2009-12-13 08:43:48.642 oolite[7544] Added res 800 x 600
2009-12-13 08:43:48.642 oolite[7544] Added res 720 x 450
2009-12-13 08:43:48.642 oolite[7544] Added res 640 x 512
2009-12-13 08:43:48.643 oolite[7544] Added res 576 x 432
2009-12-13 08:43:48.643 oolite[7544] Added res 512 x 384
2009-12-13 08:43:48.643 oolite[7544] Added res 416 x 312
2009-12-13 08:43:48.644 oolite[7544] Added res 400 x 300
2009-12-13 08:43:48.644 oolite[7544] Added res 360 x 200
2009-12-13 08:43:48.644 oolite[7544] Added res 320 x 240
2009-12-13 08:43:48.645 oolite[7544] Found mode {Height = 768; RefreshRate = 0; Width = 1024; }
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  135 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0xc2
  Serial number of failed request:  123
  Current serial number in output stream:  125

Posted: Sun Dec 13, 2009 6:04 pm
by another_commander
It looks like you are using version 1.65. As a first step in trying to fix this, I would very strongly recommend downloading and installing version 1.73.4. This version, although labeled as test, is far more stable and better in any possible way compared to 1.65.

Posted: Sun Dec 13, 2009 6:08 pm
by Scrapp
ya I guess that's what happens when I let synaptic do all my work for me. I'll go get it now. Thanks for reply.

Edit:
Upgraded to new version and still get an error when starting. It does give me an intro screen before it crashes though.

Code: Select all

/usr/games$ .:3: validity error : Validation failed: no DTD found !
<plist version="1.0">
                    ^
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  135 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0xc2
  Serial number of failed request:  176
  Current serial number in output stream:  178


Posted: Sun Dec 13, 2009 7:09 pm
by Kaks
It looks like it remembered the 'bad' resolution.

On the readme there should be a brief explanation of how to edit the .GNUstepDefaults to switch to a different resolution, and/or windowed mode.

If that doesn't help, you could try switching off extra features, like the ones mentioned here:

http://wiki.alioth.net/index.php/Hidden ... _in_Oolite

Hope this helps, and welcome to the friendliest board this side of Riedquat!

Posted: Sun Dec 13, 2009 8:09 pm
by Scrapp
That helped Kaks. I went into GNUstep/Defaults/.GNUstepDefaults and changed these lines

Code: Select all

display_height = <*I768>;
	display_refresh = <*I0>;
	display_width = <*I1024>;
to this

Code: Select all

display_height = <*I600>;
	display_refresh = <*I0>;
	display_width = <*I800>;
that seems to have worked....thanks a bunch for help guys.

Oh ya. I also had to check the "show hidden files" box in order to see .GNUstepDefaults. Hope that helps those that follow.