From owner-freebsd-x11@freebsd.org Wed Aug 29 11:45:57 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 9BF01108658E for ; Wed, 29 Aug 2018 11:45:57 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3F33688E3F for ; Wed, 29 Aug 2018 11:45:57 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 03DEB108658C; Wed, 29 Aug 2018 11:45:57 +0000 (UTC) Delivered-To: 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 E6C72108658B for ; Wed, 29 Aug 2018 11:45:56 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72B3988E3A for ; Wed, 29 Aug 2018 11:45:56 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from [84.237.50.47] (helo=regency.nsu.ru) by mx.nsu.ru with esmtp (Exim 4.72) (envelope-from ) id 1fuyuu-0001hB-TU for x11@freebsd.org; Wed, 29 Aug 2018 18:45:44 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id w7TC9eIN081776 for ; Wed, 29 Aug 2018 18:09:41 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id w7TC9ZCq081689 for x11@freebsd.org; Wed, 29 Aug 2018 19:09:35 +0700 (+07) (envelope-from danfe) Date: Wed, 29 Aug 2018 19:09:35 +0700 From: Alexey Dokuchaev To: x11@freebsd.org Subject: drm2 deprecation in base: problems with gpu-firmware-kmod port Message-ID: <20180829120935.GA79911@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 3 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, not scanned, whitelist X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 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, 29 Aug 2018 11:45:57 -0000 Hi there, I've tried the kernel after drm2 bits were removed from the base to see how they would be served by the ports. This is on -CURRENT/i386 with Radeon HD 4350/4550 (RV710) gfx card. I've installed gpu-firmware-kmod and drm-legacy-kmod ports, and rebooted into new kernel. I don't use kld_list="..." and only load a few modules from /boot/loader.conf, like HDD controller and sound drivers, nothing gfx-related. First thing I do after console login is "kldload radeonkms", had always worked like a charm. Now it's broken: ... info: [drm] radeon: 512M 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 8086:2e31 = 1/0 info: [drm] Loading RV710 Microcode radeonkmsfw_RV710_pfp: could not load firmware image, error 2 error: [drm:pid16419:r600_init_microcode] *ERROR* r600_cp: Failed to load firmware "radeonkmsfw_RV710_pfp" error: [drm:pid16419:rv770_startup] *ERROR* Failed to load firmware! drmn0: error: disabling GPU acceleration drmn0: warning: 0x18b7d200 unpin not necessary drmn0: warning: 0x18b7d200 unpin not necessary error: [drm:pid16419:rv770_init] *ERROR* radeon: ucode required for R600+. drmn0: error: Fatal error during GPU init I have this file with the previous kernel (when it all was in the base): /boot/kernel.june/radeonkmsfw_RV710_pfp.ko (11908 bytes). With the drm2/firmware bits served from ports, the name is different: $ pkg info -l gpu-firmware-kmod | grep RV710_pfp /boot/modules/radeon_RV710_pfp_bin.ko File size is also different: 10428 bytes. How shall I proceed from this point to get things back in working order? Thanks, ./danfe