MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.83k stars 494 forks source link

Pi4 - V3D enablement #5957

Open isarrider opened 1 year ago

isarrider commented 1 year ago

Hi,

as the V3D is now mainlined, is this sth you are thinking about? (Neat guide: https://melissawen.github.io/blog/2022/11/10/v3d-in-the-mainline) I remember we talked ab it more or less a long time ago in regards to the cam support...

BR; Alex

MichaIng commented 1 year ago

I'm actually not sure what V3D exactly is 😅. Did further parts of the Raspberry Pi graphics driver stack made their way into mainline kernel? I recognise the KMS driver overlay named vc4-kms-v3d, so the whole stack contains the driver for the VC4 video core (included in Mesa since a longer while, AFAIK), KMS (generic Linux driver anyway) and V3D, which is the last that was part of the closed source RPi driver but not mainlined?

However, since we do no kernel development and use the official RPi kernel for our RPi images, it's up to the RPi devs. There are branches for recent Linux: https://github.com/raspberrypi/linux/branches/active They have not made their way into the firmware repository to be available as pre-compiled RPi kernel yet: https://github.com/raspberrypi/firmware/tree/next

isarrider commented 1 year ago

actually I was thinking what compile flags you set for the Pi4 image, cause my impression was it is compiled from source? (thats where my question came from)

MichaIng commented 1 year ago

We do not compile own kernel builds:

apt show raspberrypi-kernel

As you can see it is coming from the official RPi package repository.