[0.17.5][MacOS] Factorio performance dropped significantly

This subforum contains all the issues which we already resolved.
Post Reply
macchester92
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Mar 05, 2019 1:03 pm
Contact:

[0.17.5][MacOS] Factorio performance dropped significantly

Post by macchester92 » Tue Mar 05, 2019 7:43 pm

Good day everyone!

First of all, I'd like to express deep gratitude to Factorio dev team for their hard work and close monitoring of bugs and errors.

I've encountered a problem with performance after the 0.17.5 update.

Here is a briefing:
- I'm subscribed to beta content in Steam (0.17.x) and get updates automatically
- Since the release of 0.17.0, I haven't experienced any problems with the game until the 0.17.5 kicked off
- I'm playing on MacBook Pro 13", 8GB RAM, Intel Iris Plus Graphics 650 1536 MB
- There aren't any mods in my library
- The game doesn't show any error notification. I presume it believes it runs in a perfectly normal way (which is actually NOT the way considered to be normal, you stupid game!)

Detailed explanation:
I did enjoy Factorio running 60 FPS on all high settings. After updating to 0.17.5 things went completely wrong. I started the game and noticed that loading took much longer than it usually did. Also, the interface (font size in the loading screen) was so small I was barely able to read it.
Immediately after the game loaded, I felt that the temperature in the room rose as my MacBook started working as a boiler for the steam engine. It went sweltering and set the fan speed to max which had never happened before with Factorio.
After I proceeded to the saved game, I noticed that the interface was tiny and the game was frustratingly freezing. I deployed 'debug bot F5', and it showed me that FPS dropped from stable and firm 60 FPS to average and unstable 35 FPS. Obviously, it made me mad, and I started troubleshooting campaign.

Actions to troubleshoot:
  • tried to play with in-game settings (interface, graphics, other) - NO RESULT
    tried to run the game in windowed mode - NO RESULT
    tried to downgrade to 0.17.4 - the fps rate increased slightly (from 35 to 40), but the game is still lagging
    tried to downgrade to 0.16.51 - the game runs smoothly, using the same graphics setting (all to high)
    upgraded game to 0.17.6 - the game started to lag and freeze (35 fps)
    started a new game - it takes slightly longer to generate the map, freezing and lagging persist
    tried to force different graphics modes in Steam, such as --force-d3d and --force-OpenGL* - the game didn't even start
    tried to verify the integrity of game files using Steam tools - NO RESULT
* - I'm no coding-literate so that it likely was useless and impractical, but it looked cool when I went to Steam to use code to fix a problem.

