Date: Wed, 31 Oct 2018 14:51:14 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Niclas Zeising <zeising@freebsd.org> Cc: Johannes Lundberg <johalun0@gmail.com>, x11-list freebsd <freebsd-x11@freebsd.org> Subject: Re: drm2 again Message-ID: <20181031215114.GA1122@troutmask.apl.washington.edu> In-Reply-To: <f28a9824-c263-4d10-107c-5ec7983dae4d@freebsd.org> References: <20181031172832.GA28293@troutmask.apl.washington.edu> <CAECmPwu3ndCzQa0S2hQHmyOoXQaZRAwaUjGGcApPEX3dZXH%2Byw@mail.gmail.com> <20181031194726.GA957@troutmask.apl.washington.edu> <CAECmPwsPzF-bhF0AR9PjLUJoMD7xNF=usJEa3cpnFCSvuEJkuA@mail.gmail.com> <20181031201319.GA896@troutmask.apl.washington.edu> <CAECmPwusuHsEqPArj0uYh%2B4kiEKzsFXDaiZzgcv4pmvE0WhVSw@mail.gmail.com> <f28a9824-c263-4d10-107c-5ec7983dae4d@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 31, 2018 at 10:19:14PM +0100, Niclas Zeising wrote: > On 10/31/18 10:11 PM, Johannes Lundberg wrote: > > > > > > error: [drm:pid109:ni_init_microcode] *ERROR* ni_cp: Failed to load > > firmware "radeon/CAICOS_pfp.bin" > > error: [drm:pid109:evergreen_startup] *ERROR* Failed to load firmware! > > drmn0: error: disabling GPU acceleration > > drmn0: warning: 0xfffff800061f8c00 unpin not necessary > > drmn0: warning: 0xfffff800061f8c00 unpin not necessary > > error: [drm:pid109: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 > > > > > > I found some more firmware calls that were unpatched. > > Committed to: https://github.com/FreeBSDDesktop/drm-legacy > > > > Port will be updated this evening. > > > > Thanks for your patients. Fingers crossed this time... This update got the firmware to load! Unfortuantely, when I start Xorg, I get a black screen of death. If I diff the 'dmesg | drm" messages from booting with the in-tree drm2 and drm-legacy I see --- drm2.base.dmesg 2018-09-27 15:20:53.186039000 -0700 +++ drm-legacy.txt 2018-10-31 14:36:33.214879000 -0700 @@ -1,12 +1,4 @@ info: [drm] Initialized drm 1.1.0 20060810 -drmn0: ======================================================= -drmn0: This code is obsolete abandonware. Install the graphics/drm-stable-kmod pkg -drmn0: ======================================================= -drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers -drmn0: ======================================================= -drmn0: This code is obsolete abandonware. Install the graphics/drm-stable-kmod pkg -drmn0: ======================================================= -drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers drmn0: <Caicos [Radeon HD 6450]> on vgapci0 info: [drm] RADEON_IS_PCIE info: [drm] initializing kernel modesetting (CAICOS 0x1002:0x6779 0x1092:0x6450). @@ -21,7 +13,7 @@ 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] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2F07 info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM... info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes) info: [drm] ATOM BIOS: C26401 @@ -40,10 +32,14 @@ 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 +drmn0: Successfully loaded firmware image with name (mapped name): radeon/CAICOS_pfp.bin (radeon_CAICOS_pfp_bin) +drmn0: Successfully loaded firmware image with name (mapped name): radeon/CAICOS_me.bin (radeon_CAICOS_me_bin) +drmn0: Successfully loaded firmware image with name (mapped name): radeon/BTC_rlc.bin (radeon_BTC_rlc_bin) +drmn0: Successfully loaded firmware image with name (mapped name): radeon/CAICOS_mc.bin (radeon_CAICOS_mc_bin) info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). drmn0: info: WB enabled -drmn0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xfffff8005250ec00 -drmn0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xfffff8005250ec0c +drmn0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xfffff800065ffc00 +drmn0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xfffff800065ffc0c info: [drm] ring test on 0 succeeded in 4 usecs info: [drm] ring test on 3 succeeded in 1 usecs info: [drm] ib test on ring 0 succeeded in 0 usecs -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181031215114.GA1122>