Resolution Switching

Miscellaneous Forums/Linux Discussion/Resolution Switching

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm running Ubuntu, with a GeForce 2 and the nvidia drivers installed (as well as the nvidia-dev ones). The problem I'm having is that after running a compiled BlitzMax program, I get the following error message:

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: 0x3c00006
Serial number of failed request: 74
Current serial number in output stream: 75

The result of this is that the desktop resolution fails to return to what it was originally. So if I run a BlitzMax program at 800x600, then my desktop will be at that resolution when I return.