Howto:Improve framerates: Difference between revisions

Jump to navigation Jump to search
Optimus Technology
m (Log level is also important)
(Optimus Technology)
Line 38: Line 38:
=== Debugging/log level ===
=== Debugging/log level ===
The more FlightGear has to write out to the log, the more framerates will be sacrificed. On normal usage, one is best of with the highest log level, which is ''alert''. In FGRun this can be set via <tt>Advanced > Debugging</tt>, on a commandline you'll use <tt>--log-level=alert</tt> (or simply remove an existing --log-level command, as alert is the default).
The more FlightGear has to write out to the log, the more framerates will be sacrificed. On normal usage, one is best of with the highest log level, which is ''alert''. In FGRun this can be set via <tt>Advanced > Debugging</tt>, on a commandline you'll use <tt>--log-level=alert</tt> (or simply remove an existing --log-level command, as alert is the default).
=== Optimus Technology ===
Most notebooks that run Windows 7 have the so called [http://www.nvidia.com/object/optimus_technology.html Optimus Technology] onboard. This is meant to increase battery life, by automatically switching of the powerfull graphics card when it's not needed. However, FlightGear needs it all the time, even if Optimus says it doesn't. This miscommunication results in low framerates (because your computer will run Flightgear on the weak onboard processor).
To make use of the powerful graphics card, perform the following steps:
# Go to the NVidia control panel. Probably located in the Windows Control Panel.
# Open the 3D Settings tab. Now there's two options you can take:
#* On the "General settings tab", set "Prefered graphics processor" to NVidia. The NVidia card will now be used for all software. This can decrease battery life significantly.
#* On the "Programm settings" tab, locate <tt>fgfs.exe</tt> (eg. <tt>C:/Program Files/FlightGear/bin/win32/fgfs.exe</tt>) and assign the NVidia card to it. From now on the NVidia card will be used for FlightGear.


== Hints for developers ==
== Hints for developers ==

Navigation menu