FSDreamTeam forum

Products Support => GSX Support FSX/P3D => Topic started by: yowman on April 01, 2018, 09:14:02 am

Title: GSX stutter after update
Post by: yowman on April 01, 2018, 09:14:02 am
Hi,

I was updated my gsx using the "live update.exe". After update, my gsx is stutter when moving (ex: baggage load, pushback). I tried to reinstall the gsx but it gives the same result. What should I do? Thanks
Title: Re: GSX stutter after update
Post by: jwyman on April 01, 2018, 07:23:40 pm
yes, i too am having the same issues.  Pushback causing stutters... Stutters stop after GSX completes pushback and disconnect of tow truck....
Title: Re: GSX stutter after update
Post by: SN737 on April 01, 2018, 09:48:35 pm
Me 2, posted about this already but no answer yet.
Title: Re: GSX stutter after update
Post by: virtuali on April 01, 2018, 09:51:04 pm
GSX is not stuttering. In fact, it's exactly the opposite: it's now more respectful of other addons you might be running.

Simconnect addons usually connects to the sim at each frame which means, the more frame rate you have, the more traffic is created on Simconnect. This gets worse if you have many add-ons because, if each one requires frame by frame updates, the impact of having an higher frame rate will be increasingly bad on Simconnect connections, up to a point that addons can start to cause an impact TO the sim and to the other add-ons too.

So, in order to be better citizens and more respectful of other addons, instead of trying to take every frame for ourselves, we added a frame rate cap. Since GSX animations are made at 30 fps, it would be totally useless requesting updates more frequently than that, so we capped the update frequency at 30 fps so, having an higher frame rate won't spam the sim with data request any higher that it should.

So, this was obviously made intentionally, to behave better.

But the downside of this, is that if you have ANOTHER addon that is spamming the sim with data requests, since GSX is self-limiting now, it's possible this other addon is now getting more updates, so GSX is suffering FROM that.

In an ideal world, the sim should offer a framerate-capped way to get data, so all addons would get an equal change to refresh. But unfortunately, the highest fixed frequency update is at 18 hz, which is not enough to represent 30 fps animations, and the next one higher is "unlimited", so it has the issue of causing too much data transfer, the higher your visual frame rate is.

We'll probably add an option to disable this feature, so you will be able to tell GSX to just don't care about spamming the sim and possibly distrupting the other addons, but it would likely get smoother itself.
Title: Re: GSX stutter after update
Post by: SN737 on April 01, 2018, 10:13:58 pm
Thank you, i'm eagerly waiting for an update!
Sergio Naiberg
Title: Re: GSX stutter after update
Post by: jwyman on April 01, 2018, 10:27:32 pm
Well if it helps, I use Active Sky Next (ASN) and PRO ATC-X, both i believe use simconnect to talk to FSX....
Title: Re: GSX stutter after update
Post by: virtuali on April 01, 2018, 10:32:49 pm
Well if it helps, I use Active Sky Next (ASN) and PRO ATC-X, both i believe use simconnect to talk to FSX....

I was quite sure a weather engine was involved. See this post here:

http://www.fsdreamteam.com/forum/index.php/topic,11451.msg89968.html#msg89968

The user initially reported that KIAH has objects floating over the ground, which was the result of our software not getting a chance to talk with the sim, because Simconnect was too busy to process all data coming from the other addons. But he said it was fixed as soon as he switched to a different weather engine.

We'll surely add the option to disable the feature.

It's just I'm not sure if it's best to be as bad behaving as everybody else is, and set it disabled by default, or trying not to spam the sim with stuff, by keeping it enabled by default as it is now, and get users the idea of GSX not being smooth...
Title: Re: GSX stutter after update
Post by: yowman on April 02, 2018, 09:39:11 am
understood....thanks
Title: Re: GSX stutter after update
Post by: jwyman on April 02, 2018, 05:03:59 pm
Forgot to mention that my ASN is hosted on another computer separate from my main FSX machine. Still i see alot of traffic going to FSX. I wonder if its radar data from ASN to FSX? I don't need it...
If there was a way to kill all that traffic from coming over..

Jim
Title: Re: GSX stutter after update
Post by: jwyman on April 03, 2018, 03:40:46 pm
I noticed something last night while performing a complete flight.  When i had the "stuttering' issues with the latest updates, I noticed my FPS counter fluctuating between 15-50 FPS. It is externally locked at 30 through NVIDA Inspector... I decided to disable GSX before my flight ( at the departure gate). My FPS stayed just about solid (29-30 FPS) during the whole flight.  Active Sky Next was also running.