Here are the links to the logs (again, I'm not sure if these logs are useful anyhow. If they are not useful, could you please guide me where to find useful logs?)

Factorio 0.17.5 log
Factorio 0.17.4 log
Factorio 0.17.6 log

Here are also screenshots of what was going on:
IMAGES


I know you are all busy and there are many other *popular* bugs to fix, but I do believe that somebody will help me, as you always do. Thank you in advance!
Last edited by macchester92 on Tue Mar 05, 2019 8:22 pm, edited 1 time in total.

macchester92
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Mar 05, 2019 1:03 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by macchester92 » Tue Mar 05, 2019 8:05 pm

UPD:

I've noticed that when you stand still, FPS 'power bar' fills quickly to 60 fps. When you start moving, the fps immediately drops down to 35 FPS and continue decreasing while you move until 10-15 FPS.
On some open areas FPS is 60 while moving (no water, biters or pesky trees around). Maybe this helps to identify the problem. Thanks again!

UPD 2:
FPS is dramatically dropping while approaching enemy trees. It looks like the game is calculating and loading the textures and it kills the machine. After some time, moving in calculated enemy tree forest reduces FPS down to 40 FPS.

UPD 3:
I wasn't joking about boiler for steam engines. My Mac is revolving like a Boeing 777 turbofan engine :(
It is super hot and noisy. It became so after 2-3 minutes in game

posila
Factorio Staff
Factorio Staff
Posts: 3365
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by posila » Wed Mar 06, 2019 4:58 pm

Hello, I might need to tweak default graphics settings for 0.17.

Based of your screenshots, you ran 0.16 with sprite resolution set to "normal", while 0.17 defaulted to "high" on your computer.
In graphics settings, try to reduce "Sprite resolution" to "Normal" and set "Video memory usage" to "All"

EDIT: On the seconds thought: Keeping "Sprite resolution" at "High" and setting "Texture compression" to "Low Quality" and "Video memory usage" to "All" should give you good performance and better visual quality then normal resolution sprites.

macchester92
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Mar 05, 2019 1:03 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by macchester92 » Wed Mar 06, 2019 7:46 pm

Thank you very much, Posila.

About an hour ago I updated the game to 0.17.7. In my case, no visible improvements happened. The FPS was low and my Mac was trying to take off. Here is the log:

Code: Select all

   0.006 2019-03-06 23:14:24; Factorio 0.17.7 (build 43421, mac, steam)
   0.007 Operating system: macOS 10.13.6
   0.007 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.007 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.007 Write data path: /Users/macchester92/Library/Application Support/factorio [126601/239072MB]
   0.007 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.043 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.044 Display options: [FullScreen: 0] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.217 Available displays: 1
   0.217  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   0.465 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   0.466   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   0.466   [Version] 4.1
   0.690 Graphics settings preset: high
   0.690   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   0.690 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: high-quality]
   0.690                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 1] [Low quality rotation: 1]
   1.367 Loading mod core 0.0.0 (data.lua)
   1.491 Loading mod base 0.17.7 (data.lua)
   1.967 Loading mod base 0.17.7 (data-updates.lua)
   2.098 Checksum for core: 2736929835
   2.099 Checksum of base: 3541142062
   2.858 Loading sounds...
   3.386 Info PlayerData.cpp:69: Local player-data.json unavailable
   3.386 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551811364
   3.533 Crop bitmaps.
  10.551 Parallel Sprite Loader initialized (threads: 3)
  26.193 Initial atlas bitmap size is 16384
  26.217 Created atlas bitmap 16384x16376 [none]
  26.217 Created atlas bitmap 16384x4448 [none]
  26.217 Created atlas bitmap 16384x2116 [decal]
  26.218 Created atlas bitmap 16384x3808 [low-object]
  26.218 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  26.218 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  26.218 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
  26.219 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  26.219 Created atlas bitmap 16384x748 [alpha-mask]
  26.220 Created atlas bitmap 16384x11252 [shadow, linear-magnification, alpha-mask]
  26.220 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
  26.392 Created virtual atlas pages 4096x4096x5
  27.057 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  30.873 Parallel Sprite Loader initialized (threads: 3)
  47.827 Sprites loaded
  48.335 Generated mipmaps for atlas of size 16384x3808
  48.494 Generated mipmaps for atlas of size 16384x1888
  48.811 Generated mipmaps for atlas of size 16384x6880
  48.912 Generated mipmaps for atlas of size 16384x480
  48.979 Generated mipmaps for atlas of size 16384x456
  49.029 Generated mipmaps for atlas of size 16384x1264
  49.123 Generated mipmaps for virtual atlas of size 8192x12288
  49.148 Custom inputs active: 0
  49.242 Factorio initialised
  49.319 Game is running on selected version branch on Steam.
  62.076 Loading Level.dat: 1084447 bytes.
  62.077 Info Scenario.cpp:147: Map version 0.17.7-2
  62.127 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 136.217 Loading Level.dat: 1034681 bytes.
 136.218 Info Scenario.cpp:147: Map version 0.17.7-2
 136.250 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 235.880 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
 237.434 Info HttpSharedState.cpp:146: Downloading https://auth.factorio.com/api-login?api_version=2
 237.434 Info HttpSharedState.cpp:147: Status code: 401
 237.434 Info AuthServerConnector.cpp:42: Error in communication with auth server: code(401) message({"message":"Username and password don't match","status":401}
)
 237.434 Info AuthServerConnector.cpp:70: Auth server authorization error (Username and password don't match)
 263.515 Loading Level.dat: 1034681 bytes.
 263.516 Info Scenario.cpp:147: Map version 0.17.7-2
 263.545 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 352.260 Quitting: user-quit.
 352.261 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 352.735 Steam API shutdown.
 352.745 Goodbye
Then I checked the settings again and changed Sprite Resolution to normal, as well as set Video Memory Usage to all. After restarting the game I noticed a great improvement in performance - stable 60 FPS no matter what: moving, standing still, mining, chopping enemy trees.

Code: Select all

   0.000 2019-03-06 23:21:10; Factorio 0.17.7 (build 43421, mac, steam)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/macchester92/Library/Application Support/factorio [126594/239072MB]
   0.000 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.022 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.022 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.139 Available displays: 1
   0.139  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   1.105 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   1.105   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.105   [Version] 4.1
   1.237 Graphics settings preset: high
   1.237   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   1.237 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   1.237                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 1]
   1.621 Loading mod core 0.0.0 (data.lua)
   1.728 Loading mod base 0.17.7 (data.lua)
   2.129 Loading mod base 0.17.7 (data-updates.lua)
   2.270 Checksum for core: 2736929835
   2.270 Checksum of base: 3541142062
   2.814 Loading sounds...
   3.896 Info PlayerData.cpp:69: Local player-data.json unavailable
   3.896 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551900016
   4.045 Crop bitmaps.
   9.838 Parallel Sprite Loader initialized (threads: 3)
  13.784 Initial atlas bitmap size is 16384
  13.787 Created atlas bitmap 16384x7644 [none]
  13.787 Created atlas bitmap 16384x688 [decal]
  13.787 Created atlas bitmap 16384x1104 [low-object]
  13.787 Created atlas bitmap 16384x656 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  13.788 Created atlas bitmap 16384x2208 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  13.788 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
  13.788 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  13.788 Created atlas bitmap 16384x216 [alpha-mask]
  13.789 Created atlas bitmap 16384x3184 [shadow, linear-magnification, alpha-mask]
  13.789 Created atlas bitmap 16384x384 [shadow, mipmap, linear-magnification, alpha-mask]
  14.261 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  14.711 Parallel Sprite Loader initialized (threads: 3)
  19.873 Sprites loaded
  20.074 Generated mipmaps for atlas of size 16384x1104
  20.225 Generated mipmaps for atlas of size 16384x656
  20.384 Generated mipmaps for atlas of size 16384x2208
  20.492 Generated mipmaps for atlas of size 16384x480
  20.554 Generated mipmaps for atlas of size 16384x456
  20.596 Generated mipmaps for atlas of size 16384x384
  20.605 Custom inputs active: 0
  20.665 Factorio initialised
  20.665 Game is running on selected version branch on Steam.
  45.970 Loading Level.dat: 1070718 bytes.
  45.971 Info Scenario.cpp:147: Map version 0.17.7-2
  46.001 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 184.935 Quitting: user-quit.
 184.935 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 185.184 Steam API shutdown.
 185.185 Goodbye
