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.

P3D V4 - Can't get rid of microstuttering

Featured Replies

On 6/17/2017 at 2:45 AM, Anders Bermann said:

Terribly sorry but I'm a little confused with this topic...

I don't have an Affinity Mask in my config. Should I add one? And what should I add? (I have a Core i7 6700HQ)

Hi Anders:

If you go to the Windows Start Menu, under the Lockheed Martin group click "Learning Center."  Go to Prepar3D + Getting Help + Advanced Configuration, and various additional tuning options are described.  What we are discussing is under the [JobScheduler] heading (scroll down in the Help file to see the description); it does not normally exist in the Prepar3D.cfg file, and thus the default value when it is not present is 14 (use all available cores).  If you wish to set specific cores for P3D to run on in a multi-threaded system, you can add a [JobScheduler] section to the cfg file and add the AffinityMask entry with the value you desire; Steve described various options depending on which cores you want to run on, whether you have HT enabled, etc.

On my 6700k OC system, I added:

 

[JOBSCHEDULER]

AffinityMask=85

 

to the end of my Prepar3D.cfg file for best performance.  This limits P3D to run threads on the 4 physical cores of the 6700k only, and not to run any threads on the virtual cores.  I found this worked best for my system rather than letting the Windows job scheduler free reign to use all cores for P3D.  I could go further to specify affinity masks also for my add-ons so they do not conflict with the main P3D thread, but I haven't found the need at this point on my system.

If you are happy with the way P3D is running on your system, this is not necessary.  But it may be helpful depending on what add-ons you have and what microprocessor you are running. YMMV.

- Kevin

Windows 11 / Ryzen 7 9800X3D / MSI RTX-4080 Super 16G Ventus 3X / Gigabyte B850 Aorus Elite WiFi 7 / Arctic Liquid Freezer III Pro / 64GB Lexar ARES Gen2 RGB DDR5 6000Mhz CL30 RAM / Dell Alienware AW3418DW WQHD 3440x1440 GSync / Samsung 970 EVO Plus M.2 2TB (OS) & 860 EVO 4TB SDD / WD Caviar Black 4TB HDD  / EVGA Supernova 850 G5 PSU / Be Quiet Light Base 600 LX case / Virpil Warbird base with Constellation Alpha grip / MFG Crosswind rudder pedals / Virtual-Fly TQ6+ throttle quadrant / Winwing Orion HOTAS F-18 Throttle / Virpil TCS+ collective base with Hawk-60 grip / Saitek Trim Wheel / Saitek Radio and Switch Panels / Winwing Combat Ready Panel / Tobii 5

  • Replies 57
  • Views 27.3k
  • Created
  • Last Reply

I find that an AM=245 is what works the best for me and my 7700k

Floyd Stolle

www.stollco.com

I installed P3Dv4 onto a drive that at one time had P3Dv3 on it. With v3 the sim was very smooth and I had no issues at all. I formatted the drive using default format setting.  When I installed v4, it had terrible stutters all the time, every 2-3 seconds would get a micro-stutter.  I tried everything I could think of, searched the forums, and tried every trick in the book, but nothing fixed it.  I remember reading the P3D installation guide about changing the "allocation unit size" when formatting the hard drive, so I thought I'd try it.  When I selected the default setting, the allocation unit size was set to 1024 bytes.  I changed it to 64k bytes, formatted with this setting, installed P3Dv4, and all of my stutters are gone.  Now it flies smooth as butter.

 32GB DDR4 3200Mhz  i7-9700K  RTX 3060  12GB GDDR6

Basic maybe, but you might consider defragging the drive with a professional defrag program if you are not using a SSD and haven't done it in a while. Did wonders for me after all the installation of new P3Dv4 stuff. Forgot about defrag and drive had gotten to 20% fragmented.

i7 3770K HT, 8GB RAM, nVidia 980GTX, Win7, P3D 3.4, FSG mesh, UTX, GEX, ST, ASA16/ASCA, NickN optimized

In my case the solution was to enable HT, Vsync (no triple buffering). No tweaks whatsoever in Prepar3dv4.cfg. One may get micro stutters if Autosave is enabled. 

Joaquin Blanco

Intel Core i9-9900K at 5Ghz, Corsair Hydro H100i RGB PLATINUM CPU cooler, Asus ROG STRIX Z390-E,Motherboard, NVIDIA GeForce RTX 2080 Super 8GB GDDR6, G.Skill Trident Z RGB 32GB DDR4 3200MHz Memory, 500GB Samsung 970 EVO PLUS M.2 PCIe,2TB Samsung 860 QVO Solid State Drive, 2TB, 2 x Samsung 860 Evo 2TB, 1 x 1TB Samsung 860 Evo, Corsair RM650x 80 PLUS Gold 650W PSU.

 

 

 

On 17.6.2017 at 1:57 AM, SteveW said:

When we have CPU containing a great many cores we still might not want the sim to break into more than four or six parts and so we will start to use AMs rather more knowledgably by th

Thanks Steve for stepping in and explaining it all (again).

I get good results now with NCP refresh rate 59 and AM 85.

Regards, Perry

For extra smoothness I dropped the shadow quality from ultra to high. 

 

Cheers
bs

AMD RYZEN 9 5900X 12 CORE CPU - ZOTAC RTX 3060Ti GPU - NZXT H510i ELITE CASE - EVO M.2 970 500GB DRIVE - 32GB XTREEM 4000 MEM - XPG GOLD 80+ 650 WATT PS - NZXT 280 HYBRID COOLER

  • Commercial Member

