From owner-freebsd-x11@freebsd.org Thu Jul 16 05:28:54 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 162A23559DA for ; Thu, 16 Jul 2020 05:28:54 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B6jTx15PCz433N for ; Thu, 16 Jul 2020 05:28:52 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x129.google.com with SMTP id t27so4001838ill.9 for ; Wed, 15 Jul 2020 22:28:52 -0700 (PDT) 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=YNDh323XUEN61X/M90G6mP3IQt/c8H1AHzAKD58cg4k=; b=k9TWIpjbeBfGFGo77NlZCS+Wu3HN/9tRkI87CQzOyEnER/Qqckgz1UzU2VNYZNvaBa oS7gQIOtaB4SbwyYPvCDJnHCsvZrVIFGbdWFnTokloatK1vAO7nxoQ6FS3C9/CLYoTlV GCdQ6JG/ezrcw1AmxXV0O8uX1XYSwrQqpzLRWtQRToZq8D9ytn2IJMSW/7dFSDpJnetV Tu6P6Vt71diqK1xEJopQA81xuALFQfYu+EnyXA0NGwfWaNwj0tmXXQk2ZKCCG+dGbihi BxpWDimALEUnjCj6S5eFz10LccXAdJA1vBXOnyqdT/t6qFZoefrxkYFmczN6ZX59ZL70 26FA== 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=YNDh323XUEN61X/M90G6mP3IQt/c8H1AHzAKD58cg4k=; b=I9LkxFd7rB3S/iG5YOCVa+eT7Vp3AU+YZhJ05puNz4MllWYtASk4YSyye0JUNt1lvO Y2yxuPyvzgWUTYcobBbZlFib6IZvmeIh8UDNcfzB1EJi77rESUCqE0sx1kZVoqyf24QO C9240UmVMW9WTx78MhoHBn+jg28jv8pfHMxfqlkHkRoh8OVAJrUmUGyPBlHDCmrwUNBI 7+H5IdWC+yPF+mR/C94ZhZMeibgIUR1sah1N44xd0o4Phz+VXvit+TcmD1P7Px9+PdIZ fIsAJ5pJjfTnzjFNNSIh087fc0Y69AHzeH3fRFxoysaoenWbIn4uXBHRE8N9y2v/SLm3 UgXA== X-Gm-Message-State: AOAM532XUSd51qvq0pkxVFInEbxZ8WbqsmHDMrNb+8NgEWM6/4tzuse0 6SW196yFE70ou7srAuvyvIgodhxYpAgtRw8mz7d2ttWE0DQ= X-Google-Smtp-Source: ABdhPJxh/7s7ckoUCMSRkmmYWFQyUXI+GrIG/Cm6iVcwmHSlXfRqb500ybnW4oGPyhVzqwkoGbKOX+H9+SpymxzPmWc= X-Received: by 2002:a92:c703:: with SMTP id a3mr2731997ilp.159.1594877331847; Wed, 15 Jul 2020 22:28:51 -0700 (PDT) MIME-Version: 1.0 References: <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> In-Reply-To: From: Michael Schuster Date: Thu, 16 Jul 2020 07:28:40 +0200 Message-ID: Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics To: Niclas Zeising Cc: freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 4B6jTx15PCz433N X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=k9TWIpjb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::129 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-3.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; NEURAL_HAM_LONG(-0.98)[-0.982]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::129:from]; NEURAL_HAM_SHORT(-0.11)[-0.109]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 05:28:54 -0000 On Wed, Jul 15, 2020 at 9:46 PM Niclas Zeising wrote: > 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. if I don't have gpu-firmware-kmod in a freshly DLd ports collection (via svn), did I do anything wrong: :/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 $ thx! Michael -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'