But - and it ruins everything - my CPU/GPU load is still unbearable. My Mac finally got granted permission and took off after a couple of minutes in the game. It landed safely after I force quit Factorio and put the laptop outside to cool down :(

Code: Select all

   0.000 2019-03-06 23:27:23; Factorio 0.17.7 (build 43421, mac, steam)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/macchester92/Library/Application Support/factorio [126564/239072MB]
   0.000 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.005 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.005 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.083 Available displays: 1
   0.083  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   1.003 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   1.003   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.003   [Version] 4.1
   1.118 Graphics settings preset: high
   1.118   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   1.118 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
   1.118                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 1]
   1.273 Loading mod core 0.0.0 (data.lua)
   1.369 Loading mod base 0.17.7 (data.lua)
   1.578 Loading mod base 0.17.7 (data-updates.lua)
   1.696 Checksum for core: 2736929835
   1.697 Checksum of base: 3541142062
   2.229 Loading sounds...
   2.255 Info PlayerData.cpp:69: Local player-data.json unavailable
   2.255 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551900016
   2.423 Initial atlas bitmap size is 16384
   2.427 Created atlas bitmap 16384x7644 [none]
   2.427 Created atlas bitmap 16384x688 [decal]
   2.428 Created atlas bitmap 16384x1104 [low-object]
   2.428 Created atlas bitmap 16384x656 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.428 Created atlas bitmap 16384x2208 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   2.428 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   2.428 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.429 Created atlas bitmap 16384x216 [alpha-mask]
   2.429 Created atlas bitmap 16384x3184 [shadow, linear-magnification, alpha-mask]
   2.430 Created atlas bitmap 16384x384 [shadow, mipmap, linear-magnification, alpha-mask]
   2.879 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   3.113 Parallel Sprite Loader initialized (threads: 3)
   8.150 Sprites loaded
   8.319 Generated mipmaps for atlas of size 16384x1104
   8.443 Generated mipmaps for atlas of size 16384x656
   8.599 Generated mipmaps for atlas of size 16384x2208
   8.707 Generated mipmaps for atlas of size 16384x480
   8.767 Generated mipmaps for atlas of size 16384x456
   8.815 Generated mipmaps for atlas of size 16384x384
   8.827 Custom inputs active: 0
   8.887 Factorio initialised
   8.887 Game is running on selected version branch on Steam.
  15.455 Loading Level.dat: 1108943 bytes.
  15.456 Info Scenario.cpp:147: Map version 0.17.7-2
  15.495 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 130.368 Loading Level.dat: 991516 bytes.
 130.369 Info Scenario.cpp:147: Map version 0.17.7-2
 130.399 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 171.050 Quitting: window closed.
 171.050 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 171.264 Steam API shutdown.
 171.265 Goodbye
