From 629c8de141deda565b00717546cd0a3790453801 Mon Sep 17 00:00:00 2001 From: gohai Date: Tue, 24 May 2016 16:58:59 +0200 Subject: [PATCH 1/2] Revert "Switch back to JRE 8u77 on ARM" The performance regression with 8u91 and above was figured out and worked around in version 1.0.2 of the GL Video library. See: https://github.com/gohai/processing-glvideo/commit/055a90cacd7c82c4b9e36fa9198a18c1947db8d6 --- build/build.xml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build/build.xml b/build/build.xml index a27add870..0c938de34 100644 --- a/build/build.xml +++ b/build/build.xml @@ -59,15 +59,6 @@ - - - - - - - - - From da02a33e6869f38232ee0517a287879398e57f34 Mon Sep 17 00:00:00 2001 From: gohai Date: Fri, 27 May 2016 11:04:31 +0200 Subject: [PATCH 2/2] Temporarily add warning to PSurfaceJOGL for Raspbian issue Installing Processing on a recent Raspbian distribution won't work without changes, due to a change they made, which is incompatible with JOGL. Put in this warning until this gets fixed. User hitting this is e.g.: https://github.com/gohai/processing-glvideo/issues/3 --- core/src/processing/opengl/PSurfaceJOGL.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 75b2b926b..7e5e15b66 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -133,6 +133,16 @@ public class PSurfaceJOGL implements PSurface { public void initFrame(PApplet sketch) { this.sketch = sketch; initIcons(); + + // https://jogamp.org/bugzilla/show_bug.cgi?id=1290 + File mesaLib = new File("/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2"); + if (mesaLib.exists()) { + System.out.println("\nIf you are receiving an error regarding the undefined symbol bcm_host_init, " + + "make sure you have the package libgles2-mesa deinstalled. This can be done " + + "by executing \"sudo aptitude remove libgles2-mesa\" in the terminal, and is " + + "a known issue with the Raspbian distribution.\n"); + } + initDisplay(); initGL(); initWindow();