flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.09k stars 1.1k forks source link

[BUG] Awful stuttering when using the A320NX when using low refresh rate. #3129

Closed PaulARamsay closed 3 years ago

PaulARamsay commented 3 years ago

Mod Version

{
  "built": "2021-01-21T09:04:56+00:00",
  "ref": "",
  "sha": "",
  "actor": "Matthew Sainsbury <matthew@sainsbury.io>",
  "event_name": "manual"
}

Describe the bug

Awful performance when using the a320NX, CoherentCGDraw is taking a massive hit and causing terrible stutters when flying.

To Reproduce

  1. Set fresh to cockpit refresh rate to low
  2. Start the aircraft.
  3. Watch the debug monitor.

Expected behavior

Less stuttering. Better performance.

Actual behavior

Ran A320 NX as usual.

References

A320 image A320NX image

Additional context

  AlphaSync Gaming Desktop PC, AMD Ryzen 7 2700X, 32GB RAM, 1TB HDD, 240GB SSD, Gigabyte RTX 2070 Super, Windows 10 Home

Was this working before/when did the issue start occurring?

It's been an on-going issue for all versions.

Is this a problem in the vanilla unmodded game?

No, see screenshot attached. This is the comparision between the 2. As you can see there is significant stuttering.

Discord username (if different from GitHub):

Archer#9442

PaulARamsay commented 3 years ago

So just tested and the stutters were caused by using low refresh rate in the settings. Changing from low to medium/high causes the above stutters to stop. Still seems like low refresh might need some optimization if it's giving you worse performance than high or medium.

Daboj1337 commented 3 years ago

So just tested and the stutters were caused by using low refresh rate in the settings. Changing from low to medium/high causes the above stutters to stop. Still seems like low fresh might need some optimization if it's giving you worse performance.

For me only the intervall from stuttering went from every second to 2-3 second when i change the refresh rate from MSFS. Ive got the 10900k and 3090 ti. After i inserted a flightplan vom simbrief the whole sim is so heavy lagging...

Benjozork commented 3 years ago

Closing in favour of #4051.