Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Version of OpenTTD
1.9.0 and later, at least
All operating systems have comparable performance when running on comparable hardware.
the macOS version of OpenTTD has unreasonably poor performance
Steps to reproduce
Run official OpenTTD builds on a macOS system
I've found that the game runs better under 32-bit wine than it does natively. This is of course not a solution since 32-bit support was dropped in Catalina.
What macOS version and device do you have? Did you use a build from the OpenTTD website or compile locally, and if so with which SDK version?
I have this problem too.
I also have this problem.
Because of these issues I've been stuck playing OpenTTD 1.8.0 for a long time now.
I'm willing to look into the code and try to fix it. But I've never worked in the OpenTTD codebase before, so I could use some direction.
Tried turning off full animation?
Try changing your colorspace (Displays) between Color LCD, sRGB, or other settings - it can make a difference.
Neither are long-term solutions.
I don't currently have lag in recent games using OpenTTD 1.10.2, playing retina, not low resolution.
macOS 10.15.6 Macbook Pro 16" 2019 16GB 2.3Ghz i9, AMD Radeon Pro 5500M / Intel UHD Graphics 630
I have seen poor OpenTTD performance on mac in last 2-4 years, and multiple genuine issues have been addressed, but nothing conclusive recently. E.g. #7644 (comment) and similar are recent issues/fixes.
Behaviours I've seen but can't diagnose / repro reliably:
Turning off full animation boosts me from 18 fps to 32 fps, on a blank, new OpenTTD world in 1.10.3. I launched OpenTTD with the "Launch in low resolution" option checked.
Again, OpenTTD 1.8.0 runs great with the exact same settings.
I'm using the OpenGFX graphics pack for those tests.
I'm suspicious that this problem may be specific to Mojave, since I just tested on a computer running Catalina and it runs OpenTTD 1.10.3 great.
I can confirm that turning off "full animation" make game playable on Mojave 30-31 fps. Low resolution works too.