Is there a way to reduce some settings, for example in config/console, etc.? I really want to play the game but it's really uncomfortable to play on a kettle.

Thank you again!

UPD:
Tried to change the graphics quality setting in config.ini from normal to very low
Stable FPS, the game is loading quickly but Mac is overheating rapidly.
Here is one more log:

Code: Select all

   0.000 2019-03-06 23:47:55; Factorio 0.17.7 (build 43421, mac, steam)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/macchester92/Library/Application Support/factorio [126559/239072MB]
   0.000 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.008 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.008 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.070 Available displays: 1
   0.070  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   1.018 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   1.018   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.018   [Version] 4.1
   1.146 Graphics settings preset: high
   1.146   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   1.146 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
   1.146                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 1]
   1.332 Loading mod core 0.0.0 (data.lua)
   1.421 Loading mod base 0.17.7 (data.lua)
   1.640 Loading mod base 0.17.7 (data-updates.lua)
   1.781 Checksum for core: 2736929835
   1.781 Checksum of base: 3541142062
   2.306 Loading sounds...
   2.332 Info PlayerData.cpp:69: Local player-data.json unavailable
   2.332 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551900016
   2.502 Initial atlas bitmap size is 16384
   2.519 Created atlas bitmap 16384x16376 [none]
   2.520 Created atlas bitmap 16384x8848 [none]
   2.520 Created atlas bitmap 16384x2116 [decal]
   2.521 Created atlas bitmap 16384x3808 [low-object]
   2.521 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.521 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   2.521 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   2.521 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.521 Created atlas bitmap 16384x748 [alpha-mask]
   2.522 Created atlas bitmap 16384x11252 [shadow, linear-magnification, alpha-mask]
   2.522 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   2.973 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  12.370 Parallel Sprite Loader initialized (threads: 3)
  27.973 Sprites loaded
  28.346 Generated mipmaps for atlas of size 16384x3808
  28.503 Generated mipmaps for atlas of size 16384x1888
  28.856 Generated mipmaps for atlas of size 16384x6880
  28.967 Generated mipmaps for atlas of size 16384x480
  29.035 Generated mipmaps for atlas of size 16384x456
  29.101 Generated mipmaps for atlas of size 16384x1264
  29.114 Custom inputs active: 0
  29.185 Factorio initialised
  29.185 Game is running on selected version branch on Steam.
  38.749 Loading Level.dat: 1026686 bytes.
  38.750 Info Scenario.cpp:147: Map version 0.17.7-2
  38.790 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 184.598 Quitting: user-quit.
 184.600 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 184.834 Steam API shutdown.
 184.835 Goodbye
After reading the log I realised that the game graphics quality is still set to high, even though I changed the line to very-low. That's also a bug, I suppose. Anyway, the game doesn't work properly yet. Hope there is a solution for that.

