Tree of Savior Forum

Linux and ToS - Status + Performance tip

Sorry for the quick post, I’ll try to be direct. There are a few guides for actually getting ToS working on Wine so I’ll skip that.

-> #1 - I’ve recently found this:
https://www.reddit.com/r/treeofsavior/comments/8o39ye/hey_folks_anyone_got_this_game_working/

If you can’t run ToS on Wine 3.8 or higher there’s a good chance you’re using Arch Linux or similar distros. There’s one issue regarding GCC and optimization flags that may cause Wine to crash when starting a big range of applications.

If you’re facing this issue all you need to do is either downgrade gcc and gcc-libs or change your CC env variable to “/usr/bin/gcc-7” before building. This means you will most likely need to build it from source.

-> While we’re at it, here comes tip #2:
Give the package wine-staging-pba(-git) a try. I’m getting FPS pretty similar to when running on Windows now.

-> #3 - If it ever crashes on startup or changing maps with the pba patches, try setting these env vars before running the game:
export __PBA_GEO_HEAP=256
export __PBA_CB_HEAP=64

The defaults are 512/128. You can also try 128/32.

Source:
https://github.com/acomminos/wine-pba/issues/35


And #4 - If everything goes wrong…
You can simply run a Virtual Machine with GPU Passthrough.

More info: https://www.reddit.com/r/VFIO/

Quick warning for this method. You’d be using a VM and some VM-related tools are actually a criteria for bans in kToS now. Use at your own risk.

I asked STAFF in PMs and there are no guarantees for the future. The use case can still be fine to use here on iToS or can even be a ban criteria in future.

Also, although some companies does understand that this type of use of VMs are legitmately a thing now:
https://boards.na.leagueoflegends.com/en/c/bug-report/GX3Zhxwe-game-client-anti-cheat-known-issues-and-fixes?show=flat&comment=00020008

we’ve decided to restore virtualization functionality in today’s patch to folks who are using GPU pass-through technology to play the game in a virtual machine. However, we must be clear: we maintain our decision to disallow all other types of virtualization.

Some other comapnies might not allow VMs at all or may fail to detect the specific use case.

This is what gave me highest FPS currently, but has its own problems and can get complicated to setup for average users.


Conclusion:
Try the latest wine + staging patches + pba patches you can get for your distro. For now this should hit the sweet spot between performance and usability.

3 Likes