citadel icon indicating copy to clipboard operation
citadel copied to clipboard

High CPU usage -- laptop mode?

Open cronvel opened this issue 8 years ago • 2 comments

Hi,

The game use a lot of CPU. It looks like it use as much as possible. This is critical for laptop with low-end GPU, especially when it is unplugged: it drains the battery really quickly. Mine is drained after 30min of Argentum Age, but it can last up to 3h30min for regular desktop usage. I can't play when traveling for example.

Even when there is no animation at all (e.g. in the menu), it still consumes a lot. It would be nice if we could lower the framerate or turn down some visual effects.

cronvel avatar May 11 '16 12:05 cronvel

Hey there,

We are still going to do a pretty big performance pass over Argentum Age to make it more efficient.

If you press f3 while playing it will give you a display showing you the fps and some performance numbers. Can you tell me what numbers you typically see in there?

Also, what are the system specs of your machine?

davewx7 avatar May 11 '16 16:05 davewx7

During a game, the game reports 60 fps and 50% CPU usage. I don't know how it's computed since the htop command report 100% of a core (hyperthreading) just for the anura process. By the way, system display-related processes eat 30-40% of others cores.

In the menu, the game reports 10% of CPU usage, while htop shows 50% of a core.

My laptop specs:

  • CPU:
# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
Stepping:              7
CPU MHz:               841.750
CPU max MHz:           2300.0000
CPU min MHz:           800.0000
BogoMIPS:              3192.82
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              3072K
NUMA node0 CPU(s):     0-3
  • GPU:
# lshw -C display
  *-display               
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:31 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:3000(size=64)

cronvel avatar May 12 '16 17:05 cronvel