Jump to content

Aircraft coming close to player aircraft cause CPU spikes (leading to stutters) in VR since 2.9 - MT ( single + multiplayer)


Recommended Posts

This started with 2.9 MT for me. Before it did not matter how close the other aircraft were. In my case its just fly bys. But its also when chasing aircraft which makes aiming difficult. Its in multiplayer only. In SP this issue is not happening. And its not only if the opponent is an F16. Its for all aircraft. So its not a LOD thing of the F16 specifically.

See the CPU graph of fpsVR. You see when the bandit comes close the CPU graph shows spikes that translate directly to the GPU, causing stutters.

It is on a multiplayer server, in the 1vs1 arena with only 2 aircraft in the area. Also it was morning, and just 3 or 4 players in total on the server that time.

I tried to disable Core Parking in the registry, that made it even worse, although I could not directly compare due to the nature of multiplayer sessions.

Seems to be a Multithread issue. See the same test with ST in the follow up post.

System is a :

-Intel 13900KS

-RTX 3090

-Varjo Aero VR headset

 

 

mobettameta's Dogfight Arena v1.76.1-20231030-112747.trk mobettameta's Dogfight Arena v1.76.1-20231031-094405.trk


Edited by darkman222
Link to comment
Share on other sites

Nobody else?
Might be a multi thread issue.

I did the same test in single thread. And no CPU spikes occurred. Besides that the CPU load in general is higher than in MT and thats why the GPU is struggling getting the images rendered in the given refresh rate.

If its a multithread issue some mod might want to move the thread there.

See the video with single threaded this time:

 


Edited by darkman222
Link to comment
Share on other sites

On 10/31/2023 at 2:37 PM, darkman222 said:

This started with 2.9 MT for me. Before it did not matter how close the other aircraft were. In my case its just fly bys. But its also when chasing aircraft which makes aiming difficult. Its in multiplayer only. In SP this issue is not happening. And its not only if the opponent is an F16. Its for all aircraft. So its not a LOD thing of the F16 specifically.

See the CPU graph of fpsVR. You see when the bandit comes close the CPU graph shows spikes that translate directly to the GPU, causing stutters.

It is on a multiplayer server, in the 1vs1 arena with only 2 aircraft in the area. Also it was morning, and just 3 or 4 players in total on the server that time.

I tried to disable Core Parking in the registry, that made it even worse, although I could not directly compare due to the nature of multiplayer sessions.

Seems to be a Multithread issue. See the same test with ST in the follow up post.

System is a :

-Intel 13900KS

-RTX 3090

-Varjo Aero VR headset

 

 

mobettameta's Dogfight Arena v1.76.1-20231030-112747.trk 14.87 MB · 3 downloads mobettameta's Dogfight Arena v1.76.1-20231031-094405.trk 21.5 MB · 3 downloads

 

I have a i7-4700K. 

I see that you have a "K" CPU as well. It means they have unlocked core frequencies, to allow overcloking.

In gaming, mine tries to go full throttle to better run the game, but enter in throttling since the CPU gets too hot, and the clock has to be throttled down in order to protect the CPU, but the CPU clock goes up again in order to better run the game, then goes down again, and keeps its cycle during gameplay. It results in stutters.

I don't know if it is possible in newer CPUs like yours, but what solved the problem for me was undervolting the CPU. This way you tell the CPU the maximum allowed power it can go, so it runs at the maximum allowed power, that you set, all the time during the game, with almost no spikes and stutters.

 I run in 2D, and yes, it is working better in Single Thread than in multi-thread for me as well.

 

Link to comment
Share on other sites

Thanks for you effort. But I seriously doubt that my PC coincidently and all of a sudden starts getting too hot when 2.9 was released the same time.

Today I played on  another server that had the best performance in the past showing the same behavior. Also the CPU spikes were gone when using ST. (But overall performance was of course worse than in MT)

DXdiag attached.

Can some Moderator please take over and move it at least to the MT bug section, as this clearly is a MT bug.

@BIGNEWY Thank you.

 

DxDiag.txt


Edited by darkman222
Link to comment
Share on other sites

  • 2 weeks later...

