Cities: Skylines II – Run the Game on Linux Using Proton [Fedora]

This guide shows how to get the game running and get more Swap space using xrar on Fedora Workstation 38 and some tips and tricks to be able to play the game with better performances (or at all).

System Specs

Proton Version and Steam Arguments I Use

These are the Proton versions I tested:

GE-Proton-8.21, Proton 8.0-4 and Proton Experimental.

The one I ended up using is Proton 8.0-4

These are the args i use to run City Skylines II:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia gamemoderun %command% -preload +fps_max 144

Note that __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia only applies to Nvidia GPU if not customized. You can also change +fps_max 144 to suit your monitor’s max refresh rate

Get More Swap Space

First check if zram-generator-defaults is installed or install it by running:

sudo dnf in zram-generator-defaults

Then edit /etc/systemd/zram-generator.conf to change how much Swap space you want with for
For exemple :

sudo nano /etc/systemd/zram-generator.conf

You need to add in the file:

[zram0]
zram-size =

After the “= ” You can add with how much swap space you want relative to how much ram you have. Example:

[zram0]
zram-size = ram

Here are different option if you want more/less swap:

  • You can add: (without<>) to set your swap to half of you ram
  • You can add: (without<>) to make your swap the same size as the amout of RAM
  • Available
  • [Not tested] I think you can add: (without<>) to make it double the installed RAM

Reboot your computer and, Voilà!

You can go check in system monitor for the amount of Swap Available:

Volodymyr Azimoff
About Volodymyr Azimoff 13514 Articles
I love games and I live games. Video games are my passion, my hobby and my job. My experience with games started back in 1994 with the Metal Mutant game on ZX Spectrum computer. And since then, I’ve been playing on anything from consoles, to mobile devices. My first official job in the game industry started back in 2005, and I'm still doing what I love to do.

Be the first to comment

Leave a Reply

Your email address will not be published.


*