XCOM 2
Performance fixes
This game is great but it runs terribly! I have a gtx 970 with an i7 5820k, and 16gb of ram but it slows down constantly. It's the only thing I'm running. Is there a fix?
< >
Showing 1-11 of 11 comments
Star¤Dagger Jul 1, 2017 @ 5:04pm 
I just tweaked ini settings and it helped. You have to have an SSD to (halfway?) properly run this, the load times are criminal.

google x-com 2 ini tweaks, its the one that makes you edit your xcomengine.ini and make sure you put the physical cores not the hyperthreads.

Good luck!
The Blind Bandit Jul 1, 2017 @ 10:00pm 
Originally posted by Star¤Dagger:
I just tweaked ini settings and it helped. You have to have an SSD to (halfway?) properly run this, the load times are criminal.

google x-com 2 ini tweaks, its the one that makes you edit your xcomengine.ini and make sure you put the physical cores not the hyperthreads.

Good luck!

Will try. Thanks!
kbmodigity Jul 1, 2017 @ 10:13pm 
You can also try and make sure you dont have alot of background programs running.
SeriousCCIE Jul 2, 2017 @ 2:08pm 
When does it slow down? in game? loading? mission completion?

Putting it on an SSD greatly speeds things up due to it getting everything into the ram of your system and video card that much faster.

If you customize your swap file configuration (size and placement), I suggest putting it on your fastest storage volume (or disk drive) you have, even if people say WHAT SWAP FILE EEW SATAN or whatever people say when they eschew wisdom for reddit posts.

Instead, follow my great advice here on steam. Anyway, if you have more than one volume, windows will check and see what one is the 'least busy' at the time of writing. That means, if the game is totally beating one disk senseless, windows will try to write to something else for the swap file -- provided you've configured something else to write to.

In my system, I have my swap file split onto a few different volumes, and they are not large -- 512mb on the slowest volume and 1024 on the faster ones. It is not so much that I need huge amounts of swap/virtual memory, it's that windows will use it and if you don't tweak it, it will use it poorly.

I have 64 GB of ram and windows still uses the swap files, often writing to three of them concurrently as it swaps from disk to ram to video ram for games that are switching textures in and out. When I only had the swap file on my C drive, it was much slower to load levels. Games are starting to take more than 4GB of video RAM, and dynamic ram is what it uses to exceed that barrier if you dont have a video card with more than 4GB of ram (or 2GB or any value not good enough)-- it uses system memory if it can. And if it can't... it uses the swap file.

Or it will swap what is in ram to the file and replace what's in ram with textures from disk to use as dynamic video ram, which means windows is writing to disk at the same time it is reading from disk.

The player in the meantime, as all this is happening, is watching bored looking soldiers stare at each other in the Avenger. You can stop the amount of personal bonding time by optimizing how your storage works, and it'll help I am sure! If you have more than one disk, anyway.

