TheForceEngine icon indicating copy to clipboard operation
TheForceEngine copied to clipboard

High CPU Usage in Main Menu

Open codengine opened this issue 2 years ago • 6 comments
trafficstars

I have a Ryzen 5950X CPU and noticed a very high CPU load while at the main menu. In my case one of the cores is at 100% load: grafik

During gameplay, the CPU load is "normal" at about 5% across all cores.

While working on the MIDI PR, I noticed that the routines that read and render the settings are called multiple times instead of just once, maybe this is the reason?

Thanks in advance.

codengine avatar Dec 21 '22 02:12 codengine

Hi

Do you mean the Agent Menu or the TFE Menu ? Take Screenshot for sure !

TP555 avatar Dec 21 '22 02:12 TP555

Hi

Do you mean the Agent Menu or the TFE Menu ? Take Screenshot for sure !

Main Menu, Settings, Manual, Credits etc. It does not happen in the Agent Selection. It also happens when you pause the game and open the configuration screen.

codengine avatar Dec 21 '22 03:12 codengine

@codengine

Try to Limit the FPS , with Msi Afterburner to safe 60FPS , you can check before the max. FPS ! But i think , with a Ryten 5950x you will generate a bunch of 1000FPS ;D

TP555 avatar Dec 21 '22 15:12 TP555

@codengine

Try to Limit the FPS , with Msi Afterburner to safe 60FPS , you can check before the max. FPS ! But i think , with a Ryten 5950x you will generate a bunch of 1000FPS ;D

The FPS is already limited to 80 FPS for Fullscreen and Background Applications.

codengine avatar Dec 21 '22 15:12 codengine

@codengine

ok , set to OpenGL for a Test and set 2160p in-Game ! May TFE have some problems to handle 32T , as Dual Core App. You can try to limit the Cores for TheForceEngine.exe to max 2 or 4 Cores in the Task Manager / Processor Affinity !

im get if Software or OpenGL around 27-30% CPU Usage i7 3770 @3,70ghz AC !

TP555 avatar Dec 21 '22 16:12 TP555

The issue you are seeing is that the Menus are rendered in software even if the main game is set to GPU Rendering. There is future work on add GPU acceleration to Landru, the 2D system used for cutscenes and menus.

luciusDXL avatar Dec 21 '22 21:12 luciusDXL