Login  Register

Re: JOGL support for VideoCore 6 with Raspberry PI 4

Posted by Sven Gothel on Sep 10, 2019; 4:15pm
URL: https://forum.jogamp.org/JOGL-support-for-VideoCore-6-with-Raspberry-PI-4-tp4040046p4040065.html

thank you Xerxes

I have added a few remarks https://jogamp.org/bugzilla/show_bug.cgi?id=1156

and love to add EGL console mode of course
as it is a very valuable use case.

~Sven

On 9/10/19 4:54 PM, Xerxes Rånby [via jogamp] wrote:

>     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
>
>