[0.17.79] Game freezes System on Ubuntu 19.10

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

[0.17.79] Game freezes System on Ubuntu 19.10

Post by minkanw »

I'm having an issue where the game will freeze the system for 1-10 seconds. I don't think this is an UPS issue since it occurs on an empty map as well and it seems not to be correlated to CPU load or available RAM, as no core is over 40% when this happens and no more than 25% of RAM are being used.

Has anyone an idea how to fix this?
Unfortunately it makes the game unplayable for now :/

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Game (17.79) freezes System on Ubuntu 19.10

Post by Jap2.0 »

Press F4 and enable the option "show-time-usage" and take a screenshot during and after the freeze, and post that here. Please also post a log (located at ~/.factorio)
There are 10 types of people: those who get this joke and those who don't.

minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

Re: Game (17.79) freezes System on Ubuntu 19.10

Post by minkanw »

Unfortunately I can't take a screenshot during the freeze as it freezes the whole system, not just Factorio. I can only take a screenshot shortly after the freeze.

I've attached the screenshots and logfile.

Before freeze
20191209222123_1.jpg
20191209222123_1.jpg (1.02 MiB) Viewed 1218 times
After freeze
20191209222352_1.jpg
20191209222352_1.jpg (1.01 MiB) Viewed 1218 times
I've also noticed freezing when starting the game during the "Loading sprites" phase.
Attachments
factorio-current.log
(3.8 KiB) Downloaded 48 times

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by Jap2.0 »

Do you have vsync on, and if so, does turning it off fix the issue?

That's the only thing I'm coming up with; to be entirely honest there are a few things there that make no sense to me (eg. average game update time is never going to be 0.000), so if that doesn't help I'll leave this for someone else. There is also a debug option along the lines of show-graphics-time-usage, and I don't know if that would show anything interesting.
There are 10 types of people: those who get this joke and those who don't.

minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by minkanw »

Vsync on/off unfortunately doesn't make a difference.

What's confusing me is that it also freezes during starting the game, so I don't think this has anything to do with graphics really?

Loewchen
Global Moderator
Global Moderator
Posts: 8316
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by Loewchen »

System freezes are likely system and not game issues, check cpu/gpu temperatures when the issues occur. Try changing the game options (9300) and see if that does anything. Try different graphic drivers.

minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by minkanw »

Temperatures are all within the normal range, I will try playing around with the options a bit.
But the options won't really affect the system during game startup, or will they?

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by Jap2.0 »

By freezing during startup do you mean the progress bar being stuck at some percentage (I don't remember the exact one) for ~30 seconds (give or take) or a full system freeze?

Edit: I second the suggestion to try updating your graphics drivers. (It only looks like you're about a month behind, but you never know.)
There are 10 types of people: those who get this joke and those who don't.

minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by minkanw »

By freeze I'm always talking about a full system freeze.

minkanw
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Dec 09, 2019 6:50 pm
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by minkanw »

I updated the driver, but the problem persists.

Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: [0.17.79] Game freezes System on Ubuntu 19.10

Post by Honktown »

Try memtest86 ( https://www.memtest86.com/ ) or the memory tester that should be on the thing you used to install Ubuntu. Factorio will rapidly eat ram, and if it hit a bad spot, it could definitely freeze the system or get corrupted. Possibly the system also starts allocating memory, and even though Factorio's good, the system grabs the bad section and tries to use it.

I've had system freezing from overloading my power supply, that was an odd one.
I have mods! I guess!
Link

Post Reply

Return to “Technical Help”