Login  Register

No Default Device Available

Posted by JimmyNeutron on Jun 02, 2016; 5:32pm
URL: https://forum.jogamp.org/No-Default-Device-Available-tp4036780.html

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.