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:
- أولاً, I set: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia. This part is for Nvidia GPUs unless you’ve changed it.
- ثم, 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
أولاً, check if you have zram-generator-defaults installed or install it with this command:
sudo dnf install zram-generator-defaults
التالي, edit the zram-generator configuration file by running:
sudo nano /etc/systemd/zram-generator.conf
Inside the file, add this section:
[zram0] zram-size =
بعد “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, يضيف: <كبش / 2> (without < >).
- To make your swap the same size as your RAM, يضيف: <كبش> (without < >).
- [Not tested] You can try adding: <كبش * 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.
هذا كل ما نشاركه اليوم من أجل هذا Cities: Skylines II مرشد. تم إنشاء هذا الدليل وكتابته في الأصل بواسطة Enderteck. في حالة فشلنا في تحديث هذا الدليل, يمكنك العثور على آخر تحديث باتباع هذا وصلة.