Forum Discussion

Re: Cache folder stuttering

Hey everyone,

In Update 1.1 (which went out on Wednesday) we made changes to Shader Caching which should result in a performance improvement. For this to work it does mean ensuring that you provide full read/write access to your Documents\Battlefield 2042\cache folder, and that you don't delete it.

 

You might notice that the first load and playthrough of a level where the cache is being populated might still have some stuttering (hence the request not to delete the folder). However, any plays after that should feel much smoother.

 

As a side note, if your Documents folder is automatically syncing with OneDrive then it can also cause an impact to performance.

 

Lastly, curious to hear how overall performance is for you after the Update. Please do let us know if you have any further thoughts or feedback!

 

22 Replies

  • kamaleont_007's avatar
    kamaleont_007
    4 years ago
    this update fixed the stuttering issue. I don't have to clear the cache anymore. In any case, you still have to improve but you are on the right path
  • techb00mer's avatar
    techb00mer
    4 years ago

    @Straatford87 wrote:

    provide full read/write access to your Documents\Battlefield 2042\cache folder

    As a side note, if your Documents folder is automatically syncing with OneDrive then it can also cause an impact to performance.

     

     


    Can we pretty pretty pretty please not do this :-(

    Protected folders (ie Documents) should be treated with care. Storing cache data and also allowing applications full write access to those folders goes against some pretty basic security fundamentals. Windows by default synchronises this folder, and protects its access these days so it would be awesome to not have to do this.
    Can we pretty please with sugar on top move cache data away from Documents and into AppData or similar <3

    If anything, not having OneDrive sync all those files would be a good start:
    Cache being saved to documents, which gets synced by Onedrive - Answer HQ (ea.com)

  • swabbij's avatar
    swabbij
    3 years ago

    *************************************************************

    [Found two problems that I will mention at the end]

    *************************************************************

    [I don't have Onedrive and its folder after the uninstall is empty, so not saving or copying stuff in there]

    *************************************************************

    Today, 14 August, with 5900x + RTX 3070 Ti + 360hz G-SYNC Monitor still micro-stuttering all the time -> this thing happens only in BF2042.

    A thing to mention is that in the folder C:\Users\myName\Documents\Battlefield 2042\cache

    the game continuosly saves files in there and I don't know if this is normal.

    I am playing from a week now and if I play Zero Hour Breakthrough all day long with only 2 maps -> the game still save cache files in that folder.

    *************************************************************

    [In Game][note 1]

    The SSD constantly Reading around 30MB/s, arriving sometimes up to 350MB/s

    and

    Writing is usually low, can be 2 or 3MB/s or zero.

    *************************************************************

    BTW I found 2 problems,

    - one with Nvidia Driver Settings

    - one with a Windows Setting.

    .Nvidia Setting Problem:

    If I set in the nvidia control panel the "Shader Cache Size" = Unlimited, the SSD Reading and Writing will be higher by a lot,

    so now, after I set it back to "Driver Default" the SSD r&w are like before mentioned in [note 1].

    .Windows 11 Problem:

    This problem happens only with this game and it is the following one:

    If I turn off, as I usually do on all my PCs, the Sleep Mode -> File Paging will go crazy when you play this game and it will never go back to 3000mb

    but still remaining to 8/9k of file paging.

    When you turn on again the Sleep Mode -> with normal use of the PC you will have 3000mb as suggested by the OS, in game it will be higher BUT now after you turn the game off it will go back to 3000mb as it should be/ suggested by the OS.

    *************************************************************

    I have also unchecked in Indexing Options the Documens Folder to avoid that costantly these new files created in cache folder can slow the performances....

    *************************************************************

  • swabbij's avatar
    swabbij
    3 years ago

    Nothing to do, still stuttering all the time with 5900x and rtx 3070 ti... going on COD or BFV...

    Clean cache, clean origin cache, reinstall the game, win11 clean install... nothing work, it's the game... now way...

  • sHA4N's avatar
    sHA4N
    Rising Adventurer
    3 years ago

    It's pity even after update 2.0, stuttering persist.I have to delete files n cache folder each time to play otherwise there is 1,2,3 secs stutter.

  • @swabbij What is your operating system installed on? then your 2042 copy?

    hdd/ssd with or perhaps without dram cache / nvme / external drive?
  • swabbij's avatar
    swabbij
    3 years ago

    I have:

    - Windows 11

    - Had bf2042 preorder, then refundend, then bought for 40$ with a code, then re-bought the 60$ ultimate version -> so I have a base 40$ version with code + on it  I bought the ultimate

    - I have 1 ssd nvme with 1 TB, Kingston KC2500 one of the fastest, mid/high fastest of the market, no partition

    - Switched from 16gb of ram to 32gb and now is reall really better, but still in the DX cache folder I see files wrote in there continuosly... when I have already played all the maps like months now...

  • It caches/writes there during every session I play, total size is already over 1,1Gb, largest file now 54MB but no stutter due to these writes... Patch 2,00 is a big step forward again, too bad 64 player conquest Exposure is a goner...

  • Why do you insist saving in the documents folder when that is not the recommended method? Is saving to the AppData folder a major change? 

  • Couscous78150's avatar
    Couscous78150
    3 years ago
    @segundovolante I still don't understand why they don't care about it. For people who have a poor Internet connection or a low quota on Onedrive, it's a mess. Deactivating the sync delete the files from our computer but let them onto cloud
  • Rokebo73's avatar
    Rokebo73
    Seasoned Ace
    3 years ago
    @Couscous78150 you could exclude specific folders from one drive cloud upload/download.
    Or even end/stop onedrive before you start a game !
  • @Rokebo73In fact, no, if you exclude directories from "Documents" folder to be synchronized, they're removed from the directory locally (you've got a warning below the folder list into the OneDrive choose directory GUI), only a copy remains onto the cloud. If you recreate manually the folder into the "Documents" folder, it's automatically removed by OneDrive daemon.

    The only solution is to stop the synchro, play, remove the cache directory, restart the synchro. It's clearly not user friendly, and requesting users to find a workaround to what is clearly an error from Dice appears weird to me.

    Microsoft guideline is ==> Application data into %APPDATA% not in "Documents"

  • @Rokebo73 And by the way, funny to see that XP to your response has been provided by EA community manager... He should spent more time to provide these feedbacks to DICE team, instead of scoring workarounds
  • EA_Leeuw's avatar
    EA_Leeuw
    Icon for Community Manager rankCommunity Manager
    3 years ago

    Hi @Couscous78150,

    From our FAQ page page:

    "Answers HQ (AHQ) is more than a support forum — it's a global community focused on players helping players."

    Please keep it on-topic.

    Thanks.

  • Rokebo73's avatar
    Rokebo73
    Seasoned Ace
    3 years ago
    @Couscous78150 yes i can understand how you think about this, respect for it.
    BUT ! if i clean my %APPDATA% at regular base, then my bf2042 cache files will be deleted, Then everytime i start game and run a map it need to redownload this cache AGAIN. <-- that is if ya run a onedrive and feeling.

    what ya could do is exclude ONEDRIVE from boot with windows, and start one drive manually.
    With this cleanboot: https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd you can decide what will boot with windows at the same time ! Its clean boot (doenst have to be that clean , if ya only want to disable 1 or more processes from booting).
  • S1n31ra's avatar
    S1n31ra
    3 years ago

    Please move it to %APPDATA% where it belongs.
    Onedrive is causing stutter because of the syncing of this folder.

  • EA_Leeuw's avatar
    EA_Leeuw
    Icon for Community Manager rankCommunity Manager
    3 years ago
    Hey @S1n31ra,

    If you are experiencing issues with OneDrive constantly syncing this folder, it is maybe a good thing to exclude the folder from the backups.
  • Sadly since the cache folder is in the Documents folder, if you exclude the folder in OneDrive it will be deleted forcing the settings and other things to reset. It's not really viable. EA should move the cache to programdata or appdata which is where 99% of other games store their shader cache.

  • Yoooooooo i foun out that turning windows fast start back on fixet the problem with textures on gadgets and sidearms. Guys please tell me that you have this still off, i mean windows fst start.

About Battlefield 2042 Technical Issues & Bugs

Having issues with Battlefield 2042? Join here to report bugs, and find help with, crashes, connectivity and more.13,073 PostsLatest Activity: 6 months ago