From owner-freebsd-x11@freebsd.org Fri Jul 17 07:09:06 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 52FB735AE82 for ; Fri, 17 Jul 2020 07:09:06 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7Mg44rbsz4f74 for ; Fri, 17 Jul 2020 07:09:04 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4B7Mg30Fp1z3mjt; Fri, 17 Jul 2020 07:09:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1594969742; bh=x+OUmi4i3MMcZ1wU3Mf4Lf66 AZmT2XyKIRjUYjEuvBA=; b=EOeawpmn9BKGhJehOsk1e9X9W0tTXJfjjbvm54wS fAseXVcF65MZisuVDZ3u821kr5NZO7jPVEXPgwgjmSnz4Lau/fuQ7wcWqcsQ05xW V3+79dEuhzKWsueWNL5iOoXG79FUMUjlrHG1g94/IsgKtLxSjkN8Rn1bxvOPDBBQ sbU= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id RYMwzimAnXia; Fri, 17 Jul 2020 07:09:02 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:1201:c1:abb2:9770:9f72]) by mail.daemonic.se (Postfix) with ESMTPSA id 4B7Mg21XtLz3lbm; Fri, 17 Jul 2020 07:09:02 +0000 (UTC) Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics To: Michael Schuster Cc: freebsd-x11@freebsd.org References: <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> <22de2d99-fd52-0925-6fda-8f7358e61954@daemonic.se> <288f025b-fba7-cb77-00a7-d9ecf0b2be7c@daemonic.se> From: Niclas Zeising Message-ID: Date: Fri, 17 Jul 2020 09:09:01 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4B7Mg44rbsz4f74 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=EOeawpmn; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-3.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.97)[-0.970]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; NEURAL_HAM_SHORT(-1.01)[-1.009]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 07:09:06 -0000 On 2020-07-17 08:54, Michael Schuster wrote: >=20 >=20 > On Fri, Jul 17, 2020 at 8:35 AM Michael Schuster=20 > > wrote: >=20 > good morning, >=20 > On Thu, Jul 16, 2020 at 8:50 PM Michael Schuster > > wrot= e: >=20 >=20 > =C2=A0more - I'm hoping for your guidance :-) >=20 > It would be interesting to see why make install in > drm-devel-kmod failed > and you had to copy the modules yourself. >=20 >=20 > I've already turned off the laptop for the day. If you like, > I'll re-build it with "script" as soon as I get round to it, so > I don't have to guess.=20 >=20 >=20 > after 'make clean deinstall', 'make install' succeeded (I verified > the dates on /boot/modules/*ko). I probably had it coming ;-) >=20 > anyway, X still doesn't start ;-( >=20 >=20 > =C2=A0From the output you've pasted, it looks like amdgpu.= ko > didn't load and > attach properly to the hardware.=C2=A0 What does dmesg say = when > you load the > module?=20 >=20 >=20 > I'll supply that too with the make output.=20 >=20 >=20 > this is all I can find related either to drm or amdgpu: > =C2=A0[drm] amdgpu kernel modesetting enabled. > are we looking for some specific pattern? >=20 > Xorg.0.log looks much the same a I posted last night. >=20 >=20 >=20 > thx! > Michael >=20 >=20 > Have you done any xorg configuration?=20 >=20 >=20 > No. >=20 >=20 > actually, I probably=C2=A0need to correct that=C2=A0statement: I didn't= do=20 > anything by hand; I *did* run mkdesktop though right after installation= . >=20 I don't know exactly what that does. Check in /etc/X11 and=20 /usr/local/etc/X11 (including xorg.conf.d) in case there are any=20 configuration files. I also need to see xorg.log and more importantly=20 the whole dmesg from when loading the amdgpu.ko kernel module. The=20 output of kldstat -v might be useful as well. Do you have=20 xf86-video-amd installed? Regards --=20 Niclas