macchester92
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Mar 05, 2019 1:03 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by macchester92 » Thu Mar 07, 2019 5:45 pm

Updated to 0.17.8, no advance in performance. Stable FPS but Mac is overheating

Code: Select all

   0.000 2019-03-07 21:16:52; Factorio 0.17.8 (build 43440, mac, steam)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/macchester92/Library/Application Support/factorio [126547/239072MB]
   0.000 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.007 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.007 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.068 Available displays: 1
   0.068  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   1.058 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   1.058   [Size] Window: 1440x900, Backbuffer: 2880x1800
   1.058   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.058   [Version] 4.1
   1.309 Graphics settings preset: high
   1.309   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   1.309 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
   1.309                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: low] [Color: 32bit]
   1.667 Loading mod core 0.0.0 (data.lua)
   1.781 Loading mod base 0.17.8 (data.lua)
   2.186 Loading mod base 0.17.8 (data-updates.lua)
   2.315 Checksum for core: 2736929835
   2.315 Checksum of base: 3541142062
   2.904 Loading sounds...
   3.745 Info PlayerData.cpp:69: Local player-data.json unavailable
   3.745 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551902355
   3.943 Crop bitmaps.
  11.961 Parallel Sprite Loader initialized (threads: 3)
  27.610 Initial atlas bitmap size is 16384
  27.636 Created atlas bitmap 16384x16376 [none]
  27.638 Created atlas bitmap 16384x8848 [none]
  27.638 Created atlas bitmap 16384x2116 [decal]
  27.639 Created atlas bitmap 16384x3808 [low-object]
  27.639 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  27.639 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  27.639 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
  27.639 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  27.639 Created atlas bitmap 16384x748 [alpha-mask]
  27.640 Created atlas bitmap 16384x11252 [shadow, linear-magnification, alpha-mask]
  27.640 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
  28.295 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  28.846 Parallel Sprite Loader initialized (threads: 3)
  47.043 Sprites loaded
  47.447 Generated mipmaps for atlas of size 16384x3808
  47.598 Generated mipmaps for atlas of size 16384x1888
  47.940 Generated mipmaps for atlas of size 16384x6880
  48.041 Generated mipmaps for atlas of size 16384x480
  48.123 Generated mipmaps for atlas of size 16384x456
  48.185 Generated mipmaps for atlas of size 16384x1264
  48.209 Custom inputs active: 0
  48.316 Factorio initialised
 105.922 Loading Level.dat: 1219781 bytes.
 105.923 Info Scenario.cpp:147: Map version 0.17.8-0
 105.977 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 286.550 Quitting: user-quit.
 286.551 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 286.754 Steam API shutdown.
 286.761 Goodbye
After a minute or two in game, I tried to change the setting to lowest possible, restarted the game. Result - the total absence of any result. Only FPS dropped from stable 60 to average 40-42

