Author Topic: SetDeviceGammaRamp  (Read 4926 times)

squishy

  • Posts: 91
  • Turrets: +1/-0
SetDeviceGammaRamp
« on: February 06, 2007, 01:15:51 am »
I recently installed Windows Vista and now when I try to play Tremulous, the screen is dark - too dark to play.

When I attempt to go into the Options menu and adjust the brightness, I get "SETDEVICEGAMMARAMP FAILED"

I have the latest Nvidia drivers for Vista. I did not have this problem with XP.

I saw this thread, but didn't see a solution.
http://tremulous.net/phpBB2/viewtopic.php?p=26409

Attempting to set r_gamma gives me the same error.

Hoping someone can assist!
--df

squishy

  • Posts: 91
  • Turrets: +1/-0
SetDeviceGammaRamp
« Reply #1 on: February 06, 2007, 03:19:42 am »
Just a follow-up...

It seems this is only an issue in full screen mode. In window mode, the gamma is fine and is adjustable with /r_gamma #
--df

tomek-k

  • Guest
SetDeviceGammaRamp
« Reply #2 on: February 06, 2007, 11:18:37 am »
maby just a bug in gfx drivers?
New drivers tend to have such.

Stof

  • Posts: 1343
  • Turrets: +1/-1
SetDeviceGammaRamp
« Reply #3 on: February 06, 2007, 12:16:14 pm »
Don't install Vista! Especially if you intend to play OpenGL games. At least, wait a few months for correct drivers.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

squishy

  • Posts: 91
  • Turrets: +1/-0
SetDeviceGammaRamp
« Reply #4 on: February 06, 2007, 02:00:32 pm »
I figured as much. I'll just play in window mode until nVidia gets things straight!

Thanks!
--df

OhSnap

  • Posts: 2
  • Turrets: +2/-0
SetDeviceGammaRamp
« Reply #5 on: March 19, 2007, 01:18:04 am »
Got a solution, I run Vista Home Premium x64

I thought it was too easy, but I gave it a shot.

I added tremulous to my games section (just drag the tremulous executable to the window and it will create a shortcut for it) Then edit the shortcut and turn on compatibility mode for Windows XP. After that I never got the error again and the slider worked perfectly for adjusting the brightness.

I'm using the latest nvidia drivers (100.65)

Good Luck! Now back to playing trem :3

EDIT: OH, forgot to mention on the shortcut, make sure Start In: has the correct path in it, in my case that would be
"C:\Program Files (x86)\Tremulous"

daenyth

  • Posts: 230
  • Turrets: +21/-26
SetDeviceGammaRamp
« Reply #6 on: March 29, 2007, 07:37:52 pm »
The best fix for windows problems is installing linux.
Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

22grandjob

  • Posts: 80
  • Turrets: +2/-5
Re: SetDeviceGammaRamp
« Reply #7 on: May 07, 2009, 02:31:02 pm »
Excellent, thanks nosnap :)
Its A Secret!

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: SetDeviceGammaRamp
« Reply #8 on: May 08, 2009, 05:24:16 am »
I believe that this has been fixed in mgclient and tremfusion, but I'm not sure if it's the same bug.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P