Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 09:49:40 +0000
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: drm-devel-kmod amdgpu
Message-ID:  <CAECmPwsh8B0kSjNbisB4TRyzsif-dKQftSQQJYsjQgqE83u-=g@mail.gmail.com>
In-Reply-To: <Pine.GSO.4.64.1811191729570.24115@sea.ntplx.net>
References:  <Pine.GSO.4.64.1811171352290.14741@sea.ntplx.net> <CAECmPwvdB7ec26qBOTrDDBcwKDLNonLeodV6z09zBxhp5X7ZiQ@mail.gmail.com> <C1ECF137-D3F8-4419-9CFF-73C575248ED2@freebsd.org> <CAECmPwvgdBgbaD7e4F7BRevm3C%2BjHDpm_3-_F0f4NYMByZ%2B2pA@mail.gmail.com> <Pine.GSO.4.64.1811191729570.24115@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 19, 2018 at 10:49 PM Daniel Eischen <deischen@freebsd.org>
wrote:

> On Sun, 18 Nov 2018, Johannes Lundberg wrote:
>
> > On Sun, Nov 18, 2018 at 18:17 Daniel Eischen <deischen@freebsd.org>
> wrote:
> >
> >> I see reports of the AMD 2400G running fine on the Linux 4.17 kernel.
> >
> > 4.17 might come soon if we can iron out the last few bugs. But now focu=
s
> is
> > on making 4.16 stable on 12.
> >
> > I have dual setup on my AMD box (both efi partition and legacy boot) so=
 I
> > can switch in BIOS setting and boot with either (same root partition).
> It=E2=80=99s
> > nice to have :)
>
> I tried drm-4.17 from github.  I had a few minor compilation problems,
> I'm not using freebsd-base from github, but I'm fairly sure the local
> changes I made in order to get it to build are innocent:
>
>    https://people.freebsd.org/~deischen/2400g/kms-drm-4.17.diffs
>
> Attached is the dmesg from a boot with the 4.17 drm amdgpu driver
> loaded.  I still lose the console screen.  I don't think it is
> detecting the monitor.  The motherboard has one display port and
> one HDMI port.  I'm using the HDMI port with a HDMI<->DVI adapter
> on the monitor side (my monitor only has VGA and DVI).  The driver
> is trying to detect 3 display ports and one HDMI port.  Does
> anything look suspect?
>

Hi

Sorry I mixed up the versions. 4.16 works ok-ish on my 2200G, 4.17 does
not. The error I'm getting is reported upstream
https://bugs.freedesktop.org/show_bug.cgi?id=3D106225

The things you patched are all being committed to HEAD this week so it
should build without patches by next week.

We usually keep a temporary WIP branch for new KPI until we get things
committed to HEAD. If you want to build branches newer than drm-devel-kmod,
it's likely that you also need our patched HEAD
https://github.com/FreeBSDDesktop/freebsd-base/tree/drm-vX.YY

I can't tell what's wrong with your system anymore than the log

Nov 19 17:06:08 vega kernel: [drm] Cannot find any crtc or sizes

Best bet, try 4.18 before spending more time one this. It should be
ready later this week.


> Note, I installed amdgpu.ko, amdkfd.ko, debugfs.ko, drm.ko, and
> linuxkpi_gplv2.ko that were built from the drm-4.17 repo into
> /boot/modules, and saved the originals.  I didn't bother installing
> the matching radeonkms.ko or i915kms.ko.
>
> --
> DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwsh8B0kSjNbisB4TRyzsif-dKQftSQQJYsjQgqE83u-=g>