https://forum.jogamp.org/JOGL-support-for-VideoCore-6-with-Raspberry-PI-4-tp4040046p4040065.html
as it is a very valuable use case.
> katzii wrote
> Thank you for your answer, Sven. I will just go for the newer PI and try
> this out. If this doesn't work, I will do my best to fix this, since I
> really enjoy this particular use case :) So if patches are generally
> accepted, I would love to put the work into this.
>
> Cheers
>
> * VideoCore 6 on the Raspberry Pi 4 is only supported by the Mesa 3D drivers.
> If you try to force use of the Broadcom driver then the Broadcom driver will
> issue an error statement that raspberry pi 4 is not supported and quit your
> application.
>
> * Running OpenGL or OpenGL ES initialized using EGL without X11 on Raspberry
> Pi 4 is possible using the Linux Kernel Modesetting driver (KMS) API in
> combination with the Mesa Generic Buffer Management (GBM) API.
>
> * KMS Cube is Mesa 3D example application that initialized EGL using GBM and
> KMS
https://gitlab.freedesktop.org/mesa/kmscube/ This application work
> directly from console if you compile it and run it on a Raspberry Pi 4.
>
> * JOGL do NOT contain support to initialize EGL using GBM/KMS, however some
> attempts have already been made to implement support for GBM/KMS for other
> linux systems:
>
>
https://jogamp.org/bugzilla/show_bug.cgi?id=1156 - Newt EGL/GBM (KMS) driver
> *
https://github.com/Zubnix/jogl/commits/master <- proof of concept
> implementation of NEWT GBM/KMS driver, try this
>
>