mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Abnormally high CPU usage

Open adlude opened this issue 2 years ago • 10 comments

Describe the bug

There is high CPU utilization by the gta_sa.exe process when MTA is first opened. It takes unreasonably long (about 10 minutes) for the process CPU to reduce to under 10%.

Caveat: If one does not wait for the initial load to dissipate and immediately joins a server, the high CPU usage will never completely decrease; which causes frame lag and performance issues while playing on servers.

Steps to reproduce

  1. Open Task Manager to monitor CPU usage of the gta_sa.exe process. Ideally set Task Manager to be on top of all windows so it is visible while MTA is running.
  2. Launch a fresh instance of MTA.
  3. Remain at the splash screen once MTA opens. Don't do anything.
  4. Monitor CPU usage. It will be high initially, and by 10 minutes, it will reduce.

Version

Client: Multi Theft Auto v1.5.9-release-21463

Additional context

No response

Relevant log output

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not security related.

Update: Still present in MTA: SA 1.6

adlude avatar Dec 28 '22 21:12 adlude

I can confirm the high cpu utilization, after 5 minutes~ it went down. Tried joining a busy server and the cpu usage was around ~14%

Then I tried again without waiting, re-joined the same server and my cpu usage was around ~23% until it dropped (after a few minutes). It wasn't noticeable imo.

I'm using a Ryzen 5 5600 btw.

So I'm not sure this is an issue.

PlatinMTA avatar Dec 28 '22 22:12 PlatinMTA

I can confirm this. Here's how it goes on my computer:

Screenshot_1843 Screenshot_1844

navezy avatar Dec 30 '22 12:12 navezy

CPU usage statistics when mta sa is on: on

CPU usage statistics with mta sa turned off: 2

Even though I'm not on any server, when I start the client, GTASA and my CPU get into a huge battle for 10 minutes. When I join a server without waiting for this war to end, the game becomes unplayable and CPU usage never drops to normal levels.

Could you consider updating the launcher? Can't you reduce CPU usage while the game is running or in the launcher menu? This game is a game preferred by players with low system requirements, and in my opinion, its most important purpose is to be at a level that can meet the demands of these players.

yurigagarii avatar Nov 26 '23 14:11 yurigagarii

CPU usage statistics of mta after 10 minutes Ekran görüntüsü 2023-11-27 102810

yurigagarii avatar Nov 27 '23 07:11 yurigagarii

This still happens and it's a big issue. The game has to be left open from 15 to 20 minutes in order to calm down the CPU usage.

Shrub91 avatar Mar 17 '24 12:03 Shrub91

same issue here with my cpu high usage like 30% to 40% at the launch of the game then after few minutes went down like to 10% which stabilize my fps from dropping cpu: Intel core i5-9400F

Proxy-99 avatar Apr 12 '24 14:04 Proxy-99

Recently i decided to play this game once again and Ive been experiencing a lot of fps dropping and at some point its almost unplayable, i thought it was something i did but i found this thread/issue here so.. is there a fix or not? PC Specs Screenshot_1

williansilva17k avatar May 27 '24 21:05 williansilva17k