Jump to content

Bad CPU utilization in VR


gorzasty

Recommended Posts

Hello

 

After many months I decided to check how is DCS doing with its performance. Is it any better? Got new hardware so I gave it a shot. 

 

Run my favourite module - Mi-8. Instant action - cold start. Mission start and... reprojection comes in... 30fps. Sh!t

 

Run FPSVR and see what is going on, and... I don't understand this. GPU is OK. CPU is in trouble, but utilization doesn't hit 30%!

 

Can anybody tell me what is going on here???

 

My specs: i5 8600k @4.5GHz, 32GB RAM 3200MHz, GTX 3080, HP Reverb G2 (SS 50%, 60Hz mode)  Last Open beta.

 

Here is the pic: https://ibb.co/1snLs15  

 

 

 


Edited by gorzasty

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

Ok, I've read all the linked threads. No Oculus software, my soft is up to date, the newest Steam VR beta is ON.

 

Here is my log: https://files.fm/u/wrd2swyg3

 

My DxDiag: https://files.fm/u/wz8cvk6p3

 

Anyone could help me, or is it just bad optimization of DCS?


Edited by gorzasty

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

@gorzasty 30% is normal on my rig, but I don't have VR.  I have noticed a sharp improvement with shader cache disabled in the NCP.  The load times increase considerably, but smoothness is worth it.  YMMV.   Also, turn OFF all vsync and let that card go as fast as it can.


Edited by glide
more advice
Link to comment
Share on other sites

@gorzastyYou have the newest W10 and a recent NVIDIA graphics driver. Please ensure Windows GPU scheduling is turned OFF.

 

I see you have 2 HDDs in your PC. Ensure Windows isn't using one of them to store its pagefile. Open "cmd" program, and launch the following command:

wmic pagefile list /format:list

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

Ok, thank you for advice. I have all sync off. What is NCP?
 
I made more tests and this problem with CPU is almost always near airports. Especially with AI on it. In the mission I described there is a civil plane that is going to land where we are starting. If I switch camera to this plane CPU occupation is lowering but when distant to landing is less then 8km than it starts to grow and fps drops. So I think this is some kind of bad optimization. It is hard to believe that a few AI (doing nothing, not fighting) can eat i5 8600k at 4.5GHz... 
 

@gorzastyYou have the newest W10 and a recent NVIDIA graphics driver. Please ensure Windows GPU scheduling is turned OFF.
 
I see you have 2 HDDs in your PC. Ensure Windows isn't using one of them to store its pagefile. Open "cmd" program, and launch the following command:
wmic pagefile list /format:list

thank you, I've checked this and it's off on my computer.
 
I have 4 HDD, but two SDD. System is installed on the different SDD than DCS. Page file is off. Have the newest Nvidia Drivers, and my system is quite new (two months maybe) with every update installed.   

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