Check out my post on P3D VSync and performance settings:

 

Steve Waite: Engineer at codelegend.com

Is this the kind of microstutters we're talking about?

 

Former MSFS Alpha Tester, current member of the MSFS Stream Team.

Stutters are "long frames" ... in a perfect world with 60Hz refresh, you'll want all frames to be rendered exactly at 16ms, for 30Hz you want all frames to rendered at exactly 33ms.  Stutters become apparent when you see significant variance in how long it takes to render a frame.

Unfortunately YouTube videos, one's ISP latency/bandwidth, and even the recording process itself can also introduce frame skipping, this is a different source of what might look like "stutters".

The best way to analyze stutters and discuss stutters is with a tool that logs timeframe data, one such tool I use is FRAPS (not for recording video but for recording timeframe data) ... I'm sure there are other tools also, but FRAPS has worked well for me.

These results are going way back to P3D V3 (not V4) when I was testing timeframes:

150008f4c4d8250c72f3d641f6234d55.jpg

Should be rather obvious the stutter mark at 88ms to produce one frame, then 45ms next frame and 37ms next frame ... this slow then fast variance in rendering frames makes a "stutter" (eye sees a significant difference is how long a frame took to render).

1a1585f5fe9bbe08b69a1a421a24938c.jpg

With VSynch OFF and Unlimited you can see there is considerable variance.  

7bf84afb426adcdb48dfc297e7825aa0.jpg

Now with VSynch ON 30Hz Unlimited, you can see the overall collection of timeframe points are more consistently grouped.

The objective should be to come up with graphics settings that minimize the number of "long frames" ... I can guarantee you this is never going to be Max, Max, Max, Max, all add-ons, kitchen sink, and large bottle of vodka.  Not now, not in the future, never ... the key to less long frames will be:

1.  Graphics settings

2.  Add-ons used and where you fly (rural or major cities)

3.  AffinityMask has some influence and will vary by CPU and other hardware in one's PC

If you want to use Dynamic Lights, then  you'll need to drop your AA settings.  I use 2XSSAA at night and 4XSSAA during the day on an overclocked TitanXP.  Building Shadows, SimObject Shadows, Terrain Shadows combined with AutoGen settings will also have a significant roll in "long frames". 

I have the following graphics options based on the type of flying I'm doing and my location and time of day/night:

CommercialCityDay
CommercialCityNight
CommercialRuralDay
CommercialRuralNight
GACityDay
GACityNight
GARuralDay
GARuralNight

Commercial means complex aircraft (PMDG, etc.)

GA means lightweight aircraft (Carenado, Alabeo, etc.)

In all cases I use TEXTURE_SIZE_EXP=10 (should be used ONLY with 1080Ti or TitanXP or anything with 11-12GB VRAM)

Since I like Dynamic Lights, all my night settings will have DL enabled and 2XSSAA and most shadows turned off with the exception of Internal/External vehicle and Clouds.  I can share my settings if anyone is interested, they work well for what I do but keep in mind my goal is 30 FPS since my monitor refresh is 30Hz at 4K res.

Cheers, Rob.

@Rob Ainscough

Thank you for explaining this issue in-depth. I'll do some more testing and see which configuration works best for me.

Former MSFS Alpha Tester, current member of the MSFS Stream Team.

19 minutes ago, Rob Ainscough said:

In all cases I use TEXTURE_SIZE_EXP=10 (should be used ONLY with 1080Ti or TitanXP or anything with 11-12GB VRAM)

Cheers, Rob.

Have you done any testing on this setting specifically, Rob? In terms of overall performance hit and whether it effects the CPU as well? I have an 1080 Ti and when I used the setting, it seemed like the CPU worked a lot harder and caused other terrain rendering tasks to become backed up slightly. Though that's anecdotal at best. Would love to see some actual testing done on it -- Or at least, what's your general experience with the various steps?

[MSI MPG X870E Carbon | 9800X3D (PBO +200Mhz / -20 Offset) | Corsair 64GB DDR5 (Custom Timings) | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 4TB + 4TB | Antec Flux Pro]

 

40 minutes ago, Rob Ainscough said:

In all cases I use TEXTURE_SIZE_EXP=10 (should be used ONLY with 1080Ti or TitanXP or anything with 11-12GB VRAM)

Hey Rob-

Does that texture line apply to photo scenery? I can't find anything on it.

Thanks,

Mark

 

40 minutes ago, Rob Ainscough said:

 

 

1 hour ago, Sethos1988 said:

Would love to see some actual testing done on it -- Or at least, what's your general experience with the various steps?

I'm working on my new web site (http://www.p3dwiki.com) specifically for P3D V4 ... it's taking me some time to organize my data/info, but I hope to have something going by July "ish".

1 hour ago, newtie said:

Does that texture line apply to photo scenery?

It's supposed to yes, I had some issues with it and PR ... LM suggested the PR source needs to be reworked for higher resolution.  I don't have the source PR so I can't confirm or deny.  If using TEXTURE_SIZE_EXP=10 and you fly fast and low, then you'll likely hit issues with terrain and AG not loading fast enough but the actual setting doesn't seem to cause any FPS degradation (just might cause blurries at higher speeds).

Cheers, Rob.

Archived

This topic is now archived and is closed to further replies.

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.