Re: Available GLVersions not set for EGLGraphicsDevic
Posted by
Xerxes Rånby on
Oct 23, 2019; 1:22pm
URL: https://forum.jogamp.org/Available-GLVersions-not-set-for-EGLGraphicsDevic-tp4040111p4040116.html
To use JOGL on Raspberry Pi 4 you need to use the latest build:
https://jogamp.org/deployment/archive/master/?C=M;O=D <- list of all latest jogl builds
https://jogamp.org/deployment/archive/master/gluegen_916-joal_642-jogl_1483-jocl_1122/fat/jogamp-fat.jarOlder builds such as the 2.3.2 release only work if you remove the broadcom drivers from the system.
You can try:
mv /opt/vc /opt/vc-removed
Raspberry PI 4 behave as a generic Linux X11 system with Mesa3D drivers.
We had to refine autodetect logic to disable use of the Broadcom specific driver initialization. By removing /opt/vc then old jogamp builds will think it is on a generic Linux X11 system. The latest Jogl build can fingure that out by itself.
When I test on Raspberry Pi 4 then my /boot/config.txt contains
[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
dtoverlay=vc4-fkms-v3d
These config lines configure the board and enable the Mesa3D OpenGL drivers to be present for the dynamic linker when using Raspbian
Xerxes