drm-devel-kmod amdgpu

Johannes Lundberg johalun0 at gmail.com
Tue Nov 20 09:50:20 UTC 2018


On Mon, Nov 19, 2018 at 10:49 PM Daniel Eischen <deischen at freebsd.org>
wrote:

> On Sun, 18 Nov 2018, Johannes Lundberg wrote:
>
> > On Sun, Nov 18, 2018 at 18:17 Daniel Eischen <deischen at 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 focus
> 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’s
> > 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=106225

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


More information about the freebsd-x11 mailing list