Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Revision 2033 Switch Full Screen Resolution Crash

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
horse
Average
Average
Posts: 15
Joined: Fri Feb 06, 2009 1:03 pm
Location: Edinburgh

Revision 2033 Switch Full Screen Resolution Crash

Post by horse »

Operating system: Debian Lenny

Version: Revision 2033 (although I experienced same issue in earlier version)

Problem: When I try to switch the full screen resolution while playing, one of two things happen (The native resolution is 1680x1050):

1. Try to reduce the resolution and it won't let me.

2. Increase the resolution and the game crashes with this output:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x73
Serial number of failed request: 133
Current serial number in output stream: 135
To recover I must manually edit GNUstep/Defaults/.GNUstepDefaults

Graphics card is Intel 82865G.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6572
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

There are known issues when trying to go fullscreen during gameplay and there have been there since at least 1.65, with a variety of symptoms from one version to another. The ones you describe seem quite extreme and could be in part due to the graphics card (I get shivers with Intel cards and I have one myself). Until this is fully sorted out, I would recommend switching to full screen before first launch and avoiding changing it again until the end of your gaming session.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

It looks to me as though SDL and X are failing to talk to each other properly, but I have no experience of debugging either.
horse
Average
Average
Posts: 15
Joined: Fri Feb 06, 2009 1:03 pm
Location: Edinburgh

Post by horse »

I think I tracked this down to xrandr reporting unsupported resolutions for my monitor. It reports 1600x1200 as the next resolution down from my native resolution and when I switch down in Oolite, I assume X crashes as the monitor can't do 1600x1200.

I have submitted a bug report about xrandr to debian.
Post Reply