Page 1 of 1
[2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Jul 19, 2025 12:51 pm
by Jakoski360
Updated from 2.0.55 to 2.0.60, Factorio now runs at a locked 48.0 FPS & 60.0 UPS when the Metal (experimental) backend is used. This occurs on both Singleplayer and Multiplayer.
This behaviour was not experienced with the previous release 2.0.55, FPS and UPS were both 60.0 while using Metal (experimental).
UPS is not affected, and using OpenGL backend works fine.
Log reports uploaded:
factorio-previous - OpenGL backend, FPS/UPS: 60.0/60.0
factorio-current - Metal (experimental) backend, FPS/UPS: 48.0/60.0
Macbook Pro 2024, M4 Pro, monitor is configured at 144Hz.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Jul 19, 2025 12:56 pm
by Loewchen
Post debug screenshots as described in
68653 please, and if the issue is not present on a brand new map a save that shows the issue.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Jul 19, 2025 9:42 pm
by Jakoski360
Screenshots, save file and latest log file attached.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Aug 02, 2025 2:32 pm
by Jakoski360
I have done some more testing as I noticed that Vsync was impacting my performance on OpenGL. Looking at the difference between Flip[on] (Vsync On) and Flip[off] (Vsync Off) time usage on the debug screen, I checked to see if Vsync was causing the issue on Metal. Vsync did not affect this issue on Metal but I did find some possibly useful information.
OpenGL:
Flip[on] - Max 19, Min 3
Flip[off] - Max 2, Min 0.4
Metal:
Flip[on] - 19
Flip[off] - 19
Changing Vsync settings while using Metal does not seem to affect the time usage of Flip in the same way that it does when using OpenGL.
Please let me know if there is any more information I can provide.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Aug 02, 2025 3:23 pm
by Rseding91
If you set the monitor to 60hz how does it perform?
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Aug 02, 2025 6:49 pm
by Jakoski360
Changing refresh rate to 60Hz resolves the issue on Metal, game runs at 60 FPS.
120Hz also seems OK, game runs at 60 FPS.
Interestingly if I set the monitor to 95Hz, the game runs at 47.5 FPS. Seems for some reason since this update the game is running at fractions of the monitor refresh rate.
I have not tested any of the releases between 2.0.55 and 2.0.60 so I cannot say exactly when this was introduced.
If it makes any difference, the resolution is 3840x2160 across all of these tests, fullscreen.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Aug 02, 2025 6:56 pm
by Rseding91
That sounds similar to FPS dropping to 30 with vsync when overloaded because the game tries to update at 60 FPS but when it finishes an update it missed the screen refresh window and had to wait for the next one.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sat Aug 02, 2025 7:15 pm
by Jakoski360
Yeah at first I thought it could be vsync related, but those last tests were done with vsync off. I tried in a new sandbox save with UPS uncapped and got the same results as my original screenshots (~3800 UPS but FPS locked at fractions of monitor refresh rate).
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sun Aug 10, 2025 7:46 pm
by badosz
I'm having exact same problem with Metal on 2.0.60 (didn't on earlier versions), going back to OpenGL fixes fps issue.
M4 Macbook Pro FPS Metal API
Posted: Fri Sep 19, 2025 8:03 am
by squirrelcommander
Unmodded Factorio Space Age runs at exactly half of monitor Hz when using metal API. I have tested with a 75Hz monitor and game runs at 37.5 FPS and a 90 HZ monitor runs at 45 FPS. UPS is unaffected. Game runs fine with openGL. not a big deal just an FYI
Re: M4 Macbook Pro FPS Metal API
Posted: Sat Sep 20, 2025 10:10 pm
by Jakoski360
This seems to be the same issue I raised back in July for version 2.0.60 (post ID: 677557)
[Moderator note: Topics merged]
Re: [StrangePan][2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Sun Sep 21, 2025 8:33 am
by StrangePan
Ah. I know what’s going on. Thanks for all the reports and logs. This fix will get prioritized. Thanks for testing the Metal backend!
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Mon Sep 22, 2025 8:50 am
by StrangePan
To fix this between game versions of 2.0.60 and 2.0.66, do ONE of the following:
- Switch to a different Factorio version
- Switch back to the OpenGL backend (Settings > Graphics > Graphics backend: OpenGL) (temporarily
)
- Configure your monitor to use 60 HZ or 120 HZ
Edit: the underlying issue should be fixed in 2.0.67 and later.
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Posted: Tue Sep 23, 2025 11:10 pm
by Jakoski360
That's great!
I've found that enabling variable refresh rate option in Display settings seems to also work, though this does depend on monitor support.