EDIT: Solution that worked for me is rolling back to from 3.4 to 3.3.6. Here’s the link to this version:
I don’t have any prior experience with anything Linux, but I have been using Processing on Windows machines for multiple months now. I managed to start Processing on Ubuntu Desktop 18.04. Sketches in default (JAVA2D) mode work fine, but when I try to switch it to P2D or P3D, I get this error:
java.lang.RuntimeException: Profile GL4bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7fd4ac01ee10, owner true, ResourceToolkitLock[obj 0x247bc369, isOwner true, <2044433e, 6546c952>[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)
My GPU is AMD Radeon R5 M330
Any attempts on googling any part of the error result in me finding questions about same(or similar) errors in other applications, which have their own solutions, which I’m not sure can be applied to Processing.
What should I do to get P2D/P3D sketches working?