Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2019 20:17:17 +0200
From:      Markiyan Kushnir <markiyan.kushnir@gmail.com>
To:        freebsd-x11 <freebsd-x11@freebsd.org>
Subject:   drm-current-kmod-4.16.g20190305 + xf86-video-ati-18.1.0, 1 failed with Radeon HD 4350
Message-ID:  <CACvtUJePpu64z0AsB8qf7sA3pPhP_hVZLmhzMB6nz8Z%2BnJE23A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
World + kernel + ports recently built:

uname -a
FreeBSD mkushnir.mooo.com 13.0-CURRENT FreeBSD 13.0-CURRENT #0
r345315: Wed Mar 20 18:30:09 EET 2019
root@alt.mkushnir.mooo.com:/work/obj/work/src.svn/amd64.amd64/sys/MAREK
 amd64


Video card:

vgapci0@pci0:2:0:0:     class=0x030000 card=0x03541043 chip=0x954f1002
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'RV710 [Radeon HD 4350/4550]'
    class      = display
    subclass   = VGA
hdac0@pci0:2:0:1:       class=0x040300 card=0xaa381043 chip=0xaa381002
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'RV710/730 HDMI Audio [Radeon HD 4000 series]'
    class      = multimedia
    subclass   = HDA

Drivers:

drm-current-kmod-4.16.g20190305
xf86-video-ati-18.1.0,1

An attempt to start X failing with:

Mar 22 19:34:47 mkushnir kernel: [drm] radeon kernel modesetting
enabled.
Mar 22 19:34:47 mkushnir kernel: drmn0: <drmn> on vgapci0
Mar 22 19:34:47 mkushnir kernel: vgapci0: child drmn0 requested
pci_enable_io
Mar 22 19:34:47 mkushnir syslogd: last message repeated 1 times
Mar 22 19:34:47 mkushnir kernel: [drm] initializing kernel modesetting
(RV710 0x1002:0x954F 0x1043:0x0354 0x00).
Mar 22 19:34:47 mkushnir kernel: [drm:radeon_device_init] Unable to
find PCI I/O BAR
Mar 22 19:34:47 mkushnir kernel: [drm:radeon_atombios_init] Unable to
find PCI I/O BAR; using MMIO for ATOM IIO
Mar 22 19:34:47 mkushnir kernel: ATOM BIOS: 954F.11.22.6.0.AS04
Mar 22 19:34:47 mkushnir kernel: drmn0: VRAM: 1024M 0x0000000000000000
- 0x000000003FFFFFFF (1024M used)
Mar 22 19:34:47 mkushnir kernel: drmn0: GTT: 1024M 0x0000000040000000
- 0x000000007FFFFFFF
Mar 22 19:34:47 mkushnir kernel: Failed to add WC MTRR for
[0xe0000000-0xefffffff]: -22; performance may suffer
Mar 22 19:34:47 mkushnir kernel: [drm] Detected VRAM RAM=1024M,
BAR=256M
Mar 22 19:34:47 mkushnir kernel: [drm] RAM width 64bits DDR
Mar 22 19:34:47 mkushnir kernel: [drm:radeon_ttm_global_init] Failed
setting up TTM memory accounting subsystem.
Mar 22 19:34:47 mkushnir kernel: drmn0: Fatal error during GPU init
Mar 22 19:34:47 mkushnir kernel: [drm] radeon: finishing device.
Mar 22 19:34:47 mkushnir kernel: [TTM] Memory type 2 has not been
initialized
Mar 22 19:34:47 mkushnir kernel: vgapci0: child drmn0 requested
pci_disable_io
Mar 22 19:34:47 mkushnir syslogd: last message repeated 1 times
Mar 22 19:34:47 mkushnir kernel: device_attach: drmn0 attach returned 12


Otherwise everything works fine with the legacy drivers:

drm-legacy-kmod-g20190213
xf86-video-ati-legacy-7.9.0_3,1

Question: is it possible to make use of the recent/current drivers on
a recent/current FreeBSD?

--
Markiyan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACvtUJePpu64z0AsB8qf7sA3pPhP_hVZLmhzMB6nz8Z%2BnJE23A>