My question: If ASN is taking up so much processing, why whould i not see wild FPS fluctuations with just ASN running?

The wild flucuations occur with GSX running.....

Jim
Title: Re: GSX stutter after update
Post by: Rustydog on April 03, 2018, 08:54:14 pm
Well for me its a killer. I wont use GSX until updated. Totally unusable at present at uk2000 airports and AS16 weather. Worked fine before last update. Please be quick. Thanks.
Title: Re: GSX stutter after update
Post by: Pit on April 04, 2018, 12:19:37 pm

We'll surely add the option to disable the feature.


Yes I think it will be better, actually not so nice having the (still great) GSX vehicles stuttering around..... ! ;)

Regards Pit.
Title: Re: GSX stutter after update
Post by: virtuali on April 04, 2018, 12:23:26 pm
My question: If ASN is taking up so much processing, why whould i not see wild FPS fluctuations with just ASN running?

The wild flucuations occur with GSX running.....

Have you tried with GSX enabled AND ASN disabled ? Both take some toll over Simconnect, that was the main reason why we limited GSX in the first place.
Title: Re: GSX stutter after update
Post by: virtuali on April 04, 2018, 12:24:35 pm
Well for me its a killer. I wont use GSX until updated. Totally unusable at present at uk2000 airports and AS16 weather. Worked fine before last update. Please be quick. Thanks.

How's your frame rate ?
Title: Re: GSX stutter after update
Post by: Rustydog on April 04, 2018, 06:16:03 pm
Well for me its a killer. I wont use GSX until updated. Totally unusable at present at uk2000 airports and AS16 weather. Worked fine before last update. Please be quick. Thanks.

How's your frame rate ?

At Airports Around 20-25. At cruise around 30-35. Unlimited frame rates set, due to bad stutters if using limited. Always has been in P3d. With or without GSX.
Title: Re: GSX stutter after update
Post by: virtuali on April 04, 2018, 06:55:08 pm
At Airports Around 20-25. At cruise around 30-35. Unlimited frame rates set, due to bad stutters if using limited. Always has been in P3d. With or without GSX.

Alright, this means you should be fine with the update we'll release very shorty, which will make the frame rate limiter for our own Simconnect calls optional, since you were already lower than 30 fps, and the main reason of limiting ourselves, was not to spam the sim with too many commands when the frame rate is higher, for example over sparsely populated areas.
Title: Re: GSX stutter after update
Post by: Rustydog on April 04, 2018, 07:06:37 pm
Many thanks Umberto for the fast response to our problems. It is much appreciated.
Title: Re: GSX stutter after update
Post by: virtuali on April 05, 2018, 11:26:35 am
The Update is online now. By default, the option to cap Simconnect updates is disabled, so it would work exactly as it was before (no cap). It's probably best to use it if your fps is much higher than 30.
Title: Re: GSX stutter after update
Post by: SN737 on April 05, 2018, 07:56:48 pm
Thank you for the update Umberto!, works stutter free now.
Regards
Sergio
Title: Re: GSX stutter after update
Post by: jwyman on April 05, 2018, 10:45:00 pm
YEs, now stutter free! :)
Title: Re: GSX stutter after update
Post by: Pit on April 05, 2018, 11:06:25 pm
Confirm too, stutter free also here!  :)
Title: Re: GSX stutter after update
Post by: samwheeler on April 06, 2018, 01:44:18 am
Still stuttering for me, have I missed something?
Title: Re: GSX stutter after update
Post by: virtuali on April 06, 2018, 10:02:37 am
Still stuttering for me, have I missed something?

Either you haven't updated yet, or your stutter didn't had anything to do with GSX to begin with. Maybe it's not clear enough what this update is about:

- BEFORE this very latest update, we limited the number of requests we do to the sim to 30 fps, in order to prevent from causing problems TO the sim, in case your fps was higher.

- NOW, after the update, we made this optional (and by default disabled), so we DO NOT limit ourselves anymore so, the more the fps, the more commands we send to the sim. This won't automatically make the sim smoother because, if you already were in the situation we tried to prevent to begin with, which was ANOTHER addon spamming the sim with requests so there wasn't enough time left for us to talk with it, it won't change anything.

In fact, it might be even worse because, if too many addons would send too many commands at the same time, the sim would start stuttering OR the addons won't get enough updates, becoming jumpy themselves.

Basically, the option that we added, which is now by default disabled, was only meant to be more respectful of other addons, so at least nobody could accuse our software to be a Simconnect spammer but, if there's another spammer affecting the sim, there's simply nothing we can do to fix it.