Jump to content
Sign in to follow this  
jmig

FPS and CPU/GPU loading in PD3 V4.1

Recommended Posts

5 minutes ago, Dirk98 said:

Yes, and that is why I changed to batch-start following your advice.

Funny, my first batch I tested was exactly the same with notepad.exe, I had googled it somewhere.

Then I launched P3D with it.

@echo off
rem ASN
cd /D F:\Lockheed Martin\Prepar3D v4
start /affinity FE Prepar3D.exe
exit
 

And so on.

As I remember it P3D is better to have set an AM in the p3d.cfg file

Addons are set best by batchfiles

Let PL help with the rest

  • Upvote 1

13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
Just now, GSalden said:

As I remember it P3D is better to have set an AM in the p3d.cfg file

Addons are set best by batchfiles

Let PL help with the rest

No more PL, I don't need it anymore. Do you still use it?

Share this post


Link to post
Just now, Dirk98 said:

No more PL, I don't need it anymore. Do you still use it?

Exactly in the way I wrote.

 


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
16 minutes ago, SteveW said:

everything else will be asleep. Except PL, monitoring the way threads are starting and stopping, when there's no need.

But there is no need for PL, I quit.

1 minute ago, GSalden said:

Exactly in the way I wrote.

 

 

Share this post


Link to post
6 hours ago, Dirk98 said:

Yes, and that is why I changed to batch-start following your advice.

Funny, my first batch I tested was exactly the same with notepad.exe, I had googled it somewhere.

Then I launched P3D with it.

@echo off
rem ASN
cd /D F:\Lockheed Martin\Prepar3D v4
start /affinity FE Prepar3D.exe
exit
 

And so on.

Except no need to run P3D with the affinity switch which is not the best way to run it.

Instead set P3D affinity in its jobscheduler config that is what it wants. In the bat you just need the Prepar3D.exe line without /affinity or put /affinity 0. Use the affinity switch with two LPs for each addon use that for the stuff that does not have its own setting. Apps like P3D may appear to use an AM which restricts it's main jobs to certain cores but it will use all cores available for resources..

  • Upvote 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

A problem arises up the road setting the P3D AM in the bat - means that when you start P3D without the bat it starts without the AM. Do things by the book so there's no surprises, like flying.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Some guidance please, especially Steve. 

Ive been following the thread and trying to get my system dialed in. 

I feel I have a fairly beefy system. 

Intel 5930k overclocked to 4.4

64 MB RAM

Nvidia Titan Xp

Prepar3d on M2 hard drive. 

I set AM=4088.  The cores seem to correspond correctly in task manager. 

Problem is, no matter how low I put my settings (even everything off), the first core running Prepar3D always shows 100%.  I was trying to get that down to 88% as Steve suggested to get some headroom.  

 

I must be be doing something wrong?

 

thanks, Jason 

Share this post


Link to post

Set VSync=On, and Unlimited on the slider, or use Locked fps on the slider. Start by choosing a locked fps low enough to reduce the load, or set the monitor refresh frequency lower for slower VSync operation to reduce the load - along with reducing all the settings including AA on the card.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Guys, do you think giving TrackIR (which I normally don't fly  with) just 2 xLPs is enough? 

Please share which LPs you put your TrackIR on?

Thanks!

Share this post


Link to post

Even at 20 FPS it shows maxed out 100%. Although the sim seems to have no issue reaching those FPS. 

 

The bigger issue im trying to solve here, not so much FPS or smoothness, but texture loading. I end up with a lot of blank or blurry ground textures. 

 

Maybe im not on the right track trying to troubleshoot this

Share this post


Link to post

Since P3D does not exhibit that behaviour out of the box, the process of elimination dictates you first check the sim runs properly in stock form. That way you can determine if it is a problem with the general system before some complication with dlls or addons can be investigated.

  • Upvote 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Hey guys,

I'd like to revive this thread, I hope you can help me as well. I found SteveW's insights and the contributions quite helpful!

To first give you some background, I have a decent rig, an Intel i7 7700k, a 1080 Ti, 32 GB memory and a 1 TB M.2 SSD. I am a MSFS veteran, started back with v3 but stopped roughly 20 years ago due to my focus on other things. ;) Got "back in business" when P3D v4 came out and I absolutely love it, I invested a lot in a/c and addons like scenery etc.

However, it always bothered me that I either got blurries or that the autogen stopped working during climb, sometimes it never came back until after landing. Locking the fps helped a lot, but the situation was still not what I'd consider "good". During cruise I almost never see autogen around me (no matter how much I lower the settings), sometimes it's there but disappears again after a while.

I hope no one of you tries to debate with me how reasonable it is to have autogen at FL200 or above--I just think it should be there, no matter what, especially if my machine "idles" at 30 fps, CPU at around 30% (high load on LP0 ofc) and the GPU at approx 40%.

I tried to tweak pretty much every parameter in the prepar3d.cfg file, just to see how it's affecting loading of textures and autogen. I have my standard benchmark flight (clear skies, slew the F-22 to 20,000 feet, same heading, 400 kts, same starting point over and over and over) for this purpose. And the difference on the loading times for the autogen is quite huge, depending on which parameter I tune.

I think I almost used any AM that does or does not make sense to me. It also has a huge impact, however, I think leaving everything vanilla (no AM setting in the config) and moving some of the addons away from LP0 and LP1 via batch file) shows quite good results for me.

The thing is, I still lose autogen on almost all of my flights during climb, when I'm lucky it reappears at or around 10'000 feet.

Could you, SteveW, or anybody else give me a hint of what I might try to get a somewhat constant loading of autogen? As I already mentioned, CPU and GPU get "bored" during cruise most of the time and still don't want to deal with autogen (I have to mention that the drawing distance for the autogen is reasonable, so that I should see something on the ground, even at FL400--and sometimes I do, as stated before). I also got that the throughput might be an issue in this case, but then I'd need advice on how to (fine) tune this to make it work for me (I'm not asking for any specific value, since I understood that it highly depend on the system at hand).

Again, thank you very much for the insights here, highly appreciated.

Cheers,
Markus Bendel

p.s.: Even though there's sometimes no autogen even when the sky is clear, the situation gets much worse when it's cloudy--just another thing I observed...

Share this post


Link to post

Hi Markus,

Are you sure this is not "by design"?

P3Dv4 does a better job of autogen management than previous releases, and I would hazard a guess that LM decided to limit the view distance at cruise to avoid all the niggly little one or two pixel items that would shimmer in and out if visible.

Have you asked on the LM forum?

Edit:

I just flew my Seminole up to 12000 feet as a test, and can report that I can certainly see the autogen from that altitude.

Note that I said "flew" not "slew" and my airplane flies at about 160 kts, not 400, so that may well have something to do with it..

What happens if you climb up at 1000 ft/min.. do you lose the autogen then as well?


Bert

Share this post


Link to post

Hi Bert,

Thank you for your input. However, autogen works sometimes, even at higher altitudes and even at cruise level. But it's not reliable at all. So I guess it's not a conscious decision made by LM...

I told you about "slewing" because it makes things reproducible for me, and by increasing the speed, you can easily see when the rendering and/or the drawing of the objects can't keep up with the speed of the plane anymore (which is something I totally get).

However, I sometimes don't have any autogen even at lower altitudes and/or speed, I think something gets "stuck" in the queue of the scheduler or somewhere else. Something sometimes seems to trigger P3D to empty the queue and I can see autogen even at cruise level for a couple of minutes, after an hour without seeing anything. Usually it then disappears again, of course...

Cheers

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...