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:
- Pierwszy, I set: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia. This part is for Nvidia GPUs unless you’ve changed it.
- Następnie, I use: gamemoderun %command% -preload +fps_max 144.
You can adjust +fps_max 144 to match your monitor’s highest refresh rate.
Get More Swap Space
Pierwszy, check if you have zram-generator-defaults installed or install it with this command:
sudo dnf install zram-generator-defaults
Następny, edit the zram-generator configuration file by running:
sudo nano /etc/systemd/zram-generator.conf
Wewnątrz pliku, add this section:
[zram0] zram-size =
Po “zram-size =”, you can set the amount of swap space based on your RAM. Here are some options:
- To set swap to half of your RAM, dodać: <ram / 2> (without < >).
- To make your swap the same size as your RAM, dodać: <ram> (without < >).
- [Not tested] You can try adding: <ram * 2> (without < >) 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.
To wszystko, co dzisiaj udostępniamy w tym celu Miasta: Skylines II przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez Enderteck. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.