[Bug 237271] Radeon video card no longer works on 12-STABLE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 14 03:00:57 UTC 2019


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

            Bug ID: 237271
           Summary: Radeon video card no longer works on 12-STABLE
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: sigsys at gmail.com

My Radeon RX 560 stopped working after a 12-STABLE update.  It coincides with
some DRM-related MFCs.  I nailed it down to r345932.  On r345929 (previous
revision affecting 12-STABLE), the card still works.  But starting from
r345932, loading the amdgpu.ko module prints some DRM console messages and then
the display freezes.  The system is still responsive afterward but it sometimes
panics with a page fault not long after.  That's with
graphics/drm-fbsd12.0-kmod (rebuilt after each update while testing).

Here are logs of the kernel messages when the card does not work:

        kernel: [48] <6>[drm] amdgpu kernel modesetting enabled.
        kernel: [48] drmn0: <drmn> on vgapci0
        kernel: [48] vgapci0: child drmn0 requested pci_enable_io
        syslogd: last message repeated 1 times
        kernel: [48] <6>[drm] initializing kernel modesetting (POLARIS11
0x1002:0x67FF 0x1462:0x8A91 0xCF).
        kernel: [48] <6>[drm] register mmio base: 0xFE900000
        kernel: [48] <6>[drm] register mmio size: 262144
        kernel: [48] <6>[drm] PCI I/O BAR is not found.
        kernel: [48] <6>[drm] probing gen 2 caps for device 1022:1453 =
737903/e
        kernel: [48] <6>[drm] probing mlw for device 1002:67ff = 400883
        kernel: [48] <6>[drm] UVD is enabled in VM mode
        kernel: [48] <6>[drm] UVD ENC is enabled in VM mode
        kernel: [48] <6>[drm] VCE enabled in VM mode
        kernel: [48] ATOM BIOS: 113-C994LP-S01
        kernel: [48] <6>[drm] vm size is 64 GB, 2 levels, block size is 10-bit,
fragment size is 9-bit
        kernel: [49] drmn0: successfully loaded firmware image with name:
amdgpu/polaris11_mc.bin
        kernel: [49] drmn0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF
(4096M used)
        kernel: [49] drmn0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
        kernel: [49] Successfully added WC MTRR for [0xe0000000-0xefffffff]: 0; 
        kernel: [49] <6>[drm] Detected VRAM RAM=4096M, BAR=256M
        kernel: [49] <6>[drm] RAM width 128bits GDDR5
        kernel: [49] [drm:amdgpu_ttm_global_init] Failed setting up TTM memory
accounting subsystem.
        kernel: [49] [drm:amdgpu_device_ip_init] sw_init of IP block <gmc_v8_0>
failed -12
        kernel: [49] drmn0: amdgpu_device_ip_init failed
        kernel: [49] drmn0: Fatal error during GPU init
        kernel: [49] <6>[drm] amdgpu: finishing device.
        kernel: [49] vgapci0: child drmn0 requested pci_disable_io
        syslogd: last message repeated 1 times
        kernel: [49] device_attach: drmn0 attach returned 12

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


More information about the freebsd-bugs mailing list