Code: Select all

      0.000 2019-03-07 21:37:03; Factorio 0.17.8 (build 43440, mac, steam)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Read data path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/macchester92/Library/Application Support/factorio [126691/239072MB]
   0.000 Binaries path: /Users/macchester92/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.014 System info: [CPU: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz, 4 cores, RAM: 8192 MB]
   0.014 Display options: [FullScreen: 1] [VSync: 0] [UIScale: custom (175.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.081 Available displays: 1
   0.081  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz}
   1.034 Initialised OpenGL:[0] Intel(R) Iris(TM) Graphics 650; driver: 4.1 INTEL-10.36.23
   1.034   [Size] Window: 1440x900, Backbuffer: 2880x1800
   1.034   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.034   [Version] 4.1
   1.174 Graphics settings preset: high
   1.174   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Graphics 650; VendorID: 0x1024500)
   1.174 Graphics options: [Graphics quality: normal] [Video memory usage: low] [Light scale: 25%] [DXT: low-quality]
   1.174                   [Max load threads: 32] [Max texture size: 2048] [Tex.Stream.: 1] [Rotation quality: low] [Color: 32bit]
   1.400 Loading mod core 0.0.0 (data.lua)
   1.535 Loading mod base 0.17.8 (data.lua)
   1.949 Loading mod base 0.17.8 (data-updates.lua)
   2.063 Checksum for core: 2736929835
   2.063 Checksum of base: 3541142062
   2.603 Loading sounds...
   3.204 Info PlayerData.cpp:69: Local player-data.json unavailable
   3.204 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551979297
   3.344 Crop bitmaps.
   8.888 Parallel Sprite Loader initialized (threads: 3)
  12.889 Initial atlas bitmap size is 2048
  12.889 Created atlas bitmap 2048x876 [none]
  12.889 Created atlas bitmap 2048x1936 [decal]
  12.890 Created atlas bitmap 2048x2012 [decal]
  12.890 Created atlas bitmap 292x96 [decal]
  12.891 Created atlas bitmap 2048x2048 [low-object]
  12.892 Created atlas bitmap 2048x2048 [low-object]
  12.892 Created atlas bitmap 2048x2048 [low-object]
  12.892 Created atlas bitmap 2048x1776 [low-object]
  12.893 Created atlas bitmap 2048x2048 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  12.893 Created atlas bitmap 2048x1888 [mipmap]
  12.893 Created atlas bitmap 2048x2016 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.894 Created atlas bitmap 2048x2048 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.894 Created atlas bitmap 2048x2032 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2048 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2000 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2000 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2032 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2000 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x1280 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  12.895 Created atlas bitmap 2048x2000 [smoke, mipmap, linear-minification, linear-magnification]
  12.895 Created atlas bitmap 2048x1184 [smoke, mipmap, linear-minification, linear-magnification]
  12.896 Created atlas bitmap 2048x2048 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  12.896 Created atlas bitmap 2048x680 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  12.896 Created atlas bitmap 2048x1692 [alpha-mask]
  12.898 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.899 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.901 Created atlas bitmap 2048x2040 [shadow, linear-magnification, alpha-mask]
  12.902 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.904 Created atlas bitmap 2048x2040 [shadow, linear-magnification, alpha-mask]
  12.905 Created atlas bitmap 2048x2028 [shadow, linear-magnification, alpha-mask]
  12.906 Created atlas bitmap 2048x2032 [shadow, linear-magnification, alpha-mask]
  12.907 Created atlas bitmap 2048x2024 [shadow, linear-magnification, alpha-mask]
  12.908 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.909 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.911 Created atlas bitmap 2048x2040 [shadow, linear-magnification, alpha-mask]
  12.915 Created atlas bitmap 2048x2048 [shadow, linear-magnification, alpha-mask]
  12.922 Created atlas bitmap 2048x1640 [shadow, linear-magnification, alpha-mask]
  12.922 Created atlas bitmap 2048x2048 [shadow, mipmap, linear-magnification, alpha-mask]
  12.922 Created atlas bitmap 2048x576 [shadow, mipmap, linear-magnification, alpha-mask]
  13.190 Created virtual atlas pages 4096x4096x8
  13.634 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  14.095 Parallel Sprite Loader initialized (threads: 3)
  19.014 Sprites loaded
  19.083 Generated mipmaps for atlas of size 2048x2048
  19.151 Generated mipmaps for atlas of size 2048x2048
  19.215 Generated mipmaps for atlas of size 2048x2048
  19.270 Generated mipmaps for atlas of size 2048x1776
  19.324 Generated mipmaps for atlas of size 2048x2048
  19.371 Generated mipmaps for atlas of size 2048x1888
  19.417 Generated mipmaps for atlas of size 2048x2016
  19.461 Generated mipmaps for atlas of size 2048x2048
  19.503 Generated mipmaps for atlas of size 2048x2032
  19.542 Generated mipmaps for atlas of size 2048x2048
  19.581 Generated mipmaps for atlas of size 2048x2000
  19.620 Generated mipmaps for atlas of size 2048x2000
  19.658 Generated mipmaps for atlas of size 2048x2032
  19.698 Generated mipmaps for atlas of size 2048x2000
  19.734 Generated mipmaps for atlas of size 2048x1280
  19.774 Generated mipmaps for atlas of size 2048x2000
  19.810 Generated mipmaps for atlas of size 2048x1184
  19.859 Generated mipmaps for atlas of size 2048x2048
  19.880 Generated mipmaps for atlas of size 2048x680
  19.899 Generated mipmaps for atlas of size 2048x2048
  19.912 Generated mipmaps for atlas of size 2048x576
  20.079 Generated mipmaps for virtual atlas of size 8192x16384
  20.084 Custom inputs active: 0
  20.161 Factorio initialised
  26.365 Loading Level.dat: 1281179 bytes.
  26.367 Info Scenario.cpp:147: Map version 0.17.8-0
  26.413 Checksum for script /Users/macchester92/Library/Application Support/factorio/temp/currently-playing/control.lua: 1848333929
 186.870 Quitting: user-quit.
 186.870 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 187.185 Steam API shutdown.
 187.186 Goodbye
