I am currently attempting to get an open source project, Constellation, that uses JOGL to work on Apple MacBooks.
It already faced the problem other apps had with the changes in MacOS Ventura. OS menus in-app menus stopped appearing after a new OpenGL instance was created. To try fix this I have been looking to update the project's OpenGL-related packages (JOGL, JOCL, Gluegen-rt, nativewindow, and newt) JAR files to newer versions, but am having trouble getting them to work.
I'm using the zulu11.48.21-ca-fx-jdk11.0.11-macosx_aarch64 JDK to build the application.
I hit the following error when opening a new graph and wanted to see whether this is an obvious issue or something that would require a lot more time and expertise.
com.jogamp.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glGenTextures(<int> 0x1, <[I>, <int> 0x0): Unknown glGetError() return value: ( 1286 0x506),
Issue-01: "OS menus in-app menus stopped appearing after a new OpenGL instance was created"
I am not aware of this issue, I also tested on MacOS 13.1
Please describe this issue in more detail.
With above produced JogAmp info log files
and your additional OS version (in detail)
and a detailed description, we might can resolve it.
Would be great if I can reproduce the issue here as well.
Hence attach a most small little demo code (don't dump in post please)
Later we can open a bug report, or can do this right away if you like.
But then please send me your real world name and use a 'proper email' address,
Its curious, you are the 2nd user using this OpenJDK build.
Please test with Adoptium's OpenJDK17 as well.
Lately I have tested
My OS version is: Ventura 13.4 on an Apple M1 MacBook Air.
Issue-02: I have tried to use Adoptium's JDK 11 (that's what the Constellation project is built with) but the build is unfortunately failing. I believe this is because Adoptium doesn't come with JavaFX.
Looks like the app is using either Swing or OpenJFX (hence the Zulu + JFX) for their UI.
Hmm .. I would test with the Swing variant if available and
compare with OpenJFX.
Then if isolated, let's produce a simple test case with and without using JOGL.
If it only fails with JOGL usage .. I guess I should fix it,
even though I am not sure yet how we possible interact with the OS menu :)