From owner-freebsd-x11@freebsd.org Tue Nov 20 09:50:20 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D43C1107EEE for ; Tue, 20 Nov 2018 09:50:20 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC097833C6; Tue, 20 Nov 2018 09:50:18 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id j10so1231591wru.4; Tue, 20 Nov 2018 01:50:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JY0WCo+YEv6IRro2Rru29Oi23tUQV/fXGIjM6qjNWFA=; b=egr5LPcHWHuq7oYQX8GoKuti0BGY0kS9EfLl8W3ZA4t/QKYrl5f6Ckiz6+WMVjuPBf SyYeLopg2SoS6nM9gfsTCxJR6lmNnRj3xeV26FGbeYjUS2wjuVWtShIcaS7j7TErzFN5 fP5X7rXO+kFWah/uKLgHBCOAFm78sYuQFuA7sybd+zQwost5cZsn2eU9lcMP9bhHmzPq nigKRxZ2C5HeCkhgo6L2mAB2KEBxRuQI+pYlqbWQTpin3mSOybSNlPLJptZCOX+I0/x9 kHq+7R35K6TCZpbUPu7njRnPRCp9DZ5banh5dXrz6zSxCdehJSY7AcyROB855FP7P77X Nq2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JY0WCo+YEv6IRro2Rru29Oi23tUQV/fXGIjM6qjNWFA=; b=lq57LvIu1vwL6/bW/KjoljffPbsUuRpT6EaJS5fKdK/+1G31PgP2SnrFNihGJFGn4n NqImHhC2o7bZ9BJ7LCUfbkG0YRZYdhiFX0YmNicHU6cN3IsIcSm6RnI9qGrfsiIxuDBm Pf6hlQ+Dyuv3S/ijmJWsBawX9VD57uArxg5HabNwPGAkKu/33Ss7sIPe0AHoyj9s6tg3 87Jz8DUeudp2ApYxa5/GB7z4oOMvnavBTHhi23clKob8R9tZplYxhvl1Zg/VaPKCOhqm m8DrE6mGGz5HE91tGNyUM+GTQezmLZ4KKX1021+WiQPkihWrtYsoPksRirDMv2SvTqH3 NpiQ== X-Gm-Message-State: AA+aEWYHA7i/ko02CFpUhC56t5fixHMr1MEOOlUirBhFxvZjzFPf+F9x Ut40mPhw3tlhuZZGnHfI3Sv/4TlGO1tpBK/a0Jf16kHz X-Google-Smtp-Source: AFSGD/Wj6rG5jIpEQdWacdsA15Jl9gWVov1+M3kusgcI1Vixkz/cNVe8OTdkVvvdcco5N/9ZJ7rBGCsfc39RgUDR7E0= X-Received: by 2002:a5d:42ce:: with SMTP id t14mr1305720wrr.51.1542707417157; Tue, 20 Nov 2018 01:50:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Tue, 20 Nov 2018 09:49:40 +0000 Message-ID: Subject: Re: drm-devel-kmod amdgpu To: Daniel Eischen Cc: x11-list freebsd X-Rspamd-Queue-Id: DC097833C6 X-Spamd-Result: default: False [-4.56 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; IP_SCORE(-0.68)[ipnet: 2a00:1450::/32(-1.67), asn: 15169(-1.63), country: US(-0.09)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.88)[-0.879,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 09:50:20 -0000 On Mon, Nov 19, 2018 at 10:49 PM Daniel Eischen wrote: > On Sun, 18 Nov 2018, Johannes Lundberg wrote: > > > On Sun, Nov 18, 2018 at 18:17 Daniel Eischen > 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