Login  Register

jogl problems on mesa 20 branch

Posted by matoxxx on Apr 21, 2020; 7:31pm
URL: https://forum.jogamp.org/jogl-problems-on-mesa-20-branch-tp4040546.html

Dear community,
I am using CLC Main Worknech, which is comes with bundled jre (openjdk10) and jogl to draw 3d structures

Manifest-Version: 1.0                                                                                                                                                
  2 Ant-Version: Apache Ant 1.8.2                                                                                                                                        
  3 Created-By: 1.7.0_45-b18 (Oracle Corporation)                                                                                                                        
  4 Application-Name: Java Bindings for OpenGL                                                                                                                            
  5 Specification-Title: Java Bindings for OpenGL API Specification                                                                                                      
  6 Specification-Version: 2.1                                                                                                                                            
  7 Specification-Vendor: JogAmp Community                                                                                                                                
  8 Implementation-Title: Java Bindings for OpenGL Runtime Environment                                                                                                    
  9 Implementation-Version: 2.1.2                                                                                                                                        
 10 Implementation-Build: 2.1-b1135-20131101                                                                                                                              
 11 Implementation-Branch: origin/master                                                                                                                                  
 12 Implementation-Commit: 3ed74abaddb90cb537897b9928e923be50f7f99f                                                                                                      
 13 Implementation-Vendor: JogAmp Community                                                                                                                              
 14 Implementation-URL: http://jogamp.org/                                                                                                                               
 15 Extension-Name: javax.media.opengl                                                                                                                                    
 16 Implementation-Vendor-Id: com.jogamp                                                                                                                                  
 17 Trusted-Library: true                                                                                                                                                
 18 Permissions: all-permissions                                                                                                                                          
 19 Codebase: *.jogamp.org      

After mesa update to 20+ branch app throws VM errors (mesa 19 and lower worked fine) on intel HD5500:

WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.UNDEFINED
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.WINDOW
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.TEXTURE
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.FLIP_BACKBUFFER
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.FBOBJECT
WARNING: Illegal reflective access by jogamp.nativewindow.jawt.JAWTUtil$1 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to method sun.awt.SunToolkit.awtLock()
WARNING: Illegal reflective access by jogamp.nativewindow.jawt.JAWTUtil$1 (file:/opt/CLCWorkbench/CLCMainWorkbench8/lib/jogl-all.jar) to method sun.awt.SunToolkit.awtUnlock()

I have tried to change jre to openjdk13, replace jogl 2.12 jar files with 2.3.2 and 2.4rc but the problems persisted. As there are no other errors reported by the kernel driver, I would like to turn to jogl developers for any hints and fixes.
Thank you