Forums » Linux
Video not switching on exit
I'm running suse 9.1 with most updates, KDE 3.3 and the Nvidia drivers. Install was perfect even thought I installed in my user's home directory against the suggestion of installing a root. I only got to play for about an hour and noticed no problems untill exit. I had changed the in game resolution to 1024x768@75. On exit to desktop it did not switch back to my desktop resolution, 1152x864. Being late for work I didn't post this then with the error message the appeared on the commandline. If need be I can post that meesage later tonight.
Thanks for making this game. Looking forward to getting out of work to play somemore.
Thanks for making this game. Looking forward to getting out of work to play somemore.
I haven't experienced that in vendetta, but when it happens in other games, I usually just use xrandr to set it back, try that. (need xfree 4.3 or later for xrandr to work properly)
You can also use alt-ctrl-keypad + and - to switch video modes. Next time this happens, please paste the beginning and end of your ~/.vendetta/errors.log here after it exits.. it must be crashing before cleaning up, maybe there's a useful crash dump there.
I had no problem fixing my res. I now running the game at 1152. Even though it by passes the problem, the game defaults to 640x480. Once the game hits release there will be people that will not change that and cry about it :)
The 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: 0x2e00002
Serial number of failed request: 62
Current serial number in output stream: 63
The 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: 0x2e00002
Serial number of failed request: 62
Current serial number in output stream: 63
Wow, sure enough. It just couldn't switch back. Huh, I've never seen the X request fail like this before. When I switch back, I assume that the zeroth mode in the array given to me by XF86VidModeGetAllModeLines() is the default mode, and I switch to that one.
What happens when you try to pick the first mode in the list (arrow all the way left in the Resolution configuration option)?
I just realized today that the game should be defaulting to 800x600 except for a stupid bug that made it default to 640x480. Ah well.
What happens when you try to pick the first mode in the list (arrow all the way left in the Resolution configuration option)?
I just realized today that the game should be defaulting to 800x600 except for a stupid bug that made it default to 640x480. Ah well.
With 1.0.7 it crashed with this msg:
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: 0x2c00007
Serial number of failed request: 79
Current serial number in output stream: 81
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: 0x2c00007
Serial number of failed request: 79
Current serial number in output stream: 81