This guide helps you make the game work and get extra Swap space using xrar on Fedora Workstation 38. It also shares some tips and tricks to play the game better (or play it at all).
System Specs
Proton Version and Steam Arguments
Proton Versions I Tried:
- GE-Proton-8.21
- Proton 8.0-4
- Proton Experimental
The one I used is Proton 8.0-4.
How I Run City Skylines II:
- Erste, Ich habe eingestellt: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia. This part is for Nvidia GPUs unless you’ve changed it.
- Dann, Ich benutze: gamemoderun %command% -preload +fps_max 144.
You can adjust +fps_max 144 to match your monitor’s highest refresh rate.
Get More Swap Space
Erste, check if you have zram-generator-defaults installed or install it with this command:
sudo dnf install zram-generator-defaults
Nächste, edit the zram-generator configuration file by running:
sudo nano /etc/systemd/zram-generator.conf
Inside the file, add this section:
[zram0] zram-size =
Nach „zram-size =“, you can set the amount of swap space based on your RAM. Hier sind einige Optionen:
- To set swap to half of your RAM, hinzufügen: <RAM / 2> (ohne < >).
- To make your swap the same size as your RAM, hinzufügen: <RAM> (ohne < >).
- [Not tested] You can try adding: <RAM * 2> (ohne < >) to make it double the installed RAM.
Reboot your computer, and you’re all set!
You can check the available swap space in the system monitor.
Das ist alles, was wir heute dafür teilen Städte: Skylines II Führung. Dieser Leitfaden wurde ursprünglich erstellt und geschrieben von Enderteck. Für den Fall, dass wir diesen Leitfaden nicht aktualisieren können, Sie können das neueste Update finden, indem Sie diesem folgen Verknüpfung.