Cities: Skylines

Cities: Skylines

View Stats:
flo Feb 27, 2019 @ 12:25pm
Out of Memory on Linux Mint 19.1
Hello there,

I've got a freshly installed Linux Mint 19.1 on my Laptop, Got Steam up and running and installed the game. At first, everything seems fine, but when i try to start a game, somewhere between 50 and 75% of the progress bar on the loading screen (depending on the settings etc.) the game runs out of memory. I already found out that much via htop. With activated swap partition, the game effectively freezes the whole device, without that it's just getting killed some time after it freezes.

I already disabled all Mods and Workshop content, no use. Except it crashes at 75% instead of 50.
I've even disabled all DLCs - that helps at least a little. The game loads if i use a very low resolution (the other graphics settings are on low anyway), but then uses 7 of 8 gigs of RAM. If I choose FullHD resolution, the problem appears again.

Even a complete reinstallation of the game (deleting the related files included) after unsubscribing any Mods/Workshop Content didn't help.

Hardware:
Dell Vostro 3559 (integrated Intel hd Graphics 520)
Intel i5-6200U @ 2.3 GHz
8GB RAM

Software
LinuxMint 19.1 with CInnamon

The game ran totally fine (except for a low framerate) with Windows 10 on the same Machine just a few days ago. Same with a Xubuntu several months ago.
Last edited by flo; Feb 27, 2019 @ 12:38pm
< >
Showing 1-3 of 3 comments
leftbehind Feb 27, 2019 @ 12:50pm 
Install/activate the Loading Screen Mod - that will save a bunch of RAM and reduce texture duplication.

You could try Zram (I think that's what its called) if you run out of RAM.

Make sure game is using proper graphics card (I doubt it will work on an intel integrated gpu as they are not powerful enough). You could try -force-d3d9 param in launch options to see if that helps.
CyberVibes Feb 27, 2019 @ 1:09pm 
Your machine just about meets the system requirements for the game and all of the points you mention are classic to a machine not having enough resources, with that said you still should be able to run the game considering that you have disabled all the DLC's mods and assets, maybe something in the configs of the new install is using up ram or maybe you need to make the swap partition larger to compensate.

Win 10 would use the pagefile without you setting it so that's probably why it ran ok on there.
flo Feb 27, 2019 @ 1:38pm 
i simply disabled the swapfile as a test - the system freezed just when it actually would start to use the swap file. But I think I know what happened now. I installed the OS and told the installer to encrypt my home folder. Something I usually do on laptops, but apparently didnt do back then when i used xubuntu on this machine, since the option was not longer present in the xubuntu installer and i was just too lazy to set it up manually. And I never dared to use the Laptop that I had before for gaming ;)

The System uses cryptswap, probably because the home folder is encrypted too. Makes sense, if your laptop gets stolen you wouldn't want the bad guy to just extract your top-secret file from your swap rather than from an encrypted partition ;)

I actually stumbled across this when trying out zswap. Which by the way actually helped. Much Appreciated :)

I think I'm just going to decrypt that whole stuff anyway. At least as long as this machine is used for gaming (this is not my primary pc).
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Feb 27, 2019 @ 12:25pm
Posts: 3