Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2020 08:56:08 +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:  <56a5949c-85fc-dc23-fae2-b70c634205e3@daemonic.se>
In-Reply-To: <CADqw_gKQA96qKy_O2tNyiiQcEZJcGCNQa_S9Xgxiehd04H8hfg@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> <e353dbe8-b891-7436-bad5-63bedee38c5e@daemonic.se> <CADqw_gKQA96qKy_O2tNyiiQcEZJcGCNQa_S9Xgxiehd04H8hfg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-16 07:28, Michael Schuster wrote:
>=20
>=20
> On Wed, Jul 15, 2020 at 9:46 PM Niclas Zeising=20
> <zeising+freebsd@daemonic.se <mailto:zeising%2Bfreebsd@daemonic.se>> wr=
ote:
>=20
>     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>
>     <mailto:michaelsprivate@gmail.com
>     <mailto:michaelsprivate@gmail.com>>> wrote:
>      >
>      >=C2=A0 =C2=A0 =C2=A0Hi Niclas,
>      >
>      >=C2=A0 =C2=A0 =C2=A0thx for your feedback, one question inline:
>      >
>      >=C2=A0 =C2=A0 =C2=A0On Wed, Jul 15, 2020 at 4:10 PM Niclas Zeisin=
g
>      >=C2=A0 =C2=A0 =C2=A0<zeising+freebsd@daemonic.se
>     <mailto:zeising%2Bfreebsd@daemonic.se>
>     <mailto:zeising%2Bfreebsd@daemonic.se
>     <mailto:zeising%252Bfreebsd@daemonic.se>>>
>      >=C2=A0 =C2=A0 =C2=A0wrote:
>      >
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On 2020-07-15 14:25, Michael Sc=
huster wrote:
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > Hi all,
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > I got a new HP laptop (455 G=
7) and put latest GhostBSD
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(20.04, based on
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > 12.1 release) on it. During =
installation, the only
>     graphics
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0selection that
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > didn't fail was 'scfb', whic=
h I'm still using.
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > AFAICT from my research, Ren=
oir is supported by latest drm
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0driver/module,
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > so I installed that (
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >
>      > https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1=
).
>      >
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0That branch isn't used, and may=
 be broken.
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If you want to get anything mor=
e recent than
>     drm-fbds12.0-kmod,
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0which
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tracks Linux 4.16, you have to =
upgrade to current and use
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0drm-devel-kmod
>      >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(which currently is at 5.3).
>      >
>      >
>      >=C2=A0 =C2=A0 =C2=A0just to be clear: by "current", you mean Free=
BSD
>     13.0-current, right?
>      >=C2=A0 =C2=A0 =C2=A0thx
>      >
>      >
>      > 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 mism=
atch
>      >
>      > 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 i=
s:
>      >
>      > xf86_video-amdgpu-19.1.0_1.
>=20
>     This means that your kernel and the drm-devel-kmod package are out =
of
>     sync.=C2=A0 drm-devel-kmod installs the kernel graphics drivers, su=
ch as
>     amdgpu.ko, and it has to be in sync with your kernel.=C2=A0 Dependi=
ng a bit
>     on which svn revision of current you have, you should be able to bu=
ild
>     drm-devel-kmod (and preferably gpu-firmware-kmod) from ports.=20
>=20
>=20
> if I don't have gpu-firmware-kmod in a freshly DLd ports collection (vi=
a=20
> svn), did I do anything wrong:
>=20
> :/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
> $
>=20

it's in graphics/gpu-firmware-kmod, you are searching for *drm*, so it=20
won't show up.
the various drm ports should depend on it though, so it should get=20
pulled in automatically.
Regards
--=20
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56a5949c-85fc-dc23-fae2-b70c634205e3>