Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Terrain.dll crash & CPU overload?

Featured Replies

Hi,

I am getting terrain.dll crashes on flights from KSNA to KPHX in the AS Airbus pro. This happens exactly above ORBX KPSP.

This makes sense since from searching the forums it looks like its related to the mesh resolution settings and system overload - KPSP is full of autogen and is in a mountainous area. It is recommended to go down to a 19m setting

Now I have 2 questions - 

1. From past experience some airports will not function correctly with less than 5m setting - FSDT KDFW, FSDT KIAH & Flightbeam KPHX all get spiky terrain (mainly around the taxiway bridges) when this setting is lowered.

2. I have never encountered this error and have not changed my settings recently. What I did do however is manually move all the below addons (via task manager affinity setting) to use cores 1-3 (leaving core 0 free for P3D)

  • ASP4
  • ASCA
  • Radar Contact
  • Ultimate Traffic Live
  • FFTF Dynamic
  • TrackIR
  • FSDT Couatl - after sim is started

Could this cause the sudden terrain.dll error? Could I be overloading the CPU by playing with the affinity settings to free up core 0?

I am using a i7 4790k (HT off) with no overclock (see specs in my sig). I consider this a relatively strong CPU! Autogen draw distance is set to medium, Veg autogen set to dense, building autogen set to normal.

 

Thanks for the help,

Shom

Edited by Shomron
More info

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

  • Author

Bump?

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

  • Author

I have been experimenting with this -

Interesting thing is I have flown the exact flight with mesh set to 19m and again I got a terrain.dll error.

I have done it then again but this time I did not play with any affinity setting via the task manager and let all addons use all 4 cores. And this time the flight passed with no issues!

What brings me to the conclusion that assigning ALL addons to use only cores 1-3 can actually stress the system.

 

Any thoughts? Should I be removing from core 0 only SPECIFIC addons and not all of them?

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

I would give the add-ons core 0 and P3D the other 3. P3D is by far more resource hungry / demanding than the add-on's who should merrily be able to function on just core 0.

You may also want to read this thread, especially the comments by Steve on page 2, where the use of HT actually may benefit the sim when you use affinity settings correctly.

 

Ollie G

System: 8700K O/C@ 5.0Ghz, Asus ROG Strix Z370F MoBo, H100i v2, Gigabyte 1070 XTreme Gaming Edition, 500Gb NuMe (OS), 500 Gb (XP) & 1Tb Samsung 850 SSD (P3D), 4Tb WD HDD as library, Rift S & Touch, Honeycomb Yoke, Saitek throttles and TM TPR rudder pedals

Flight Sims: Xplane & P3D v4.5 HF2 - Orbx Global, Vector, Europe LC & Others, REX TD & SC Enhanced, AS, ASCA, Chaseplane, UK2000 Scenery, FSFX stuff and lots, lots more!

  • Author
2 hours ago, 9GTurn said:

I would give the add-ons core 0 and P3D the other 3. P3D is by far more resource hungry / demanding than the add-on's who should merrily be able to function on just core 0.

You may also want to read this thread, especially the comments by Steve on page 2, where the use of HT actually may benefit the sim when you use affinity settings correctly.

 

Thanks I understand assigning all addons to 1 core but won’t P3D perform better on 4 cores including core 0?

The above worked really good for me I was getting smooth higher fps less stutters etc...

The only thing is the fact it caused a crash which I don’t understand...

 

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

P3D will take as many cores as you will give it, especially for the graphic renderer to do its job.  If you want to give P3D its own section of CPU then in my experience it works better as you allow the renderer 100% use of a CPU core rather than waiting its turn on the Core 0 with other processes.

IMO I don't think it was an overload that causes your crash unless you know you overheated or overclocked the CPU which would cause a normal crash if you over did it.

Ollie G

System: 8700K O/C@ 5.0Ghz, Asus ROG Strix Z370F MoBo, H100i v2, Gigabyte 1070 XTreme Gaming Edition, 500Gb NuMe (OS), 500 Gb (XP) & 1Tb Samsung 850 SSD (P3D), 4Tb WD HDD as library, Rift S & Touch, Honeycomb Yoke, Saitek throttles and TM TPR rudder pedals

Flight Sims: Xplane & P3D v4.5 HF2 - Orbx Global, Vector, Europe LC & Others, REX TD & SC Enhanced, AS, ASCA, Chaseplane, UK2000 Scenery, FSFX stuff and lots, lots more!

  • Author
12 minutes ago, 9GTurn said:

P3D will take as many cores as you will give it, especially for the graphic renderer to do its job.  If you want to give P3D its own section of CPU then in my experience it works better as you allow the renderer 100% use of a CPU core rather than waiting its turn on the Core 0 with other processes.

IMO I don't think it was an overload that causes your crash unless you know you overheated or overclocked the CPU which would cause a normal crash if you over did it.

Thanks! I’ll try assigning addons to core 0 along with the OS and P3D to cores 1-2.

BTW I do not OC my CPU...

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

I had that chip before my 8700k and it was fantastic and can easily take a mild overclock.  I actually think some days it was as good CPU as mine today.

