[Bug 250503] [panic] OpenGL operations with radeon hardware

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 21 10:02:38 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250503

            Bug ID: 250503
           Summary: [panic] OpenGL operations with radeon hardware
           Product: Base System
           Version: 12.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: pr at aoek.com

Hi,
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:
vblank_mode=0 glxgears
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

svn #366230

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 at 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?

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list