[15.35] Ubuntu freezes randomly

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.
Notnaton
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 06, 2017 8:00 pm
Contact:

[15.35] Ubuntu freezes randomly

Post by Notnaton »

When playing ubuntu freezes randomly. Sometimes I can play for hours, sometimes minutes.

This happens on any save, however more frequent when further in the game.
This save used to have mods, making it freeze quite often... tested it on experimental release without mods and it still freezes.

I play and the screen freezes, I can move the mouse around the screen, but not click on anything. This lasts for 3sec.
Screen goes black, for 1/2 sec.
Screen comes back on, sometimes i can move the mouse sometimes not. Can not click any button, factorio and ubuntu unreactive.

I can press Alt + PrtScr + REISUB to restart the computer.



EDIT:
Title change [15.34] + when playing to [15.35] + randomly
Attaching log file and Save file(test.zip)
Attachments
test.zip
Save file
(7.85 MiB) Downloaded 84 times
factorio-current.log
(4.23 KiB) Downloaded 88 times
Last edited by Notnaton on Fri Oct 06, 2017 8:50 pm, edited 3 times in total.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2378
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [15.34] Ubuntu freezes when playing

Post by Jap2.0 »

There are 10 types of people: those who get this joke and those who don't.
sillyfly
Smart Inserter
Smart Inserter
Posts: 1101
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by sillyfly »

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

Re: [15.35] Ubuntu freezes randomly

Post by Loewchen »

sillyfly wrote:See this post: viewtopic.php?f=11&t=51285
Ok.
@OP I'll assume this can be fixed by following the instructions in the link, if this is not the case and it happens again after all let us know.
Notnaton
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 06, 2017 8:00 pm
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by Notnaton »

Dont have intel, Deleted xserver-xorg-video* anyway... did not fix
and it happens randomly... when afk, running etc..
Loewchen
Global Moderator
Global Moderator
Posts: 9242
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by Loewchen »

Maybe your CPU is throttling? Check your CPU and GPU temperatures when running the game please, not sure what one uses on linux to do so, but I'm sure you can find something...
Try making a screenshot while it freezes and have these debug settings activated:
show-fps, show-time-usage,
See here on how to set this up: https://wiki.factorio.com/Debug_mode
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by orzelek »

Short screen freeze followed by black screen might mean GPU hang. I don't know what it does on linux after - on Windows it would usually recover and then inform with message that it happend.
Try updating the drivers and finding system logs to search if there are messages from GPU drivers.
Notnaton
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 06, 2017 8:00 pm
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by Notnaton »

I am able to reproduce the screen freeze...

step 1: Start factorio in small window
step 2: load buggy save (saved when frozen most likely....)
step 3: resize to fullscreen
step 4: wait
step 5: Profit

https://youtu.be/J_wm2uhSQmg

I was able to take the picture "radeon stalled" when i used a screen recorder. usually Ctrl + Alt + F1 doesnt do anything....
Attachments
ctrl + Alt + F1
ctrl + Alt + F1
IMG_20171007_002622.jpg (4.7 MiB) Viewed 3518 times
Notnaton
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Oct 06, 2017 8:00 pm
Contact:

Re: [15.35] Ubuntu freezes randomly

Post by Notnaton »

UPDATE

This is a Device Power Management bug on R9 290. https://bugs.freedesktop.org/show_bug.cgi?id=91880

What probably happend..:
When going from small window to bigger, DPM adjusted to higher level, causing crash.

fix:

Code: Select all

sudo -i
nano /etc/rc.local
Now add some code (I have 2 cards: card0 and card1):

Code: Select all

echo 'high' > '/sys/class/drm/card0/device/power_dpm_force_performance_level'
echo 'performance' > '/sys/class/drm/card0/device/power_dpm_state'
echo 'high' > '/sys/class/drm/card1/device/power_dpm_force_performance_level'
echo 'performance' > '/sys/class/drm/card1/device/power_dpm_state'

This makes Graphics card to run on full all the time... No crashes, after playing for 2 hours.
Edit: Makes gpu hot..
Post Reply

Return to “Technical Help”