News:

Come Chat with us live! Learn how HERE!

Main Menu

"Disconnect" makes screen bright until reboot

Started by Ghostbuster, February 17, 2010, 08:54:41 AM

Ghostbuster

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)

David

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

i've tried a bunch of things, but nothing helps except rebooting :/

Undeference

Try starting Tremulous again and then quitting normally. That may work.
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

Ghostbuster

thanks, i tried that too..still bright as the sun.

Aviator

If you have a graphics control, try turning down the gamma :o

Silver

Play tremulous with standard gamma and it shouldn't effect you. :P
I SUKC AT TRMELUS

IABZ IS JESUS

Aviator

Quote from: Silver on February 19, 2010, 12:03:23 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

Quote from: Aviator on February 18, 2010, 10:30:25 PM
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.

Quote from: Silver on February 19, 2010, 12:03:23 AM
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

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

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.


Ghostbuster

Quote from: Aviator 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.
the restore to default button doen't do anything, neither does loading a good, saved profile scheme.

Quote from: cron 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.

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

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

Quote from: UniqPhoeniX 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.
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

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

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

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

or how about clicking disconnect simply returns the user to the main menu?

David

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

Quote from: David on February 28, 2010, 04:53:35 PM
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

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.