multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.41k stars 438 forks source link

cpu overheating when MTA is running #3345

Open CementBlock89 opened 8 months ago

CementBlock89 commented 8 months ago

Describe the bug

This started happening about 5-6 months ago, before MTA ran perfectly fine, but at some point, once I launched the game, my cpu slowly creeped up to 70C (the cpu usage stays at 13-20%), before the temp was 45-50C. In my case, ive had an AMD ryzen this whole time, cause as i mentioned, this issue only started a few months ago, but for a friend of mine the same issue occurred, but for him, he switched from intel to AMD ryzen AND THEN this issue started happening. Both of us have a legit gta sa copy (for me its steam, for friend its rockstar launcher). This issue DOES NOT replicate in regular gta sa, the temperature is as it should be (45 - 55C). I will mention, i pulled this off once, i tried joining a game, playing for a bit, and the temperature all of a sudden dropped and stayed normal (45-55C), but this only happened once. I've also tried running an older version of MTA, and the overheating DID NOT HAPPEN. Ive tested the temperature on both the AMD adrenalin metrics overlay thing, and MSI afterburner.

Steps to reproduce

  1. Open MTA 2. Cpu starts at about 50C, and slowly rises to 70C.

Version

Multi Theft Auto v1.6-release-22388

Additional context

No response

Relevant log output

No response

Security Policy

Lpsd commented 8 months ago

Please confirm your actual PC specs (AMD Ryzen is not specific enough)

CementBlock89 commented 8 months ago

Please confirm your actual PC specs (AMD Ryzen is not specific enough)

My cpu is a ryzen 5 3600, my friend upgraded to new pc from intel i7 6700 to ryzen 7 7800x3d

Allerek commented 8 months ago

Describe the bug

This started happening about 5-6 months ago, before MTA ran perfectly fine, but at some point, once I launched the game, my cpu slowly creeped up to 70C (the cpu usage stays at 13-20%), before the temp was 45-50C. In my case, ive had an AMD ryzen this whole time, cause as i mentioned, this issue only started a few months ago, but for a friend of mine the same issue occurred, but for him, he switched from intel to AMD ryzen AND THEN this issue started happening. Both of us have a legit gta sa copy (for me its steam, for friend its rockstar launcher). This issue DOES NOT replicate in regular gta sa, the temperature is as it should be (45 - 55C). I will mention, i pulled this off once, i tried joining a game, playing for a bit, and the temperature all of a sudden dropped and stayed normal (45-55C), but this only happened once. I've also tried running an older version of MTA, and the overheating DID NOT HAPPEN. Ive tested the temperature on both the AMD adrenalin metrics overlay thing, and MSI afterburner.

Steps to reproduce

  1. Open MTA 2. Cpu starts at about 50C, and slowly rises to 70C.

Version

Multi Theft Auto v1.6-release-22388

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.

Ryzen 5 3600 idle temperature is from around 45 to 55 degrees C, 70 degrees while playing the game isn't a problem here - you've most likely got your things wrong before. Keeping 'idle' temperatures while playing the game isn't really possible.

https://www.reddit.com/r/Amd/comments/fcbl72/what_are_normal_ryzen_3600_temps_idle_and_under/

https://www.quora.com/Whats-a-good-temperature-range-for-a-Ryzen-5-3600-CPU

Lpsd commented 8 months ago

You should also consider which temperature value you're reading. Is it the maximum temperature from any core? MTA is primarily single threaded, which will significantly increase temperatures of a single core. Measuring temps against SA (singleplayer) won't provide any valuable insight due to the amount of extra stuff in MTA

idarrr commented 8 months ago

Try to play other game like GTA V and see if it's still overheating, comparing SA singleplayer with MTA isn't enough cause those barely stressing your CPU. This might not related to MTA, but rather than a poor cooling system (or unique case for certain CPUs). MTA is single threaded afaik, meaning that it won't utilize all of your 6 cores CPU and won't draw much power to make your CPU overheat. I'm using both ryzen 5000 series and 2000 series CPU running Multi Theft Auto v1.6-release-22388 on Windows 10 and core temp never go above 50 degrees (not using stock cooler but decent non expensive cooler, with bunch of background task and many chrome tabs). AMD Stock cooler isn't that good, and ryzen 5 3600 is known to be a hot CPU and require a good cooling solution. You might want to provide power draw of your CPU, all of your core temp, your ambient temp and what cooler are you using, what motherboard are you using and what background task are you running. There are so many factors that makes your CPU overheat including motherboard, airflow, operating system, etc.

CementBlock89 commented 8 months ago

Try to play other game like GTA V and see if it's still overheating, comparing SA singleplayer with MTA isn't enough cause those barely stressing your CPU. This might not related to MTA, but rather than a poor cooling system (or unique case for certain CPUs). MTA is single threaded afaik, meaning that it won't utilize all of your 6 cores CPU and won't draw much power to make your CPU overheat. I'm using both ryzen 5000 series and 2000 series CPU running Multi Theft Auto v1.6-release-22388 on Windows 10 and core temp never go above 50 degrees (not using stock cooler but decent non expensive cooler, with bunch of background task and many chrome tabs). AMD Stock cooler isn't that good, and ryzen 5 3600 is known to be a hot CPU and require a good cooling solution. You might want to provide power draw of your CPU, all of your core temp, your ambient temp and what cooler are you using, what motherboard are you using and what background task are you running. There are so many factors that makes your CPU overheat including motherboard, airflow, operating system, etc.

GTA V gets normal temp at around 55-62C, same with apex legends, same with genshin impact, same with OW2 etc. Also, i think i realized whats going on with the mta high cpu temp issue basically something is loading which is taking way too long,like 5+ minutes which makes my cpu temp go to 70c+ (i have a giant dual air cooler and a really high airflow case) but no clue on what is loading, its not a server,something in mta itself just in main menu too,it keeps going even after you join server my friends cpu (r7 7800x3d) is back to idle temperature and 3% usage ingame after its done maybe mta could optimize the way its loading that?because to my friend with r5 3600 it happend after an update yeah something is loading for ages.. but what could it be you can join a server without it being fully loaded so it makes no sense to me?

Xenius97 commented 8 months ago

My cpu is a ryzen 5 3600, my friend upgraded to new pc from intel i7 6700 to ryzen 7 7800x3d

For Ryzen, 70°C is okay. Heating up is completely natural with Ryzen processors, and they can even reach temperatures of 90-95 degrees Celsius without any problem. We use a Ryzen 7 in our server machine, and it typically operates around 80-90 degrees Celsius, which is perfectly fine.

Look on the bright side, you don't need to turn on additional heating in your room.

Shrub91 commented 8 months ago

Seems related to: https://github.com/multitheftauto/mtasa-blue/issues/2856