Author Topic: "Disconnect" makes screen bright until reboot  (Read 9003 times)

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
"Disconnect" makes screen bright until reboot
« on: February 17, 2010, 08:54:41 am »
hi guys.  i'm running 1.2 on WinXP with some pretty old hardware and the latest nVIDIA dirvers.  when confronted with this screen:

if i click disconnect, then tremulous exits and my screen is very bright until a reboot.  

tell me how i can bust this ghost, i'm wearing sunglasses and my retinas are still burning. 8) 8) 8)
« Last Edit: February 17, 2010, 09:00:22 am by Ghostbuster »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: "Disconnect" makes screen bright until reboot
« Reply #1 on: February 17, 2010, 09:15:55 am »
I think if you go to the desktop settings thing there's something in there can does something?

Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #2 on: February 17, 2010, 09:20:11 am »
i've tried a bunch of things, but nothing helps except rebooting :/

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: "Disconnect" makes screen bright until reboot
« Reply #3 on: February 17, 2010, 10:35:03 am »
Try starting Tremulous again and then quitting normally. That may work.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #4 on: February 17, 2010, 12:51:36 pm »
thanks, i tried that too..still bright as the sun.

Aviator

  • Posts: 277
  • Turrets: +500/-14
Re: "Disconnect" makes screen bright until reboot
« Reply #5 on: February 18, 2010, 10:30:25 pm »
If you have a graphics control, try turning down the gamma :o

Silver

  • Posts: 376
  • Turrets: +307/-62
Re: "Disconnect" makes screen bright until reboot
« Reply #6 on: February 19, 2010, 12:03:23 am »
Play tremulous with standard gamma and it shouldn't effect you. :P
I SUKC AT TRMELUS

IABZ IS JESUS

Aviator

  • Posts: 277
  • Turrets: +500/-14
Re: "Disconnect" makes screen bright until reboot
« Reply #7 on: February 19, 2010, 02:09:36 am »
Play tremulous with standard gamma and it shouldn't effect you. :P
For me it makes it hard to see at 1 so I turn it up to 1.45 :P

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #8 on: February 19, 2010, 08:13:55 am »
If you have a graphics control, try turning down the gamma :o
i have the nVIDIA control panel, and after Disconnecting from tremulous, the gamma is set at 1.0.  the lowest it will go is .50, which is still way too bright.

Play tremulous with standard gamma and it shouldn't effect you. :P
same as Aviator, i have to play with gamma turned up to 1.8 to be able to see anything.

so is this a tremulous bug maybe?  quitting tremulous normally, gamma is returned to the normal value.  "Disconnecting" from tremulous, the gamma value is not restored and desktop environment is too bright until the computer is rebooted..

Aviator

  • Posts: 277
  • Turrets: +500/-14
Re: "Disconnect" makes screen bright until reboot
« Reply #9 on: February 19, 2010, 04:02:53 pm »
Ok, so is there a button that says restore to default, or reset or something? I have the same problem so I just open the control panel and click that or I click the slider on the gamma control and it works fine. Also if you can, make a graphics scheme [if your computer gives you that option] that is set when your computer is working fine.

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: "Disconnect" makes screen bright until reboot
« Reply #10 on: February 19, 2010, 05:01:56 pm »
Use a tool like GAPA (Gamma Panel) to adjust gamma. It lets you set keyboard shortcuts for different brightness levels.

For instance, I use Ctrl+Alt+Shift+1 for the 'default' gamma of 1.0, and Ctrl+Alt+Shift+2 for my preset with gamma at 1.2. So, when in-game, I can press one of these shortcuts until I'm satisfied with the appearance, and then when I exit the game, press my shortcut for the default, and all is good again.

Aviator

  • Posts: 277
  • Turrets: +500/-14
