Re: fence_wait returned with error -512

Johannes Lundberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <CAECmPwugK_npMO4gOZKvZ6=J=Kq0m4EebupsACjvB+39znWxMQ@mail.gmail.com>
On Thu, Sep 27, 2018 at 4:40 PM Steve Kargl <
[email protected]> wrote:

> On Thu, Sep 27, 2018 at 02:41:45PM -0700, Johannes Lundberg wrote:
> >
> > That’s life in -CURRENT :)
> > drm-legacy (and drm-devel) are from now only buildable on >= 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: ===> Try ATRM...
> info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0,
> vendor=1002, device=6779
> info: [drm] radeon_atrm_get_bios: Get ACPI device handle
> info: [drm] radeon_acpi_vfct_bios: ===> 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_FOUND
> info: [drm] igp_read_bios_from_vram: ===> 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: ===> 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=1024M, BAR=256M
> 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 = 2/0
> info: [drm] enabling PCIE gen 2 link speeds, disable with
> radeon.pcie_gen2=0
> 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.

-- 
> steve
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.