Re: rpi4 VideoCore VI graphics

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CANCZdfrpDRx=VNjp6VMvKwh2yBquqY3unayizJC7hsPa+4kmhA@mail.gmail.com>
On Sun, May 19, 2024, 12:37 PM <[email protected]> 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

>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.