Cyberpunk 2077

AS I'M STILL IN A STAGE OF FINDING THE RIGHT BALANCE OF PERFORMANCE, THIS ARTICLE WILL KEEP UPDATING. SO BE SURE TO KEEP UP. IF REQUIRED, DO LET ME KNOW IF YOU ARE INTERESTED IN MAKING A MOD OF THESE SETTINGS.

You can find a mod based of these settings here: General Optimization
TURN SLOW MODE ON! IT'S A LIFE SAVER! FORGET ABOUT THOSE UGLY LOOKING CARS!

In my case, R5 3500 has 6 cores (or threads); following settings have been helping me to reduce CPU bottleneck:

Accordingly (6 cores) I have set

StreamMaxLoadingThreads = 1

i.e., Slot 1 thread allocated for loading assets and then reduced the following threads:

FloodMinNonLoadingThreads = 5 (which does something not related to streaming threads) Leaving only 1 thread for this. If you have 12 threads (example), you can set this to 11.

I boosted the limit of assets load up by

MaxNodesPerFrame = 500

But don’t boost max nodes too high! It tends make you GPU bound! You will start seeing GPU being used at 100%

Reduced the MaxStreamingDistance to 10000 which used to be little over 24000

Reduced MinStreamingDistance = 0.01000, used to be 1.

added DisableLOD = false under [Traffic]. Hopefully distant vehicles are spawned at lower LOD. 

added SingleThread = true under [CrowdMovement] which should possibly reduce the number of threads utilized by crowd AI to 1. 

settings under [Rendering/MeshLoading] helped a lot! Thanks to Stuttering improvements at Cyberpunk 2077

ForceSyncMeshLoading = true ensured meshes in close proximity are at highest LOD. This gives hiccups in traffic. 

If you are planning to use RT features. Then you can disable the rasterize features like SSAO, SSR by following. These are optional settings:

[Developer/FeatureToggles]
SSAO = false
ScreenSpaceReflection = false

[Rendering/AsyncCompute]
SSAO = false

Article information

Added on

Edited on

Written by

romelsalwi

