Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 22:08:06 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd@dreamchaser.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: A question about graphics subsystems under FreeBSD
Message-ID:  <20181225220806.4034686555e1d7be42587946@sohara.org>
In-Reply-To: <0595e1eb-253a-c167-af71-34d60fcee7b2@dreamchaser.org>
References:  <55b5d06209acb007b2f4f9a4052e77b7@kathe.in> <9b658246-ea2c-254a-fc83-5eb81ea6e53c@yandex.com> <5616c0b9-9b3c-06d1-0848-ae164c19edd8@dreamchaser.org> <20181225082137.135508fe323592e024c0b4e5@sohara.org> <0595e1eb-253a-c167-af71-34d60fcee7b2@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Dec 2018 11:29:07 -0700
Gary Aitken <freebsd@dreamchaser.org> wrote:

> 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

	You will need to install the kernel sources to build the port.

> 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

	Yes it will build that on 11.2 and the firmware.

> 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.

	Not a bug, simply a reflection that you need the kernel sources to
build it, install the kernel sources and try again.

> scanning pkg-plist in all ports comes up empty for amdgpu_dri

	Yep.

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181225220806.4034686555e1d7be42587946>