Template:Startup Profile

From FlightGear wiki
Revision as of 15:41, 13 June 2019 by Johan G (talk | contribs) (cat: Messagebox templates)
Jump to navigation Jump to search



The following template description is not displayed when the template is inserted in an article.
Screenshot showing the Minimal Startup Profile in action

Goal

This template can be used for maintaining startup profiles (as per Fgfsrc) for better troubleshooting/benchmarking, i.e. for coming up with reproducible test-cases that test well-defined, and restricted, subsets of FlightGear functionality/features, so that conclusions concerning performance (CPU/GPU) and resource utilization (RAM, VRAM) can be drawn.

Adding this template to a page in the article namespace will ....

Arguments

  • name (defaults to minimal)
  • version (e.g. 3.2)

Usage

Add this to the top of the page:

{{Startup Profile|name=minimal|version=3.2}}


Example

Note  The following FlightGear startup profile assumes that you have a $FG_ROOT environment variable set up, or that you are explicitly setting fg-root using the --fg-root command line argument, this startup profile is intended to be put into your Fgfsrc file or to be used when starting FlightGear from the command line.

The profile listed below is

  • name: minimal
  • version: 3.2
  • description: n/a
# --ignore-autosave # uncomment this for FlightGear versions >= 2.99
--disable-terrasync
--disable-splash-screen
--airport=ksfo
--offset-distance=4000
--offset-azimuth=90
--altitude=500
--heading=0
--model-hz=60
--disable-random-objects
--prop:/sim/rendering/texture-compression=off
--prop:/sim/rendering/quality-level=0
--prop:/sim/rendering/shaders/quality-level=0
--disable-ai-traffic
--prop:/sim/ai/enabled=0
--aircraft=ufo
--disable-sound
--prop:/sim/rendering/random-vegetation=0
--prop:/sim/rendering/random-buildings=0
--disable-specular-highlight
--disable-ai-models
--disable-clouds
--disable-clouds3d
# --disable-textures
--fog-fastest
--visibility=5000
--disable-distance-attenuation
--disable-real-weather-fetch
--prop:/sim/rendering/particles=0
--prop:/sim/rendering/multi-sample-buffers=1
--prop:/sim/rendering/multi-samples=2
--prop:/sim/rendering/draw-mask/clouds=false
--prop:/sim/rendering/draw-mask/aircraft=false
--prop:/sim/rendering/draw-mask/models=false
--prop:/sim/rendering/draw-mask/terrain=false

--disable-random-vegetation
--disable-random-buildings
--disable-rembrandt
--disable-horizon-effect