[posila][2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

This subforum contains all the issues which we already resolved.
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

[posila][2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

I'm getting absolutely massive performance regressions versus 1.1.110 with simple rendering of entities. It happens when you zoom into some entities. My machine isn't exactly powerful (Macbook Air M1) but it was able to run a 1k spm megabase on 1.1.110 at 60 fps. Now at green science in 2.0 I'm already getting pretty heavy framerate drops in some situations like this.

This may be related to this other issue viewing ghosts when zoomed in as it seems to happen with many types of entities when zoomed in: viewtopic.php?f=182&t=116304

I've attached a save file and a screenshot of the exact situations this occurs at along with a GPU debug log display.
Low fps on zoomed in view of some steam engines
Low fps on zoomed in view of some steam engines
11-03-2024, 04-27-25.png (4.09 MiB) Viewed 4575 times
Additionally here is a completely different save from my megabase running on 1.1.110 showing the same situation of standing on top of zoomed in steam engines but with no framerate issues.
Full fps on zoomed in view of some steam engines on 1.1.110
Full fps on zoomed in view of some steam engines on 1.1.110
11-03-2024, 04-33-50.png (5.93 MiB) Viewed 4566 times
Attachments
We.re SpaceX Now 4.zip
Exact screen zoomed in situation showing the poor rendering situation
(4.27 MiB) Downloaded 23 times
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

I read the pinned post and here's more precisely what is requested in the screenshot, and the log file is also attached:
11-03-2024, 04-56-36.png
11-03-2024, 04-56-36.png (4.85 MiB) Viewed 4543 times
Also here again is that same situation in 1.1.110:
11-03-2024, 05-02-52.png
11-03-2024, 05-02-52.png (5.83 MiB) Viewed 4539 times
Attachments
factorio-current.log
(8.18 KiB) Downloaded 28 times
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by BlueTemplar »

To be nitpicky, not that you don't have an issue, but the zooms aren't exactly the same.
(There are two pre-set zooms bound to F9 (Reset zoom level) and Ctrl+F9 (Set zoom level to 2x) keys. But possibly somewhat different on Macintoshes ?)
BobDiggity (mod-scenario-pack)
collinvandyck
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Oct 23, 2024 6:30 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by collinvandyck »

Are you using an external monitor? I have also experienced this but more frequently when using an external display with my M2 MBP. There are at least a few threads about this floating about and they seem to share the external display factor.
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

collinvandyck wrote: ↑Sun Nov 03, 2024 2:05 pm Are you using an external monitor? I have also experienced this but more frequently when using an external display with my M2 MBP. There are at least a few threads about this floating about and they seem to share the external display factor.
Nope just using the internal monitor.
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

BlueTemplar wrote: ↑Sun Nov 03, 2024 1:18 pm To be nitpicky, not that you don't have an issue, but the zooms aren't exactly the same.
(There are two pre-set zooms bound to F9 (Reset zoom level) and Ctrl+F9 (Set zoom level to 2x) keys. But possibly somewhat different on Macintoshes ?)
I did max zoom on both, apparently it changed between versions.
Oleg_7777776
Inserter
Inserter
Posts: 27
Joined: Wed Oct 23, 2024 6:01 am
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by Oleg_7777776 »

ergzay wrote: ↑Sun Nov 03, 2024 3:11 pm
BlueTemplar wrote: ↑Sun Nov 03, 2024 1:18 pm To be nitpicky, not that you don't have an issue, but the zooms aren't exactly the same.
(There are two pre-set zooms bound to F9 (Reset zoom level) and Ctrl+F9 (Set zoom level to 2x) keys. But possibly somewhat different on Macintoshes ?)
I did max zoom on both, apparently it changed between versions.
Hi! I have exactly the same problem on the M3 pro. The system is absolutely not loaded, the processor is 7-8%, there is about 8 GB of free memory, while FPS is stable at 30/60 when approaching drills / furnaces / factories. in two weeks since the release of factorio, I have tested all options and life hacks, any graphics settings, any sprite selections, anything leads to a drop in FPS. The only way to avoid falling is to turn off vertical synchronization, then the game just slows down and lags.

The interesting thing is that the first 30 seconds of FPS are always normal, if you change the screen resolution at the time of the game, another 30 seconds of the game without lags. It is confusing that there is no reaction to this problem. At least they wrote that they would consider it. I will add another separate topic tomorrow, I will describe it on my own behalf, I hope this will help raise the error to the category of significant
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

Oleg_7777776 wrote: ↑Sun Nov 03, 2024 4:12 pm
ergzay wrote: ↑Sun Nov 03, 2024 3:11 pm
BlueTemplar wrote: ↑Sun Nov 03, 2024 1:18 pm To be nitpicky, not that you don't have an issue, but the zooms aren't exactly the same.
(There are two pre-set zooms bound to F9 (Reset zoom level) and Ctrl+F9 (Set zoom level to 2x) keys. But possibly somewhat different on Macintoshes ?)
I did max zoom on both, apparently it changed between versions.
Hi! I have exactly the same problem on the M3 pro. The system is absolutely not loaded, the processor is 7-8%, there is about 8 GB of free memory, while FPS is stable at 30/60 when approaching drills / furnaces / factories. in two weeks since the release of factorio, I have tested all options and life hacks, any graphics settings, any sprite selections, anything leads to a drop in FPS. The only way to avoid falling is to turn off vertical synchronization, then the game just slows down and lags.

The interesting thing is that the first 30 seconds of FPS are always normal, if you change the screen resolution at the time of the game, another 30 seconds of the game without lags. It is confusing that there is no reaction to this problem. At least they wrote that they would consider it. I will add another separate topic tomorrow, I will describe it on my own behalf, I hope this will help raise the error to the category of significant
Vsync lowers the framerate artificially to make it an even division of your screen refresh rate (60 hz), so that means if you drop at all below 60 fps it'll be 30 fps. If you want to see the actual framerate you need to turn that off. But yeah it shouldn't be dropping at all.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by BlueTemplar »

ergzay wrote: ↑Sun Nov 03, 2024 3:11 pm
BlueTemplar wrote: ↑Sun Nov 03, 2024 1:18 pm To be nitpicky, not that you don't have an issue, but the zooms aren't exactly the same.
(There are two pre-set zooms bound to F9 (Reset zoom level) and Ctrl+F9 (Set zoom level to 2x) keys. But possibly somewhat different on Macintoshes ?)
I did max zoom on both, apparently it changed between versions.
Interesting...
(See also allow-increased-zoom in the debug F4 menu.)
BobDiggity (mod-scenario-pack)
posila
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by posila »

Thank for the report.
I can confirm this scene renders in less than 60 FPS on my MacBook Air M1 when I match your resolution.
Sadly, it renders at 120 FPS on PC with GTX 1050 Ti (albeit only in 2560x1400)
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

posila wrote: ↑Mon Nov 04, 2024 10:53 am Thank for the report.
I can confirm this scene renders in less than 60 FPS on my MacBook Air M1 when I match your resolution.
Sadly, it renders at 120 FPS on PC with GTX 1050 Ti (albeit only in 2560x1400)
It's worth noting that this is the native resolution of MacBook Air M1. The screen size on the MacBook Air M1 is 2560x1600. (Go to About This Mac menu in the upper left apple menu, and then click Displays.) If you're using a different resolution you should reconfigure your system settings. The default on the computer unfortunately renders at higher than the native resolution and discards a lot of pixels.
posila
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by posila »

I am not mac user, I have just macbook for testing graphics, but I normally have it set to 1680x1050 and have Render in native resolution disabled in Factorio, as the machine is just not powerful enough to render the game in 3360x2100.
ergzay wrote: ↑Mon Nov 04, 2024 1:01 pmIt's worth noting that this is the native resolution of MacBook Air M1
That's correct. But what GPU and what display Apple puts into their machines is not under my control.
Oleg_7777776
Inserter
Inserter
Posts: 27
Joined: Wed Oct 23, 2024 6:01 am
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by Oleg_7777776 »

posila wrote: ↑Mon Nov 04, 2024 1:38 pm I am not mac user, I have just macbook for testing graphics, but I normally have it set to 1680x1050 and have Render in native resolution disabled in Factorio, as the machine is just not powerful enough to render the game in 3360x2100.
ergzay wrote: ↑Mon Nov 04, 2024 1:01 pmIt's worth noting that this is the native resolution of MacBook Air M1
That's correct. But what GPU and what display Apple puts into their machines is not under my control.
good day! the same problem on more powerful macbooks, I previously wrote about an identical problem on the M3 pro, resolution 1280 by 800. and FPS 30 when approaching a loader/furnace/drill. is it possible to hope that the problem will ever be solved?
posila
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by posila »

Oleg_7777776 wrote: ↑Mon Nov 04, 2024 1:44 pm good day! the same problem on more powerful macbooks, I previously wrote about an identical problem on the M3 pro, resolution 1280 by 800. and FPS 30 when approaching a loader/furnace/drill. is it possible to hope that the problem will ever be solved?
I don't know what that happens to you yet. Our developers who work on macs have had steady 60 FPS as far as I know - we have not reproduced your issue yet, so I don't know what causes it, so I don't know if it can be solved and how.
Oleg_7777776
Inserter
Inserter
Posts: 27
Joined: Wed Oct 23, 2024 6:01 am
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by Oleg_7777776 »

posila wrote: ↑Mon Nov 04, 2024 1:50 pm
Oleg_7777776 wrote: ↑Mon Nov 04, 2024 1:44 pm good day! the same problem on more powerful macbooks, I previously wrote about an identical problem on the M3 pro, resolution 1280 by 800. and FPS 30 when approaching a loader/furnace/drill. is it possible to hope that the problem will ever be solved?
I don't know what that happens to you yet. Our developers who work on macs have had steady 60 FPS as far as I know - we have not reproduced your issue
yet, so I don't know what causes it, so I don't know if it can be solved and how.
I've seen on other topics that the problem is popular with mac book users.
please tell me, in order for the topic of FPS reduction to fall into the category of significant ones, is it worth creating a separate topic with a description of my situation, or are there enough requests received from other factorio players? For example, the topic from 21.10 has already collected more than 40 comments. p.s. the failure can be seen after 30-50 seconds, FPS does not drop instantly
posila
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by posila »

Feel free to create separate bug report.
As for prioritizing, the game runs and your saves and blueprints are not getting corrupted, so I am gonna solve the issues I know how to solve quickly, to get them out of the way and then I am gonna dive into issue I don't know how to solve, because I don't know how much of my time they'll consume.
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

posila wrote: ↑Mon Nov 04, 2024 3:36 pm Feel free to create separate bug report.
As for prioritizing, the game runs and your saves and blueprints are not getting corrupted, so I am gonna solve the issues I know how to solve quickly, to get them out of the way and then I am gonna dive into issue I don't know how to solve, because I don't know how much of my time they'll consume.
To clarify, does that mean that this issue (the slow down when zoomed in) is being worked on now seeing as you confirmed it? Not hounding you, just wondering how difficult of a problem this issue is.
posila
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by posila »

It's not actively worked on at the moment. It is difficult issue, I don't know what we are gonna do about it yet.
ergzay
Inserter
Inserter
Posts: 46
Joined: Fri Mar 25, 2016 8:49 pm
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by ergzay »

posila wrote: ↑Mon Nov 04, 2024 5:22 pm It's not actively worked on at the moment. It is difficult issue, I don't know what we are gonna do about it yet.
At least for the moment, I've found a workaround is to disable smoke which seems to make the issue basically disappear, so that may be related. I'm worried about when I reach the other planets though as I assume this has something to do with how shaders are implemented in the new version and I've heard the other planets use a lot more shaders. One of the great things about Factorio was how well optimized it was, but that seems to have taken a huge hit in this new version. I wish more playtesting had been done before release.

I hope this issue is fixed before too long though as it may cause other planets to be unplayably slow.
Oleg_7777776
Inserter
Inserter
Posts: 27
Joined: Wed Oct 23, 2024 6:01 am
Contact:

Re: [2.0.14][macOS] Massive performance regression versus 1.1.110 when zoomed in

Post by Oleg_7777776 »

ergzay wrote: ↑Mon Nov 04, 2024 5:25 pm
posila wrote: ↑Mon Nov 04, 2024 5:22 pm It's not actively worked on at the moment. It is difficult issue, I don't know what we are gonna do about it yet.
At least for the moment, I've found a workaround is to disable smoke which seems to make the issue basically disappear, so that may be related. I'm worried about when I reach the other planets though as I assume this has something to do with how shaders are implemented in the new version and I've heard the other planets use a lot more shaders. One of the great things about Factorio was how well optimized it was, but that seems to have taken a huge hit in this new version. I wish more playtesting had been done before release.

I hope this issue is fixed before too long though as it may cause other planets to be unplayably slow.
I propose to organize a mac os rights protection society, and to the question of testing - in general, it turns out that the game does not meet the stated minimum hardware requirements))) interestingly, turning off the smoke doesn't help me. I think everything is tied to the allocation of GUI memory. have you tried disabling rendering in native resolution, FPS drops seem to disappear, though along with the image quality πŸ˜’
Post Reply

Return to β€œResolved Problems and Bugs”