Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 17:48:35 -0700
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Niclas Zeising <zeising+freebsd@daemonic.se>, x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: fence_wait returned with error -512
Message-ID:  <CAECmPwugK_npMO4gOZKvZ6=J=Kq0m4EebupsACjvB%2B39znWxMQ@mail.gmail.com>
In-Reply-To: <20180927233955.GA918@troutmask.apl.washington.edu>
References:  <20180926232051.GA13774@troutmask.apl.washington.edu> <CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw@mail.gmail.com> <20180927014128.GA14820@troutmask.apl.washington.edu> <daf96fc7-3902-6461-a1b6-554ed24f1518@daemonic.se> <20180927190409.GA27756@troutmask.apl.washington.edu> <b8e08aee-c532-b92c-26d8-0f82f586cb2e@daemonic.se> <20180927201928.GA86166@troutmask.apl.washington.edu> <ed292bb9-5e5a-7de8-1440-7da718e3f6c8@daemonic.se> <20180927211815.GB89730@troutmask.apl.washington.edu> <CAECmPwtt5RGf7uuZcWgD4t_07QqPTb0WZEf6mQJ8aK3XTOFBRw@mail.gmail.com> <20180927233955.GA918@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 27, 2018 at 4:40 PM Steve Kargl <
sgk@troutmask.apl.washington.edu> wrote:

> On Thu, Sep 27, 2018 at 02:41:45PM -0700, Johannes Lundberg wrote:
> >
> > That=E2=80=99s life in -CURRENT :)
> > drm-legacy (and drm-devel) are from now only buildable on >=3D r338948.
> >
>
> Code from github doesn't work either. :(
>
> The following are from the gpu-firmware-kmod port:
>
> % ls /boot/modules/*CAIC*
> /boot/modules/radeon_CAICOS_mc_bin.ko*
> /boot/modules/radeon_CAICOS_me_bin.ko*
> /boot/modules/radeon_CAICOS_pfp_bin.ko*
> /boot/modules/radeon_CAICOS_smc_bin.ko*
>
> % dmesg | grep drm
>
> info: [drm] Initialized drm 1.1.0 20060810
> drmn0: <Caicos [Radeon HD 6450]> on vgapci0
> info: [drm] RADEON_IS_PCIE
> info: [drm] initializing kernel modesetting (CAICOS 0x1002:0x6779
> 0x1092:0x6450).
> info: [drm] register mmio base: 0xFEA20000
> info: [drm] register mmio size: 131072
> info: [drm] radeon_atrm_get_bios: =3D=3D=3D> Try ATRM...
> info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0,
> vendor=3D1002, device=3D6779
> info: [drm] radeon_atrm_get_bios: Get ACPI device handle
> info: [drm] radeon_acpi_vfct_bios: =3D=3D=3D> Try VFCT...
> info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
> info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOU=
ND
> info: [drm] igp_read_bios_from_vram: =3D=3D=3D> Try IGP's VRAM...
> info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
> info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800c0000000
> (262144 bytes)
> info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
> info: [drm] radeon_read_bios: =3D=3D=3D> Try PCI Expansion ROM...
> info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072
> bytes)
> info: [drm] ATOM BIOS: C26401
> drmn0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M
> used)
> drmn0: info: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
> info: [drm] Detected VRAM RAM=3D1024M, BAR=3D256M
> info: [drm] RAM width 64bits DDR
> info: [drm] radeon: 1024M of VRAM memory ready
> info: [drm] radeon: 512M of GTT memory ready.
> info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> info: [drm] Driver supports precise vblank timestamp query.
> info: [drm] MSI enabled 1 message(s)
> drmn0: info: radeon: using MSI.
> info: [drm] radeon: irq initialized.
> info: [drm] GART: num cpu pages 131072, num gpu pages 131072
> info: [drm] probing gen 2 caps for device 1002:5a16 =3D 2/0
> info: [drm] enabling PCIE gen 2 link speeds, disable with
> radeon.pcie_gen2=3D0
> info: [drm] Loading CAICOS Microcode
> error: [drm:pid911:ni_init_microcode] *ERROR* ni_cp: Failed to load
> firmware "radeonkmsfw_CAICOS_pfp"
> error: [drm:pid911:evergreen_startup] *ERROR* Failed to load firmware!
> drmn0: error: disabling GPU acceleration
> drmn0: warning: 0xfffff80007311800 unpin not necessary
> drmn0: warning: 0xfffff80007311800 unpin not necessary
> error: [drm:pid911:evergreen_init] *ERROR* radeon: MC ucode required for
> NI+.
> drmn0: error: Fatal error during GPU init
> info: [drm] radeon: finishing device.
> info: [drm] radeon: ttm finalized
> device_attach: drmn0 attach returned 22
>
> There is not radeonkmsfw_CAICOS_pfp[.ko].  Note, copying
> /boot/modules/radeon_CAICOS_pfp_bin.ko to
> /boot/modules/radeonkmsfw_CAICOS_pfp.ko will load the
> module, but it won't register.
>
>
I pushed a fix for firmware names. Please run git pull and try again.

--=20
> steve
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwugK_npMO4gOZKvZ6=J=Kq0m4EebupsACjvB%2B39znWxMQ>