Refreshrate
Refreshrate
Greetings,is it possible to adjust the monitor-refreshrate?
Great Project
read you...
Great Project
read you...
In Windows , you can adjust your monitor's refresh rate by going into control panel, display properties, settings, advanced, adapter, list all modes. Then you can select resolution and refresh rate.
A word of warning though - if your monitor is old and doesn't know how to turn itself off, you may damage it. Most monitors I find will just say "Out of Range" or something similar. 75mhz I usually find an acceptable rate.
LCD's the refresh rate doesn't really matter.
A word of warning though - if your monitor is old and doesn't know how to turn itself off, you may damage it. Most monitors I find will just say "Out of Range" or something similar. 75mhz I usually find an acceptable rate.
LCD's the refresh rate doesn't really matter.
I know..
In windows and other games i run on 100hz but fo runs only on 60hz.
Some Opengl games have a feature to adjust the refreshrate ingame.
If fo would have such an option the crt-users would be really happy,for sure.
Is this option planned?
Or is there a way to change the refreshrate in the config-file?
Like: app-refreshrate(100) or 1024x768@100,etc.. ?
read you...
In windows and other games i run on 100hz but fo runs only on 60hz.
Some Opengl games have a feature to adjust the refreshrate ingame.
If fo would have such an option the crt-users would be really happy,for sure.
Is this option planned?
Or is there a way to change the refreshrate in the config-file?
Like: app-refreshrate(100) or 1024x768@100,etc.. ?
read you...
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
I don't think there's a GUI or command-line option at the moment. However, I searched the code, and found a line:
SetMaxFPS(60.0);
in HumanClientApp::HumanClientApp(), in HumanClientApp.cpp that looks like it's controlling the FPS. You could try changing that and recompiling, if you're able to do so.
SetMaxFPS(60.0);
in HumanClientApp::HumanClientApp(), in HumanClientApp.cpp that looks like it's controlling the FPS. You could try changing that and recompiling, if you're able to do so.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Yes, we've established that FreeOrion frame rate ("FPS") is not affected by the computer's screen refresh rate...JohnnyB. wrote:What?
My Desktop-refresh has no effect on Fo.
So what is your question? Do you want FO to change the computer's refresh rate when it starts? Or do you want the FO frame rate to be equal to the previously-set computer refresh rate when it starts (assuming the rendering can keep up)?
Ok i will picture it.
Windows(Desktop) running on 1024x768@100Hz
Start DirectX Game->Game has 100Hz
Start OpenGl Game->Game has 60Hz(WinXp Bug)
Some OpenGl games have an option to adjust the refreshrate from 60Hz to "what you want".
Would be great if FO would have this feature,too.
I know that you would do this only for the crt users.
I appreciate that.
JB
Windows(Desktop) running on 1024x768@100Hz
Start DirectX Game->Game has 100Hz
Start OpenGl Game->Game has 60Hz(WinXp Bug)
Some OpenGl games have an option to adjust the refreshrate from 60Hz to "what you want".
Would be great if FO would have this feature,too.
I know that you would do this only for the crt users.
I appreciate that.
JB
I found in this page:
http://www.gamedev.net/community/forums ... _id=393504
"The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions. A full API for querying and selecting refresh rates is planned for SDL 1.3."
So it may be a problem with the SDL version used in the windows binary.
http://www.gamedev.net/community/forums ... _id=393504
"The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions. A full API for querying and selecting refresh rates is planned for SDL 1.3."
So it may be a problem with the SDL version used in the windows binary.
Can't you use non SDL code to select the refreshrate.Tyreth wrote:I found in this page:
http://www.gamedev.net/community/forums ... _id=393504
"The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions. A full API for querying and selecting refresh rates is planned for SDL 1.3."
So it may be a problem with the SDL version used in the windows binary.