Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: MetalDestroyer on May 03, 2007, 03:28:24 pm
-
Well, I don't know if i'm on the right topic, section or whatever you call ^^, but :
Are you planning to fix the refresh rate limitation in the next build ? I mean lets people choose their refresh rate instead by using the 60 Hz default one ?
Because, it's annoying when we play on CRT.
Voila, voila.
-
There is already a registry option to choose the refresh rate that it will use, it's just not exposed in the launcher since it is actually possible to damage hardware by using the wrong values. If you really want to make it a user option, and are apparently willing to code on it, make it available in the launcher by coding in a test to determine which refresh rates are valid for the selected resolution and fill a drop-down box with the sane values. That way it should be perfectly safe for everyone to use. :)
-
I'm not sure how it works on other OSs, but XP does not allow any program to output a refresh rate that is not supported in the monitor's driver.
-
how is it possible to damage hardware?
i just set it to 75 myself, which is m,y screens usual refresh rate. so long as you only set it to what your already using it should be fine.
-
I thought that if you put a wrong refresh rate, you have only a black screen and only that and no other symptom. The monitor will be on sleep mode (in my case).
-
If your monitor's smart, yes. If not, it will perma-fry it. (Speaking from experience; 2 monitors dead before I figured it out... issue was compound of the driver being for 98, not 98 SE, and when I set the rate to 75 Hz, it bumped it to 110 or something.) I only figured this out because the third monitor could take refresh rates that high. When I saw what it was running at, I was quite shocked.
-
Yeah, good monitors won't allow you to set a bad refresh rate, but cheap monitors typically will and can be damaged by it. It could be fried or just suffer some other type of damage and not work properly any longer. I've had one that was partially damaged before, and it's not fun.
We aren't going to take any chances though, so for this to end up in an easy to use interface, it will have to be as idiot proof as possible. It shouldn't be too difficult a task though, just takes someone to code it up. And this problem (needing to set the refresh rate) only applies to Windows as well. Other OSes don't butcher basic OpenGL support like Microsoft tends to do.
-
Wonder why they do that. I can't imagine.
-
DirectX will use the desktop refresh rate, but OpenGL will always use 60Hz in Windows without a registry hack of some sort. It's just one of those dumb Microsoft things that makes zero sense to everyone else in the world. I'm not aware of any technical reason for the difference in behavior, so I can only surmise that it's just political.
I think that Linux and OS X will either use the desktop refresh rate always, or go for the next highest rate possible.
-
It's actually pretty easy to get around the problem though. You want to modify your monitor driver file (which is just a text file) and remove all the 60hz modes, so Windows thinks your monitor cannot support that refresh rate and never outputs it under any circumstances as long as the driver is loaded. I have filtered out all the 60hz and 75hz modes in this manner and never run into refresh rate problems anymore.
-
Hum, where could I change the refresh rate within the registry ? I didn't figure out any variable to refer with refresh rate for Freespace 2.
-
Hum, where could I change the refresh rate within the registry ? I didn't figure out any variable to refer with refresh rate for Freespace 2.
"OGL_RefreshRate". It's a DWORD value, and that will tell it what refresh rate to use when playing fullscreen. There is absolutely no safety checking on it though, so you could put in 9999999 as the refresh rate and that's what it would pass to ChangeDisplaySettings().
-
Meh I fried my screen and I have a separate monitor now. -_-
-
Thanks a lot Taylor ^^
-
Actually, on the subject of FPS limits, Inferno builds seem to have 120 FPS according to the indicator.
-
Yep, but doesn't mean your refresh rate is at 120 Hz. If you check the Vsynch checkbox in the launcher, the framerate will be locked on 60 hz so 60 FPS.
-
I think that's a property of the game in general, not just Inferno. You can change it with the registry flag MaxFPS, but that's only useful if you cannot use vsync for some reason (if you have SLI, for example).
-
If you have an nVidia-Card, this registery entry will unlock a menu in your nVidia Control Panel to override refresh rates for every single resolution:
[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak]
"NvCplDisableRefreshRatePage"=dword:00000000
But make sure you set only supportet refresh-rates.
My CRT, for example, can do 75 Hz from 320x240 to 640x400, then 100 Hz for 640x480, 85 Hz up to 1024x768, 75 Hz at 1152x864 and only 60 Hz for everything above that (up to 1280x1024).
-
That doesn't work everywhere in my experience. It was good for the most part, but there were a few games on which it did nothing for me. The driver thing I described works in every program I've tried.
-
im not known for buying expensive monitors, infact theres a guy in town who has 9 pallettes of monitors, and he will actually pay you for each one you take. i took about 4 :D my point is every monitor ive had will flash some kind of bad signal or signal out of range error if you feed it the wrong frequency. i didnt know there were monitors you could fry from software settings. i got a buddy whos an electrical engineer, ill have th ask him about this one.
-
They exist, but I think they would have to be very old to have such a limitation. Every CRT I've seen going back to 1997 or so has some sort of overscan feature built in.
-
Boys...
ATI Tools has a handy refresh lock feature - you can force all applications to use whatever resolution and refresh rate you so desire. Similarly, nVidia's display drivers also (used to) allow you to do this. If they no longer do, one of the advanced tweak programs available will.
AFAIK, this will force even FS to conform to the system's designated refresh rate.
-
Actually, on the subject of FPS limits, Inferno builds seem to have 120 FPS according to the indicator.
I get 120 FPS with SLI enabled and 60 FPS with SLI disabled
-
I simply use this to get 75Hz on OpenGL.
http://www.pagehosting.co.uk/rf/
Go to download and then click on RefreshLock instead as it does not modify display properties and so can easily be toggled and disabled when not needed.
Just enable it and set the refresh rate you want and start the game, no registry hacking needed.