From owner-freebsd-x11@freebsd.org Wed Jul 15 19:46:33 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 3285136E36B for ; Wed, 15 Jul 2020 19:46:33 +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 4B6SYx4kSfz3Yw0 for ; Wed, 15 Jul 2020 19:46:29 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4B6SYt16Rbz3mkQ; Wed, 15 Jul 2020 19:46:26 +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=1594842385; bh=uktDNmFq02x6AmP4ZWOheS/a OXJKMHtNB2/5/3oMqv4=; b=FqW4f/p2OXhcOQk7Bi4LZQ9yqJRijzKt7E5EWXmg 1vFqj2TACVSb5pGjpO4s1Q5sdELA5IohkBgCATuIpvp2B6fFFyV8ue9aSQ6Bvd9k 4u/z9w2FRDlw22P0CHO6SJgGRnXksKVBPwuGaa+sMnJFGljlnZcjjmatJUwIYHgj ebQ= 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 8k49GzWHi09y; Wed, 15 Jul 2020 19:46:25 +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 4B6SYs2zRTz3lbm; Wed, 15 Jul 2020 19:46:25 +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: Date: Wed, 15 Jul 2020 21:46:24 +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: 7bit X-Rspamd-Queue-Id: 4B6SYx4kSfz3Yw0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=FqW4f/p2; 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 [-3.61 / 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.04)[-1.042]; 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(-0.57)[-0.568]; 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: Wed, 15 Jul 2020 19:46:33 -0000 On 2020-07-15 21:13, Michael Schuster wrote: > > > On Wed, Jul 15, 2020 at 7:30 PM Michael Schuster > > wrote: > > Hi Niclas, > > thx for your feedback, one question inline: > > On Wed, Jul 15, 2020 at 4:10 PM Niclas Zeising > > > wrote: > > On 2020-07-15 14:25, Michael Schuster wrote: > > Hi all, > > > > I got a new HP laptop (455 G7) and put latest GhostBSD > (20.04, based on > > 12.1 release) on it. During installation, the only graphics > selection that > > didn't fail was 'scfb', which I'm still using. > > > > AFAICT from my research, Renoir is supported by latest drm > driver/module, > > so I installed that ( > > > https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1). > > That branch isn't used, and may be broken. > If you want to get anything more recent than drm-fbds12.0-kmod, > which > tracks Linux 4.16, you have to upgrade to current and use > drm-devel-kmod > (which currently is at 5.3). > > > just to be clear: by "current", you mean FreeBSD 13.0-current, right? > thx > > > 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 mismatch > > 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 is: > > xf86_video-amdgpu-19.1.0_1. This means that your kernel and the drm-devel-kmod package are out of sync. drm-devel-kmod installs the kernel graphics drivers, such as amdgpu.ko, and it has to be in sync with your kernel. Depending a bit on which svn revision of current you have, you should be able to build drm-devel-kmod (and preferably gpu-firmware-kmod) from ports. Since they have to be in sync with the kernel, this is usually the preferred way on current. You can install the rest of your packages using binary packages, even if you build these two from ports. You also need a src tree in order to build drm-devel-kmod. Regards -- Niclas