Page 1 of 1
[15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 8:23 pm
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)
Re: [15.34] Ubuntu freezes when playing
Posted: Fri Oct 06, 2017 8:27 pm
by Jap2.0
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 8:52 pm
by sillyfly
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 9:17 pm
by Loewchen
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.
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 9:24 pm
by Notnaton
Dont have intel, Deleted xserver-xorg-video* anyway... did not fix
and it happens randomly... when afk, running etc..
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 9:58 pm
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
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 10:29 pm
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.
Re: [15.35] Ubuntu freezes randomly
Posted: Fri Oct 06, 2017 11:15 pm
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....
Re: [15.35] Ubuntu freezes randomly
Posted: Sat Oct 07, 2017 1:51 pm
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:
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..