Jump to content
Sign in to follow this  
dutton98

VSync and triple buffering!

Recommended Posts

Hi all, 

 

So after a few weeks i was finally able to get my P3D where i wanted it to be, no blurries and good fps. Originally i had Vsync and triple buffering set to off, but i find in the cruise when the fps gets very high its almost so smooth its not smooth if you get me. After doing a few flights with Vsync and triple buffering on i have seen that these 2 settings seems to make my sim stutter more and also gives me some of those blurries i didnt want back. 

 

Is someone able to tell me why this happens?

Share this post


Link to post

 

 


but i find in the cruise when the fps gets very high its almost so smooth its not smooth if you get me.

 

Actually no. ??

 

Are you Vsyncing to 60 or 30 FPS?

 

gb.


YSSY. Win 10, 6700K@4.8, Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.

Share this post


Link to post

I have 60 fps locked in Nvidea inspector 

 

But i find its odd, cause when i have vsync and triple buffering on i seem to get more stutters and also blurries. 

 

But when vsync is off and triple buffering is off, i seem to get really good crisp textures, no stutters but on like final approach the fps gets quite bad, like when vsync is on its so much smoother. 

 

I would love to be able to have both 


What im trying to say about the smooth but no smooth, when im in the cruize the fps must get so high, that when i pan around its smooth but its almost like when i pan it stops for a millisecond and stutters almost 

Share this post


Link to post

Try this Harry,

 

Set the 30fps limit in NI.

 

Display Settings set Unlimited, VSync On, and Triple Buf On.

Look at the shift-z fps you should see it around 30.

 

or

 

Set the 30fps limit in NI.

Display Settings set 30fps fixed on the slider, set VSync Off and Triple Buf Off.

 

Also I recommend setting HT On and affinity with four LPs one per core.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

With my new system I use Triple Buffering with V-Sync off and I am getting incredible frame rates. I guess it works differently for each person. 


Let me guess.... you want 64bit. 

Josh Daniels-Johannson

Share this post


Link to post

With my new system I use Triple Buffering with V-Sync off and I am getting incredible frame rates. I guess it works differently for each person.

Yes that's true, vsync off gives the most fps. But I'm sure it's the same for everyone.

 

Anyway, he's not got an issue with fps.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

What does triple buffering even do?

 

And why would i be getting blurries when vsync and triple buffering is turned on

 

Bizzare

Share this post


Link to post

Well, the triple buffer refers to the three screen memory storage areas the GPU uses for frames being made and displayed. There is a front buffer that is currently being fed to the screen, then there are two backbuffer frames. Any one of the backbuffer frames is being drawn by the sim, the other is ready to be switched with the front buffer. So with triple buffer there's never any waiting to switch the front buffer with a completed buffer frame, since there's always one of the two available, while the other can be drawn. So the CPU and GPU go full steam ahead. So can introduce blurries as it leaves too little time for the background tasks to populate the tiles.

 

With the VSync, that synchronises the GPU display with the output device feeding the screen, not to be confused with the vsync of a raster monitor. If the GPU hasn't finished a frame and the buffer run out, due perhaps to too much detail, then it waits on that frame. Without VSync, displays the same frame until the new one can be switched in.

 

So that's why I suggested to try those two methods running at 30, instead of 60 fps.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

With my new system I use Triple Buffering with V-Sync off and I am getting incredible frame rates. I guess it works differently for each person. 

do you have triple buffering turned on in nvidea inspector / control panel?

Share this post


Link to post

Well, the triple buffer refers to the three screen memory storage areas the GPU uses for frames being made and displayed. There is a front buffer that is currently being fed to the screen, then there are two backbuffer frames. Any one of the backbuffer frames is being drawn by the sim, the other is ready to be switched with the front buffer. So with triple buffer there's never any waiting to switch the front buffer with a completed buffer frame, since there's always one of the two available, while the other can be drawn. So the CPU and GPU go full steam ahead. So can introduce blurries as it leaves too little time for the background tasks to populate the tiles.

 

With the VSync, that synchronises the GPU display with the output device feeding the screen, not to be confused with the vsync of a raster monitor. If the GPU hasn't finished a frame and the buffer run out, due perhaps to too much detail, then it waits on that frame. Without VSync, displays the same frame until the new one can be switched in.

 

So that's why I suggested to try those two methods running at 30, instead of 60 fps.

 

Interesting information.  So in order to test should we be flying in an area with heavy hit on frames and then what should we be looking for when following your two methods and comparing to unlimited in P3D and no limit in NI ?


Mark W   CYYZ      

My Simhttps://goo.gl/photos/oic45LSoaHKEgU8E9

My Concorde Tutorial Videos available here:  https://www.youtube.com/user/UPS1000
 

 

Share this post


Link to post

Testing should be done with little or no AA.

 

Setting the NI limit of 30fps and P3D Display Settings to Unlimited fps + VSync=On + Triple Buffer=On is far less demanding than setting the Fixed fps slider to 30.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Try this Harry,

 

Set the 30fps limit in NI.

 

Display Settings set Unlimited, VSync On, and Triple Buf On.

Look at the shift-z fps you should see it around 30.

 

or

 

Set the 30fps limit in NI.

Display Settings set 30fps fixed on the slider, set VSync Off and Triple Buf Off.

 

Also I recommend setting HT On and affinity with four LPs one per core.

 

prior to applying this setting (30fps limit in ni and vsync on , unlim frames etc..) my core 0 was being taxed fully and the cpu usage overall was 55 to 60 ish and p3d was microstuttering et all.

 

Now the cpu usage is down to 35 to 40 and core zero is 50% utilized and p3d runs absolutely smooth !

 

thank you steve ! Also could you please explain how this could have happened ; the cpu usage reduction i mean ...

 

kind regards,

 

jaff

Share this post


Link to post

Steve, why the option NVI at 30 and also 30 locked in P3D ?


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...