Jump to content

Speed up KSP2 with this one weird trick (enabling graphics jobs)


foonix

Recommended Posts

What's the trick?

  • Open the the game installation folder
  • go to the KSP2_x64_Data folder
  • Open boot.config with Notepad (or other plain text editor)
  • Add the following settings to the existing ones:
gfx-enable-gfx-jobs=1
gfx-enable-native-gfx-jobs=1
  •  Save and restart ksp2

What difference does it make?
Here's the difference it makes to the camera rending with a "minimal" test with 36 parts in Kerbin orbit on my computer.  The difference increases as part count increases.
(300 frames, blue/left is without the settings, orange/right is with the settings)

uvpfZll.png

There is a slight additional bump in performance, because Unity can start the next frame loop while the graphics thread is still working on the previous frame.  On my machine, this is about another 0.7ms.
Total FPS went from about 38.19 (median over 300 frames) to 40.98.  Not huge, but something.  The difference scales up with part count and in more complicated situations like on the launch pad.  So the above test can be thought of a minimal increase.

Here is 200 parts on the launch pad:
(300 frames, blue/left is without the settings, orange/right is with the settings)
yhWu7Lh.png

So saves about 3.7ms off for a larger vessels. A minimum of -2.84ms in this test. Not bad.

Edited by foonix
clarifications
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...