Same here. I have tried everything that doesn’t involve changing Windows settings (not going to mess with the thread director or core unparking), but have given up for now. The only thing that made a noticeable difference was changing my RAM timings and speed to be slightly slower, and limiting the fps to 144.
 

Game still crashes randomly, usually when restarting or loading a level, and the stutters are very random but consistent in the big Syria cities with low flight. I think there’s a compounding issue with memory management and thread usage, it doesn’t feel like one issue.


Edited by FallingWithStyle
  • Like 1

13900KS - RTX 4090 - 32GB DDR5 7000 - MSI Z790 Meg ACE - 990 Pro NVME

Link to comment
Share on other sites

Another thing you can try is in the NVIDIA Settings, set pre rendered frames vr to 4. In my case it got rid of the stutters I was seeing when a nearby aircraft was deploying flares during a fly by at the merge.


Edited by f14billy
Link to comment
Share on other sites

I've noticed some spikes when "merging" with other aircraft, as if something is loading in and takes some time to do so. When staying in range and following them I couldn't reproduce the spikes reliably anymore, so aiming was usually fine. Sometimes it still felt like the spikes came back randomly, usually during heavy manoeuvring, possibly due to the rapid change of camera perspective and objects coming in and out of view. 

However, a similar thing happens when I'm close to scenery objects like buildings (the more the worse) and this time it won't simply go away, as if any building nearby has to load a lot of data again and again while flying past a city. The spikes can be anything between 5 and 20 fps loss, which is quite noticeable for me in VR with my FPS capped at 45. Graphics settings didn't seem to make a difference with the general impact (even anti-aliasing off), I use a moderate custom preset.

Game is on M.2 SSD, 32 GB of RAM, Intel i7-6700K, GTX 1080. Yes I know it is a bit older, but these issues seem to happen for people with much better systems as well so I just want to contribute my experience. Running MT and currently testing the new MT.lua @BIGNEWY has linked in another thread. So far no luck with the issues described above. Hope we can find a solution together at some point.


Edited by T-Pickle
Link to comment
Share on other sites

Quick heads up on the state of the issue.

With the new update DCS 2.9.1.48111 Open Beta either with or without MT.lua the issue persists. In the previous OB the MT.lua file even produced worse results. Now it does not matter any more.

Looks like our issue here is just the little brother of the issue other people have with massive CPU spikes all the time.

Link to comment
Share on other sites

  • 4 weeks later...
16 minutes ago, darkman222 said:

DXDiag DCS Log from todays session. See the video in first post. Same issue all the time.

DxDiagDCS29 20231216.txt 101.23 kB · 0 downloads

dcs.log 154.33 kB · 0 downloads

 

I have exactly the same issue as you and only in MT, ST runs perfect, I also get the spikes and notice that when the split second stutter occurs, Core 1 max’s out at 100%, then most lightly catches up and stutter ends and then repeats when it max’s out again. Have tried all the fixes suggested and still no joy.

Asus ROG IX | Intel i7-9700K | RTX 2080TI | G.SKILL 32GB DDR4 3200MHz RAM | Samsung 970 EVO 2TB M2 | LG 43” 4K Monitor | TrackiR | Stream Deck XL | Warthog HOTAS | Cougar MFDs x 3 | Saitek Rudder Pedals | Logitech G13| Corsair Virtuoso Wireless Headset |

Link to comment
Share on other sites

  • 2 months later...

Just want to say this issue feels hugely better after returning to the game. Not sure what helped, but I think a big Nvidia driver update (huge version jump about a month ago) helped some issues alongside a new version of Intel management engine that went along with my BIOS update. Whatever it was, thank you @BIGNEWY

13900KS - RTX 4090 - 32GB DDR5 7000 - MSI Z790 Meg ACE - 990 Pro NVME

Link to comment
Share on other sites

Posted (edited)

@BIGNEWY No! The stutters with aircraft coming close to the player are still there as before. DCS 2.9.3.51704 - 22.02.2024 

The gazelle seems to have a good impact for testing. Another F16 does the same, but gives not that much of a CPU impact. As soon as I come close to the gazelle the CPU frame time goes up. Creating bad spikes in fpsVR which are visible as hefty stutters. Thats the yellow dashes in the GPU graph. Thats what looks like stutters in VR.

