From owner-freebsd-x11@freebsd.org Thu Jul 16 06:57:50 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 4780B358614 for ; Thu, 16 Jul 2020 06:57:50 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 4B6lSX6vlrz4898 for ; Thu, 16 Jul 2020 06:57:48 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id p15so4122820ilh.13 for ; Wed, 15 Jul 2020 23:57:48 -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=fcqMwKcDaB9LcmjBzXLAb4gdjpSR9/KcR4GqhymQHQo=; b=UIwzd85Ytckae3AoXRP2GJzgLFBeMZrMFFtdfCvUMpK83NZsdHJPAFg5biSsbnaZNY h6ctykYRLNLZoAD2s0Q+H4XFJQxGWEdyRgqXVhlxkEkCVQRLWpF8CkjrDfJ/wNfLCs0V ndKK7EQSnjqtPuZUq/eIiKVVFFWEE+CacoOuX9ZbDLj7aNRFcwLxFoBZtYvNZDj7UIhS +jsfutA9k9kTrP43e3N09qYep0Qn4NlGevczDLERNoBirJDehgtqrgFkNysP+BQ2qcDw TIzUQLfa8HlTmAFHKQzyFyduVAnL1XO8GASEiFJEq0qaP4oYa54f7JGg5zyA4l6zCic6 f/TA== 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=fcqMwKcDaB9LcmjBzXLAb4gdjpSR9/KcR4GqhymQHQo=; b=UAWqRXGYTUWeWDQewcFuft2iwBJ3I+IAHgyMtiOZEbAFUXnTjiyB6V290wdfkcQ6Mp 5ibeBghfrzkGqRH8kcD1NJZ0HD1q5Y3Gt/UVhstUwYNM4vuSiFmWc2ulk6Nq6deCS/fz YL7IWM+wdAgDv8cioEV1UhGRmAcwe1S1gw/S5aVQU8Ugh6uQchOhpaE9y1vksh8xxORp ok/7Z5qlOCwLn076hImxFpPsMUvAptLxAlrmKvfOtaJedeY2KcMilMX0fCXdl4EoseXB 4rIgr09Bw/weW/Crw9xlxtJwZOxdCkWLNMEVPNcJTvfqAIUmdmJIWI/eA6wpnMDznZhe p1ww== X-Gm-Message-State: AOAM532MjlLjv5iIhBGdg0gLV2TQ2+wUCSMFfJyeIxvWteafqitcttFX WAkFP+ENhL/66hz5eh89V3K1oVftOk1NdkQNsIFZRnDV X-Google-Smtp-Source: ABdhPJx4tn8FqSfwYrPCEnzn3vQ494kcOODSQUxaJkn5/PE78fvOe3QYZnwZ3xcN9u9KQpUi0Q8OHZM4CWqSfGnKU4s= X-Received: by 2002:a05:6e02:5c4:: with SMTP id l4mr3226668ils.209.1594882667352; Wed, 15 Jul 2020 23:57:47 -0700 (PDT) MIME-Version: 1.0 References: <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> <56a5949c-85fc-dc23-fae2-b70c634205e3@daemonic.se> In-Reply-To: <56a5949c-85fc-dc23-fae2-b70c634205e3@daemonic.se> From: Michael Schuster Date: Thu, 16 Jul 2020 08:57:36 +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: 4B6lSX6vlrz4898 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UIwzd85Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::12e as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-3.80 / 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::12e:from]; NEURAL_HAM_SHORT(-0.80)[-0.797]; 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 06:57:50 -0000 On Thu, Jul 16, 2020 at 8:56 AM Niclas Zeising wrote: > On 2020-07-16 07:28, Michael Schuster wrote: > > > > > > 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 > > $ > > > > it's in graphics/gpu-firmware-kmod, you are searching for *drm*, so it > won't show up. > oh boy ... that's depressing :-) thx. -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'