There seems to be a general issue with OpenGL at least since 3.5.4. under Linux. There are different threads for this and they stay mostly unresolved.
I have the same issue and cannot use 3D in Processing after updating to Processing 4, although it worked fine in the past.
Based on what I have seen, the issue has to do with a wrong entry in GLProfile.java in jogl-all.jar, so something the developers have to address.
This was stated already in this thread but there was no response:
Iām using a chromebook that runs linux in a container. I downloaded processsing 3.5.3 a month ago and things worked great. I got a message today when I went to start the chromebook that an important update was being installed dont turn off. Now when I try to run processing, it says:
"java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped "
I did the āsudo apt-get updateā and sudo apt-get upgrade and some stuff downloaded but the error is still there when I try ā¦
Any chances, that will be addressed ?
Previous reports:
Thank you for your reply!!!
The following is information and I droped āxxx extensions:ā¦ā :
root@firefly:~# glxinfo
name of display: :0
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx vā¦
mrchris, I feel your pain. Iām stuck with processing-2 on my chromebook linux container. I wrote quite a bit for processing-3.5.3 and then it broke and I get the similar GL mapping errors that you get. If thereās a fix, Iād like to use it too.
coincidentally, I was using an RC flight simulator with an arduino interface for the transmitter over USB, called crrcsim. It worked great. I got a new update on the chromebook and now it wonāt load the scenery so it just sits there stuck and flickerā¦
Iād like to run Processing in an old computer (Acer ES1) with Xubuntu , but while everything seems to work fine, when I run sketches that use P2D or P3D I get the following error:
InternalError: XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped
This happens with Processing 4.1.1. (as well as 4.0 and 3.5.4). In my understandings the issues is about an old bug that has been solved in the recent version for most of the machines, but not for mine. I suppose the bug should be related to thisā¦
Iām using a chromebook that runs linux in a container. I downloaded processsing 3.5.3 a month ago and things worked great. I got a message today when I went to start the chromebook that an important update was being installed dont turn off. Now when I try to run processing, it says:
"java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped "
I did the āsudo apt-get updateā and sudo apt-get upgrade and some stuff downloaded but the error is still there when I try ā¦
@Architector_4 given that the proposed fix (reversion) now breaks my system, can I ask if you could possibly try the following code in Processing 3.4 on your system and see if it works? The lack of bc profiles in your first error message is intriguing me.
void settings() {
System.setProperty("jogl.disable.openglcore", "true");
size(100, 100, P3D);
}
void setup() {
PGraphicsOpenGL pg = (PGraphicsOpenGL)g;
println(PGraphicsOpenGL.OPENGL_VENDOR);
println(PGraphicsOpenGL.OPENGL_RENDERERā¦
opened 02:45AM - 18 Apr 18 UTC
closed 01:52AM - 09 Aug 21 UTC
opengl
## Description
Processing 3.3.7 crash at any attempt to use P2D or P3D rendererā¦ .
## Expected Behavior
No problems with 3.3.6 version on the same system, working side by side.
## Current Behavior
```
java.lang.RuntimeException: Profile GL3bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7fccc001dae0, owner true, ResourceToolkitLock[obj 0x449b71a5, isOwner true, <40a4edee, 5a67b9e>[count 1, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GLES3.hw], GLProfile[GL2ES2/GL3.hw], GLProfile[GL3/GL3.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL3/GL3.hw], GLProfile[GL2GL3/GL3.hw]]
at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:410)
at java.lang.Thread.run(Thread.java:748)
```
## Steps to Reproduce
Run
```
void setup() {
size(300,200, P2D);
}
void draw() {
}
```
## Your Environment
Processing 3.3.7
Linux Mint 18.3 64 bits
Kernel 4.15.0-13-generic
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470]
## Possible Causes / Solutions
Any recent JOGL update?
https://github.com/gohai/processing-glvideo/issues/46
https://bugs.freedesktop.org/show_bug.cgi?id=105847
1 Like
div-p
January 22, 2023, 9:53pm
2
Hi Divitiacus , a developer of JOGL told me that the problem will be fixed in the next release, even if there is a workaround (present in your first link) but I didnāt manage to solve.
I guess that, Processing developer can fix this already, otherwise I hope that when the fixed version of JOGL will be released, that will be implemented in a new Processing update.
2 Likes
And how many more years is that going to be?! There hasnāt been an official release of JOGL for 8 years as far as I know, just a bunch of broken promises.
Well, I nuked my beta channel chromebook and started fresh without beta and it was working great for a few months. I just got another chromebook update and itās broken again. I give up. The chromebook is nice, but they keep breaking it. I read about people who still have windowsXP and they stay off the internet and abandoned updates long ago. That seems like the only way to protect something that works.