Re: "Disconnect" makes screen bright until reboot
« Reply #11 on: February 19, 2010, 05:04:30 pm »
That works too :P

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #12 on: February 20, 2010, 12:39:32 am »
Ok, so is there a button that says restore to default, or reset or something? I have the same problem so I just open the control panel and click that or I click the slider on the gamma control and it works fine. Also if you can, make a graphics scheme [if your computer gives you that option] that is set when your computer is working fine.
the restore to default button doen't do anything, neither does loading a good, saved profile scheme.

Use a tool like GAPA (Gamma Panel) to adjust gamma. It lets you set keyboard shortcuts for different brightness levels.

For instance, I use Ctrl+Alt+Shift+1 for the 'default' gamma of 1.0, and Ctrl+Alt+Shift+2 for my preset with gamma at 1.2. So, when in-game, I can press one of these shortcuts until I'm satisfied with the appearance, and then when I exit the game, press my shortcut for the default, and all is good again.

thanks cron, merely opening gapa resets everything back the way it should be. however, i'm still wondering if i should file this bug at the tremulous bug tracker.  since the default gamma value is not restored upon Disconnect, but it is restored upon alt+tabbing out of and/or quitting trem.

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: "Disconnect" makes screen bright until reboot
« Reply #13 on: February 20, 2010, 11:32:30 am »
You sure it's the r_gamma value, and not r_overbrightbits? Set it to 0, vid_restart and crash trem or w/e.

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #14 on: February 20, 2010, 12:02:14 pm »
You sure it's the r_gamma value, and not r_overbrightbits? Set it to 0, vid_restart and crash trem or w/e.
tried that, same result. at least now i can execute gapa and it goes back to normal.  maybe there's a console log i can check to see what's going on just before trem disconnects?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: "Disconnect" makes screen bright until reboot
« Reply #15 on: February 20, 2010, 01:30:51 pm »
The bug is that the disconnect button crashes.  Most ways of crashing trem cause it to bork the screen, same with most games.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Liskey

  • Posts: 112
  • Turrets: +7/-4
Re: "Disconnect" makes screen bright until reboot
« Reply #16 on: February 27, 2010, 02:58:49 pm »
Presumably because they muck with the screen in ways that "normal" applications do not.  It would be nice if setting the gamma in-game would adjust the video gamma (and thus cause the driver gamma slider to track the game "brightness" slider the way all audio applications manage volume).  But since they hack colormap registers or something else instead of using a gamma API, crashes leave the screen borked.  It would be nice if Tremulous would unbork things when it starts, or at least have a cvar g_unbork_video to do so.

Thanks for the pointer to GAPA; I was getting really tired of rebooting the whole OS every time Trem crashes.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: "Disconnect" makes screen bright until reboot
« Reply #17 on: February 27, 2010, 03:39:13 pm »
The problem is, trem has no idea how to unbork.  When it starts it remembers how it currently is, and sets everything back to that when it closes.  I'm not sure if there's any way to find out what the "correct" value is, other than remembering what it was before.

I guess there could be a g_systemGamma that gets set each start and a option to make it reset it to that value or something.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #18 on: February 28, 2010, 04:28:17 pm »
or how about clicking disconnect simply returns the user to the main menu?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: "Disconnect" makes screen bright until reboot
« Reply #19 on: February 28, 2010, 04:53:35 pm »
That is what is supposed to happen.  The crash is a bug.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Ghostbuster

  • Posts: 11
  • Turrets: +0/-1
Re: "Disconnect" makes screen bright until reboot
« Reply #20 on: March 01, 2010, 08:28:14 am »
That is what is supposed to happen.  The crash is a bug.
a known bug, or unknown?  i couldn't find it on the bug tracker.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: "Disconnect" makes screen bright until reboot
« Reply #21 on: March 01, 2010, 02:14:50 pm »
Reported here: http://bugzilla.icculus.org/show_bug.cgi?id=4374 and maybe here: http://bugzilla.icculus.org/show_bug.cgi?id=4429

I seem to recall it being fixed, but both those bugs are open, so maybe not.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.