Date: Tue, 25 Dec 2018 11:29:07 -0700 From: Gary Aitken <freebsd@dreamchaser.org> To: "Steve O'Hara-Smith" <steve@sohara.org>, freebsd-questions@freebsd.org Subject: Re: A question about graphics subsystems under FreeBSD Message-ID: <0595e1eb-253a-c167-af71-34d60fcee7b2@dreamchaser.org> In-Reply-To: <20181225082137.135508fe323592e024c0b4e5@sohara.org> References: <55b5d06209acb007b2f4f9a4052e77b7@kathe.in> <9b658246-ea2c-254a-fc83-5eb81ea6e53c@yandex.com> <5616c0b9-9b3c-06d1-0848-ae164c19edd8@dreamchaser.org> <20181225082137.135508fe323592e024c0b4e5@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/25/18 1:21 AM, Steve O'Hara-Smith wrote: > On Mon, 24 Dec 2018 17:13:46 -0700 Gary Aitken > <freebsd@dreamchaser.org> wrote: > >> There are a boatload of additional radeonkmsfw_*.ko modules in >> /boot, but I don't know how they are used. My attempt to use a >> radeon 5550 board hung the system (11.2) on exit; haven't had time >> to look at it. > > The right ones are loaded automatically by the main radeonkms driver > - at least that's what happens with the amdgpu one. You almost > certainly need to compile the drm-kmod port to get things working - > installing the package is a recipe for panics IME. Thanks. Updating says: 20180930: ... A metaport, graphics/drm-kmod, was introduced for users of both the LinuxKPI- based DRM components as well as the legacy ones. It is recommended to use the metaport from now on, which will select a recommended DRM version based on the FreeBSD version. Attempting to build it on my 11.2 says: ===>>> This port is marked IGNORE ===>>> requires kernel source files in /usr/src But one needs to read Makefile to see what, if anything, is actually required. 11.2 is marked IGNORE, although it specifies RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod I do not have drm-stable-kmod installed, nor gpu-firmware-kmod on which drm-stable-kmod depends. Given the RUN_DEPENDS, it seems like the IGNORE might be a bug. > I gather that for radeonkms the radeon dri driver works but for > amdgpu (my laptop) there's /usr/local/lib/dri/amdgpu_dri.so wanted by > Xorg but I can't find it anywhere. scanning pkg-plist in all ports comes up empty for amdgpu_dri Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0595e1eb-253a-c167-af71-34d60fcee7b2>