Also, I've noticed that the font on the loading screen is small compared to 0.16.51, using the same UI scale. Perhaps, there is a bug with scaling/resolution/rendering (I'm sorry, have no idea what we call it) on Retina displays. Looks like my mac with integrated GPU can't handle the game in native Retina resolution. Anyway, hope this input helps to solve the issue. Thanks again!

macchester92
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Mar 05, 2019 1:03 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by macchester92 » Sat Mar 09, 2019 8:22 am

UPD:

Went through updating process - no changes in performance. Mac is still trying to turn water in the room into vapour. Feeling perplexed, I decided to downgrade to 0.16.51 stable and encountered error:

Code: Select all

Error Invalid value "low-quality" of BoolWithAuto at ROOT.graphics.texture-compression.
Solution: move to trash config.ini, restart the game.

The game downgraded successfully, loaded smoothly, settings were set to default. After 2-3 minutes in game, my Mac suddenly remembered we need some hot water to make a cup of tea and turned off 'kettle mode'. The game was unplayable. I think that even after the downgrade, some files were affected by the bug from 0.17.5 version. I don't see any other possible explanation.

Obviously, I was enraged and decided to delete the game, cursing my Mac, game and devs (sorry guys, we know you work hard, but sometimes we, the users, have to blow off some steam). While sipping my hot tea, which was made by a normal kettle, not my Mac, I realised I should not surrender and stand for the brave devs as long as possible, so I went to Steam and installed Factorio again (here to note, before installation I literally exterminated each and every last one of a file/note/picture/screenshot related to Factorio).

That was when magic appeared. After installing the fresh copy, my Mac loaded it immediately and never ever overheated again. Not even a single time. I even tried to push a little over the limit by selecting "High" for sprites. It gave me a maximum of 35 FPS but the CPU was cool as King's of the Night hand.

What I've also noticed, is that game interface (which was set to system default 175%) is way different from 175% in 0.17.5+. In-game graphics is more pixelish but the game performance is fantastic.

So, at this point of time, I'm in the pre-update setting: last time I updated to 0.17.4 the game performance was great, and the graphics was stunning. Until 0.17.5 kicked off...

P.S. I apologise for replying to my replies to my reply to my topic, but I just want to be sure Devs have all possible information from my side to kick their programming machines in the right spot, so it works properly again. That's how we fix IT related stuff, don't we?

posila
Factorio Staff
Factorio Staff
Posts: 3365
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by posila » Wed Mar 13, 2019 2:19 pm

Thanks for the report.
For 0.17.12, I added graphics option "Render in native screen resolution"; when it's enabled, the game will start and render Retina resolution; when disabled on mac with Retina display, the game will render in normal resolution and macOS will be upscaling it. By default, the option should be disabled unless game detects dedicated GPU.

Similar reports: 66985

Paul17041993
Inserter
Inserter
Posts: 34
Joined: Fri Nov 25, 2016 4:26 am
Contact:

Re: [0.17.5][MacOS] Factorio performance dropped significantly

Post by Paul17041993 » Thu Mar 14, 2019 9:55 pm

posila wrote:
Wed Mar 13, 2019 2:19 pm
By default, the option should be disabled unless game detects dedicated GPU.
This would've likely been the case due to the iris-pro part of the iGPU (128MB cache), and seeing as my 290X also becomes a furnace when texture streaming takes place, I suggest trying with texture streaming off?
Please be sure you've googled your question before asking me about code... :T

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users