Crashes in amd/mesa - several times a day
System information
$ inxi -GSC -xx
System:
Host: rider Kernel: 5.7.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Fluxbox 1.3.7 dm: LightDM Distro: Debian GNU/Linux bullseye/sid
CPU:
Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 86245
Speed: 4138 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 4148 2: 2081
3: 2196 4: 2196 5: 4142 6: 2195 7: 2195 8: 2196 9: 4130 10: 2069 11: 4148
12: 2196
Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 08:00.0
chip ID: 1002:731f
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa resolution: 1: 1920x1080~60Hz
2: 1920x1080~60Hz s-dpi: 96
OpenGL:
renderer: AMD Radeon RX 5600 XT (NAVI10 DRM 3.37.0 5.7.0-3-amd64 LLVM 10.0.1)
v: 4.6 Mesa 20.1.7 direct render: Yes
Describe the issue
Ever since getting my new system which moved me from an nvidia to a Radon TX 5600 XT I've had XOrg crashing several times a day. It happens randomly. Never when the machine is idle, but there's no consistent activity.
Backtrace included below.
Regression
On my old hardware, yes.
Log files as attachment
- Output of
dmesg
- Backtrace
- Gpu hang details
Backtrace:
[ 72995.788] (EE)
[ 72995.788] (EE) Backtrace:
[ 72995.793] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x138) [0x56449292fe88]
[ 72995.794] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f8803c4e18f]
[ 72995.794] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (__nss_database_lookup+0x28131) [0x7f8803bfdc41]
[ 72995.797] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x112f0f) [0x7f880208227f]
[ 72995.797] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x138740) [0x7f88020ccd30]
[ 72995.798] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x13b601) [0x7f88020d22f1]
[ 72995.799] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x1db4ac) [0x7f88023cc4bc]
[ 72995.799] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x1d7a0f) [0x7f88023c4e6f]
[ 72995.800] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x1dbf83) [0x7f88023cd923]
[ 72995.800] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_zink+0x210f9) [0x7f88018aa579]
[ 72995.801] (EE) 10: /usr/lib/xorg/modules/libglamoregl.so (glamor_destroy_pixmap+0x148) [0x7f87f80a0b68]
[ 72995.802] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 72995.802] (EE) 11: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7f880313d650]
[ 72995.802] (EE) 12: /usr/lib/xorg/Xorg (BlockHandler+0xa5) [0x5644927d72c5]
[ 72995.802] (EE) 13: /usr/lib/xorg/Xorg (WaitForSomething+0x11a) [0x5644929296fa]
[ 72995.802] (EE) 14: /usr/lib/xorg/Xorg (SendErrorToClient+0x113) [0x5644927d2723]
[ 72995.802] (EE) 15: /usr/lib/xorg/Xorg (InitFonts+0x3b4) [0x5644927d6914]
[ 72995.803] (EE) 16: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xea) [0x7f8803a99cca]
[ 72995.803] (EE) 17: /usr/lib/xorg/Xorg (_start+0x2a) [0x5644927c073a]
[ 72995.803] (EE)
[ 72995.803] (EE) Segmentation fault at address 0x7f87e07f9000
[ 72995.803] (EE)
Fatal server error:
[ 72995.803] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 72995.803] (EE)
[ 72995.803] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 72995.803] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 72995.803] (EE)
[ 72995.803] (II) AIGLX: Suspending AIGLX clients for VT switch
dmsg:
[Wed Sep 16 13:14:29 2020] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=21735486, emitted seq=21735488
[Wed Sep 16 13:14:29 2020] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Xorg pid 426904 thread Xorg:cs0 pid 426907
[Wed Sep 16 13:14:29 2020] amdgpu 0000:08:00.0: GPU reset begin!
[Wed Sep 16 13:14:29 2020] [drm] free PSP TMR buffer
[Wed Sep 16 13:14:29 2020] pcieport 0000:00:03.1: PME: Spurious native interrupt!
[Wed Sep 16 13:14:31 2020] amdgpu 0000:08:00.0: GPU reset succeeded, trying to resume
[Wed Sep 16 13:14:31 2020] [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
[Wed Sep 16 13:14:31 2020] [drm] VRAM is lost due to GPU reset!
[Wed Sep 16 13:14:31 2020] [drm] PSP is resuming...
[Wed Sep 16 13:14:31 2020] [drm] reserve 0x900000 from 0x817e400000 for PSP TMR
[Wed Sep 16 13:14:31 2020] amdgpu 0000:08:00.0: RAS: optional ras ta ucode is not available
[Wed Sep 16 13:14:31 2020] SMU is resuming...
[Wed Sep 16 13:14:31 2020] SMU is resumed successfully!
[Wed Sep 16 13:14:32 2020] [drm] kiq ring mec 2 pipe 1 q 0
[Wed Sep 16 13:14:32 2020] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[Wed Sep 16 13:14:32 2020] [drm] JPEG decode initialized successfully.
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring sdma0 uses VM inv eng 12 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring sdma1 uses VM inv eng 13 on hub 0
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring vcn_dec uses VM inv eng 0 on hub 1
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring vcn_enc0 uses VM inv eng 1 on hub 1
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring vcn_enc1 uses VM inv eng 4 on hub 1
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: ring jpeg_dec uses VM inv eng 5 on hub 1
[Wed Sep 16 13:14:32 2020] [drm] recover vram bo from shadow start
[Wed Sep 16 13:14:32 2020] [drm] recover vram bo from shadow done
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] amdgpu 0000:08:00.0: GPU reset(4) succeeded!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!
[Wed Sep 16 13:14:32 2020] [drm] Skip scheduling IBs!