Improve Wine Framerate for Esync Games by Increasing `ulimit`

Increase ulimit value with vim to improve FPS for Wine games that utilise esync .

Esync removes wineserver overhead for synchronization objects. This increases performance for a lot of games, especially ones that rely heavily on multithreading.

Steps for OpenSUSE, Arch-Based and Debian-Based (systemd)

  1. sudo vim /etc/systemd/user.conf
  2. DefaultLimitNOFILE=1048576
  3. sudo vim /etc/systemd/system.conf
  4. DefaultLimitNOFILE=1048576

For Arch-Based and Debian-Based (systemd)

  1. /etc/security/limits.conf
  2. hard nofile 1048576

Finally:

  1. Reboot
  2. ulimit -n value should be 1048576.

Resources

  1. Как да настроим ulimit, за да можем да използваме Esync при Wine
  2. docs/HowToEsync.md at master · lutris/docs

Did this solve your issue?