amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics

Niclas Zeising zeising+freebsd at daemonic.se
Wed Jul 15 19:46:33 UTC 2020


On 2020-07-15 21:13, Michael Schuster wrote:
> 
> 
> On Wed, Jul 15, 2020 at 7:30 PM Michael Schuster 
> <michaelsprivate at gmail.com <mailto:michaelsprivate at 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 at daemonic.se <mailto:zeising%2Bfreebsd at 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


More information about the freebsd-x11 mailing list