Single player paused CPU usage

Bugs that are actually features.
Post Reply
bjthinks
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jan 02, 2018 2:43 am
Contact:

Single player paused CPU usage

Post by bjthinks »

This one is a big problem for me, since I like to pause the game and do other things while I think about my factory. When I pause with either Shift-Space or ESC, the CPU usage is about 20%. This heats up my laptop and drains the battery, so I end up saving and quitting whenever I want to take even a short break from the game. :( :( :(

Any chance we could get the CPU usage to go to zero when a single player game is paused? Please?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Single player paused CPU usage

Post by Rseding91 »

Thanks for the report however that's not a bug. You're running a graphics and CPU intensive game - it's going to use your computers resources.
If you want to get ahold of me I'm almost always on Discord.

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

Re: Single player paused CPU usage

Post by posila »

Minimize the game instead of letting it run behind other windows; that will stop rendering.

Pi-C
Smart Inserter
Smart Inserter
Posts: 1654
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Single player paused CPU usage

Post by Pi-C »

posila wrote:
Tue May 07, 2019 9:08 pm
Minimize the game instead of letting it run behind other windows; that will stop rendering.
Similar issue here: Game is paused, top shows CPU usage varying between 74% and 80%. After minimizing the game, CPU usage goes down into the range of 18% to 24%. Now, I have 4 virtual desktops (VD), Factorio is running on VD1, and I've the forum open in Firefox on VD2. After switching to VD2 and back to VD1, top shows again CPU loads between 74% and 80% although the game still is paused and minimized. It will remain in this range until I unminimize (or switch to) the game and minimize it again. Would that still be expected behavior?

By the way: I use Debian/sid with the MATE desktop environment. For information on my hardware, here is the start of factorio-current.log:

Code: Select all


   0.014 2019-05-18 16:32:28; Factorio 0.17.41 (build 45035, linux64, alpha)
   0.095 Operating system: Linux (Debian 10)
   0.095 Program arguments: "./factorio"
   0.095 Read data path: /home/pc/GOG_Games/Factorio/0.17/data
   0.095 Write data path: /home/pc/GOG_Games/Factorio/0.17/script-output [789650/1762112MB]
   0.095 Binaries path: /home/pc/GOG_Games/Factorio/0.17/bin
   0.103 System info: [CPU:         Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, 4 cores, RAM: 15982 MB]
   0.103 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=lightdm-xsession XDG_SESSION_DESKTOP=lightdm-xsession XDG_CURRENT_DESKTOP=MATE
   0.103 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.224 Available displays: 1
   0.224  [0]: SMB2430L 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.253 Initialised OpenGL:[0] GeForce GTX 1050/PCIe/SSE2; driver: 3.3.0 NVIDIA 418.74
   0.253   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.253   [Version] 3.3
   0.253 Verbose GraphicsInterfaceOpenGL.cpp:792: [Caps] Tex:32768, TexArr:2048, TexBufSz:131072kB; TexUnits:192; UboSz:64kB
   0.269 Verbose PipelineStateObject.cpp:83: Time to load shaders: 0.016605 seconds.
   0.275 Graphics settings preset: very-high
   0.275   Dedicated video memory size 2048 MB
   0.275 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.275                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

Post Reply

Return to “Not a bug”