From nobody Tue May 3 15:26:51 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4D5DE1ACF65C for ; Tue, 3 May 2022 15:27:05 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc14.plala.or.jp (msc14.plala.or.jp [IPv6:2400:7800:0:502e::24]) by mx1.freebsd.org (Postfix) with ESMTP id 4Kt3jM3YlMz4WtY for ; Tue, 3 May 2022 15:27:03 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc14.plala.or.jp with ESMTP id <20220503152658.RMUN7096.msc14.plala.or.jp@localhost> for ; Wed, 4 May 2022 00:26:58 +0900 Date: Wed, 04 May 2022 00:26:51 +0900 (JST) Message-Id: <20220504.002651.352354773889375205.ish@amail.plala.or.jp> To: x11@freebsd.org Subject: Re: Changes in drm ports From: Masachika ISHIZUKA In-Reply-To: <20220503154527.ae90d1d70a151f8bb24b8d69@bidouilliste.com> References: <20220503.142847.811013461191473249.ish@amail.plala.or.jp> <816e5347-52a9-cd9b-8e66-5549b85fb29c@FreeBSD.org> <20220503154527.ae90d1d70a151f8bb24b8d69@bidouilliste.com> X-Mailer: Mew version 6.8 on Emacs 28.1 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac14; Wed, 4 May 2022 00:26:58 +0900 X-Rspamd-Queue-Id: 4Kt3jM3YlMz4WtY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ish@amail.plala.or.jp designates 2400:7800:0:502e::24 as permitted sender) smtp.mailfrom=ish@amail.plala.or.jp X-Spamd-Result: default: False [-1.57 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_NA(0.00)[plala.or.jp]; R_SPF_ALLOW(-0.20)[+ip6:2400:7800:0:502e::/60]; NEURAL_HAM_SHORT(-0.87)[-0.867]; MID_CONTAINS_FROM(1.00)[]; MLMMJ_DEST(0.00)[x11]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:2400:7800::/32, country:JP]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N >>> I'm using radeonkms on DELL studio 15 (very old machine). >>> Although it works well on drm-current-kmod/drm-devel-kmod with >>> gpu-firmware-kmod, it can't work on drm-54-kmod/drm-510-kmod with >>> gpu-firmware-radeon-kmod. It froze after showing 'Mounting filesystems'. >> [snip] >> >> gpu-firmware-radeon-kmod-aruba-20211014 >> ^^^^^ >> "Aruba" is the default firmware and probably that's not what you want. >> You need to find your own chipset and build correct flavor(s) for you. >> >> Do "grep 'could not load firmware image' /var/log/messages". For >> example, you will see something like this: >> >> May 2 21:48:35 xxxxxx kernel: drmn0: could not load firmware image >> 'radeon/TAHITI_uvd.bin' >> May 2 21:48:35 xxxxxx kernel: drmn0: could not load firmware image >> 'radeon/TAHITI_vce.bin' >> >> This means you need need "tahiti" firmware and you will have to build >> and install it. Note you may need multiple flavors. For example, I had >> to build two flavors for the above GPU, i.e., aruba and tahiti. >> >> May 3 08:46:38 xxxxxx kernel: drmn0: successfully loaded firmware image >> 'radeon/ARUBA_pfp.bin' >> May 3 08:46:38 xxxxxx kernel: drmn0: successfully loaded firmware image >> 'radeon/ARUBA_me.bin' >> May 3 08:46:38 xxxxxx kernel: drmn0: successfully loaded firmware image >> 'radeon/ARUBA_rlc.bin' >> May 3 08:46:38 xxxxxx kernel: drmn0: successfully loaded firmware image >> 'radeon/TAHITI_uvd.bin' >> May 3 08:46:38 xxxxxx kernel: drmn0: successfully loaded firmware image >> 'radeon/TAHITI_vce.bin' Thank you very much. After installing graphics/gpu-firmware-kmod meta ports, drm-(54|510)-kmod works fine on DELL studio 15. As I don't have time right now, I'll find firmware I need later. I think I probably need cedar and cypress. -- Masachika ISHIZUKA