도시를 운영하는 방법: Proton을 사용하는 Linux의 Skylines II

이 가이드는 Fedora Workstation에서 xrar를 사용하여 게임을 실행하고 더 많은 스왑 공간을 확보하는 방법을 보여줍니다. 38 더 나은 성능으로 게임을 플레이할 수 있는 몇 가지 팁과 요령 (아니면 전혀).

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

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

    • You can add: <ram / 2> (없이<>) to set your swap to half of you ram
    • You can add: <ram> (없이<>) to make your swap the same size as the amout of RAM
      Available
    • [Not tested] I think you can add: <ram * 2> (없이<>) 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:

 

원천:

이 가이드는 도시: 스카이라인 II 에 의해 작성되었습니다 Enderteck. 여기에서 원본 간행물을 방문할 수 있습니다. 링크. 이 가이드에 대해 우려 사항이 있는 경우, 주저하지 마시고 연락주세요 여기.

저자 소개