[2.0.60] MacOS Metal Graphics backend 48.0 FPS
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
[2.0.60] MacOS Metal Graphics backend 48.0 FPS
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.
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.
- Attachments
-
- factorio-previous.log
- OpenGL backend
- (10.8 KiB) Downloaded 28 times
-
- factorio-current.log
- Metal (experimental) backend
- (10.6 KiB) Downloaded 30 times
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
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.
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
Screenshots, save file and latest log file attached.
- Attachments
-
- factorio-current_debug-settings-on.log
- latest log file
- (8.6 KiB) Downloaded 27 times
-
- game.speed set to 100
- newsave-gamespeed100.png (18.77 MiB) Viewed 1170 times
-
- game.speed set to 1
- newsave-gamespeed1.png (23.92 MiB) Viewed 1170 times
-
- _autosave3.zip
- brand new save file exhibiting issue
- (4.48 MiB) Downloaded 27 times
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
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.
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
If you set the monitor to 60hz how does it perform?
If you want to get ahold of me I'm almost always on Discord.
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
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.
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
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.
If you want to get ahold of me I'm almost always on Discord.
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
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
I'm having exact same problem with Metal on 2.0.60 (didn't on earlier versions), going back to OpenGL fixes fps issue.
-
- Manual Inserter
- Posts: 2
- Joined: Tue Oct 22, 2024 11:15 am
- Contact:
M4 Macbook Pro FPS Metal API
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
-
- Burner Inserter
- Posts: 7
- Joined: Mon Mar 24, 2025 6:01 pm
- Contact:
Re: M4 Macbook Pro FPS Metal API
This seems to be the same issue I raised back in July for version 2.0.60 (post ID: 677557)
[Moderator note: Topics merged]
[Moderator note: Topics merged]
-
- Factorio Staff
- Posts: 252
- Joined: Fri Dec 07, 2018 3:41 pm
- Contact:
Re: [StrangePan][2.0.60] MacOS Metal Graphics backend 48.0 FPS
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!
-
- Factorio Staff
- Posts: 252
- Joined: Fri Dec 07, 2018 3:41 pm
- Contact:
Re: [2.0.60] MacOS Metal Graphics backend 48.0 FPS
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
)
- Disable vsync
- Configure your monitor to use 60 HZ or 120 HZ