GPU hangs in Factorio on Radeon RX 5700 XT (MSI GAMING X)
I'm running Kubuntu 19.10 with latest kernel 5.5 and latest Mesa from Oibaf PPA. GPU hangs when I'm playing Factorio. I have a pretty big savegame with a lot of objects - when I zoom out in map mode - GPU hangs. GPU does not hang in other games that I have and everything worked fine since I bought that GPU. I've spent 400+ hours in Factorio recently and it worked very good, but GPU started to hang since recent Mesa update from Oibaf PPA (about a day ago). I can reproduce this issue every time: load the save, switch to map mode and zoom out. As far as I know this game is using OpenGL. This was in journalctl from previous boot:
kernel: [drm:amdgpu_dm_commit_planes.constprop.0 [amdgpu]] *ERROR* Waiting for fences timed out!
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=67450, emitted seq=67452
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process factorio pid 3838 thread factorio:cs0 pid 3864
kernel: [drm] GPU recovery disabled.
kernel: show_signal_msg: 25 callbacks suppressed
lspci -vnn | grep VGA -A 12
0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [1002:731f] (rev c1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Navi 10 [1462:3816]
Flags: bus master, fast devsel, latency 0, IRQ 93
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at fcc80000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon RX 5700 XT (NAVI10, DRM 3.36.0, 5.5.0-050500-generic, LLVM 9.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.0-devel (git-650c680 2020-01-28 eoan-oibaf-ppa)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.0-devel (git-650c680 2020-01-28 eoan-oibaf-ppa)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.0-devel (git-650c680 2020-01-28 eoan-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
uname -a
Linux workstation 5.5.0-050500-generic #202001262030 SMP Mon Jan 27 01:33:36 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Edited by Dmitry Zykov