29 comments

  1. nightfrizen
    nightfrizen
    • supporter
    • 1 kudos
    would this mod make the game use all of my cpu cores/threads?  i have an i9-13900HX laptop and it appears to only be using about half the cpu. msi afterburner shows some cores are being used alot like 50%-70% where the others are showing 0%-10%. Or is it normal for it to be like this?
    1. ddehar93
      ddehar93
      • member
      • 0 kudos
      no longer needed, fyi; CDPR released something that turns on all of your cores bwaiiii
  2. Veniel1
    Veniel1
    • supporter
    • 0 kudos
    Seems that evry time i type the code in i get this error 

    sol: syntax error: [string "FloodMinNjavascript-event-stripped 11"]:1: '=' expected near '-'

    I have a I5-12400F that has 12 threads

    Right?
    1. tnt1984
      tnt1984
      • member
      • 0 kudos
      yes the i5-12400F has 12 Threads and 6 cores, but the modder means "cores" when he is talking about threads.
      you can read it at the beginning of the text "In my case, R5 3500 has 6 cores (or threads);"

      so you have to change from 6 to 5 instead of 12 to 11 to get it working.
  3. NolseFTW
    NolseFTW
    • member
    • 4 kudos
    Stop modifying values you don't have any idea what they do, at least in the long term.

    More importantly, this : "
    If you are planning to use RT features. Then you can disable the rasterize features like SSAO, SSR by following:"

    Is COMPLETLY wrong : This game still uses SSR with RTX on ... And pretty sure it's the same for SSAO.
    It's a combination of all those

    Just check google
    1. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      these are optional settings. I never said to disable SSR all together. It's users call!
    2. Magicaldonut1
      Magicaldonut1
      • member
      • 1 kudos
      Thanks I was wondering about this too, looks like my doubts are confirmed. Will not be using then
  4. bratbatman
    bratbatman
    • member
    • 0 kudos
    Wow you can take the time to type all that out but its too much to include a couple of lines unambigous instructions on where the find the file to edit?

    Just the name of the file/s and path would have taken all of what 10 secs?
    1. ehauspie
      ehauspie
      • member
      • 1 kudos
      Yup, I have no idea what to do with this text 
  5. TotalXPvideos
    TotalXPvideos
    • supporter
    • 0 kudos
    Where do I look to edit these settings? or do I add them manually to your .ini? (running an i7 5820k at 4.5Ghz)

    EDIT: I'm blind, tell you the results in a bit.

    EDIT2: Ok, so after playing for a bit I can definitely tell the CPU usage has been brought down by quite a margin, while it originally would use ~115% usage (overclocked cpu) it now uses like 85% with a peak at 95% (this is WHILE I'm sharing vs the 115% usage with only the game open), performance is equal or only slightly worse (can't tell you with 100% certainty, due to sharing)
    1. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      You can reduce the load further by dropping the maxnodesperframe value to 300. That’s the default value.
    2. TotalXPvideos
      TotalXPvideos
      • supporter
      • 0 kudos
      I will give it a spin, also added the RT lines now and your new version.

      Do you have any idea btw why getting called just DESTROYS framerates? Just doesn't make sense to me.

      EDIT: ok, seems to be a lot better, before there was suddenly nearly no difference in fps between RT and no-RT when using this mod (atleast, for me) now that's mostly fixed (not in the areas like chinatown/little china, but that's on the devs, exact same framerate with or without RT) and overall the fps just seems higher, don't know if it's because I added those RT lines or decreased the maxnodesperframe or updated your ini file, but happy none the less, it also fixed the "grainy looking textures" on my car, which is, if I have to take an educated guess, SSAO. (besides framerate, this one was important as I find it highly distracting, like it's constantly rasterizing detail away from my car to save performance but it's not worth the look)

      P.S: You're doing the god's work, keep it up!
    3. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      Grainy looking textures... are you talking about the car paint shader?
    4. TotalXPvideos
      TotalXPvideos
      • supporter
      • 0 kudos
      I think the effect looked like something you would see in a game "loading in" textures pixel by pixel, if that makes any sense, like, it looked like a grid of pixels with pixels missing in between pixels (1010101010) (wish I took a picture when it was happening before, it definitely wasn't the car paint shader)

      EDIT: I think it had to do with Ray Tracing being wonky at that moment, it kinda looked like https://ceciliavision.github.io/graphics/a3/images/part5_3.png at s=4 or s=16 but only localised on the sides/corners of my chrome car. (sorry for the undetailed information, I'm part of the IT branche but ray tracing and it's inner workings are not my forte)
    5. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      oh you mean bunch of grainy noise just moving around here and there? That's cause the noise isn't denoised by NRD.



      A more extreme example:


      Try these settings:

      [RayTracing/NRD]
      DiffuseMaxAdaptiveRadiusScale = 20.000000
      DiffuseDenoisingRadius = 120.000000
    6. NolseFTW
      NolseFTW
      • member
      • 4 kudos
      The game still uses SSR when RT is on ... just check google, not all effects are done with RT, some are SSR only.
      Pretty sure it's the same for SSAO

      Stop saying dumb things about ini settings you don't even know what they do, or how they really function. And only CDPR knows that..
      I mean the game is just out, if you had modder tools to check everything you say, would be okey, but here....

      PS : You can't do anything about this grainy effect, it's a side effect of SSR (and RT), because they are basically not 100% precise, so it will make this grainy/dithering effect. You can only set SSR to psycho and RT to ultra to try to have less grainy effect, but there is no magic setting about that...
    7. TotalXPvideos
      TotalXPvideos
      • supporter
      • 0 kudos
      That's all fine and dandy NoiseFTW, but it is a fact that when I updated the mod it was gone, so something WAS off.
    8. d0x360
      d0x360
      • premium
      • 1 kudos
      "like it's constantly rasterizing detail away from my car to save performance"

      Good God...can we please understand what something means before we comment on it?  Rasterizing detail away from your car?  That doesn't make sense lol.
    9. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      He shared an image which gave me a good idea of what kind of noise he was talking about. Besides what’s your deal? Your not helping anyway. 
  6. d0x360
    d0x360
    • premium
    • 1 kudos
    When using RT features you shouldn't disable screen space reflections or ssao.  The game only use screen space reflections on the ocean so it won't effect performance because it uses less resources than rt reflections which aren't applied to the ocean.

    You also shouldn't disable ssao because RT ssao is only enabled when you have RT shadows on AND RT GI set to it's max and nobody is playing that way because performance would be horrible even on a 3090 at 1080p with DLSS on performance.

    I think you are making some assumptions about settings that are incorrect.  I base that off this article, the mods you have posted and your comments.

    Also gpu use at 90-100% is exactly what you want.  It means your getting the most performance your gpu can offer.
    1. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      You don’t know what you are talking about. I got 2070 Super and with the settings I’m doing great. 

      I use all RT features and just for reassurance I have disabled the raster effects. The engine does it itself. 

      I don’t want GPU bound situation as I want resources for RT too. You never know when they kick in.

      if I’m incorrect then make point. 
  7. cooljaguar
    cooljaguar
    • member
    • 0 kudos
    Are the "threads" settings referring to CPU threads or just cores? e.g. I have a 3600, so I have 6 cores and 12 threads, should I be doubling the number of threads for each "threads" setting from this config?
    1. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      Yes threads. in your case:
      StreamMaxLoadingThreads = 1
      FloodMinNonLoadingThreads = 11
    2. cooljaguar
      cooljaguar
      • member
      • 0 kudos
      Got it, thanks!
  8. Rev0l2ti0n
    Rev0l2ti0n
    • premium
    • 2 kudos
    Why did you set MinStreamingDistance = 0.01000? Wouldn't that cause streaming to start closer to the player and therefore be more likely to cause issues? It feels like leaving it at default value of 1.00000 is better ingame, but haven't pulled stats.
    1. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      Few of the textures (mostly decals I saw) don't load up and models in close proximity load up at lower LOD. It didn't cause any issues neither it solved any.
  9. mikeut2k3
    mikeut2k3
    • member
    • 1 kudos
    ForceSyncMeshLoading = true ensured meshes in close proximity are at highest LOD. This gives hiccups in traffic.

    Are you using this as true or fasle? I noticed you did not have it in the code on the bottom.
    1. TotalXPvideos
      TotalXPvideos
      • supporter
      • 0 kudos
      Since it gives hiccups, he/she didn't add it, atleast that's how I understand it.
    2. romelsalwi
      romelsalwi
      • premium
      • 26 kudos
      I was using it, but I started experiencing stutters/hiccups. So I removed it. But I kept this info in the article as knowledge.