Jump to content

Static weather causes stuttering


bandit648

Recommended Posts

When it comes to stuttering in DCS there can be a million different causes but one thing is for certain - static weather causes stuttering and dynamic weather does not. I know this has been mentioned on the forums before by others so I decided to test it for myself. Here are the results-

 

I setup a simple mission on the SOH map with 41 units present. I'm cruising in the F/A-18C at 25000 ft for approximately 7 minutes over heavy cloud cover. I turned on FPS logging in MSI Afterburner and observed the results.

 

In the first test, I had static weather settings with clouds set to 8 with rain on and winds at 10 knots. Many stutters were recorded with the worst dip was from 60 down to 40 fps. These are major stutters.

 

picture.php?albumid=1636&pictureid=10515

 

In the second test I used a dynamic weather profile I setup that has heavy clouds, winds and rain. The results speak for themselves. I'd like the dev's to recognize this as an offical bug and hopefully fix it. I bet a lot of the complaints about suttering are because of this.

 

picture.php?albumid=1636&pictureid=10516

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

+1 Appart of disappearing clouds bug, since 2 years now. In fact, I edit manually most mission just to enable dynamic weather to prevent stuttering

 

It's kind of shocking the difference dynamic weather makes. The problem is that configuring it is not as easy as it should be. I recommend people setup a few different dynamic weather profiles and save them for use in place of static weather.

 

The other thing that annoys me is how the cirrus clouds are programmed to fade in and out every few minutes. There are some simple things like that could easily be fixed. The addition of some hi-res cirrus cloud textures would improve the look of the sim at the same time.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

This guy did a fantastic tutorial on how to create custom dynamic weather profiles. It's a pain but it's worth it for the performance difference.

 

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

No. Didn´t noticed anything

 

I tested this as well and didn't get any stuttering until I added static weather clouds at level 5 to 8. I didn't test full overcast.

 

So, the problem appears to be with the clouds. For some reason the same clouds added through dynamic weather run perfectly fine.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

Adding some more test results. The issue is reproducible in the "Stable Release" version 2.5.3.24984 also so I suspect this has existed for some time.

 

Here is my test flight in F/A-18C over SOH map. Static weather clouds set to level 8. Flight time is 7 minutes.

 

 

picture.php?albumid=1636&pictureid=10519

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

I tested this as well and didn't get any stuttering until I added static weather clouds at level 5 to 8. I didn't test full overcast.

 

So, the problem appears to be with the clouds. For some reason the same clouds added through dynamic weather run perfectly fine.

 

In full overcast there is no stutter. Stutter is only related to static clouds when "disappearing", I think that when the engine take out the clouds, then stutter happens. This is not happen with dynamic weather, in fact with dynamic the clouds doesn´t disappears

Link to comment
Share on other sites

In full overcast there is no stutter. Stutter is only related to static clouds when "disappearing", I think that when the engine take out the clouds, then stutter happens. This is not happen with dynamic weather, in fact with dynamic the clouds doesn´t disappears

 

I suspected no issue with overcast so thanks for confirming. For now I'll be using dynamic weather. I just learned that CombatFlite can also generate dynamic weather conditions and it's super easy to use.. great work-around until ED fixes this.

 

https://www.combatflite.com/

 

Does anyone know if there's a way to control the cloud base level with dynamic weather? The default seems to be around 8000 ft and I haven't found any way of changing that yet.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

I had post before that are somewhat related. At mission start with static clouds and a bit heavy mssion, try the F2 views until you get to far away aircraft, then back to yours. You’ll get about 8 fps or smoother game play. But if you do too much F2 views the clouds will be less to clear sky when you get back to cockpit view.

Ryzen 1700 @ 3.8GHz / 32GB( 4x8 ) @ 3.2GHz / 1TB ADATA NVMe System Drive / 232GB NVMe Samsung 960 / ASUS dual RTX 2080ti / Reverb / Rift CV1 / T-16000M FCS flight pack

 

A10C/M2000C/F5E/SA342/Mi8/UH1H/KA50/AJS-37/FA-18C/AV-8B/F-14/Mig29/CA/SU-27

Link to comment
Share on other sites

I suspected no issue with overcast so thanks for confirming. For now I'll be using dynamic weather. I just learned that CombatFlite can also generate dynamic weather conditions and it's super easy to use.. great work-around until ED fixes this.

 

https://www.combatflite.com/

 

