Re: Pi4 to Pi5 migration

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Pi4 to Pi5 migration
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.sys.raspberry-pi
Date : 11. Jun 2024, 09:41:40
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <66680dc4@news.ausics.net>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i686))
bp@www.zefox.net wrote:
Computer Nerd Kev <not@telling.you.invalid> wrote:
 
No the code running on the GPU is all written by Broadcom and Linux
software just talks to that, so nothing needs to be compiled for
the GPU in order to use functionality that's in the stock GPU
firmware. The bottleneck at this point seems to be mainly
application developers adding support for the APIs, but this isn't
an issue with compilers, just the usual limits of time, money, and
willpower.
>
 
Ok, that clarifies things considerably. Is the API public, at least?
Then folks could experiment.

Broadcom's API is DispmanX, which some programs have used directly,
but libbrcmEGL is their library that presents an OpenGL interface
and is thus easier to adapt software to. Separately the Linux
kernel now has its own drivers, which are used via Mesa. I'm not
sure how the performance compares, but the Mesa drivers are the
popular ones these days.

There's more info about the various APIs indexed here:
https://forums.raspberrypi.com/viewtopic.php?t=317511

If you want to do more with the GPU than using the routines
Broadcom's firmware includes, such as support en/decoding other
video codecs, or using it as a co-processor for non-graphics-related
tasks, then free compiler options become limited. That gets
complicated, but it's not much to do with PC-like GPU acceleration
in web browsers, that is already facilitated by Broadcom's
pre-compiled GPU firmware binary which runs on the GPU from
start-up (in fact it's what starts the CPU and Linux up).
 
Is this to say that if somebody wanted to write a cryptocurrency
miner for the Raspberry Pi VideoCore they'd need Broadcom's help?

Only that it would be easier with Broadcom's help. But there's
enough info about the QPUs available that it should be possible.

Here's an early example of the QPUs being used to run custom
routines:
http://www.aholme.co.uk/GPU_FFT/Main.htm

More recent is this OpenCL implementation which probably makes it
easier to do things like cryptocurrency mining:
https://github.com/doe300/VC4CL

https://kenny-peng.com/2021/09/14/raspi_zero_opencl.html

The QPU processor cores are used along with one of two more
capable VPU processor cores in the VideoCore IV GPU for running
the stock GPU firmware. Broadcom released some documentation on
the QPUs, but information on the VPU is all reverse-engineered or
based on code written by Raspberry Pi developers who obviously have
access to the proprietary docs. So that makes writing an
open-source replacement for Broadcom's GPU firmware very difficult,
but the QPUs can be used for parallel data processing jobs like
crypto mining, and some simple things can be done with the VPUs as
well.

--
__          __
#_ < |\| |< _#

Date Sujet#  Auteur
5 Jun 24 * Pi4 to Pi5 migration49<bp
6 Jun 24 +* Re: Pi4 to Pi5 migration27druck
6 Jun 24 i`* Re: Pi4 to Pi5 migration26Chris Townley
6 Jun 24 i `* Re: Pi4 to Pi5 migration25druck
6 Jun 24 i  +* Re: Pi4 to Pi5 migration2Deloptes
6 Jun 24 i  i`- Re: Pi4 to Pi5 migration1<bp
6 Jun 24 i  `* Re: Pi4 to Pi5 migration22<bp
6 Jun 24 i   +- Re: Pi4 to Pi5 migration1druck
7 Jun 24 i   +- Re: Pi4 to Pi5 migration1Computer Nerd Kev
7 Jun 24 i   +- Re: Pi4 to Pi5 migration1Pancho
8 Jun 24 i   +* Re: Pi4 to Pi5 migration16<bp
9 Jun 24 i   i`* Re: Pi4 to Pi5 migration15Computer Nerd Kev
9 Jun 24 i   i `* Re: Pi4 to Pi5 migration14<bp
9 Jun 24 i   i  +- Re: Pi4 to Pi5 migration1Theo
11 Jun 24 i   i  `* Re: Pi4 to Pi5 migration12Computer Nerd Kev
11 Jun 24 i   i   `* Re: Pi4 to Pi5 migration11<bp
11 Jun 24 i   i    `* Re: Pi4 to Pi5 migration10Computer Nerd Kev
16 Jun 24 i   i     `* Re: Pi4 to Pi5 migration9Computer Nerd Kev
17 Jun 24 i   i      `* Re: Pi4 to Pi5 migration8<bp
17 Jun 24 i   i       `* Re: Pi4 to Pi5 migration7Ahem A Rivet's Shot
17 Jun 24 i   i        +* Re: Pi4 to Pi5 migration2The Natural Philosopher
17 Jun 24 i   i        i`- Re: Pi4 to Pi5 migration1Ahem A Rivet's Shot
17 Jun 24 i   i        `* Re: Pi4 to Pi5 migration4<bp
17 Jun 24 i   i         `* Re: Pi4 to Pi5 migration3Ahem A Rivet's Shot
18 Jun 24 i   i          `* Re: Pi4 to Pi5 migration2<bp
18 Jun 24 i   i           `- Re: Pi4 to Pi5 migration1Ahem A Rivet's Shot
11 Jun 24 i   `* Re: Pi4 to Pi5 migration2Newyana2
11 Jun 24 i    `- Re: Pi4 to Pi5 migration1<bp
6 Jun 24 `* Re: Pi4 to Pi5 migration21Pancho
6 Jun 24  +* Re: Pi4 to Pi5 migration19<bp
6 Jun 24  i+* Re: Pi4 to Pi5 migration17druck
25 Jun 24  ii`* Re: Pi4 to Pi5 migration16<bp
25 Jun 24  ii +* Re: Pi4 to Pi5 migration6The Natural Philosopher
25 Jun 24  ii i`* Re: Pi4 to Pi5 migration5<bp
25 Jun 24  ii i `* Re: Pi4 to Pi5 migration4Chris Townley
25 Jun 24  ii i  `* Re: Pi4 to Pi5 migration3<bp
26 Jun 24  ii i   `* Re: Pi4 to Pi5 migration2Anssi Saari
26 Jun 24  ii i    `- Re: Pi4 to Pi5 migration1The Natural Philosopher
25 Jun 24  ii +* Re: Pi4 to Pi5 migration5Ahem A Rivet's Shot
25 Jun 24  ii i`* Re: Pi4 to Pi5 migration4<bp
25 Jun 24  ii i `* Re: Pi4 to Pi5 migration3Ahem A Rivet's Shot
26 Jun 24  ii i  `* Re: Pi4 to Pi5 migration2<bp
29 Jun 24  ii i   `- Re: Pi4 to Pi5 migration1<bp
26 Jun 24  ii `* Re: Pi4 to Pi5 migration4druck
26 Jun 24  ii  `* Re: Pi4 to Pi5 migration3Andy Burns
27 Jun 24  ii   +- Re: Pi4 to Pi5 migration1Anssi Saari
27 Jun 24  ii   `- Re: Pi4 to Pi5 migration1druck
16 Jun 24  i`- Re: Pi4 to Pi5 migration1Lawrence D'Oliveiro
16 Jun 24  `- Re: Pi4 to Pi5 migration1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal