EDIT: Upon further testing, and confirmation from developers. This settings seems to do nothing. I apologise for wasting your time. You can still try my other 2 fixes listed below. These do have an impact on the games performance.
I have found another fix that helps with loading stutters.
It seems that the engine feature ‘immediate streaming’ is enabled. Adding the flag to disable it to the lua code block fixed my horde spawn / special spawn stutters. Additionally, when I open the mission launcher, or any vendor, the UI rolls out smoothly rather than stuttering while loading everything.
I really think this should be looked into as its super simple, I notice immediate benefits, and may in fact be the root cause of the stutters experienced throughout the game.
I’m on a Nvidia GPU & y̶e̶s̶,̶ ̶I̶ ̶c̶a̶n̶ ̶c̶o̶n̶f̶i̶r̶m̶ ̶i̶t̶ ̶t̶o̶ ̶b̶e̶ ̶w̶o̶r̶k̶i̶n̶g̶. When I went into different menus it would stutter. N̶o̶w̶,̶ ̶i̶t̶’̶s̶ ̶g̶o̶n̶e̶.̶
Edit: Actually, it didn’t, sorry! Just a placebo. Really thought it did. But your other fixes worked decent still. But hey, at least you’re trying right.
a 4060 only has 8gb of VRAM… I wonder if you could be exceeding the VRAM buffer on your GPU… When that happens, stutters are sure to happen due to loading assets off the hard drive.
The image you provided shows that you are using almost 8gb of something, if this is VRAM, that is most likely why you are expereincing stutters.
I would reccomend turning off Ray Tracing if you have it enabled as this uses VRAM, as well as test running lower quality textures and shadows.
You could also be CPU limited, or even have an FPS cap / Vsync enabled.
Is there a way to increase the LUA Cache size? I would be interested to see if increasing this works. I haven’t found anything in the engine documentation. If you know anything let me know. Keen to keep testing
Interesting, if you are in the Psykanium and getting that high of an FPS, but in missions you aren’t. I would say you are CPU bottle necked. More AI on screen + other players is going to put more load on your CPU.
On another note. I have seen talk going around that having ANY sort of power monitoring enabled for an NVIDIA GPU (MSI Afterburner, RTTS, HWINFO, etc.) can cause dips and stutters. Try disabling that is all programs that have a hardware monitoring feature.
Another thing you could try that I am testing at the moment as well is Disabling MPO. MPO doesn’t always causes issues, but in some games it absolutely can.
I am doing testing with MPO disabled at the moment and seems to be seeing success, but I need to isolate more variables before I can say MPO is 100% a problem.
If you do try either of these solutions, please report back here so I can update my guides with more information.
I have not looked through everything here, but afaik.
immediate_streaming doesn’t do anything can’t see it’s refered in engine or in lua.
The immediate_dispatch means we will run a work when dispatching instead of putting it in a queue that can be picked up by a worker. This means lower performance and basically does stuff single threaded. The option is only used to debug stuff. Afaik.
The stingray documentation has alot of stuff missing or stuff that doesn’t match since we have a fork of the engine.
I had recently use the Steam feature to restore files to their original states. That reset the config file changes I had made. So now I’m using vanilla config files and I’ve not encountered any lag or stuttering in most games. That is, until I started experiencing network latency spikes and then the stuttering came back. So I guess the problem was lag all along.
Now when this happens, it will keep happening no matter if I reboot the game or start a different mission. So I just stop playing for a couple of hours. When I come back the stuttering is usually gone.
I can’t tell if it happens consistently at any given time of day. All I know is when it happens, it will keep happening for a while no matter what I do.