Occasional frame stutter

NachtPiloten

Kurier auf Stube...pauke!
Staff member
As anyone made a fix for frame stutter. It happens when approaching planes or at low altitude. Any ideas welcome.
 
Oh, the hours I've spent trying to figure that out...

I've bought faster, more powerful computers over the years. I've overclocked, and underclocked my gpu. I've tried cpu priority and clock speed management tools. I've added more and faster memory. I've tried Windows standby memory list managers. I tried Gsync. I've tried FPS limiters. I've tuned the Composite Budget files to match the capabilities of my computer and display. Everything helped, but nothing made it completely go away.

It's when I tried adding objects to the preload.xml in the hope that the hitches were from loading their data for the first time, and it didn't help, that I realized that something was fundamentally limited in the code.

The best that I've come up with is that the memory management for screen blitting is hard coded to use a certain amount of memory, and then does a reset when it reaches the limit. The inevitable hitch in the display is less noticeable when refilling the memory to calculate the next screen involves very few objects. It's completed so quickly you don't notice the delay. Alone at high altitude looking forward from a static cockpit view (almost no blitting needed), and it looks smooth as silk. Going fast, down low over a city full of buildings or a forest of trees, while looking at yourself from a side view is the absolute worst.
 
The only time I notice it is when I bail out and get close the ground, but this is at slow speed so why not when you land at over 100 mph?
 
Never had an issue (CTD) with it until I started using Steve's AI radar and I get CTD. In the config app I checked composite aircraft textures and that seemes to have improved the performance, but alas occastionally it crops up. You are correct when viewing just the radar screen thinhs usually go well, cockpit also not bad at all. It is when I do an external view when things go awry. When I did click the compositie aircraft textures box, did not notice any visual differences just seemed to help loading the screens. And yes, less CTD at altitude, when near the ground things stutter then freeze and CTD. It must be something the way Steve's app injects itself into the game that causes these stutters to result in a freeze and CTD. Maybe it uses too much memory and the game just can't cope.

So with that said, what are some of the tweeks you used to make it better? I may only need a small fix to solve this and any coding suggestions or config settings would be appreciated.

Ted

PS - This happens on my GTX 770 GPU and my Nvidia 4060 as well - so leads me to full haeartly believe it is a game coding issue.
 
You've probably got a few things going on. A heavy memory load with lots going on can cause a CTD if you get over the 4GB limit. This becomes more likely if you are making multiple flights per CFS3 session. The radar may cause CTDs due to a faulty memory pointer. I've dealt with this a lot doing the systems for the SJ Spitfire and they are very hard to get rid of. The stuttering, is as Andy says, and more common near the ground, and when panning the view a lot.
 
Is there a way to deal with the memory pointer? I know you said they are difficult to address but if you can "point" me in the right direction my "memory" is pretty good.....:cool: When I have success I purge my memory between CFS3 launches and that seems to help. Wonder if you can make a AHK that does this for you......or at least lets you do that. Could you place that in your code and have a hot key that does this?
 
Well I agree with AIradar issues and CTD. Can Steve look at that or give some advice, I also have CTD in missions with multiple ac, especially if I use 'z'. . Win 11, I don't often get close to the ground unless I'm crashing as normally flying at 15K'+ and/or at night!
System Model Z690 AORUS ELITE AX,
Processor 12th Gen Intel(R) Core(TM) i9-12900K, 3200 Mhz, 16 Core(s), 24 Logical Processor(s)
Installed Physical Memory (RAM) 32.0 GB
To clear cache see Microsoft RAMMap I might start to use that regularly.
 
Hmm, too much big brain stuff for me but I am still impressed that people still are working to improve the experience as well as producing new content.
 
Thanks for the utility. The AI app displays 3 planes on the screens if there are 3 in range. In the script it stores these in memory, maybe reducing the number of planes could free up memory. The script used the code class memory for each potential target, I believe this is how it works. Something I will try.
 
I know the code seems to pull up 3 aircraft - I am just speculating here. But later in the code there are memory calls for horizontal, vertical, and distance that appear three times in the sub routine for the FuG 212 and FuG 220 (they both use the same routine). So I assume that these store the location of three aircraft for the radar scopes to display. I have not tried to have more than three targets yet, but I will to see how many appear on the scopes. If that is what it does, then displaying one target at a time may help. Of course you could do a mission with one target and see as unfortunately QC forces you to have a bomber and escort when you use that menu.
 
Last edited:
So you are saying that even if the radar only shows 1 target, it is, in fact, tracking 3? I take it the Nachjagd control is also only verbally tracking the 1?
 
Ok Steve sent me a revised file, it still CTD. BUT I installed the ISLC and in my anti-virus added c game boost for both the AI app and CFS3. It appears at first glance that 2 targets is about the maximum my computer can handle. Overall the game appears smoother. Had six bombers up there and the game CTD. Will reduce the number and see what happens. I am flying solo so I imagine that matters too. As far as displays, on the FuG 212 distance screen a maximum of three planes appear, for the the other two displays only one target appears. Off to Walmart yeah!!!!
 
1. How are yoou working out how many targets, I assume with AIradar on, your PC can handle?

2,. How are you seeing 3 targets on Fug 212? Screenshot?

3. What are the implications for missions with bomber streams and zhame sau tactics?
 
Back
Top