From owner-freebsd-x11@freebsd.org Wed Oct 31 21:19:18 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE5E710EA01B for ; Wed, 31 Oct 2018 21:19:18 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 378A56C62C for ; Wed, 31 Oct 2018 21:19:18 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42lh6X4Nz8zDhFd; Wed, 31 Oct 2018 21:19:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id jlSU9U8fW9Eh; Wed, 31 Oct 2018 21:19:16 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:9eda:3eff:fe70:24c0]) by mail.daemonic.se (Postfix) with ESMTPSA id 42lh6W535KzDj0W; Wed, 31 Oct 2018 21:19:15 +0000 (UTC) Subject: Re: drm2 again To: Johannes Lundberg , Steve Kargl Cc: x11-list freebsd References: <20181031172832.GA28293@troutmask.apl.washington.edu> <20181031194726.GA957@troutmask.apl.washington.edu> <20181031201319.GA896@troutmask.apl.washington.edu> From: Niclas Zeising Message-ID: Date: Wed, 31 Oct 2018 22:19:14 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2018 21:19:18 -0000 On 10/31/18 10:11 PM, Johannes Lundberg wrote: >=20 >=20 > On Wed, Oct 31, 2018 at 8:13 PM Steve Kargl=20 > > wrote: >=20 > On Wed, Oct 31, 2018 at 07:56:36PM +0000, Johannes Lundberg wrote: > > > > Whenever this happens your kernel is out of sync. The best when = using > > CURRENT is, like Niclas said, to build from source, either ports > or the > > github repo. > > >=20 > It was a 6-day old kernel.=C2=A0 However, after rebuilding > and installing a new kernel; and rebuilding and installing > a graphics/drm-legacy-kmod, again. >=20 > % dmesg | grep drm > info: [drm] Initialized drm 1.1.0 20060810 > drmn0: 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_FOUND > 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: 0xfffff800c000000= 0 > (262144 bytes) > info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2F= 07 > 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:pid109:ni_init_microcode] *ERROR* ni_cp: Failed to load > firmware "radeon/CAICOS_pfp.bin" > error: [drm:pid109:evergreen_startup] *ERROR* Failed to load firmwa= re! > 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 require= d > 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 >=20 >=20 > I found some more firmware calls that were unpatched. > Committed to: https://github.com/FreeBSDDesktop/drm-legacy >=20 > Port will be updated this evening. >=20 > Thanks for your patients.=C2=A0 Fingers crossed this time... >=20 >=20 Port is updated with the latest change. Make sure you have FreeBSD=20 Ports r483619 or later. Regards --=20 Niclas