Jogl with raspberry pi3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jogl with raspberry pi3

mahesh
does 'jogl + Newt' work with raspberry pi3?
Kindly share experience if anyone has tried running jogl apps on raspberry pi3.
Reply | Threaded
Open this post in threaded view
|

Re: Jogl with raspberry pi3

Xerxes Rånby
Processing 3 is one application that is using jogl + newt on the raspberry pi 3.

You can get a working pre-configured rasbian system with processing 3 pre-installed here:
https://github.com/processing/processing/wiki/Raspberry-Pi

---

known issues:

If you take the current Raspberry pi Rasbian distribution and use the 2.3.2 jogamp jogl release then initialization will fail because
Rasbian now ships two OpenGL ES 2 drivers installed on the same system.

Jogl is designed to work with the vc4 mesa drivers OR the Broadcom driver but NOT if they BOTH are installed at the same time.
When Jogl loads libEGL then driver A will crash because the driver picks up libGLESv2 from driver B.


You can workaround this Rasbian issue by un-installing one of the two drivers.
sudo aptitude remove libgles2-mesa
There is a really long discussion with the raspberry pi people how to solve the situation here:
https://github.com/anholt/mesa/issues/24

---

Gohai one of the processing developers have created a set of patches for jogl that improve the jogl + newt experience on the raspberry pi 3 and actually makes it possible to use jogl on a system with both drivers installed if you are careful loading the drivers in a certain order.
https://github.com/gohai/jogl/commits/bcm-test



2017-03-22 6:03 GMT+01:00 mahesh [via jogamp] <[hidden email]>:
does 'jogl + Newt' work with raspberry pi3?
Kindly share experience if anyone has tried running jogl apps on raspberry pi3.


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Jogl-with-raspberry-pi3-tp4037813.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Jogl with raspberry pi3

mahesh
Thanks for prompt reply. I will try ..
regards
Mahesh