From owner-freebsd-x11@freebsd.org Thu Jul 16 14:48:45 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 AB8D1363F10; Thu, 16 Jul 2020 14:48:45 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (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 4B6xvw4l6kz4cMK; Thu, 16 Jul 2020 14:48:44 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x143.google.com with SMTP id h16so5252698ilj.11; Thu, 16 Jul 2020 07:48:44 -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=iWGpctT1zQD114bG++Y/K8seNjEPS2S+aOYcpblFHM8=; b=pC1z1lfjudVpDlV7CBSrMBSJQaoayYOVoNkfuNjQc1waQZ6PVgBDTrXiokoROzXKSB jFMRjFG0rC2ajBn0QFJvd+wYI9+AdILvVM/pXypaKcIuDwksr44XaxGABZq70r/p2Dz6 mrBslrrQbJ6JvUMRVj/Pu5x8+vTjJqyizhp60NwATodwjGQtFZ7PZW33TjPYNp9ZFlN7 pJ10BGbqeJqp+j6/+WGgFPqioS5euLevzqJQUHGTV8TEWhthGZ81cPgCY1G9HKVD4DBt uWARJLm70vstqS7DFyZTX6swGlORLUDOErUjdeBYzXU0Vnu43O4Ji0nx6L10BMrxz2fZ CE4w== 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=iWGpctT1zQD114bG++Y/K8seNjEPS2S+aOYcpblFHM8=; b=PO4shiHVllAcbEoQxr6KpI1powTdo+i0llwK3mQkYaWrzS6RZMgmhVYleCc5euog6n l+UlW5aB8LKrilFyc/uVPGKh7lStn9s3aKJfuedODkUhPvrjeRq2KHo8yNz8zvm15rLq ECYxgb5PmXBy+S93o+5fVj61xLvFT5e4uIj6MEDngNhLbyzIRaUOwN9WY7H1C5ot3oKp zAU85LUNYDhsFWhdSXS/qyZh9OeourH2ki5iHoJvY7F7eb0tNh1j2Z0NMoJxYVQea/T6 E6Eca4z+yyq5OpNcGCj3Jp17MkymSvTQAtySz9nz29llDA7o3fBwu7cI1OXqXZ7W2EYs pWTw== X-Gm-Message-State: AOAM530jiD3hwBzWmYncbCXSPtSSYw6CqhZm7JnCb2J5kB/fj35ydyTe wpXmBs+MVIgr/9m/NhMPdCPjl+eaUk1FbXjelk072GNq5ZQ= X-Google-Smtp-Source: ABdhPJygn+2iNoc+vCvvPDf9lqnvd13vpvQe+MorHqVgfWPbi4WW0h6JI/HWoFBvQBLp/RGELKcTxDYjM89q9oUPljE= X-Received: by 2002:a92:5a16:: with SMTP id o22mr1735918ilb.109.1594910923459; Thu, 16 Jul 2020 07:48:43 -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 16:48:31 +0200 Message-ID: Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics To: Niclas Zeising Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org X-Rspamd-Queue-Id: 4B6xvw4l6kz4cMK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pC1z1lfj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::143 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.032]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-0.97)[-0.974]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.24)[0.245]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::143:from]; 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 14:48:45 -0000 Hi all, I know I'm top-posting (this note) AND cross-posting - please bear(sp?) with me, I think I'm somewhat justified: On Wed, Jul 15, 2020 at 9:46 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. @Niclas, I followed your instructions; when I try to build gpu-firmware-kmod, here's what I get: ports/graphics/gpu-firmware-kmod:16:33:50 $ pwd /usr/ports/graphics/gpu-firmware-kmod ports/graphics/gpu-firmware-kmod:16:33:51 $ make make: "/usr/ports/Mk/bsd.port.mk" line 2096: warning: String comparison operator should be either == or != make: "/usr/ports/Mk/bsd.port.mk" line 2096: Malformed conditional (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} )) make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/graphics/gpu-firmware-kmod @ports: I found https://docs.freebsd.org/cgi/getmsg.cgi?fetch=51789+0+current/freebsd-ports (which points to contrib/bmake svn commit: r363031). I 'git clone'd /usr/src this morning (European time) and find "reverted r363031" in the logs, so I would have assumed this is fixed ... though perhaps not in a way I can make use of. Doing "sudo ./boot-strap" in contrib/bmake didn't help (I don't know whether it should have .. it seemed the next logical step). so, in short, what can I do to get back to building ports? TIA Michael -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'