[AMDGPU][OpenGL] apitrace of kernel/firmware crash that requires a reboot
System information
System: Host: miniarch Kernel: 5.7.0-rc5-1-tkg-pds x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5
tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Arch Linux
CPU: Topology: 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: 103199
Speed: 4301 MHz min/max: 2200/4300 MHz Core speeds (MHz): 1: 4299 2: 4300 3: 4296 4: 4305 5: 4297 6: 4299 7: 4300
8: 4306 9: 4298 10: 4297 11: 4299 12: 4296
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine
driver: amdgpu v: kernel bus ID: 26:00.0 chip ID: 1002:67df
Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: amdgpu unloaded: fbdev,modesetting,vesa
alternate: ati resolution: 1: 3840x2160~60Hz 2: 2560x1440~60Hz s-dpi: 96
OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.37.0 5.7.0-rc5-1-tkg-pds LLVM 11.0.0)
v: 4.6 Mesa 20.2.0-devel (git-b408734e5e) direct render: Yes
Describe the issue
On yuzu (a nintendo switch emulator) when opengl is used, there are quite a few games and spots that cause this crash. Thankfully I was able to capture an apitrace in a reproducible spot that still causes the crash when replayed.
Software Tested
I've tested linux 5.4, linux 5.5, linux 5.6, linux 5.7-rc5, and amd-staging-drm-next
Files
Unlike the top trace, the following only causes a kernel/firmware crash on newer mesa versions: ctrnewmesa.trace