Remix.run Logo
baby_souffle 21 hours ago

> what does it mean for a GPU to drive a boot sequence

It's a quirk of the broadcom chips that the rpi family uses; the GPU is the first bit of silicon to power up and do things. The GPU specifically is a bit unusual, but the general idea of "smaller thing does initial bring up, then powers up $main_cpu" is not unusual once $main_cpu is ~ powerful enough to run linux.

throwaway894345 20 hours ago | parent [-]

That’s interesting, particularly since as far as I can tell, nothing in userland really bothers to make use of its GPU. I would really like to understand why, since I have a whole bunch of Pi’s and it seems like their GPUs can’t be used for much of anything (not really much for transcoding nor for AI).

codeflo 16 hours ago | parent | next [-]

> their GPUs can’t be used for much of anything (not really much for transcoding nor for AI)

It's both funny and sad to me that we're at the point where someone would (perhaps even reasonably) describe using the GPU only for the "G" in its name as not "much of anything".

ryandrake 8 hours ago | parent | prev | next [-]

One (obscure) example I know of is the RTLSDR-Airband[1] project uses the GPU to do FFT computation on older, less powerful Pis, through the GPU_FFT library[2].

1: https://github.com/rtl-airband/RTLSDR-Airband

2: http://www.aholme.co.uk/GPU_FFT/Main.htm

kcb 19 hours ago | parent | prev | next [-]

The Raspberry Pi GPU has one of the better open source GPU drivers as far as SBCs go. It's limited in performance but its definitely being used for rendering.

regularfry 13 hours ago | parent | prev | next [-]

There is a Vulkan API, they can run some compute. At least the 4 and 5 can: https://github.com/jdonald/vulkan-compute-rpi . No idea if it's worth the bus latency though. I'd love to know the answer to that.

I'd also love to see the same done on the Zero 2, where the CPU is far less beefy and the trade-off might go a different way. It's an older generation of GPU though so the same code won't work.

bitwize 17 hours ago | parent | prev [-]

You can play Quake on 'em.