Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2020 21:46:24 +0200
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        Michael Schuster <michaelsprivate@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics
Message-ID:  <e353dbe8-b891-7436-bad5-63bedee38c5e@daemonic.se>
In-Reply-To: <CADqw_gKOKGoZOJE4iXxnUX3PgqtBkhKxgiHtAJqCGo9dghneag@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-15 21:13, Michael Schuster wrote:
> 
> 
> On Wed, Jul 15, 2020 at 7:30 PM Michael Schuster 
> <michaelsprivate@gmail.com <mailto:michaelsprivate@gmail.com>> wrote:
> 
>     Hi Niclas,
> 
>     thx for your feedback, one question inline:
> 
>     On Wed, Jul 15, 2020 at 4:10 PM Niclas Zeising
>     <zeising+freebsd@daemonic.se <mailto:zeising%2Bfreebsd@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.  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e353dbe8-b891-7436-bad5-63bedee38c5e>