Reset to screen settings after a crash - how?
Moderator: Graf Zahl
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Reset to screen settings after a crash - how?
I just wondered if anyone knows of a way of resetting the screen after an OpenGL application crashes?
You know the problem - you're using an OpenGL app and it exits unexpectedly. You get dumped to the desktop but your resolution and/or gamma settings are likely to be messed up. Restarting the computer will set things right again, but sometimes it's not convenient to do that right away. So, does anyone know of any "soft" way of doing it?
Not GZdoom specific, I know, but that's the prog it happened most recently with for me.
You know the problem - you're using an OpenGL app and it exits unexpectedly. You get dumped to the desktop but your resolution and/or gamma settings are likely to be messed up. Restarting the computer will set things right again, but sometimes it's not convenient to do that right away. So, does anyone know of any "soft" way of doing it?
Not GZdoom specific, I know, but that's the prog it happened most recently with for me.
- chopkinsca
- Posts: 183
- Joined: Thu Dec 29, 2005 8:09
My card software has an option for adjusting the gamma/brightness/contrast and has hotkeys for doing so. When ever the screen isn't it's proper gamma I can just use the hotkeys to reset it. I have an ATI card, so not sure if you have the same. Resolution is easy to fix just by changing resolution (which there might be hotkeys for).
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
If you're using nVidia graphic cards, you can check out the Desktop Management features it has by enabling the nView Desktop Manager features (be sure to switch to Classic View first because the new GUI is a load of crap).
It also has hotkey support, and you can tell the hotkey to activate a profile, which is most probably what you want. Save your custom profile, and when GZDoom hangs, just hit the hotkey.
EDIT: Be warned though that while this may fix your resolution problems, in some cases it might not fix your brightness or gamma. When Doom 3 crashed unexpectedly for me the other day, it would get stuck with Doom 3's colour settings eventhough my nVidia settings are all apparently at default. I had no other choice but to restart.
It also has hotkey support, and you can tell the hotkey to activate a profile, which is most probably what you want. Save your custom profile, and when GZDoom hangs, just hit the hotkey.
EDIT: Be warned though that while this may fix your resolution problems, in some cases it might not fix your brightness or gamma. When Doom 3 crashed unexpectedly for me the other day, it would get stuck with Doom 3's colour settings eventhough my nVidia settings are all apparently at default. I had no other choice but to restart.
- Cutmanmike
- Posts: 482
- Joined: Sat Sep 03, 2005 23:34
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Shinjanji
- Posts: 198
- Joined: Sun Nov 06, 2005 16:45
- Location: Pennsylvania, USA
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Shinjanji
- Posts: 198
- Joined: Sun Nov 06, 2005 16:45
- Location: Pennsylvania, USA
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact: