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)
[15.35] Ubuntu freezes randomly
[15.35] Ubuntu freezes randomly
- Attachments
-
- test.zip
- Save file
- (7.85 MiB) Downloaded 82 times
-
- factorio-current.log
- (4.23 KiB) Downloaded 87 times
Last edited by Notnaton on Fri Oct 06, 2017 8:50 pm, edited 3 times in total.
Re: [15.34] Ubuntu freezes when playing
There are 10 types of people: those who get this joke and those who don't.
Re: [15.35] Ubuntu freezes randomly
See this post: viewtopic.php?f=11&t=51285
Re: [15.35] Ubuntu freezes randomly
Ok.sillyfly wrote:See this post: viewtopic.php?f=11&t=51285
@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
Dont have intel, Deleted xserver-xorg-video* anyway... did not fix
and it happens randomly... when afk, running etc..
and it happens randomly... when afk, running etc..
Re: [15.35] Ubuntu freezes randomly
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:
Try making a screenshot while it freezes and have these debug settings activated:
See here on how to set this up: https://wiki.factorio.com/Debug_modeshow-fps, show-time-usage,
Re: [15.35] Ubuntu freezes randomly
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.
Try updating the drivers and finding system logs to search if there are messages from GPU drivers.
Re: [15.35] Ubuntu freezes randomly
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....
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
- IMG_20171007_002622.jpg (4.7 MiB) Viewed 3504 times
Re: [15.35] Ubuntu freezes randomly
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):
This makes Graphics card to run on full all the time... No crashes, after playing for 2 hours.
Edit: Makes gpu hot..
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
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..