Hoe steden te besturen: Skylines II op Linux met Proton

Deze gids laat zien hoe je het spel aan de praat krijgt en meer swapruimte krijgt met behulp van xrar op Fedora Workstation 38 en enkele tips en trucs om het spel met betere prestaties te kunnen spelen (of helemaal niet).

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
    Bijvoorbeeld :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. Voorbeeld:[zram0]
    zram-size = ram

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

    • Je kan toevoegen: <ram / 2> (zonder<>) to set your swap to half of you ram
    • Je kan toevoegen: <ram> (zonder<>) to make your swap the same size as the amout of RAM
      Available
    • [Niet getest] I think you can add: <ram * 2> (zonder<>) to make it double the installed RAM
  • Reboot your computer and, Voileà !
    You can go check in system monitor for the amount of Swap Available:

 

Bron:

Deze gids over Steden: Horizonten II is geschreven door Enderteck. Hiervan kunt u de originele publicatie bezoeken koppeling. Als u zich zorgen maakt over deze gids, aarzel dan niet om ons te bereiken hier.

Over de auteur