Ir para o conteúdo

Linux

Info

These instructions are only for Linux systems.

Kernel

Try a desktop-oriented kernel like XanMod or linux-tkg.

cpupower

Use either the performance, schedutil, or ondemand governors when playing TF2 by using cpupower frequency-set -g performance, for example. You can see available governors for your CPU with cpupower frequency-info.

GameMode

GameMode is a handy utility released by Feral Interactive, which changes the CPU Governor from the default CPU governor to performance. Recent updates allow it to change a game’s “nice priority”, giving the game more resources to work with.

To run TF2 using GameMode through Steam launch options, open Steam, then:

  1. Navigate to Library -> right-click Team Fortress 2 -> Properties -> General -> Launch Options.
  2. Enter gamemoderun %command% -your -tf2 -launch -options -go -here

If launching TF2 from Lutris, “Enable Feral GameMode” is likely enabled by default, hence the Launch Options additions aren’t used. You can check in Lutris via:

  • Games -> right-click Team Fortress 2 -> Configure -> System options

irqbalance

Balance IRQ interrupts across multiple cores by installing the irqbalance package on your distro and then enabling the irqbalance.service, likely by sudo systemctl enable --now irqbalance.service. This package is installed on most Debian-based OS by default, like Ubuntu and Linux Mint.

Ananicy Cpp

You can install schedtool and Ananicy Cpp, then enable ananicy-cpp.service to automatically apply rule-based process priority balancing, improving resources allocated to TF2.

This, however, requires a profile for TF2. Follow Ananicy Cpp’s profile import instructions to use community profiles from the original Ananicy software, which can be downloaded here or by installing the original Ananicy.

Networking optimization

See the Arch Linux wiki for information about improving networking parameters for performance.

I/O Schedulers

The Linux kernel supports multiple I/O scheduler algorithms for storage devices such as mq-deadline, bfq, and kyber. Depending on the type and speed of your storage device, some of these algorithms may increase or decrease the latency of read requests, as well as overall throughput. See the Arch Linux wiki for more information.

Virtual memory optimization

See the Arch Linux wiki for information about improving virtual memory parameters.

Game crashes when using a NVIDIA card

There have been issues reported by users with NVIDIA driver versions between 525.60.11 and 525.89.02-1 that cause the game to crash on startup. This was the result of a bug in NVIDIA’s driver, which was fixed in 530.41.03. If unable to upgrade to this version, downgrading to 520.56.60 or lower is also an option.