Use the Gatwick affinity calculator and put in the jobscheduler command in cig for your initial affinity and to start with to find which number of cores works best. I would recommend engaging hyper threading so you can assign more throughput to the CPU which you give you a slight lift in performance.

good luck

Ollie G

System: 8700K O/C@ 5.0Ghz, Asus ROG Strix Z370F MoBo, H100i v2, Gigabyte 1070 XTreme Gaming Edition, 500Gb NuMe (OS), 500 Gb (XP) & 1Tb Samsung 850 SSD (P3D), 4Tb WD HDD as library, Rift S & Touch, Honeycomb Yoke, Saitek throttles and TM TPR rudder pedals

Flight Sims: Xplane & P3D v4.5 HF2 - Orbx Global, Vector, Europe LC & Others, REX TD & SC Enhanced, AS, ASCA, Chaseplane, UK2000 Scenery, FSFX stuff and lots, lots more!

Hi Shom,

I had the same problem who was driven me crazy for months until I remembered I once increased the Dynamic Reflections from Low to Middle in order to try Tomato shade.
Since I reduced this heavy load on the GPU, no more terrain.dll error (for over a month now).

Maybe didn't you increase this parameter but something else (AG is heavy as well) which is crashing your hardware, that's why you'll be advised to create a new P3D.cfg file.
I for one never add any manual value to the config file so I don't feel necessary to replace P3D.cfg, but I save several graphic settings profiles and return to the default one for testing.

- PC Hardware: AMD Ryzen 9 9950X3D //  Asus ROG Crosshair X870E HERO //  2x32Gb Corsair Dominator Titanium DDR5 6000MT/s CL30 //  ASUS ROG Strix GeForce RTX 4090 OC Edition // 4Tb Corsair NVMe M.2 MP600  //  Corsair 1600W PSU
Samsung Odyssey Arc 55" curved 165 Hz monitor.
- Simulator Hardware: VIRPIL Constellation Alpha Prime + VIRPIL VPC Universal Control Panel - #3 + MOZA AY210 Force Feedback Yoke + WINWING URSA MINOR 32 Throttle & PAC Metal + WINWING SKYWALKER Metal Rudder Pedals + WINWING Airbus FCU & EFIS + WINWING Boeing 3N PAP + WINWING MCDU-32 + WINWING PFP-4 + WINWING PFP 3-N + WINWING PFP-7. 

   

 

 

Had the same issue.   For me, it was to modify a file in the LatinVFR KSNA scenery. Apparently, ORBX global and KSNA are not compatible.

Now, i can fly anywhere in the socal area without random CTD errors.   While I have not done extensive testing on this fix, I'm pretty sure it has resolved the issue.   I also have ORBX socal installed.

https://www.avsim.com/forums/topic/514115-latinvfr-john-wayne-crashing-v4/

*****

Here's what Holger says:

Update Dec 22: If you're using LatinVFR KSNA in P3D it installs an additional landclass file that needs to be deactivated:

 

DEACTIVATE: (by renaming from .bgl to .bgl.off)  

>>> in \LatinVFR\OrangeCo_KSNA\Scenery

LC_1620.bgl.OFF

Brian Andonian

RW commercial pilot:  #2600156

According to the AVSIM CTD Guide (which finds solutions from around the Internet), indicates high scenery/terrain settings, especially Autogen. Rebuild FSXor P3D.cfg. Restart sim to see if the error reoccurs. If you are using the Affinity Mask setting, don't.  Not recommended.  It causes a lot of crashes because settings are wrong. 

Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

  • Author
16 hours ago, aviatorbja said:

Had the same issue.   For me, it was to modify a file in the LatinVFR KSNA scenery. Apparently, ORBX global and KSNA are not compatible.

Now, i can fly anywhere in the socal area without random CTD errors.   While I have not done extensive testing on this fix, I'm pretty sure it has resolved the issue.   I also have ORBX socal installed.

https://www.avsim.com/forums/topic/514115-latinvfr-john-wayne-crashing-v4/

*****

Here's what Holger says:

Update Dec 22: If you're using LatinVFR KSNA in P3D it installs an additional landclass file that needs to be deactivated:

 

DEACTIVATE: (by renaming from .bgl to .bgl.off)  

>>> in \LatinVFR\OrangeCo_KSNA\Scenery

LC_1620.bgl.OFF

Done that. it happens over KPSP so unrelated... thanks anyway

13 hours ago, Jim Young said:

According to the AVSIM CTD Guide (which finds solutions from around the Internet), indicates high scenery/terrain settings, especially Autogen. Rebuild FSXor P3D.cfg. Restart sim to see if the error reoccurs. If you are using the Affinity Mask setting, don't.  Not recommended.  It causes a lot of crashes because settings are wrong. 

Will do, thanks

Although AG is set to normal and Mesh turned down to 19m

It reproduced only when shifting manually the affinity settings (simple assignments via task manager)

Shom

 

MSFS2024 running on Win 11, 4K screen, Z790 AORUS ELITE AX-W, i9-14900K, MSI 3080Ti, Corsair 2x32GB 6000 MHz, 1+2TB M.2 NVMEs

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.