I get a number of panics with any OpenGL operation on Radeon hardware. Stack trace includes radeon_crtc_handle_flip() or radeon_sa_bo_new(). I have photos of the panics if useful.
How to reproduce:
Or any other GL consumer.
I am unable to obtain a kernel dump on panic, despite having dumpon configured and kern.coredump=1, as the machine is completely hung (long press power button to switch off).
% uname -a
FreeBSD radeon 12.2-STABLE FreeBSD 12.2-STABLE GENERIC amd64
Was OK in previous versions (12.1 STABLE), cannot dissect which one exactly. In July it was working.
% pkg info|fgrep drm
drm-fbsd12.0-kmod-4.16.g20200221 DRM modules for the linuxkpi-based KMS components
libdrm-2.4.102,1 Userspace interface to kernel Direct Rendering Module services
% pkg info | fgrep -i opengl
glew-2.2.0 OpenGL Extension Wrangler Library
libGLU-9.0.1 OpenGL utility library
libepoxy-1.5.4 Library to handle OpenGL function pointer management
libgltf-0.0.2_21 C++ Library for rendering OpenGL models stored in glTF format
mesa-demos-8.4.0_2 OpenGL demos distributed with Mesa
mesa-dri-20.2.0_1 OpenGL hardware acceleration drivers for DRI2+
mesa-libs-20.2.0_1 OpenGL libraries that support GLX and EGL clients
qt5-opengl-5.15.0 Qt 5-compatible OpenGL support module
% pciconf -lv
vgapci0@pci0:1:5:0: class=0x030000 card=0x1609103c chip=0x97121002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RS880M [Mobility Radeon HD 4225/4250]'
class = display
subclass = VGA
NOTE: I can only have this with radeonkms.ko. amdgpu.ko is working.
Is this a known issue? Is there a fix for this?