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.

Shader cache... need some help

Featured Replies

Currently before every flight I'm doing this...

- disable NVIDIA shader cache
- restart PC
- run disk clean up and remove DirectX Shader Cache files
- delete cache files in AppData/Local/D3DSCache, AppData/Local/NVIDIA, AppData/LocalLow/NVIDIA/PerDriverVersion/DXCache, AppData/Roaming/NVIDIA/ComputeCache
- set NVIDIA cache back to 10GB
- restart PC
- Start MSFS
- Delete MSFS rolling cache 

I know it seems a lot but it seems to stop pretty much all stutters etc. Am I going mad? Am I just using this as a 'placebo' in a way.

Are there any steps I could stop doing? Do I need to restart my PC after setting the NVIDIA shader cache back to 10GB? 

Thanks in advance

AMD Ryzen™ 9 9900X3D, AM5, Zen 5, 12 Core, 24 Threads, 4.4GHz, 5.5GHz Turbo
64GB (2x32GB) DDR5 6000MHz Corsair Vengeance
32GB GeForce® RTX 5090 Graphics Card

1 hour ago, BWBriscoe said:

Do I need to restart my PC after setting the NVIDIA shader cache back to 10GB

You should restart the PC before you re-enable shader cache in NVCP, I use Driver Default.

And there is absolutely no need to do all of it before every flight, maybe after each update, but as always - whatever floats you boat etc. 😉

 

Cheers, Søren Dissing

Intel i9-13900K @5.6-5.8 Ghz | ASUS ROG RYUJIN III | ASUS ROG Astral RTX 5090 OC | ASUS ROG Maximus Z790 Hero | 64Gb DDR5 @5600 | 1Tb Samsung M.2 980 PRO (Win11), 1Tb Samsung M.2 980 PRO, | ASUS ROG Helios 601 | 32” ASUS PG32UCDM 240hz 4K | Chaseplane | TM TCA Captain's Edition, Winwing FCU + EFIS L/R, Tobii 5 | Win 11 Pro 64 | MSFS 2024 | BA Virtual | PSXT, RealTraffic w/ AIG models

 

 

You are watching too many performance videos on Youtube 😄

System: I ASRock X670E | AMD 7800X3D | 64Gb DDR5 6000 | RTX 4090 | 2TB NVMe | Seasonic Vertex 1000W I LG Ultra Gear 34 UW I

i can pretty much guarantee you are dealing with 100% placebo when it comes to those steps you are taking. in very, very rare circumstances those steps may be applicable.

msfs is an extremely difficult piece of software to achieve stutter-free performance (i.e. truly perfect and consistent frame pacing) with unless you have current top of the line hardware, and that's 100% default msfs. the moment you add in complex payware aircraft, sceneries, and utilities like GSX, you increase that difficulty massively from there. what i can tell you, having upgraded from my 9900k to an AMD 5800X3D setup almost two years ago, is that older gen hardware such as that 9900k are very dated (to oversimplify things) and aside from raw single thread performance, suffer from other deficiencies that msfs or other modern, demanding sims (e.g. dcs world) will readily highlight.

that being said, the biggest single hurdle to achieving smooth frame pacing in msfs is vram management. depending on your use case scenario, your display resolution, and so on, you can consume 16+gb of vram in the blink of an eye. unless you have a gpu with 16gb+ of vram, that means stutters as your system ram is used to swap whatever can't fit into vram. for example, on my PC, running a 4k display, with the Fenix A320, FSLTL AI traffic (with VERY modest amounts of traffic,) GSX and a large third party/Asobo 'premium' airport, i hit my ~12gb vram limit immediately on loading into the sim even at DLSS performance (using the 'ultra' graphics preset.)

also, using the dx12 option is sort of a catch 22 in that it can perform better and with less stuttering than dx11, BUT it brings with it a much higher vram utilization. in other words, dx12 can run smoother than dx11, but you have to be even more cognizant of vram.

tl;dr is to use a tool like GPU-Z to monitor vram usage and if it's within ~0.5gb of your gpu's total vram, it's time to take steps to reduce your vram footprint - the main methods being render resolution (or DLSS/FSR2 setting,) texture quality setting, GSX, and any AI traffic.

sorry, i know you didn't ask "how do i make msfs run smoother?" per se, but judging by the trouble you are going through will all those steps, i extrapolated a bit. 😉

Edited by molleh

5 hours ago, BWBriscoe said:

Am I going mad?

It seems “a bit much”. So I think you’re not not going mad 😅 I go through something similar before updating nvidia drivers. 

7950X3D | RTX 4090 | 64GB DDR5

Yes, it's way over the top.   "Delete MSFS rolling cache" is a good one to do once in a while, because it was found MSFS seems to be storing stuff in there even when it is turned off.

However, I only do the others if I have problems (not a lot this year) - smooth as silk. 

I personally think the shader cache thing is a bit of a myth unless you are seeing graphic artefacts. MSFS has to generate them all again the next time you fly, and that in itself takes time.

Rob (but call me Bob or Rob, I don't mind).

I like to trick airline passengers into thinking I have my own swimming pool in my back yard by painting a large blue rectangle on my patio.

Intel 14900K in a Z790 motherboard with water cooling, RTX 4080, 32 GB 6000 CL30 DDR5 RAM, W11 and MSFS on Samsung 980 Pro NVME SSD's.  Core Isolation Off, Game Mode Off.

5 minutes ago, bobcat999 said:

I personally think the shader cache thing is a bit of a myth unless you are seeing graphic artefacts.

Voodoo magic, you say? lol

 

It is good to do once in a while, regardless. Helps with the GPU graphical error CTDs, helps with performance over a sustained flight, or flight switching, helps when using ReShade or any other filtering program, helps when using LSFG, helps when switching between DX11&12, helps after a CTD. I delete them once per month (on average), and I’ve noticed a definite improvement in stability. 

AMD 9950X3D | 64 GB RAM | RTX 5090

FMR: 747 FO, 757/767 CAPT, 737 Check Airman
Current 777 CAPT

 

18 minutes ago, bobcat999 said:

Yes, it's way over the top.   "Delete MSFS rolling cache" is a good one to do once in a while, because it was found MSFS seems to be storing stuff in there even when it is turned off.

 

 

I did that the other day and it helped a ton. Now I delete it every day or so.

___________________________
I'm just flying for the fun of it.
 

5 hours ago, BWBriscoe said:

Are there any steps I could stop doing? Do I need to restart my PC after setting the NVIDIA shader cache back to 10GB? 

I disable shader cache in NCP, reboot in safe mode, delete then reboot and turn shader cache back on.

7950X3D | RTX 4090 | 64GB DDR5

I use DDU when I update my GPU driver, then all cache files will be deleted together with all the rest Nvidia folders, and I have never had to delete cache files between driver changes to get better performance.

System: I ASRock X670E | AMD 7800X3D | 64Gb DDR5 6000 | RTX 4090 | 2TB NVMe | Seasonic Vertex 1000W I LG Ultra Gear 34 UW I

1 hour ago, Ixoye said:

I use DDU when I update my GPU driver, then all cache files will be deleted together with all the rest Nvidia folders

I didn't know that (though I use DDU a lot) ... many thanks - it saves me a step!

NZFSIM_Signature_257_60.png

 

Create an account or sign in to comment

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.