Factorio: GPU hang when opening machine inventory
System information
System: Host: a Kernel: 5.12.8-161-tkg-pds x86_64 bits: 64 compiler: gcc v: 11.1.0
Desktop: sway 1.6-009c58fc dm: Ly Distro: Arch Linux
CPU: Info: 16-Core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3 rev: 0 cache:
L2: 8 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 217616
Speed: 3602 MHz min/max: 2200/3400 MHz boost: enabled Core speeds (MHz): 1: 3602 2: 3551
3: 3593 4: 3591 5: 3594 6: 3590 7: 3335 8: 3417 9: 3595 10: 3156 11: 3125 12: 3391
13: 3700 14: 3593 15: 3313 16: 3715 17: 3721 18: 3590 19: 3325 20: 3379 21: 3593 22: 3596
23: 3599 24: 3498 25: 3598 26: 3585 27: 3590 28: 3598 29: 3599 30: 3594 31: 3723 32: 3597
Graphics: Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] vendor: ASRock driver: amdgpu
v: kernel bus-ID: 0d:00.0 chip-ID: 1002:73bf
Display: wayland server: X.Org 1.21.1.1 compositor: sway driver: loaded: amdgpu
unloaded: modesetting alternate: ati,fbdev,vesa resolution: 1: 2560x1440~165Hz
2: 1080x1920~60Hz 3: 1920x1080~60Hz s-dpi: 96
OpenGL:
renderer: AMD Radeon RX 6800 XT (SIENNA_CICHLID DRM 3.40.0 5.12.8-161-tkg-pds LLVM 11.1.0)
v: 4.6 Mesa 21.2.0-devel (git-3a3eb63d6f) direct render: Yes
Describe the issue
Factorio on main branch will crash when opening the inventory of any machine. This happens every time for as soon as the inventory loads as far as I can tell.
Bisected to 13acbaec.
Log files as attachment
journalctl hang output:
Jun 02 21:17:40 a kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Jun 02 21:17:40 a kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Jun 02 21:17:46 a kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Jun 02 21:17:46 a kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=68590, emitted seq=68592
Jun 02 21:17:46 a kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process glretrace pid 33719 thread glretrace:cs0 pid 33720
Jun 02 21:17:46 a kernel: amdgpu 0000:0d:00.0: amdgpu: GPU reset begin!
apitrace, should crash at the end.