According to your log, your pagefile is ON (and it's a good thing for DCS, trust me):

 

2020-12-22 09:17:05.236 INFO    DCS: CPU cores: 6, threads: 6, System RAM: 32697 MB, Pagefile: 4864 MB

 

Please run the wmic command (it's a read-only command, nothing to be afraid of) and post the result.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

15 minutes ago, Flappie said:

@gorzastyYou have the newest W10 and a recent NVIDIA graphics driver. Please ensure Windows GPU scheduling is turned OFF.

 

I see you have 2 HDDs in your PC. Ensure Windows isn't using one of them to store its pagefile. Open "cmd" program, and launch the following command:


wmic pagefile list /format:list

Is it best to just have one large pagefile on system disk? I thought two was better.

Link to comment
Share on other sites

14 minutes ago, Hoirtel said:

Is it best to just have one large pagefile on system disk? I thought two was better.

Windows usually creates only one pagefile and stores it on your fastest drive.

I'm not sure if having several pagefiles on one system is any better.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

Thx guys but non of your ideas help. Can somebady confitm that is bad optimization that needs to be fixed or can I do something more tobhave this game playable in VR?

Wysłane z mojego SM-G960F przy użyciu Tapatalka

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

10 hours ago, Dangerzone said:

Curious to why you are using Optimal Power there? Wouldn't it be better for Maximum Performance?

My 1080Ti howls a bit.  I keep the sides off the case to keep it cool.  I'll give it a go.

Update: thx for the suggestion.  My 1080Ti fans did not howl on Maximum Performance.


Edited by glide
update
Link to comment
Share on other sites

Interesting - I thought it would be the other way around.

 

ie: - Max performance means give it all the juice that it can handle (not economical on power cost, but uses the most grunt), where optimum power means use the power sparingly - just what is needed. (Better for the electricity bill, but not as grunty).

 

As a result I would have thought that max performance would have caused more heat, not less...

 

Gorzasty -I'm sorry - I have no idea at all of suggestions to try. Hopefully someone else will come up with something else.

Link to comment
Share on other sites

So, disabling Shader Cache doesn't solve the performance problem; it just moves it from disk to memory.  My understanding is that DCS uses deferred shading, and I was wondering if there was a way to reduce the shader calls via settings.  Turning off MSAA which is expensive with deferred shading gives another boost.  If you can't stand not having MSAA, FXAA is very efficient and works very well with deferred shading.  At 4k, it looked just fine to me.  I managed to get the highest framerates at 4k with these settings.  I am curious to see if this might get the VR users past their issues until the graphics engine gets upgraded.

 

Update: with Shadows off and FXAA on I could get 120 fps on Syria at 4k.  Give it a try.

 

 


Edited by glide
Link to comment
Share on other sites

I think I broke my last post, so I will summarize again.  My apologies for the duplicates. 

 

I turned off Shader Cache even though I have zippy SSD's, and this cleared up some major stuttering.  Did some research on deferred shading which is used in DCS, and then I decided to test performance without any MSAA or Anisotripic filtering (anything that touches textures).  I got extremely good frame rates and no stuttering at 4k.  I highly recommend you try these settings. 

 

BTW, can someone tell me how to screenshot the entire NCP in one go?

 

 

Just FXAA DCS.PNG

Just FXAA 2.PNG

Just FXAA 1.PNG

Just FXAA 3.PNG


Edited by glide
typo
Link to comment
Share on other sites

Sorry Glide, but can you create your own threat? I really try to have some help with my case and your last posts are not helping.

 

Can I post something more that help anyone to solve the issue? Is anybody I can tag to take a look here?


Edited by gorzasty

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

Please don't take it personally but your posts are rather well suited for monitors and problems with GPU. There is problem with CPU and VR or maybe not only VR...

And I really like to thank you for your help.

Wysłane z mojego SM-G960F przy użyciu Tapatalka

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

No worries, bro!  I've been writing software for over 30 years, and I specialize in performance testing.  There is definitely an issue with too many shader calls, and I have shown how to eliminate those from the picture as you troubleshoot your VR setup.  There are a LOT of ways to set up DCS wrong, and only a few ways to get it right.  I'm going to keep lurking around these VR issues because someday I will get a VR headset.  I have high hopes the solution is around the corner.


Edited by glide
typo
Link to comment
Share on other sites

@gorzastyHi, I'm still willing to help you. I'm proceeding step by step, and for now I still don't know where your Windows pagefile is stored. Please run "cmd" program, launch this line and tell us what you get:

wmic pagefile list /format:list

 

 

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

Thank you Flappie:

 

C:\Users\gorza>wmic pagefile list /format:list


AllocatedBaseSize=4864
CurrentUsage=0
Description=C:\pagefile.sys
InstallDate=20200929200028.281394+120
Name=C:\pagefile.sys
PeakUsage=1
Status=
TempPageFile=FALSE

 

 

In my Windows settings I have this:

 

image.png

 

 

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

1 hour ago, gorzasty said:

Thank you Flappie:

 

C:\Users\gorza>wmic pagefile list /format:list


AllocatedBaseSize=4864
CurrentUsage=0
Description=C:\pagefile.sys
InstallDate=20200929200028.281394+120
Name=C:\pagefile.sys
PeakUsage=1
Status=
TempPageFile=FALSE

 

 

In my Windows settings I have this:

 

image.png

 

 

just to interject. your pagefile is low. even with 16 GB of RAM you have it set higher and on an SSD. or buy more RAM. dynamic pagefile can be problematic. windows needs to know when resources are low and sometimes it just doesn't keep up.

 

image.png

AKA_SilverDevil AKA Forums My YouTube

“It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt.” — Mark Twain

Link to comment
Share on other sites

I have 32GB of RAM. I guess DCS is ok with this. How about with my page file then? Do I need to set it manually? If yes what value do you recommend @silverdevil?

Wysłane z mojego SM-G960F przy użyciu Tapatalka
 


Edited by gorzasty

PC: i7 13700k, 64GB RAM 3200MHz DDR4, RTX 4090, VR: Quest 3.

VPC MongoosT-50CM2 Grip, VPC MongoosT-50CM3 Throttle, crosswinds rudder pedals, VPC panel CP3, WinWing PTO2

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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