Easier way for setting pathes: set folder="%LOCALAPPDATA%low\NVIDIA\PerDriverVersion\DXCache" or set folder="%LOCALAPPDATA%\NVIDIA\GLCache", so no trouble with wrong user anymore😉
Gday mate, I literally have been looking for something to do this and even began working on it but I never had the time or the brains. Thanks heaps it makes a huge improvement. ORBX YBBN Brisbane my home airport has been a stutter monster, this has made that almost butter smooth.
Within the expectaion section you missed to mention, that this guide is mainly for users having a nvidia GPU (because of nvidia control panel and the shaders topic, as well as the dlss stuff).
I have a 5800x3d and 4080super and it amazes me this game still stutters on my hardware. Certain payware airports I have to turn the LOD all the way down!!
Also if you have a RTX series card that is not frame gen compatible you NEED to try an FSR3 enabler mod. There’s tutorials on YT on how to get them running with MSFS. Makes a huge difference without having to spend a fortune on a 40 series card.
I'm about over having to darn near have a background in IT just to fix stuff that Asobo should have fixed in the first place. This sim has been out long enough that people shouldn't have to be going through all of this.
Thanks I like your clear explanation and the repeat of explanations so that we don't miss any instructions for people like me, 69 years old flight simmer. What about the temp,%temp% and prefetch. I have not done this yet but I am sure it will work Thanks
GLCache and D3DSCache folders were deleted, so they had to be recreated before the Fenix worked again. Also you will start over having to get rid of the Assistance Options in MSFS. I downloaded the A320 again, but not sure I had to do this. Otherwise got rid of all cache.
Thanks for this but I do have one problem. I cannot find Rollingcache.CCC anywhere on my system. Is it because I have the Steam version of MSFS? If that is the case, where is the rolling cache file located?
Your Right clearing shader cache will help with the stuttering for sure.. Now i get around 80 to 100 FPS around very busy airports such as LAX, JFK and Other big cities, But i have a ASUS Tuff Gaming RTX 4070 OC card so that makes a difference, but not sure what your using but if you have something equivalent or simmer to mine you should be getting 80 to 100 fps even in a PMDG 737 or Fenix A320 i have a video showing you this.. And your right if you have a 40 series card you don't need to do any of that swapping.. That includes such as 4060 4070 or 4090 cards, if you got a Nvidia 3080 or something like that than you need to do the swapping because it They are NOT a frame generation card it has to be 40-something. If your into MSFS than you all should get a 40 series card at least 4070 because those cards work awesome with MSFS, how ever i know not every one can afford a good 40 series card they start around $600.00 and go up depending on which one and how much memory the card has the more memory your card has the better, such as the NVidia GeForce RTX 4090 Founders Edition 24GB GDDR6X Geforce RTX 4090 FE Video Graphic Card GPU goes for over $2,000.00 i think it's at 2,699.00 right now, so not every one can fork over that kind of cash for a Graphics card, but you can get a ASUS GeForce RTX 4070 TUF Gaming OC Graphics Card the one i have for $639.99 on B&H Photo right now which is not a bad price i paid a bit more than that when it first came out i think it was $859.00 or something can't be 100% sure exactly but i know it has come down sense they came out with the 4080 and 4090..
Question or two; feed back / comment for AMD users... First, thanks for doing this. The stutters are maddening and exceptionally frustrating. How often are you clearing Shader & Rolling Cache? Every launch? once a week? When the stutters appear? Steps for AMD (I am Running an AMD GPU XFX 6600 Speedster & AMD Procressor A9) 1. Clear Rolling Cache (in game or via the folder in the sue directory) 2. Clear Shader Cache (can be done via the AMD shell software Adrenaline) 3. Limit the FPS ( I have set a limit of 55 FPS) for my GPU Doing these 3 things virtually removed all stutters. The load in graffics settings within the game seem to have little impact on performance. Shader & rolling cache appear to be this systems achielles heel. I noted one app that totally cause stutters for me. SKY DOLLY! In particular if I tried to use the formation flight element of Sky Dolly. (about 100% micro stutter every 300 frames) Even if I closed all apps, fresh launch of MSFS, massive stutters. Then I complete the 3 aforementioned steps... Buttery smooth, 3-8% micro stutter rate (tops). (At least I have the solution) This leaves me to ponder... what the heck is going on in the shader & rolling cache that is doing this? There has been some discussion suggesting that MSFS 2024 is going to be lighter and less burdensome on GPU & system arcitecture. One can only hope! John Hall LT, USCG (MSFS enthusisast cause its cheaper the renting a helicopter)
I appreciate your work and dedication to the cause.......but the fact that it's even necessary to create a FIFTY minute video and a custom tool just so that you can run this sim smoothly demonstrates that there is a massive fundamental issue with how this game is built. I'm kinda surprised that Asobo re-used so much FSX code in this came and as such it's so reliant on a single CPU thread. I think that was a big mistake, and it's no surprise people are having issues and that they are re-writing a lot of it for FS2024 (thank God). If I'm being cynical, it seems like FS2020 was simply a proof of concept for Microsoft. I.e. "can we cheaply resurrect an old game and make people buy it and play it before we invest into remaking it entirely". We have all been the guinea pigs here, and we've paid MS for being their Beta testers. MS2024 will be that actual game we needed (at least I hope so!).
Your Right clearing shader cache will help with the stuttering for sure.. Now i get around 80 to 100 FPS around very busy airports s and Other big cities, But i have a ASUS Tuff Gaming RTX 4070 OC card so that makes a difference, but not sure what your using but if you have something equivalent or simmer to mine you should be getting 80 to 100 fps even in a 737 or A320 i have a video showing you this.. 4080 and 4090..
Question, do you recommend rolling cache for MSFS? I turned mine off a long time ago because I seemed to keep having problems. Disabling it helped with a lot of it but I am ready to try it again. If I change the default location of the cache file to an M2 drive, I just change the directory in the batch file right?
Cheers man.. Just ran the script from my desktop and its recursively deleted a whole bunch of stuff from c:\users\\desktop. The script is poorly formed. If you run it from the wrong place, the 'cd' command fails silently and continues to try and delete everything it finds thats a match from the current location! ARGHHH.
Tcp:3074 @@OverkillSimulationsudp: 88,500,3074,3544,4500. So I set udp from 88 to 4500 then reset your router. It increased my download speeds from msfs from like 200 to 250mbps to 250 to over 300mbps too. And my buildings have stop being melted looking all the time too.
Oh the ports you use are different from msfs store version to the steam version and I misspoke earlier I add the upd ports separately not the whole range
Why the need of disabling the Shade Cache in the NVIDIA settings, what is the benefit of it, what could/is happening when I leave it on? I can delete the shader cache fine without it disabled? The Files from the WindowsAPPS folder is not accessible only when you keep it at the default directory, if you move MSFS through the WindowsStore app to another directory, you can access them without any need of changing the security permission! After that it also will appear in the DSLLSwapper tool!
Hi Miles, unfortunately in my haste I ended up doing the same thing. The file deleted many but not all of my desktop icons and folders. Some important documents were deleted. I tried system restore but to no avail. It was purely my error and I cannot put any blame on Overkill. What I failed to do was change the user name from overkill to mine!! I didn't follow instructions which were made very clear. If anyone knows how to recover my lost data, please let me know.
I came back to MSFS after a five month break recently and it seems worse than it was when I left when it comes to stuttering. Today I was flying around California and it would be fine for about 30 minutes and then boom massive stuttering, sometimes 5 or ten seconds in VR.
I was using an aging PC and last month bought all new hardware. I went straight to New York City and it still stutters on Ultra. I was super disappointed but if I lower a few settings to high I get 75 fps without DLSS. Same thing happens in any big city with skyscrapers. Doing Bush trips away from cities its smooth as can be with everything maxed out. I was using windows 10 at first with an i5 12600k and every other core showed between 0% and 5% usage. After getting windows 11 it got much better anyways.
@@fugginrambo It used to not be this way. I could fly around NYC with no stuttering at all. I have a 5800X3D, 64 gig of ram and a 4090. I used to get well in excess of 100 FPS. Now I lock my FPS to 60 so my PC doesn't have to work so hard. I NEVER had stuttering issues in regular or VR mode with my new PC but I have noticed the stuttering a lot now. One of Microsoft's updates broke something.
Unfortunately I've found that system ram at or under 5400mhz you get CPU bound if you have sticks that support above it becomes gpu bound. Just wish I could get the full 6000mhz only title that freezes a few minutes in so far.
@@Bellthorian your machine is way better than mine, yeah I'd be pissed there's no reason you should have issues. Let's hope MSFS 2024 fixes this. I have a 12600K, 4060ti 16GB, and 32GB DDR5 6000mhz with frames locked at 75.
I use windows 10 and found the msg command in the script didn't work - meaning the msgs didn't display. Substitute ECHO for msg in the script to be able to display the msgs . Not required to run the rest of the script. Worked for me to display the msgs you will still get to the press any key to continue instruction
Instead whoami you can just type echo %username% at the command prompt. You can even use %username% in the script instead of a literal like Overkill to make it universally applicable.
It will do this at any airport even if you don't clear all that. Try flying to another close airport and see if you get stutters that way. This seems a waste of time tbh (not hating). My stutters and probably everyone else who's stuttering get them on a flight from A to B not A to A.
Excellent video. When I go to swap 2.4 for 3.5 I get "Please download the DLSS record from the download page. What file and where do I find this? I have the RTX 4070 Dual OC.
This was a prior claim from another watcher of channel just make sure to separate your periods from the next sentence. If it highlights with blue text it will either get sent to overkill for review or to youtube folks for a person to review. They are stingy with perceived links to other sites in my experience.
@@pitekairlinesimpilot4907 it don’t matter what you have, msfs2020 will always be a shutter mess VR or flat screen. And when you get it 98% without shutters an update comes out and back to looking for videos like this!
Here is the Patreon Link for the batch file:
www.patreon.com/posts/shader-cache-98621782?Link&
Easier way for setting pathes: set folder="%LOCALAPPDATA%low\NVIDIA\PerDriverVersion\DXCache" or set folder="%LOCALAPPDATA%\NVIDIA\GLCache", so no trouble with wrong user anymore😉
Thank you so much for this! Excellent results for me. My only question is how often should I delete the caches? Do you have a best practice?
Every time you install a new scenery to community folder
Any plans to review the new SayIntentions AI ATC software?
Gday mate, I literally have been looking for something to do this and even began working on it but I never had the time or the brains. Thanks heaps it makes a huge improvement. ORBX YBBN Brisbane my home airport has been a stutter monster, this has made that almost butter smooth.
Within the expectaion section you missed to mention, that this guide is mainly for users having a nvidia GPU (because of nvidia control panel and the shaders topic, as well as the dlss stuff).
Great as usual but how often should this be done?
Works absolutely perfect, thank you so much for this, it is so easy and very quick to do compared to other methods shown on RUclips. Thank you.
I have a 5800x3d and 4080super and it amazes me this game still stutters on my hardware. Certain payware airports I have to turn the LOD all the way down!!
I have an AMD RX 6900 XT and it has no option for Shader Cache Size - I just an option to clear it but not size it.
Also if you have a RTX series card that is not frame gen compatible you NEED to try an FSR3 enabler mod. There’s tutorials on YT on how to get them running with MSFS. Makes a huge difference without having to spend a fortune on a 40 series card.
Great guide! random question - what is the tool you are using (upper right corner) to track frame rate and CPU load?
I'm about over having to darn near have a background in IT just to fix stuff that Asobo should have fixed in the first place.
This sim has been out long enough that people shouldn't have to be going through all of this.
This one actually isn't really Asobo
Thanks great, how often you di this on a day-to-day basis
How often do you have to delete those shader-caches?
For s super smooth experience, just turn off all the data settings in DATA. The scenery may be basic, but there are still buildings, roads and such.
That brought my frame rates up from the low 20s to around 50. Thanks! How often do you recommend we run that batch file?
Heya Mike, Shark from Steve's Discord here.
Excellent video. Thank you.
You bet!!!
I will say thank you, the batch file is AWESOME.
Thanks I like your clear explanation and the repeat of explanations so that we don't miss any instructions for people like me, 69 years old flight simmer. What about the temp,%temp% and prefetch. I have not done this yet but I am sure it will work Thanks
Great video the only part i have trouble with is DLSS swapper dose not detect MSFS, but my sim now run smoother after deleting the shaders
GLCache and D3DSCache folders were deleted, so they had to be recreated before the Fenix worked again. Also you will start over having to get rid of the Assistance Options in MSFS. I downloaded the A320 again, but not sure I had to do this. Otherwise got rid of all cache.
Thanks for this but I do have one problem.
I cannot find Rollingcache.CCC anywhere on my system.
Is it because I have the Steam version of MSFS?
If that is the case, where is the rolling cache file located?
AppData/Local/D3DSCache
Try that.
Your Right clearing shader cache will help with the stuttering for sure..
Now i get around 80 to 100 FPS around very busy airports such as LAX, JFK and Other big cities, But i have a ASUS Tuff Gaming RTX 4070 OC card so that makes a difference, but not sure what your using but if you have something equivalent or simmer to mine you should be getting 80 to 100 fps even in a PMDG 737 or Fenix A320 i have a video showing you this..
And your right if you have a 40 series card you don't need to do any of that swapping..
That includes such as 4060 4070 or 4090 cards, if you got a Nvidia 3080 or something like that than you need to do the swapping because it They are NOT a frame generation card it has to be 40-something.
If your into MSFS than you all should get a 40 series card at least 4070 because those cards work awesome with MSFS, how ever i know not every one can afford a good 40 series card they start around $600.00 and go up depending on which one and how much memory the card has the more memory your card has the better, such as the NVidia GeForce RTX 4090 Founders Edition 24GB GDDR6X Geforce RTX 4090 FE Video Graphic Card GPU goes for over $2,000.00 i think it's at 2,699.00 right now, so not every one can fork over that kind of cash for a Graphics card, but you can get a ASUS GeForce RTX 4070 TUF Gaming OC Graphics Card the one i have for $639.99 on B&H Photo right now which is not a bad price i paid a bit more than that when it first came out i think it was $859.00 or something can't be 100% sure exactly but i know it has come down sense they came out with the 4080 and 4090..
Question or two; feed back / comment for AMD users... First, thanks for doing this. The stutters are maddening and exceptionally frustrating.
How often are you clearing Shader & Rolling Cache? Every launch? once a week? When the stutters appear?
Steps for AMD (I am Running an AMD GPU XFX 6600 Speedster & AMD Procressor A9)
1. Clear Rolling Cache (in game or via the folder in the sue directory)
2. Clear Shader Cache (can be done via the AMD shell software Adrenaline)
3. Limit the FPS ( I have set a limit of 55 FPS) for my GPU
Doing these 3 things virtually removed all stutters.
The load in graffics settings within the game seem to have little impact on performance. Shader & rolling cache appear to be this systems achielles heel.
I noted one app that totally cause stutters for me. SKY DOLLY! In particular if I tried to use the formation flight element of Sky Dolly. (about 100% micro stutter every 300 frames) Even if I closed all apps, fresh launch of MSFS, massive stutters.
Then I complete the 3 aforementioned steps...
Buttery smooth, 3-8% micro stutter rate (tops). (At least I have the solution)
This leaves me to ponder... what the heck is going on in the shader & rolling cache that is doing this?
There has been some discussion suggesting that MSFS 2024 is going to be lighter and less burdensome on GPU & system arcitecture. One can only hope!
John Hall
LT, USCG (MSFS enthusisast cause its cheaper the renting a helicopter)
not sure how you have your youtube setup but i wrote something here and it keeps taking it off, what is up with that?
I appreciate your work and dedication to the cause.......but the fact that it's even necessary to create a FIFTY minute video and a custom tool just so that you can run this sim smoothly demonstrates that there is a massive fundamental issue with how this game is built. I'm kinda surprised that Asobo re-used so much FSX code in this came and as such it's so reliant on a single CPU thread. I think that was a big mistake, and it's no surprise people are having issues and that they are re-writing a lot of it for FS2024 (thank God). If I'm being cynical, it seems like FS2020 was simply a proof of concept for Microsoft. I.e. "can we cheaply resurrect an old game and make people buy it and play it before we invest into remaking it entirely". We have all been the guinea pigs here, and we've paid MS for being their Beta testers. MS2024 will be that actual game we needed (at least I hope so!).
Your Right clearing shader cache will help with the stuttering for sure..
Now i get around 80 to 100 FPS around very busy airports s and Other big cities, But i have a ASUS Tuff Gaming RTX 4070 OC card so that makes a difference, but not sure what your using but if you have something equivalent or simmer to mine you should be getting 80 to 100 fps even in a 737 or A320 i have a video showing you this..
4080 and 4090..
Question, do you recommend rolling cache for MSFS? I turned mine off a long time ago because I seemed to keep having problems. Disabling it helped with a lot of it but I am ready to try it again. If I change the default location of the cache file to an M2 drive, I just change the directory in the batch file right?
I can't find the msfs packages cache.
Cheers man.. Just ran the script from my desktop and its recursively deleted a whole bunch of stuff from c:\users\\desktop. The script is poorly formed. If you run it from the wrong place, the 'cd' command fails silently and continues to try and delete everything it finds thats a match from the current location! ARGHHH.
I turned off firewall for msfs, and I did port forwarding with msfs that actually helped with stutters and I do the cache thing too.
You have my attention with this one.. what port did you use? Tcp I'm assuming?
Tcp:3074 @@OverkillSimulationsudp: 88,500,3074,3544,4500. So I set udp from 88 to 4500 then reset your router. It increased my download speeds from msfs from like 200 to 250mbps to 250 to over 300mbps too. And my buildings have stop being melted looking all the time too.
Oh the ports you use are different from msfs store version to the steam version and I misspoke earlier I add the upd ports separately not the whole range
Why the need of disabling the Shade Cache in the NVIDIA settings, what is the benefit of it, what could/is happening when I leave it on? I can delete the shader cache fine without it disabled?
The Files from the WindowsAPPS folder is not accessible only when you keep it at the default directory, if you move MSFS through the WindowsStore app to another directory, you can access them without any need of changing the security permission! After that it also will appear in the DSLLSwapper tool!
This deleted all my downloads and all my desktop applications I had to recreate new shortcuts? Am I doing something wrong
Hi Miles, unfortunately in my haste I ended up doing the same thing. The file deleted many but not all of my desktop icons and folders. Some important documents were deleted. I tried system restore but to no avail. It was purely my error and I cannot put any blame on Overkill. What I failed to do was change the user name from overkill to mine!! I didn't follow instructions which were made very clear. If anyone knows how to recover my lost data, please let me know.
I keep shortcuts to my shader cache folders on my desktop so I don't have to search for them each time I delete them.
I came back to MSFS after a five month break recently and it seems worse than it was when I left when it comes to stuttering. Today I was flying around California and it would be fine for about 30 minutes and then boom massive stuttering, sometimes 5 or ten seconds in VR.
I was using an aging PC and last month bought all new hardware. I went straight to New York City and it still stutters on Ultra. I was super disappointed but if I lower a few settings to high I get 75 fps without DLSS. Same thing happens in any big city with skyscrapers. Doing Bush trips away from cities its smooth as can be with everything maxed out. I was using windows 10 at first with an i5 12600k and every other core showed between 0% and 5% usage. After getting windows 11 it got much better anyways.
@@fugginrambo It used to not be this way. I could fly around NYC with no stuttering at all. I have a 5800X3D, 64 gig of ram and a 4090. I used to get well in excess of 100 FPS. Now I lock my FPS to 60 so my PC doesn't have to work so hard. I NEVER had stuttering issues in regular or VR mode with my new PC but I have noticed the stuttering a lot now. One of Microsoft's updates broke something.
Unfortunately I've found that system ram at or under 5400mhz you get CPU bound if you have sticks that support above it becomes gpu bound. Just wish I could get the full 6000mhz only title that freezes a few minutes in so far.
@@Bellthorian your machine is way better than mine, yeah I'd be pissed there's no reason you should have issues. Let's hope MSFS 2024 fixes this. I have a 12600K, 4060ti 16GB, and 32GB DDR5 6000mhz with frames locked at 75.
I use windows 10 and found the msg command in the script didn't work - meaning the msgs didn't display. Substitute ECHO for msg in the script to be able to display the msgs . Not required to run the rest of the script. Worked for me to display the msgs you will still get to the press any key to continue instruction
Huh..odd.. I'm on windows 10 too
But hey glad you got it
Instead whoami you can just type echo %username% at the command prompt.
You can even use %username% in the script instead of a literal like Overkill to make it universally applicable.
I had a perfectly good sim that worked fine .Then MS updated it and now it's a juddering stuttering mess .
This isn't about settings for me.
It will do this at any airport even if you don't clear all that. Try flying to another close airport and see if you get stutters that way. This seems a waste of time tbh (not hating). My stutters and probably everyone else who's stuttering get them on a flight from A to B not A to A.
I didn't get the prompts, but it did delete the files.
DUH!! Had rolling cache turned off in the sim. All OK now.
Excellent video. When I go to swap 2.4 for 3.5 I get "Please download the DLSS record from the download page. What file and where do I find this? I have the RTX 4070 Dual OC.
You don’t have to “whoami”. Just open windows explorer and in the address bar type”%appdata” and it will open the current users appdata
That's true too... hadn't thought of that lol
I guess I was just trying to look cool 😎 lol
Windows 11 looks different from your example. Configuration is different
Of course it does.. they can't do anything without changing it... I'll see if I can come up with another script
why is your YT deleting my comments?
This was a prior claim from another watcher of channel just make sure to separate your periods from the next sentence. If it highlights with blue text it will either get sent to overkill for review or to youtube folks for a person to review. They are stingy with perceived links to other sites in my experience.
First in whoooo hoooo
hey there?
Thanks for the video, I guess with Beyond ATC if you really want to simulate reality Vatsim is a better alternative. IMO.
I think I fixed 99.8% of my stutters by upgrading from a 2070 Super to an Asus RTX 4070 12GB GPU.
same here, went from 2070 super to 4070 FE. much better performance, particularly with looking around, along with quieter and lower temps.
Same here, upgraded from a 1080 to a 4070 and all is smooth
That’ll do it
Uhm ok. Im the only one with an 4080 16gb and i9 14900k full of stutters🤬🤬
@@pitekairlinesimpilot4907 it don’t matter what you have, msfs2020 will always be a shutter mess VR or flat screen. And when you get it 98% without shutters an update comes out and back to looking for videos like this!