amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics

Niclas Zeising zeising+freebsd at daemonic.se
Thu Jul 16 06:56:13 UTC 2020


On 2020-07-16 07:28, Michael Schuster wrote:
> 
> 
> On Wed, Jul 15, 2020 at 9:46 PM Niclas Zeising 
> <zeising+freebsd at daemonic.se <mailto:zeising%2Bfreebsd at daemonic.se>> wrote:
> 
>     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>
>     <mailto: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>
>     <mailto:zeising%2Bfreebsd at daemonic.se
>     <mailto:zeising%252Bfreebsd 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. 
> 
> 
> 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.
the various drm ports should depend on it though, so it should get 
pulled in automatically.
Regards
-- 
Niclas


More information about the freebsd-x11 mailing list