Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2023 12:37:00 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        pyrus aboris <pyrus@bsdmail.com>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Broadcom VideoCore graphics acceleration on microboards
Message-ID:  <1257336377.4939.1700048220450@localhost>
In-Reply-To: <trinity-e3e761fa-e1ba-4359-ba8c-2bbcc07bdabc-1700035971787@3c-app-mailcom-lxa03>
References:  <trinity-e3e761fa-e1ba-4359-ba8c-2bbcc07bdabc-1700035971787@3c-app-mailcom-lxa03>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_4938_465269593.1700048220446
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

 
Van: pyrus aboris <pyrus@bsdmail.com>
Datum: woensdag, 15 november 2023 09:12
Aan: freebsd-embedded@freebsd.org
Onderwerp: Broadcom VideoCore graphics acceleration on microboards
> 
> It has come to my attention that FreeBSD doesn't have a kmod driver for Broadcom VideoCore GPU's
> for graphics acceleration. We may have assumed that most boards use AMD, Intel or Nvidia GPU's,
> but microboards typically use VideoCore IV hardware for graphics.
>  
> In comparison, NetBSD has support for graphics acceleration for VideoCore hardware, as can be
> seen at https://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in
>  
> Also on FreeBSD, drivers may also be lacking for the audio hardware from microboards, which may
> be bcm devices.
>  
> Thank you


If you have the skills and time to do it I know you would make more people happy. [1]

When clicking from that blog to the NetBSD Wiki (https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index5h1) it states:
"X11 and GPU

Video acceleration currently only works with 32-bit (ARMv7 and ARMv6) kernels due to the Broadcom code not being 64-bit clean.
Since applications require specialized support for the GPU, only a few applications are normally accelerated. NetBSD/aarch64 normally uses llvmpipe to provide fast parallel CPU-driven support for OpenGL, so should be faster when running normal applications.
The situation should be improved, ideally by writing a DRM/KMS driver."

So it is not always a bed of roses in NetBSD land either.

AFAIK this broadcom stuff is proprietary closed source so a bit hard to work on I guess. Although the forums link [1] states that RPI4 has an open source V3D driver.

Regards,
Ronald.

[1] https://forums.freebsd.org/threads/what-about-2d-3d-hardware-acceleration-and-audio-support-on-raspberry-pi.86341/
------=_Part_4938_465269593.1700048220446
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>&nbsp;
<p><strong>Van:</strong> pyrus aboris &lt;pyrus@bsdmail.com&gt;<br>
<strong>Datum:</strong> woensdag, 15 november 2023 09:12<br>
<strong>Aan:</strong> freebsd-embedded@freebsd.org<br>
<strong>Onderwerp:</strong> Broadcom VideoCore graphics acceleration on microboards</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextHTMLViewer" id="P.P">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>It has come to my attention that FreeBSD doesn't have a kmod driver for Broadcom VideoCore GPU's</div>

<div>for graphics acceleration. We may have assumed that most boards use AMD, Intel or Nvidia GPU's,</div>

<div>but microboards typically use VideoCore IV hardware for graphics.</div>

<div>&nbsp;</div>

<div>In comparison, NetBSD has support for graphics acceleration for VideoCore hardware, as can be</div>

<div>seen at https://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in</div>;

<div>&nbsp;</div>

<div>Also on FreeBSD, drivers may also be lacking for the audio hardware from microboards, which may</div>

<div>be bcm devices.</div>

<div>&nbsp;</div>

<div>Thank you</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<span style="font-family:verdana,geneva,sans-serif;">If you have the skills and time to do it I know you would make more people happy. [1]<br>
<br>
When clicking from that blog to the NetBSD Wiki (</span><a href="https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index5h1">https://wiki.netbsd.org/ports/evbarm/raspberry_pi/#index5h1</a>)<span style="font-family:verdana,geneva,sans-serif;"> it states:<br>
"X11 and GPU<br>
<br>
Video acceleration currently only works with 32-bit (ARMv7 and ARMv6) kernels due to the Broadcom code not being 64-bit clean.<br>
Since applications require specialized support for the GPU, only a few applications are normally accelerated. NetBSD/aarch64 normally uses llvmpipe to provide fast parallel CPU-driven support for OpenGL, so should be faster when running normal applications.<br>
The situation should be improved, ideally by writing a DRM/KMS driver."<br>
<br>
So it is not always a bed of roses in NetBSD land either.<br>
<br>
AFAIK this broadcom stuff is proprietary closed source so a bit hard to work on I guess. Although the forums link [1] states that RPI4 has an open source V3D driver.<br>
<br>
Regards,<br>
Ronald.</span><br>
<br>
[1] https://forums.freebsd.org/threads/what-about-2d-3d-hardware-acceleration-and-audio-support-on-raspberry-pi.86341/</body></html>;
------=_Part_4938_465269593.1700048220446--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1257336377.4939.1700048220450>