From nobody Tue May 3 13:22:14 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 A85311AB1804 for ; Tue, 3 May 2022 13:22:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kt0xM4Qm5z3LdH; Tue, 3 May 2022 13:22:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651584135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LgF+EYBDXPBTJ+R4ZuXLOHC2NSAETo73hVlxuRFyKDs=; b=BnPcpuGcYj41m1qMxxKZ7ljTrHhnH0uvD70wK88uuKcQCKK78sp/tcgIg9La6qV4AL7QD+ pxNKD7d1U9YOSBHe38COlB8/5uUXqMXv1b34X/vSrYVmwcas/pWlU4727C2ZdWMXqha0yC J5pmLOFjyLVSxlbyNL1N6RUO63TuSB4l3Vrjdlde87L7WouJdjB+7PWUYJKJKsCDjwGdnh ah5yQ49jpJB1ICq5dEcxDbEEFynpou2oRryInuaLLFjMIgU1OtyIgRiO19julektFmA/Zj BC40EcLX9VUnefdHpEgAzDvJ2jurHyrYpq0rGtMsCbSAbVi8MFGVVnHui7JTgg== Received: from freefall.freebsd.org (pool-100-8-53-238.nwrknj.fios.verizon.net [100.8.53.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jkim/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 70F802684F; Tue, 3 May 2022 13:22:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <816e5347-52a9-cd9b-8e66-5549b85fb29c@FreeBSD.org> Date: Tue, 3 May 2022 09:22:14 -0400 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Content-Language: en-US To: Masachika ISHIZUKA , x11@freebsd.org References: <20220501200413.5e6b9e105b22b6e54888be1f@bidouilliste.com> <20220503.142847.811013461191473249.ish@amail.plala.or.jp> From: Jung-uk Kim Organization: FreeBSD.org Subject: Re: Changes in drm ports In-Reply-To: <20220503.142847.811013461191473249.ish@amail.plala.or.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651584135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LgF+EYBDXPBTJ+R4ZuXLOHC2NSAETo73hVlxuRFyKDs=; b=p6RXVhgeHbQbYGcwOLhxIuQHOQCWMl+drtOH9uddsWcCJReSZeWcSQioD1ZcXJEVEamXCT FuH0nHxhGHrK9u5cT49QR0aXBK00eGB7zWRX8LLuby++cfhMQdpRFcggV50nGF0j1StP2M a80T8XY1OH3Vhqs6/m0j8a8Akd9xXx8TwfS6Mmk61c3lguxc9AmAYfLsgZ2JCcJGsCQk8s Z8yszYgBOXDmCEQPCcbsXJGar+7zZjiilg1QkN6RBGuOIeDU8vynqtTpoRPUa6UTYDz/Fm EfALlJEt+BTNQ0GDc7P/ph1SEswto9pf8uknDiLqYEPieQavsg+6UUvi+mzc0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651584135; a=rsa-sha256; cv=none; b=xbRz29bPErHrI4vdPxIiG+UIzDBTaHf0WuGbPZujmG7CRh6ruATAcmFtaHG2kvBAjvj9pg wRxFLedfSDwRoh+YNBWyE2EJTKDuY0AP2HBMYSafLiPAIC02dmLDqWdDIBKGXBKFmjD3Dc K00LNbBq/Q3gAWn36aLGO3EspvvhdEjOU6w2/or8MFuLMB4sqDIdp8XL8aPYksRlluVo+4 z1jjhsZxEnMT2jPXkDlkdy5C5ag8Hw9UPK/YH0rIEbQ632hQxaokW//rmEWmfdgDW09kfB /p+lnRKK3bsgFbtpE/ID4lleEFp/EozvaiY9aDA/aTiuLjcOnItfbgBWKD8JSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 22. 5. 3., Masachika ISHIZUKA wrote: >> I've reworked the drm ports and the gpu-firmware ports, here is what >> changed : >> > [snip] >> >> For the gpu firmwares it's now in multiple packages. > > 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'. > I'm using aio boot(cameleon UEFI boot loader) because this machine > is too old and uefi boot is not supported by bios, crash dump was > destroyed on next boot by cameleon and so I cannot save crash dump. > > [OK] > drm-current-kmod-5.4.144.g20220223 or drm-devel-kmod-5.7.19.g20220223 > gpu-firmware-kmod-g20210330 > > [NG] > drm-54-kmod-5.4.144 or drm-510-kmod-5.10.0 > gpu-firmware-radeon-kmod-aruba-20211014 > > P.S. drm-(54|510)-kmod work well on XPS12/Vostro 3267 with i915kms. 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' Jung-uk Kim