cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

gaijinbuu
Adept I

Shader cache only generates 64KB files?

Hey folks,

Recently got my Sapphire Nitro+ RX 5700 XT and whenever I play Destiny 2 I seem to experience a bug that was fixed back in the April 2018 18.5.1 update: https://www.amd.com/en/support/kb/release-notes/rn-rad-win-18-5-1

The game gets progressively slower and slower to load into events, locations, open inventory, everything. Initially it starts snappy and doesn't take more than 30 seconds to load into anything, after about 30 minutes to an hour the load times start to increase quickly to 5 or more minutes.

Upon looking into this slow down I found a lot of posts on reddit about the Radeon software only generating 64KB cache files. Considering this one https://www.reddit.com/r/Amd/comments/8cty1t/regarding_the_shader_cache_postadrenaline_17121/?utm_me...  was posted just before the 18.5.1 driver update I have to imagine it's the same issue and is now affecting navi cards as this issue was not prevalent on my RX 590 which my buddy uses with no issues.

Is anyone else experiencing this issue with their 5700 series cards? Is this a known issue and is being worked on?

36 Replies
mstfbsrn980
Grandmaster

Re: Shader cache only generates 64KB files?

For solving this problem, either add exe file of game to AMD game profiles and make shader cache feature enabled. Or the registry should be entered as in the picture...
Annotation 2019-10-15 104824.png

gaijinbuu
Adept I

Re: Shader cache only generates 64KB files?

The game has been added as a profile since it was installed as all games normally are. Shader cache has been set to AMD optimized since install as well.

However, checking the registry editor the file you mentioned did not exist. I've added it and we'll see if this fixes the slow loading issue that had to be fixed with a driver update over a year and a half ago.

0 Likes
mstfbsrn980
Grandmaster

Re: Shader cache only generates 64KB files?

Shader cache feature should be enabled. So AMD optimized should not be selected. Registry data (mentioned by picture) makes shader cache enabled for all DX11 games. Enabling shader cache may increase loading time of some games. However, it writes buffer files in the folder "%userprofile%\AppData\Local\AMD\DxCache\" and improves performance if game uses this feature. If you make the necessary changes but game does not create files larger than 64KB for cache, game probably doesn't use this feature.

0 Likes
mstfbsrn980
Grandmaster

Re: Shader cache only generates 64KB files?

Briefly...
Regedit data should be entered.
The game profile should be created as in the picture.
Annotation 2019-10-15 181950.png
And datas should look like the picture.
Annotation 2019-10-15 182033.png

0 Likes
fuski
Journeyman III

Re: Shader cache only generates 64KB files?

I have exact same issue with destiny, 390x here

AMD fix this please =(

0 Likes
gaijinbuu
Adept I

Re: Shader cache only generates 64KB files?

Testing this out today, we'll see if there's any improvements.

0 Likes
pokester
MVP

Re: Shader cache only generates 64KB files?

AMD tends to have several forks of drivers going at all times. You would think the next driver is a newer version of the last driver but that is not always the case and often how they re-introduce bugs in one fork that was fixed in another. So for all of you affected I highly suggest you let AMD support know about the issue. Driver development won't see it here. Support Ticket: https://www.amd.com/en/support/contact-email-form 

gaijinbuu
Adept I

Re: Shader cache only generates 64KB files?

Filled out the form, thanks for the advice and link.

0 Likes
mstfbsrn980
Grandmaster

Re: Shader cache only generates 64KB files?

I think you're right. I just answered the question. New AMD drivers tend to keep shader cache off.
If delete "%UserProfile%\AppData\Local\ATI\" folder and,
enter the registry that ShaderCache_DEF (type REG_SZ and set 2) (If there is ShaderCache registry, it should be deleted) and,
restart the system, shader cache feature will be turned on for all DX11 games.

However, some games do not use display driver's shader cache feature. Some games create their own shader cache file. That is, it will not be enough to send a report to AMD unless the game is specified.

0 Likes