Kingdom Come: Deliverance

Kingdom Come: Deliverance

230 ratings
Fixing performance issues
By MrForeskin
Some useful tips to solve framedrops, micro-stuttering and other performance problems.
   
Award
Favorite
Favorited
Unfavorite
General tips
  • First, the most significant changes in graphics happens when you change from "minimum" to "medium" settings. Further increase won't lead to major changes in general. So, if your hardware isn't hi-end, medium-high settings should be your best choice.
  • Game should be launched in Full screen mode (not windowed or borderless), don't forget to check this in the settings.
  • If possible, install the game on SSD drive. Should drastically reduce loading times, especially for dialogues.
RAM allocation
Seems that this game really struggles with RAM allocation. If you have 16 GB, use the command
"-heapsize 2097152" in launch options. If you have 8 GB use "-heapsize 1048576". This will allocate ram to be used as a cache for the game. Also, dont set a cache that's bigger than about an 1/8th of your overall ram, it'll likely lower FPS rather than increase it.

For different amounts of RAM:
  • 4 GB -heapsize 524288
  • 6 GB -heapsize 786432
  • 8 GB -heapsize 1048576
  • 12 GB -heapsize 1572864
  • 16 GB -heapsize 2097152
  • 24 GB -heapsize 3145728
  • 32 GB -heapsize 4194304
Optimizing CPU usage
For some reason, the game may not distribute it's operations on the CPU properly. Solving this issue can give us additional performance boost.
  • Launch the game.
  • Press CTRL+SHIFT+ESC to open Task Manager.
  • Go to performance tab and check the CPU usage.
  • If some of the cores are on 100%, then go to Details tab and right click on KingdomCome.exe. Choose "set affinity" and untick the cores that's 100%. Click "ok". After this, click "set affinity" again and turn on all the cores back.
Video showing these steps.[www.twitch.tv]
Also, the good old guide about affinity changing.[www.techrepublic.com]

These actions should optimize the CPU usage and increase the FPS. Note that after you close the game, all changes will be lost and you'll need to do these actions again after next lauch.
Disabling V-sync
Should be added in the game options menu so this tip most likely not needed anymore.

Should fix the micro-stutter, freezes and frame drops.
  • 1. Go to your steam library install directory
    (e.g. C:\Program Files (x86)\Steam\steamapps\common\KingdomComeDeliverance)
  • 2. Create a new user.txt document in this folder
  • 3. Write r_VSync = 0
  • 3a. Also you can add a line sys_MaxFPS = 60 *60 is amount of max FPS. You can choose 120 or 144 for higher rate monitors or any different values. This should help with screen tearing since we have disabled V-sync. Try different values to achieve optimum picture for your setup. (*)
  • 4. Save the changes, close the file. Rename user.txt to user.cfg


    (*) Also you can test different maxFPS values faster by typing the sys_MaxFPS ## (## is 60 or other FPS value) in the in-game console. You can open the console pressing the "~" button on keyboard. But keep in mind, when you close the game, all changes you made will be lost. Don't forget to set maxFPS in user.cfg file after you find optimum value.

Thanks for useful info
Thanks a lot for this useful information to:
57 Comments
ByteStormX1 1 May, 2024 @ 7:37pm 
Thank you!! I'm trying to optimize my settings to get better FPS in Fallout 76
Collin Lefty 19 Nov, 2023 @ 3:50pm 
@Sensual Cucumber I know this is incredibly late, but the reason is because this game doesn't like GSYNC. I turned it off when playing this and the issue was gone. I hope this helps someone out.
Sensual Cucumber 16 Apr, 2023 @ 3:52am 
I top out 120fps more or less everywhere except cutscenes, which run at 4fps (3.8fps exactly, every time, regardless of the weather, environment, indoors or outdoors etc.)

I play the game with all settings maxed out. How is it that cutscenes, still rendered in the game engine, are the only thing lag so abhorrently? These fixes don't seem to be relevant.
skiF 6 Jan, 2022 @ 1:08pm 
useless
Morte 26 Feb, 2018 @ 2:18am 
You are better off setting core affinity in a user.cfg using console commands in the game. And as has already been mentioned the heapsize launch option only worked on the beta and does nothing now.
Lex 24 Feb, 2018 @ 7:23am 
cpu usage helps avoiding the fps dips you turd
Keksimus 20 Feb, 2018 @ 2:24am 
heapsize - complete bullshit, nothing changes from this
Optimizing CPU usage - similarly, nothing changes from this
General Inaptitude 19 Feb, 2018 @ 3:35pm 
Despite my changing my upvote to a downvote, unfortunately this guide has 5 stars. Only the vsync advice seems to hold, so that means 66% of the guide is Cargo Cult.
Variadee 19 Feb, 2018 @ 3:22pm 
After I did all these, all of the vegetation at night randomly flashes in and out. Like they're trying to render, but then disappear over and over
Meat Shield 19 Feb, 2018 @ 7:23am 
Helped me too aswell! just the ram allocation launch command added another 10 fps!