From owner-freebsd-x11@freebsd.org Thu Jul 16 06:56:13 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 D12C635827A for ; Thu, 16 Jul 2020 06:56:13 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (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 4B6lQh63Qtz48CP for ; Thu, 16 Jul 2020 06:56:12 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4B6lQf0WlCz3mjt; Thu, 16 Jul 2020 06:56:10 +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=1594882569; bh=aOOitXNTXMFfgirA2q7YxIhA zbeHmU/XwPabGXzsY3U=; b=LlU7CB1lZqxnKq6Raabmtbz+FDGtHN4lcMJpTgdy gInkfiUQasJEtR0d4WVNG9MI1JKuqLhwEvTqiux0qcWyAZ1U9rAfAl++s15rXq97 ZhnBD6gk1241mSHz4iKTjrmeCM7aSDFfJvyaNwKJftMRO/QOWu+72y9nABp72pFJ H1Y= 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 McHWlzpGpByZ; Thu, 16 Jul 2020 06:56:09 +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 4B6lQd26g0z3lbm; Thu, 16 Jul 2020 06:56:09 +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> From: Niclas Zeising Message-ID: <56a5949c-85fc-dc23-fae2-b70c634205e3@daemonic.se> Date: Thu, 16 Jul 2020 08:56:08 +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: 4B6lQh63Qtz48CP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=LlU7CB1l; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 2607:f740:d:20::25 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-4.04 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.02)[-1.021]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.004]; 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.02)[-1.016]; 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:2607:f740:d::/48, 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: Thu, 16 Jul 2020 06:56:13 -0000 On 2020-07-16 07:28, Michael Schuster wrote: >=20 >=20 > On Wed, Jul 15, 2020 at 9:46 PM Niclas Zeising=20 > > wr= ote: >=20 > On 2020-07-15 21:13, Michael Schuster wrote: > > > > > > On Wed, Jul 15, 2020 at 7:30 PM Michael Schuster > > > >> wrote: > > > >=C2=A0 =C2=A0 =C2=A0Hi Niclas, > > > >=C2=A0 =C2=A0 =C2=A0thx for your feedback, one question inline: > > > >=C2=A0 =C2=A0 =C2=A0On Wed, Jul 15, 2020 at 4:10 PM Niclas Zeisin= g > >=C2=A0 =C2=A0 =C2=A0 > >> > >=C2=A0 =C2=A0 =C2=A0wrote: > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On 2020-07-15 14:25, Michael Sc= huster wrote: > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > Hi all, > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > I got a new HP laptop (455 G= 7) and put latest GhostBSD > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(20.04, based on > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > 12.1 release) on it. During = installation, the only > graphics > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0selection that > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > didn't fail was 'scfb', whic= h I'm still using. > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > AFAICT from my research, Ren= oir is supported by latest drm > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0driver/module, > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > so I installed that ( > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > > https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1= ). > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0That branch isn't used, and may= be broken. > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If you want to get anything mor= e recent than > drm-fbds12.0-kmod, > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0which > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tracks Linux 4.16, you have to = upgrade to current and use > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0drm-devel-kmod > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(which currently is at 5.3). > > > > > >=C2=A0 =C2=A0 =C2=A0just to be clear: by "current", you mean Free= BSD > 13.0-current, right? > >=C2=A0 =C2=A0 =C2=A0thx > > > > > > so I went ahead and installed FreeBSD-current on this machine, > and then > > drm-devel-kmodas you recommended. Alas, I'm getting an error: > > > > KLD amdgpu.ko: depends on kernel - not available or version mism= atch > > > > some googling showed that - since I did a fresh install of > -current just > > now - amdgpu must be out of sync. the version I have installed i= s: > > > > xf86_video-amdgpu-19.1.0_1. >=20 > This means that your kernel and the drm-devel-kmod package are out = of > sync.=C2=A0 drm-devel-kmod installs the kernel graphics drivers, su= ch as > amdgpu.ko, and it has to be in sync with your kernel.=C2=A0 Dependi= ng a bit > on which svn revision of current you have, you should be able to bu= ild > drm-devel-kmod (and preferably gpu-firmware-kmod) from ports.=20 >=20 >=20 > if I don't have gpu-firmware-kmod in a freshly DLd ports collection (vi= a=20 > svn), did I do anything wrong: >=20 > :/usr/ports $ find . -type d -name '*drm*' > ./graphics/drm-kmod > ./graphics/drm_info > ./graphics/drm-fbsd12.0-kmod > ./graphics/libdrm > ./graphics/linux-c7-libdrm > ./graphics/drm-fbsd11.2-kmod > ./graphics/drm-devel-kmod > ./graphics/drm-current-kmod > ./graphics/drm-legacy-kmod > ./sysutils/py-drmaa > ./games/drm > ./multimedia/vdr-plugin-vdrmanager > $ >=20 it's in graphics/gpu-firmware-kmod, you are searching for *drm*, so it=20 won't show up. the various drm ports should depend on it though, so it should get=20 pulled in automatically. Regards --=20 Niclas