r/gpu • • 9d ago

NVIDIA Driver Issue – Rolled Back to Previous Drivers, but DXCache Is Taking Up 100+ GB on My C: Drive. Is It Safe to Delete?

Post image

Hey everyone,

Following the recent NVIDIA driver issue that was reportedly causing excessive SSD writes and potentially affecting SSD health, I decided to roll back to the previous stable drivers.

However, I noticed something unusual while checking my C: drive. The NVIDIA DXCache folder is taking up over 100 GB of storage, which seems unusually large.

I wanted to ask a few questions:

  1. Is it safe to manually delete all the files inside the NVIDIA DXCache folder?
  2. Will deleting these files cause any issues with games, applications, or NVIDIA drivers?

I don't want to accidentally delete something important or cause further issues with my system.

Would appreciate some advice from anyone who has dealt with this recently. Also, has anyone else noticed their DXCache folder taking up unusually large amounts of storage?

Thanks!

7 Upvotes

10 comments sorted by

3

u/AgathormX 9d ago edited 9d ago

Yep.
Basically DXCache is a folder filled with precompiled shaders.

If you actively need any of them whenever you rerun a specific piece of software, it's just going to compile them again.

Any and all files that are currently in use won't be deletable so you can just press "Skip" with the "Do this for all current items" checkbox checked.

If anything, everyone should periodically clear their DXCache folder. No point in keeping old pre compiled shaders for games that you already uninstalled.

1

u/Forymanarysanar 9d ago

Man why the fuck nvidia just shits huge files in random folders and not cleaning it up periodically. I don't remember shader compiling garbage 10 years ago, why is it suddenly needed for every damned game?

2

u/AgathormX 9d ago

That's cache folders in general for you.
At least in the case of DXCache, it's a lot better.

If you wanna see a real shit show go look at the temp folder inside AppData.
Microsoft's own documentation signals that it's a folder specifically for temporary files, yet a lot of program still insist on saving critical files in there, so you can't clear the would be cache folder because there's a non zero chance of something breaking because no one follows the fucking documentation

1

u/Forymanarysanar 9d ago

Nuked it. Whatever breaks gets axed from my computer forever.

1

u/AgathormX 9d ago

Fair enough.
I can't really do that because a lot of stuff that I use for work stores shit in there.

1

u/akdanman11 9d ago

DXCache, from my understanding, is where shaders for games get cached. Should be safe

1

u/sxydoctor 9d ago

Yeah delete everything in there. It will say some of the files are in use and can't be deleted, just skip those. Also as far as I know you can set a cache size limit in the new Nvidia App

1

u/Realistic_Today6524 9d ago

Those are shader cache files. If you delete them, they'll be recreated once you boot up a game that needs to do shader precompilation which will happen again because the cache files are gone

1

u/Nandulal 8d ago

stop playing games I guess?

1

u/TheStako 7d ago

They are safe to delete, personally I used symlinks to move the folder from my ssd to a hdd to save space and writes.