Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VSync and triple buffering!

Featured Replies

  • Commercial Member

Two ways to set up four straight non-HT cores:

 

1. Run with no AM, so it runs on cores 0,1,2,3. But we have to make sure addons only run on cores 1,2,3. We can start addons with affinity settings from a .bat, and we can make a link on the desktop to that so it's no different to starting the app from the desktop icon.

 

2. Run with an AM=14=1,2,3. This leaves a "hole" in front of the row of cores for the jobscheduler to find when the addon exes run after the sim starts. If the addon starts before the sim starts it could prove more problematical. We can apply affinity to apps but it's not such a good idea to restrict them to one core. We could allow addon exe's onto 0,2,3. But if we go to that trouble, we may as well go with option 1.

 

The i52500k can't do HT. So would these settings matter at all there?

Yes, the vsync TB thing is to do with the GPU, whereas HT is to do with saving half the time a CPU wastes task switching.

Steve Waite: Engineer at codelegend.com

  • Replies 188
  • Views 51.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • By setting the 35 limit for P3D possibly means that it looks better because there's simply less time between frames, and possibly points to an unstable fps underlying the sim compared to FSX. But if y

  • Yeah Rich, a lot of new goodies around. When it's getting close to my PC replacement time, I'm going to have a good look at panels other than boring 1920x1200 corporate class stuff. You got your new r

  • Steve - 24/24 was too laggy to bear BUT your suggestion of 144Hz/NI at 29fps with VS and TB on may just be the winning ticket.  Just tried a flight in heavy cloud coverage and rain here in my home tow

Two ways to set up four straight non-HT cores:

 

1. Run with no AM, so it runs on cores 0,1,2,3. But we have to make sure addons only run on cores 1,2,3. We can start addons with affinity settings from a .bat, and we can make a link on the desktop to that so it's no different to starting the app from the desktop icon.

 

2. Run with an AM=14=1,2,3. This leaves a "hole" in front of the row of cores for the jobscheduler to find when the addon exes run after the sim starts. If the addon starts before the sim starts it could prove more problematical. We can apply affinity to apps but it's not such a good idea to restrict them to one core. We could allow addon exe's onto 0,2,3. But if we go to that trouble, we may as well go with option 1.

 

 

Yes, the vsync TB thing is to do with the GPU, whereas HT is to do with saving half the time a CPU wastes task switching.

So, in other words option 1 would be my best bet and I need to go back to the other long thread talking about that .bat and where to set ASN, EZDok, UT2, and whatever else I have in exe/dll xml. :)

Regards,

 

Kevin LaMal

"Facts Don't Care About Your Feelings" - Shapiro2024

By setting the 35 limit for P3D possibly means that it looks better because there's simply less time between frames, and possibly points to an unstable fps underlying the sim compared to FSX. But if you had FSX locked rather than just limited by the 1/2 vsync, it would do better on a 60Hz monitor in exclusive mode any day. What's the CPU and AM used?

 

My CPU is an i76700K-OC4.7 and my AM is 01010101 and 11111000 for addons which has been working very well for both FSX and P3D as per your suggestions. It is weird that 35FPS is quite steady in P3D, but in a turn, P3D terrain rotates only as well as 30FPS in FSX looks even though the frame rate counter is still indicating 35FPS!

  • Commercial Member

Seems like rock solid setup. Check out the monitor refresh rates. Even though it may say it's 60Hz refresh, depending on resolution, could be anything from 55 - 65.

 

The NI limit + Vsync + TB + Unlimited setting is unsteady compared to Fixed fps slider setting, especially compared with FSX exclusive.

 

I'll need to do some testing with P3D, but here's FSX boxed with Fixed fps compared to Fixed + Limit (1/3Vsync + 20 Fixed). The fps flow is steadied, and setting a higher frequency means it's always out and struggling:

 

vsynccompared.jpg

I chose 20fps because it shows up the difference better than 30fps. Higher than 30fps the time between frames becomes very short and things start to look the same.