Does anyone know if there's a way to control the cloud base level with dynamic weather? The default seems to be around 8000 ft and I haven't found any way of changing that yet.

 

Is there a way to get a proper weather briefing when using dynamic weather ? Metar/ TAF?

:pilotfly:

 

win 10x64 - Asus ROG Maximus XI Hero - I9 9900K@5.0GHz - Samsung 970 EVO m2 2TB - RAM Corsair 64GB DDR4 - Corsair H150i pro - Strix RTX 2080 Ti- oculus rift S and a few other goodies :joystick:

Link to comment
Share on other sites

  • 2 weeks later...

After days of testing and developing a mild obsession I finally found a workaround for this issue. It turns out the problem is related to the dreaded DCS memory management and seems to get worse with heavy cloud levels set in static weather settings.

 

In my testing I tried everything from changing DCS settings (shadows, view distance, MSAA level, etc.) to 9 different Nvidia drivers going back to Nov. 2017 to page file vs no page file. Nothing seemed to make a difference in the stuttering. Then I remember reading on the DCS forums once that hitting F11 a bunch of times helps with stuttering...

 

With preload radius set to max, I cycled through F11 views for all 27 air bases and then watched the RAM perf counter in RTTS go up to nearly 19 GB. Then I started my test which is just a camera view floating above the PG map, 400 knots @ 20,000 ft. for 7 minutes with cloud level 8.

 

Here are the results.. nearly a perfect 60 fps all the way though. Without doing the F11 cycle I get dips of fps into the 30's as noted in my previous graphs.

 

picture.php?albumid=1636&pictureid=10587

 

Now here's the interesting part. After restarting DCS I still get good results in my test scenario even without doing the F11 cycle. Notice the RAM usage is half of what it is in the first test. Whatever the F11 cycling does sticks through a restart of the game. I suspect it goes away after restarting your PC though.

 

picture.php?albumid=1636&pictureid=10588


Edited by bandit648

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

Sooo, you did not end up doing the F11 thing?

i9 9900k @5.1GHz NZXT Kraken |Asus ROG Strix Z390 E-Gaming | Samsung NVMe m.2 970 Evo 1TB | LPX 64GB DDR4 3200MHz

EVGA RTX 3090 FTW3 Ultra | Reverb G1  | HOTAS Warthog | Saitek Flight Pedals

Link to comment
Share on other sites

Sooo, you did not end up doing the F11 thing?

 

:doh: One thing I had forgot to try apparently. Honestly I kinda thought of it as another DCS performance myth but this one turns out to actually work. If anyone doesn't believe it proof is here.

 

I think this really highlights the continued issues with DCS memory management.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

Cycling through F11 (or F2 if there are units far enough from your starting spot with weather set) just makes static weather clouds to disappear… and so the stutters.

 

So there is no real magic in relation with F11 isn't it ? It's just like disabling a "heavy" cloud static weather coverage ?

 

It loads objects and textures into physical memory. I'm going to post a new thread shortly with testing results on this. I found some new tricks to avoid the disappearing clouds after cycling F11.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

I found some new tricks to avoid the disappearing clouds after cycling F11.

 

Any news on that? Since i also get the flickering water with dynamic weather, i am interested in this workaround for the dissappearing cloud thing...

 

(my oh my... the weather in dcs is a mess!)

Link to comment
Share on other sites

A nice thing I discovered to use the F11 trick and not muck up your static weather- Create an empty mission where you cycle through the F11 views on the desired map. Then save a replay track of that mission.

 

The next time you start DCS you can just run the replay track prior to loading your real mission. Then you get the affect of having things loaded into memory to reduce stuttering but you don't lose your static weather clouds immediately.

 

I also found that setting preloadRadius = 0 in the options.lua will allow DCS to use all of your system RAM and GPU memory.. this is interesting for testing. It eliminates stuttering on an empty mission. As soon as you load a mission with lots of AI units it maxes out and will crash if you have your pagefile disabled. With pagefile enabled, it will continue to run but doesn't work as well as F11 cycling + pagefile disabled in my experience.

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

nice find, bandit!

 

however, i can't really use your workaround, because i get halfed performance whenever i load into a mission a second time without restarting the game.

i will now try to change the preload-radius though - maybe a lower setting will help me with that particular problem.

 

memory management is ridicously broken since 2.5, i feel (maybe it was even before that, but then it did not show at least).

Link to comment
Share on other sites

nice find, bandit!

 

