Re: rpi4 VideoCore VI graphics

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 19 May 2024 18:47:17 UTC
On Sun, May 19, 2024, 12:37 PM <pyrus@bsdmail.com> wrote:

> > Is there any progression on rpi4 VideoCore VI graphics that I can
> follow?
> > Any plans on FreeBSD support?
>
> Not sure if https://forums.raspberrypi.com/viewtopic.php?t=317511 is
> applicable. In the Linux kernel, at least their DRM implementation, VC4 is
> used for 2D for both VideoCoreVI and VideoCoreVI. For 3D through Mesa, VC4
> is used for VideoCoreIV, and V3D is used for VideoCoreVI.
>

Very informative.

3D Mesa drivers for VideoCore IV & VI are available at
> https://docs.mesa3d.org/drivers/ and are permissively licensed.
>
> NetBSD for arm actually has VideoCore kernel module drivers in its base,
> https://wiki.netbsd.org/projects/project/vc4/. It's permissively licensed,
> but may have issues with 64bit architectures, so the source may need to be
> troubleshooted and compiled for 64bit. This comes with vchiq and vcaudio.
>
> There's additional userland VideoCore libraries for NetBSD through pkgsrc,
> http://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in , but
> these may be in 32bit
>

Cool. Hopefully people will be motivated to port this stuff..

Warner

>