Date: Thu, 16 Jul 2020 16:48:31 +0200 From: Michael Schuster <michaelsprivate@gmail.com> To: Niclas Zeising <zeising+freebsd@daemonic.se> Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics Message-ID: <CADqw_g%2B3tqOrLFWZRvukz80jdZhJBQsjMdW_65m6-33S8a93Yg@mail.gmail.com> In-Reply-To: <e353dbe8-b891-7436-bad5-63bedee38c5e@daemonic.se> References: <CADqw_gKaifH9Q9aXR4VAtX7_tkoAGnL-dO9TXCDEpUju=4SKOw@mail.gmail.com> <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> <CADqw_g%2Bj2UG95sMe099M3jJP3DgvqvBYoaOLdtaX7Es43z%2BwsQ@mail.gmail.com> <CADqw_gKOKGoZOJE4iXxnUX3PgqtBkhKxgiHtAJqCGo9dghneag@mail.gmail.com> <e353dbe8-b891-7436-bad5-63bedee38c5e@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <zeising+freebsd@daemonic.se> 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'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_g%2B3tqOrLFWZRvukz80jdZhJBQsjMdW_65m6-33S8a93Yg>