Board index FlightGear Development Aircraft

777 freezes and FPS loss

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: 777 freezes and FPS loss

Postby Hooray » Sat Feb 13, 2016 9:13 pm

You are correct, I understand what it is intended to do, i.e. it is supposed to encapsulate the name of the subsystem as part of the subsystem instance, so that there aren't all sorts of "foo" lookups all over the place in sg/fg - however, I haven't checked what else it might be doing.

For instance, if there is still old code using the old lookup method, it may be possible (in theory) that multiple instances of a subsystem may get allocated, using different handles.

For that, we need to look at the patch in question - reverting is unlikely to work, because this is stuff at the simgear/sgsubsystem level, i.e. low-level stuff that other code depends on.

Technically, it using a new template method apparently to make the pointer acquisition more compact, i.e. a single place for handling this in SG, instead of having this all over the place in sg and fg
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: 12058
Joined: Tue Mar 25, 2008 8:40 am

Re: 777 freezes and FPS loss

Postby sanhozay » Sun Feb 14, 2016 10:22 am

As I like nothing more than a good bisect on a Sunday morning, I was going to see if I could find the commit that breaks the particle system. Sadly someone already did it :(.

https://sourceforge.net/p/flightgear/ma ... /34808426/

Hmm, commit 154464 ... haven't we met somewhere before. :lol:
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: 777 freezes and FPS loss

Postby Hooray » Sun Feb 14, 2016 11:22 am

The particle system being broken is not necessarily a bad thing though, because it had a number of other issues, even back when it was still "working" otherwise: http://wiki.flightgear.org/Particle_system#Known_Issues
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: 12058
Joined: Tue Mar 25, 2008 8:40 am

Re: 777 freezes and FPS loss

Postby legoboyvdlp » Sun Feb 14, 2016 9:58 pm

As I like nothing more than a good bisect on a Sunday morning


Who doesn't?!
On the other hand, glad you found it, both of you.
User avatar
legoboyvdlp
 
Posts: 7816
Joined: Sat Jul 26, 2014 1:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: 777 freezes and FPS loss

Postby biloute974 » Thu Feb 18, 2016 8:12 pm

Hi all,

it seem that FP loss disappear with an update to 2016.2.0 version. Thanks to all devs for this great job.
Intel I7 7700 - 16Gb DDR4 - Nvidia GTX970 - FG 2017.4.0 from D&C
biloute974
 
Posts: 193
Joined: Mon Feb 23, 2015 8:49 am
Callsign: U974
Version: 2016.1.0
OS: Mint 17.2

Re: 777 freezes and FPS loss

Postby Hooray » Fri Feb 19, 2016 2:28 pm

and like Hyde said, it was unrelated to the Canvas system :D
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: 12058
Joined: Tue Mar 25, 2008 8:40 am

Re: 777 freezes and FPS loss

Postby biloute974 » Fri Feb 19, 2016 5:45 pm

Exactly ;)
Intel I7 7700 - 16Gb DDR4 - Nvidia GTX970 - FG 2017.4.0 from D&C
biloute974
 
Posts: 193
Joined: Mon Feb 23, 2015 8:49 am
Callsign: U974
Version: 2016.1.0
OS: Mint 17.2

Previous

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 2 guests