Page 2 of 2
Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Fri Jul 29, 2016 3:35 pm
by BlakeMW
ssilk, I agree that smart CPU usage is a desirable trait and I also think this change is not a good one, but here's a couple of suggestions which may help:
1) The OS would have a setting which allows power saving to be set even when plugged in.
2) You may be able to underclock or undervolt the CPU to force it to run cooler, on my laptop which runs Ubuntu I installed an applet which makes it easy to limit the CPU frequency. Not sure what options are available for a MacBook though the hardware should definitely support it.
Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Fri Jul 29, 2016 4:09 pm
by Twinsen
Normally, in a game loop, your CPU only sleeps during Vsync. In our case Vsync seems to be broken in many ways, possibly due to bad drivers for the outdated OpenGL and Direct3D we use.
I will look into some smart ways of reducing the CPU usage.
ssilk wrote:So please explain me: Why has it been running with 12 Gigabyte Megafactory without noise/heat in 0.12? It runs at 20 ups, nearly 100% CPU. I could play 4 hours without charging. The CPU runs silent. Etc. Allready all explained.
NOW it doesn't even reach 60 ups, when running on blank new game. CPU runs hot.
See screenshot
The change done in 0.13.10 should increase the game's UPS but almost never make it worse.
I think it is slow at that moment because it is still generating the map.
Can you compare 0.13.9 and 0.13.10 on 2 identical savegames, at the same time, in the same location, at the same zoom level?
Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Fri Jul 29, 2016 6:45 pm
by ssilk
I will try, but it may take a week or more, until I have more time.
It is not so, that this needs to be fixed immediately. Now I think this is some kind of much deeper bug. Such kind of bugs take time to fix them properly.
... When I think back to how long it tooks to fix this one :
viewtopic.php?f=11&t=8446

Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Tue Aug 02, 2016 3:27 pm
by Twinsen
I did some changes and the CPU usage was now reduced significantly, both with vsync on and off.
You will see the change in Version: 0.13.14
If anyone notices any performance decrease(less FPS/UPS) or stuttering or jittering from 0.13.13 to 0.13.14 let me know.
Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Sun Aug 21, 2016 4:20 pm
by ssilk
I just want to mention, that with the last changes this has been improved. Not perfect (compared to 0.12), but noticeable better.
PS: Twinsen I love you, I'm now again allowed to play Factorio on Sofa.

Re: [0.13.10] MacBookPro: CPU is much hotter than with 0.12
Posted: Sun Aug 21, 2016 9:56 pm
by ssilk
Maybe I add:
Requesters (like the requester, that shows up after loading game, how much items have been removed/changed...) raise the CPU to 100%