Especially in dogfighting it is really annoying when youre close to your opponent when smooth playback is needed you end up in a stutter mess.

See how the CPU frame time goes up every time

image.png

DxDiag2_9.txt stutters gazelle.trk


Edited by darkman222
Link to comment
Share on other sites

Posted (edited)

@BIGNEWY Can we please get a tag if it is being worked on or not? As soon as the ST exe will be taken away from us, we wont have any reference to test it with. It is definitely a MT issue here. Testing again with ST and no lags or spikes occurr on the CPU frame time graph. If there was MT optimisation done in the latest update it does not show up in improved texture and geometry streaming performance of displayed aircraft in MT.

I had a talk with another VR user who got hefty stutters in the DCS menu already. Switching to ST got rid of the stutters. But this is no permanent solution as ED is planning to take away the ST exe and the lower performance ST has compared to MT.

 

image.png


Edited by darkman222
Link to comment
Share on other sites

  • ED Team

I have marked the thread investigating. 

But when I try I don't see the same as you, I will ask other to try also. 

thank you 

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

Thanks a lot.

Me running an Intel 13900KS with an RTX 4090. Vr Headset is a Varjo Aero. And second VR headset is the Pimax Crystal.

The user I talked to had a comparable system. Crystal, RTX 4090, 13900K ( not KS). He even had stutters in the menu which were gone using ST.

Another user on the dogfight server has the 7800x3d + 4090 + Reverb G2 without issues. Unfortunately he has a different headset and processor. I really am thinking about the intel processor at least contributing to it...

 

Link to comment
Share on other sites

  • ED Team
51 minutes ago, darkman222 said:

Thanks a lot.

Me running an Intel 13900KS with an RTX 4090. Vr Headset is a Varjo Aero. And second VR headset is the Pimax Crystal.

The user I talked to had a comparable system. Crystal, RTX 4090, 13900K ( not KS). He even had stutters in the menu which were gone using ST.

Another user on the dogfight server has the 7800x3d + 4090 + Reverb G2 without issues. Unfortunately he has a different headset and processor. I really am thinking about the intel processor at least contributing to it...

 

I have asked the MP team to check, I am running a RTX 3090 with an Intel® i9-10900K 

  • Thanks 1

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

Posted (edited)

Sorry for bumping it up again @BIGNEWY and @Lord Vader. But I did some more testing. I was suspecting the LOD switch factor to have effect on it as many signs point to the sutters coming from geometry and textures loading in and out of the CPU threads.

Different LOD switch factor settings produce different CPU frame time spikes and thus different stutters. Interestingly a factor of 1 which is default, produces the worst results. This was all done with the same the track replay.

In my previous test using the ST branch of DCS  DCS 2.9.3.51704 did not produce stutters as expected. We know that already.

But for this test I reverted to DCS 2.8.7.42718 OB where I remembered not to experience these stutters. And whatever was added to DCS from 2.8 MT to 2.9 MT contributed to this bad CPU frame time behavior a lot. I used the same mission as it was simple enough that I could run it in 2.8 too. So the results are pretty well comparable.

I am knowing that DCS is progessing. But from 2.8 MT to 2.9 MT something was introduced that made the LOD handling in MT worse. And the root cause seems not having been adressed since then.

Edit: My test reverting back to 2.8 at the present day is not irrelevant, as it clearly shows it's not a change in hardware or driver software that caused my well running system to perform worse with 2.9. because I get my performance back the very moment I revert to 2.8

 

 

image.png


Edited by darkman222
  • Like 1
Link to comment
Share on other sites

  • darkman222 changed the title to Aircraft coming close to player aircraft cause CPU spikes (leading to stutters) in VR since 2.9 - MT ( single + multiplayer)
  • 2 weeks later...
  • ED Team

I will ask other testers to take a look again, however on my system I am unable to reproduce. 

Could I ask you to post your NVDIA control panel settings also 

We have a planned patch on the 3rd April please let us know if you see any difference once released

 

thank you 

  • Like 1

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

  • Recently Browsing   0 members

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