Okay, so I'm trying to get JOGL working on my Raspberry Pi. I followed the instructions in the JOGL wiki for setting up a project in eclipse to use JOGL. I included the native jars for Mac OS X, both Windows architectures, and all four Linux, since I would like this program to be cross-platform. I followed the instructions to creating a minimal JOGL with AWT program found here: https://sites.google.com/site/justinscsstuff/jogl-tutorial-2
It runs fine inside of eclipse, it runs fine when exported as a runnable jar on my Mac, but if I try to run it on the Raspberry Pi, I get the error: Exception in thread "main" com.jogamp.opengl.GLException: No default device available This occurs whenever I try to get a GLProfile, regardless of whether I am getting the default profile using GLProfile.getDefault() or a specific one using GLProfile.get(GLProfile.GL2ES2). I've tried getting GL2ES1, GL2, GL2ES2, and none of them work. If anyone could help me out, I'd be very grateful. |
On 9th Feb 2016 Raspbian Raspberry Pi system images started to ship their system with two incompatible implementations of OpenGL ES installed at the same time. https://jogamp.org/bugzilla/show_bug.cgi?id=1290 The Mesa3D OpenGL ES implementation work in combination with AWT and NEWT GLWindow The Broadcom OpenGL ES implementation only work in combination with NEWT GLWindow When using JogAmp 2.3.2 the only known workaround is to remove one of the two implementations from the system. then you have to make the Broadcom driver unavailable by renaming the /opt/vc driver folder sudo mv /opt/vc /opt/vc-disabled sudo aptitude remove libgles1-mesa libgles2-mesa libgl1-mesa-dri 2016-06-02 19:32 GMT+02:00 JimmyNeutron [via jogamp] <[hidden email]>: Okay, so I'm trying to get JOGL working on my Raspberry Pi. I followed the instructions in the JOGL wiki for setting up a project in eclipse to use JOGL. I included the native jars for Mac OS X, both Windows architectures, and all four Linux, since I would like this program to be cross-platform. I followed the instructions to creating a minimal JOGL with AWT program found here: https://sites.google.com/site/justinscsstuff/jogl-tutorial-2 |
I've seen your name elsewhere on the webs while searching about this problem. You are a super genius! Your solution worked like a charm! Thanks so much!
|
Free forum by Nabble | Edit this page |