We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi
I get the following error whenever I try to start a sketch with the P2D or P3D renderer:
java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071) at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1954) at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875) at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842) at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80) at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216) at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297) at com.jogamp.opengl.GLProfile.get(GLProfile.java:988) at com.jogamp.opengl.GLProfile.getGL2ES2(GLProfile.java:909) at processing.opengl.PSurfaceJOGL.initGL(PSurfaceJOGL.java:192) at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:136) at processing.core.PApplet.initSurface(PApplet.java:10889) at processing.core.PApplet.runSketch(PApplet.java:10776) at processing.core.PApplet.main(PApplet.java:10476)
Processing version: 3.3.6
OS: Ubuntu 17.10 x64
Graphics card: Nvidia Quadro 600
Graphics driver: Nouveau (4.13.0-16-generic)
OpenGL version string: 3.0 Mesa 17.2.2
Do I have to use the proprietary Nvidia driver to get P2D/P3D to work or is the problem that the recent Ubuntu version (17.10) has some API changes that is not picked up by processing/jogamp
Answers
I found this jogamp issue: https://jogamp.org/bugzilla/show_bug.cgi?id=1357
I have the same problem.
Processing version: 3.3.6-1 OS: Manjaro 17.0.6-EOL OpenGL vendor string: X.Org OpenGL renderer string: AMD OLAND (DRM 2.50.0 / 4.13.12-1-MANJARO, LLVM 5.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 17.2.4 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.4 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions:
Me too, any solution for this ?
Hello @Heliummusic @frostRed @anorm77
i have no Linux version running, so i can not reproduce the bug on my machine. I'm on windows and the bug produces a flickering of my scetches. Also not very cool.
Can someone with this bug, try to map processing to use an earlier Version of Java then 1.8. And responce if it helps with keep the scetch running.
Thank you
hi bro, how can I do that ?
@Heliummusic
yo, wassup. ✌️
My idea was that you download a previous version of java, move/delete the folder inside processing with Java reference. And compile your scetch with the "default" java from Oracle. But if you have no idea how to get their, it will take you a while, and at the end, nobody says that it will work. See also here.
And before things get to complicated. Download a prev. version of processing. v. 2.2.1 | v. 1.5.1 https://processing.org/download/
When a very minimal scetch runs (- vs. the same scetch in higher processing versions), so the bug is in Processing Version >= 3.x . When it also fails it's a driver bug. (Simple as that.)
Driver bug:
NVidia Community Support Forum: https://devtalk.nvidia.com/default/board/69/opengl/
JOGL is responsible for OpenGL support in Processing. http://forum.jogamp.org/
Processing Github Issue:
https://github.com/processing/processing/issues/5308
(you can open a new ticket, maybe with more detail. )
Hi all,
I also have the same problem on my PC with the following.
If I run a sketch with P3D (i.e., size(720, 720, P3D);), I get the following error message.
Could someone please help me with this?
Thanks!
@seongwook
Hello this is a well known bug https://github.com/processing/processing/issues/5308
already reported. And i don't think this can be fixed soon. I will install Ubuntu this weekend if i can reproduce it on my machine, i will possibly even post a workaround. Later next week.
http://GeekTillItHertz.com/wordpress/index.php/2017/07/04/nvidia-gtx-960-open-source-bench/
Hi @nabr,
Thank you so much for the information! I didn't know that it is a known bug :)
I'll be looking forward to a workaround.
Thanks again!
Hi,I found a 5 min workaround to get P2D and P3D up and running again
Had exactly the same issues as described here. The bug appeared with the new OpenGL - Mesa under Linux. Until the Processing gets patched, simply manipulate the Java Environment that came with the installation as described in my post here:
https://github.com/processing/processing/issues/5308
Good luck !
@AQUILa_SC
Nice! Thank you, very much!