In short P3D won't work a well as FSX in that respect, and it would need the fixed fps setting to compete. The fixed setting is hard on the system. P3D is more demanding than FSX because of the amount going on in the scene and degrades more rapidly than FSX with increasing screen resolution.

Steve Waite: Engineer at codelegend.com

Has Tripple Buffering to be turned on in NCP or NI? 

 

Becasue by default it`s set to Off in NCP and NI

sfo_a320.png

 

C. W. ,Ryzen 9 5950X @H2O , 32 GB RAM DDR4 3600 Mhz CL15 , Corsair MP600 Pro Watercooled 2 TB for P3D, Samsung SSD980 1 TB for Addons and Crucial MMX500,  Red Devil Ultimate 6900 XT

With prepar3d now some release cycles in, I was wondering : Will my i5 2500k @ 4.2 ghz HT=OFF, perform better at stock 3.2 ghz HT=ON?

 

Never considered it before as I always thought that clock speed was the only important thing...? I run a 970 on the side...

 

Currently going with unlimited, TB and vsync off, but will test with NI set to 30 and experiment with TB= on and vsync on..

 

 

Martin

 

Edit: Forgot to thank you Steve for your never ending flow of valuable and science-like information!

Martin Jensen

SteveW, on 13 Mar 2016 - 2:59 PM, said:

Seems like rock solid setup. Check out the monitor refresh rates. Even though it may say it's 60Hz refresh, depending on resolution, could be anything from 55 - 65.

 

The NI limit + Vsync + TB + Unlimited setting is unsteady compared to Fixed fps slider setting, especially compared with FSX exclusive.

You are correct Steve I just tried it, NI limit + Vsync + TB it is very sensitive to monitor refresh I just checked. If NI and the refresh are different, then P3D is smooth in a straight line but if you bank in a turn the terrain rotation starts to pulse-microstutter at a harmonic frequency that is the difference between NI and the refresh rate.

 

The solution is if you need the terrain to rotate smoothly in a tight turn do either of these things:

  • Adjust the monitor refresh to match NI +/-1 fps (or more if your monitor refresh is inaccurate)
  • Have a powerful enough computer that there is a lot of headroom between unlimited FPS and the NI frame limit setting
  • Switch to FSX and use fullscreen exclusive mode on 1/2 VSYNC which is still the smoothest of all in a tight turn
  • of just forget about it because it will never be perfect
  • Commercial Member

Good job steve! Works for me

Hey Vernon! I'm glad to hear that.

 

 

Has Tripple Buffering to be turned on in NCP or NI? 

 

Because by default it`s set to Off in NCP and NI

 

Triple Buffer is set in P3D display settings with VSync, and Unlimited. Only set the limiter in NI.

Steve Waite: Engineer at codelegend.com

Steve so setting p3d to unlimited will give better overall performance

Vernon Howells

Will my i5 2500k @ 4.2 ghz HT=OFF, perform better at stock 3.2 ghz HT=ON?

 

The 2500K is only 4 cores, it doesn't have HyperThreading. Just overclock it as far as possible, it's still a very capable CPU.

The 2500K is only 4 cores, it doesn't have HyperThreading. Just overclock it as far as possible, it's still a very capable CPU.

LOL thx for in lightening me on my own hardware - guess that's makes it easier for me to decide whether to HT or not

Martin Jensen

  • Commercial Member

Steve so setting p3d to unlimited will give better overall performance

With no vsync and no frame limit, the sim is free to blast away at making frames as fast as possible, same as when we set the fps slider below unlimited. That's not like saying the sim performs better.

 

Overall peak performance of the sim requires

 

1. Keeping activity off of the core hosting main P3D UI thread.

 

2. Preventing the sim from breaking into more than four parts, one per core.

 

3. Enabling Hyperthreading if you've got it.

Steve Waite: Engineer at codelegend.com

I mean't follow your setup - NI set 30, P3D frames at unlimited, TB on

Vernon Howells

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.