FAF Client uses extreme amounts of CPU

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

FAF Client uses extreme amounts of CPU

Postby Rikai » 29 Aug 2019, 22:34

I recently lost a game because my PC was slowing down to below 1 fps.
I was wondering what is happening, because this happens occasionally.

While ingame, the taskmanager was still unsuspicious. But when I looked at it again after the game, I found that the downlord's client is using 90-100% cpu.

Closing the client "solved" the problem, as expected. But since I experience this occasionally I wanna get to the root of the Problem.
The client was running for around 10 hours at the time that the bug occurred. PC for the same amount of time.
---
Logs:
downlords-faf-client.log
https://www.dropbox.com/s/apn4tncobjg36 ... t.log?dl=1

game.log
https://www.dropbox.com/s/5av5zglq3abryli/game.log?dl=1

Downlords Client
0.10.7

Taskmanager Screenshots:
https://www.dropbox.com/s/jr4ju7p6zn0gr ... 5.png?dl=0
https://www.dropbox.com/s/ilgv3qvsz2nbh ... 2.png?dl=0

System Specs:
Ryzen 3 1200
8 Gigs of RAM DDR4
Geforce 1060
Mainboard Asus B350M
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Re: FAF Client uses extreme amounts of CPU

Postby Rikai » 03 Sep 2019, 19:17

Newsflash:
It got worse. And stuff building up is not the cause!

I'm currently using the RC7 of the soon-to-be-released 1.0.0 update. (So a different version than in the original post)

I just had an episode where I noticed my PC running weirdly slow for no reason. I suspected the faf client. Which indeed was the cause.

Then something new happened: After around 3 minutes or so of slowdown, the CPU load suddenly vanished:

Image.

I kept the client open. It still used an absurd amount of RAM (863mb).
---
Then, after another 3 minutes of everything running fine, the CPU load spiked again.

I watched it in Taskmanger for a couple of seconds (maybe 15 seconds). Then the spike was gone again.
Because the client just crashed.
It terminated without error message. If I had been ingame, I would have been disconnected, since the game cannot operate without the client being open.

Image

Since "fine" and "broken" switched in a matter of minutes between 98% CPU load and 0% load, I can deduce that "stuff building up in the background" (as Gorton suggested) is not the case.

Clanmates suggested a reinstall. Problem is: That is already a reinstall. I Installed the RC7 to a different SSD than the 0.10.7.
So reinstalling the client is proven to not solve anything.

Here is another downlords-faf-client.log:
Attachments
downlords-faf-client.log
(3.33 MiB) Downloaded 24 times
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Re: FAF Client uses extreme amounts of CPU

Postby Geosearchef » 03 Sep 2019, 20:46

If I had been ingame, I would have been disconnected, since the game cannot operate without the client being open.


The ice adapter will keep running when the client crashes (unless it sends a termination request to the adapter will crashing).

Your issue is being investigated.
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef

Re: FAF Client uses extreme amounts of CPU

Postby axel12 » 03 Sep 2019, 21:03

Looks like OutOfMemoryException, tho it was not logged but might be that fatal Errors don't get logged. Never tried that...

I know I also notice that this happens in RC7 and release is hold back for that reason...
User avatar
axel12
Contributor
 
Posts: 47
Joined: 08 Jan 2018, 13:22
Location: DE
Has liked: 7 times
Been liked: 6 times
FAF User Name: axel12

Re: FAF Client uses extreme amounts of CPU

Postby axel12 » 03 Sep 2019, 21:06

I can also reproduce it locally and 24% of memory is used by Texts which seems to much so probably some Ui is not cleared up and builds up in the background
User avatar
axel12
Contributor
 
Posts: 47
Joined: 08 Jan 2018, 13:22
Location: DE
Has liked: 7 times
Been liked: 6 times
FAF User Name: axel12

Re: FAF Client uses extreme amounts of CPU

Postby Katharsas » 04 Sep 2019, 08:20

@Rikai
Did you use the "Table" view or the "Tiles" option in Play tab in 0.10.7 ?
Katharsas
Avatar-of-War
 
Posts: 164
Joined: 29 May 2015, 21:44
Has liked: 22 times
Been liked: 34 times
FAF User Name: Katharsas

Re: FAF Client uses extreme amounts of CPU

Postby Rikai » 04 Sep 2019, 15:42

Table. Why does it matter?
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Re: FAF Client uses extreme amounts of CPU

Postby Katharsas » 04 Sep 2019, 18:53

Because the Tiles view could maybe have a memory leak. Searching for ladder causes high CPU load btw. is that the cause for this?
Katharsas
Avatar-of-War
 
Posts: 164
Joined: 29 May 2015, 21:44
Has liked: 22 times
Been liked: 34 times
FAF User Name: Katharsas

Re: FAF Client uses extreme amounts of CPU

Postby Rikai » 05 Sep 2019, 10:39

No. It happens at random times. Ladder search puts my CPU at around 30% with some waving around (25% to 35%).
Aside from that, the bug only happened outside of ladder search so far. Ingame or while doing normal PC stuff. Not while searching.
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Re: FAF Client uses extreme amounts of CPU

Postby Rikai » 05 Sep 2019, 10:44

axel12 wrote:probably some Ui is not cleared up and builds up in the background

Would that UI buildup not lead to a slow buildup of CPU load?
Instead we have a sudden spike that stays at around 100% for a random amount of time. (At the time of opening the thread, I thought it would never go away. was about 10 minutes before I lost my nerve and closed the client. At the next time, it suddenly vanished after maybe 3-5 minutes.)
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest