Attempting to use P3D causes a runtime exception unless software rendering is enabled. This issue depends on the environment (probably only affects Intel integrated graphics on Linux).
P3D should work.
java.lang.RuntimeException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f7130021e80, owner true, ResourceToolkitLock[obj 0x6d36e00f, isOwner true, <283473cd, 3bb280c7>[count 1, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:410)
at java.lang.Thread.run(Thread.java:748)
RuntimeException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f7130021e80, owner true, ResourceToolkitLock[obj 0x6d36e00f, isOwner true, <283473cd, 3bb280c7>[count 1, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
void setup() {
size(640, 480, P3D);
}
Description
Attempting to use P3D causes a runtime exception unless software rendering is enabled. This issue depends on the environment (probably only affects Intel integrated graphics on Linux).
Expected Behavior
P3D should work.
Current Behavior
Steps to Reproduce
/<path>/processing, run the above programLIBGL_ALWAYS_SOFTWARE=true /<path>/processing, run the programYour Environment
Possible Causes / Solutions
Most likely, JOGL needs to be updated from 2.3 to 2.4, according to this thread: http://forum.jogamp.org/jogl-problems-on-mesa-20-branch-td4040546.html