Board index FlightGear The FlightGear project

Review of FG on reddit: xpost

Questions about the FlightGear organisation, website, wiki etc.

Re: Review of FG on reddit: xpost

Postby Hooray » Mon Feb 08, 2016 2:19 pm

25-30 fps is probably the lowest we should aim for to have some margin for lag
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11325
Joined: Tue Mar 25, 2008 8:40 am

Re: Review of FG on reddit: xpost

Postby erik » Mon Feb 08, 2016 2:36 pm

That would successfully limit the number of useful configuration files to about 3 or 4.
erik
 
Posts: 1520
Joined: Thu Nov 01, 2007 1:41 pm

Re: Review of FG on reddit: xpost

Postby Hooray » Mon Feb 08, 2016 2:50 pm

like you said already, this could work pretty much like the joystick support - i.e. we would maintain PropertyList XML files in $FG_ROOT/GraphicsProfiles/VENDOR, and then use the GL_* strings to load a matching default profile, with CLI arguments being processed afterwards, i.e. to take precedence, so that defaults can be overridden.

For instance, see $FG_SRC/Main/fg_init.cxx +466 fgInitConfig:

Code: Select all
bool loadDefaults = options->shouldLoadDefaultConfig();
    if (loadDefaults) {
      // Read global preferences from $FG_ROOT/preferences.xml
      SG_LOG(SG_INPUT, SG_INFO, "Reading global preferences");
      fgLoadProps("preferences.xml", globals->get_props());
      SG_LOG(SG_INPUT, SG_INFO, "Finished Reading global preferences");



This is one of the places, where we could also run another fgLoadPRops() call to load rendering settings that are overlaid onto /sim/rendering

Technically, we are already using this approach to suport translations, which are also read/overlaid into the tree
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11325
Joined: Tue Mar 25, 2008 8:40 am

Re: Review of FG on reddit: xpost

Postby erik » Mon Feb 08, 2016 9:50 pm

That was what I was hoping, quick and simple. Great to see it could work that way.

Erik
erik
 
Posts: 1520
Joined: Thu Nov 01, 2007 1:41 pm

Re: Review of FG on reddit: xpost

Postby Hooray » Mon Feb 08, 2016 9:56 pm

Also, $FG_ROOT/gui/dialogs/about.xml and rendering.xml are already accessing some of the GL* data via properties, e.g. to display the Intel warning, but also the GPU vendor info:

http://wiki.flightgear.org/About_dialog
Image

Thus, we would ideally introduce 3-4 "vendor"-specific folders and then introduce a PropertyList XML file where the RENDERER string is used to select a certain default configuration.

For testing purposes, we could promote this features on the forum/website/IRC and facebook to get people involved with testing, and to provide feedback - so that we know what settings work well enough, using Nasal's http APIs, such feedback could even be gathered online.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11325
Joined: Tue Mar 25, 2008 8:40 am

Re: Review of FG on reddit: xpost

Postby Hooray » Thu Feb 18, 2016 10:44 pm

It might be a good idea to split the discussion off this idea into its own thread because we're getting some useful feedback due to the recent release, e.g. referring to:

Flightgear won't run.
nitinsane wrote:I have exact same issue on Lenovo Thinkpad W530 running Windows 10. The suggested workaround (fgfs.exe --prop:/sim/rendering/shaders/quality-level=0) worked for me.

gl-vendor:NVIDIA Corporation
gl-version:4.5.0 NVIDIA 354.45
gl-renderer:Quadro K1000M/PCIe/SSE2
gl-shading-language-version:4.50 NVIDIA


This kind of info would already help us come up with startup profiles for different GPUs
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11325
Joined: Tue Mar 25, 2008 8:40 am

Previous

Return to The FlightGear project

Who is online

Users browsing this forum: No registered users and 0 guests