If all you have is a single traditional non-ssd drive... big or small, fast or slow, try sticking a USB storage stick/key in the computer and enabing readyboost on it (it does help the system overall if that's all you can do). Don't put a swap file there, but let readyboost kick in. It will make a 'map' (of the file allocation table--where all the files are) so that it can immediately look up where things are without having to search the disk for it, allowing reading and writing to that disk to take place much more quickly due to having already located where to go to get the info, as opposed to having to find it each time. It's like a cache that doesn't go away after a reboot.

sorry for the long post. I've tweaked my system and these things all affected me and I had to play around to get things ideal.




The Blind Bandit Jul 4, 2017 @ 7:27am 
Moving it to an SSD helped a lot. There are still the occasional slow downs but nothing too major. Is there a reason this runs sorta poorly?
SeriousCCIE Jul 4, 2017 @ 8:54am 
Yes -- It loads a whole lot into memory, and the textures are detailed--which it also loads into memory and then into your video card memory. If your video card does not have enough memory, the video card driver (for most brands of cards, like intel, amd, and nvidia) will, if the card is new as of windows 7's release (give or take a year or two) try to use dynamic vram for video memory.

That is like the windows swap file for RAM -- except it's for video card memory.

What it does is it won't tell you your card can't use the settings you picked -- it'll still be able to run, but it'll run out of video card RAM, and then dedicate part of your system ram to be that 'dynamic' video ram, to use as needed.

Depending on your PC, that may case windows to use the RAM swap file -- to swap whatever else is in RAM to disk, depending on how much RAM you have available. The dynamic ram for the video card can even end up written to the swap file on disk.

That is just a part of it... but a lot of it has to do with:

Loading graphics/textures -- the higher the resolution, the more video ram (and perhaps system ram) that will consume, and the files are loaded off your SSD/ hard drive to get it into the video card and system ram. Remember, it has to load it to work with it. Turning features on in the video card settings means longer load times if it has to pull a lot of stuff from the disk to actually do as you configured it to do.

All the stats of your soliders get loaded, if they are hurt, what they are using, and of course.. the stuff they are wearing. If you make everyone look similar and drop the texture detail down, it'll load faster just because there is that much less to load and its a common outfit with shared textures between the soldiers.

What I had done to speed things up was split my windows swap file up between a few different SSDs I have, and play with the graphic configuration to get to a point that I was happy enough with the settings. I am not so worried about long load times.. I remember using a commodore 64 and its floppy drive, and it seems that games that take a long time to load are usually the games worth playing--it was true then and it's true now (of course, there are exceptions, but you get the idea).

Once upon a time, I loaded doom onto a ramdisk and shared that as a network drive across my home network for lan party purposes, and had PCs mount that ram disk and load that over the network -- and it was faster than accessing local storage. Sometimes it pays off to be creative with how the PC is set up.
Critical Mass Jul 4, 2017 @ 6:51pm 
Can I have the SSD solution once more in steps a complete noob can follow?
kbmodigity Jul 4, 2017 @ 10:29pm 
Originally posted by Critical Mass:
Can I have the SSD solution once more in steps a complete noob can follow?

He is basically saying that you can increase your swap/paging/virtual memory file. With a SSD it can increase performance as a SSD is basically a realy big flash drive that has great input and output performance. He is saying to increase the size of this file so that if your ram gets taxed it will turn parts of empty space on your hard drive into virtual memory.

By standard you want 1.5x as a minimum of virtual ram set compared to the installed ram in a machine. The maximum should be set to 3x. This is only the normal that all techs are taught but you can change as you feel appropriate. Basically so if you have 8 GB of ram you want 12 GB min and 24 max for your virtual memory.

You asked how you change this, at least I think thats what you asked. Heres how for Windows 10 at least:

Click your little windows symbol in the bottom left and type control panel

Hit Enter

Change the view in the upper right to Large Icons

Click on system

Click on Advanced System Settings on the left

On the first window where it says Visual settings, processor scheduling, memory usage, virtual memory, click the "Settings" button below.

In the window that pops up go to the "Advanced" tab

In the window named "virtual memory" click change

Then highlight the drive you want to change the page file for and hit custom size and put in whatever you want.

After your done hit apply and OK. You should then reboot your system.

Remember it is asking you in MB and not GB so do the math and if your thinking GB you may have to add a few zeros.



On a side note, SSD's have come a long way from when they first came out. They suffered from horrible lifespan issues due to them not being able to be rewritten to on the same sectors multiple times. Back in the day I have seen them die as quick as 3 months from purchase.

They are getting alot more reliable in that field but by massively increasing the page file size which the drive is rewitten too on a massive level it could cause for a lesser lifespan of the drive.

just a heads up.
Last edited by kbmodigity; Jul 5, 2017 @ 1:21pm
Kurnn Jul 4, 2017 @ 11:34pm 
A SSD on your C: is amazing for all kinds of things.

Just do it.
Talon Rose Jul 12, 2017 @ 9:15am 
*exact* same setup as OP, Windows 10 64 bit. Vanilla X2, no mods, no .ini tweaks.
Runs fine for me. Only experience a small hitch when main menu loads and loading\unloading missions which is a problem for everyone.
Besides that, works fine.
Might be too much OS clutter slowing things down. Running an antivirus in the background eats a lot of RAM \Cpu cycles, especially if it wants to do a random scan of your system at the same time.
76561198034396398 Jul 12, 2017 @ 9:45am 
https://www.rockpapershotgun.com/2016/02/11/xcom-2-performance-fix/ also enable framerate smoothing,i still get drops of 50 FPS but it does make a difference
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 1, 2017 @ 3:14pm
Posts: 11