however, i can't really use your workaround, because i get halfed performance whenever i load into a mission a second time without restarting the game.

i will now try to change the preload-radius though - maybe a lower setting will help me with that particular problem.

 

memory management is ridicously broken since 2.5, i feel (maybe it was even before that, but then it did not show at least).

 

Actually, I think whatever sticks in memory and reduces stuttering with this, survives restarting the game. If you restart your PC it will be gone of course.

 

I did forget to mention, I tested preload radius and I see little to no difference between the lowest setting of 100 and highest setting of 150000. The manual states this setting is supposed to preload objects into system RAM so you should see increase in RAM usage with a higher preload radius. This does NOT happen. I'm currently running preload radius set to 100 and have my pagefile off in Windows. With 32GB system / 11 GB GPU this is getting the best results for me currently.

 

If you force preload radius to zero in options.lua, then it uses all available memory. In my case it would go up to 32 GB of system RAM and 11 GB of GPU memory. If it was empty mission it would run fine like that but with a lot of AI units the game would crash unless I enable the page file.

 

Maybe I just need 128 GB of system RAM and 32 GB of GPU memory and the game will run great!? :lol::lol::megalol:


Edited by bandit648

PC Hardware: Asus Maximus XIII Hero / i9-10900K / 64 GB DDR4 3600 MHz / NVIDIA RTX 3090 FE / Samsung 960 NVMe / LG OLED48CX / Reverb G2

Flight Controls: Thrustmaster HOTAS Warthog / VKB T-RUDDER MKIV / Cougar MFD Set

DCS Modules: F-14 Tomcat / F/A-18C Hornet / AV-8B NA / F-5E Tiger II / A-10C Warthog / F-16C Viper / UH-1 Huey / LOFC3 / Spitfire LF Mk. IX / P-51D Mustang / WWII Assets Pack / Normandy 1944 / NTTR Map / Persian Gulf Map / Syria Map

Link to comment
Share on other sites

Just wanted to confirm, F11 cycling causes clouds to completely disappear, along with any cloud related stuttering.

 

I was reading the WMR thread and saw Nineline talking about the SteamVR loading screen from time to time using his Odyssey quite a while back.. and I think this is the cause, as it's the only time I experience it myself. Using my monitor it's a stutter.. periodic momentary freezes of the client. Any mission involving static clouds. I haven't dug into the cloud density settings of each mission I might fly with this stutter.. but I'm inclined to think its within the range mentioned previously within this thread.


Edited by Headwarp
Spoiler

Win 11 Pro, z790 i9 13900k, RTX 4090 , 64GB DDR 6400GB, OS and DCS are on separate pci-e 4.0 drives 

Sim hardware - VKB MCG Ultimate with 200mm extension, Virpil T-50CM3 Dual throttles.   Blackhog B-explorer (A), TM Cougar MFD's (two), MFG Crosswinds with dampener.   Obutto R3volution gaming pit.  

 

Link to comment
Share on other sites

  • 5 months later...

+1 Please ED fix this. And make this subject a TOP priority. Flying is about weather and clouds, not only land.

 

Static weather has been bugged since years. I have to edit many missions just to put dynamic weatehr (without stutterings and without cloud disappears at 50 Km).

Link to comment
Share on other sites

I suspected no issue with overcast so thanks for confirming. For now I'll be using dynamic weather. I just learned that CombatFlite can also generate dynamic weather conditions and it's super easy to use.. great work-around until ED fixes this.

 

https://www.combatflite.com/

 

 

Curious, can you edit existing missions and easily switch them to "Dynamic Weather" with CF or is it just for building missions?

Asus Z790-PLUS D4, Corsair 1000X PS / Intel i9-13900KF @5.8Gz - Corsair H150i Liquid CPU cooler, 64GB Corsair Vengeance DDR4 @3192mhz / 2TB M.2 NvMe Boot Drive (DCS World Beta installed here), 1TB M.2 Data drive, 1TB WD SATA drive, Zotac Gaming GeForce RTX 4090 Trinity 24GB - Nvidia 552.12 driver / 3 Samsung LC32G53TQWUXEN 32" 7680x1440 at 144Hz  / Win11 Pro Ver.  23H2 - Build 22631.3447 TIR 5, TM Warthog HOTAS\VirPil stick base, MFG V3 Crosswind Pedals, TM MFDs  on 2 8" Lilliputs/ Simgears ICP / Varjo Aero VR

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...