Reply – Re: Mesa 17.2.0 renderer driver name change error, causes GLProfile not mapp...
Your Name
Subject
Message
or Cancel
In Reply To
Re: Mesa 17.2.0 renderer driver name change error, causes GLProfile not mapped initialization error
— by ccaudle ccaudle
I rebuilt jogl on Fedora with the proposed fix, it did fix the problem in SciLab, but the same or very similar problem still exists with a proprietary CAD program called ProtocaseDesigner. The software can be downloaded at no cost here:
https://www.protocasedesigner.com/download/

I attempted to add this information to the bugzilla entry, but I cannot find a link to register on bugzilla, so have to enter the information in the forum.

When starting the startup process never completes, these messages are logged:
==== exception ====java.lang.InternalErrorXXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped --- stack trace ----java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.protocase.viewer.JDesigner$$Lambda$5/758705033@1853cdc1,notifier=null,catchExceptions=false,when=1518148914822] on sun.awt.X11.XToolkit@5679616fjava.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.getDefault(GLProfile.java:722)
        at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:733)
        at com.protocase.viewer.rendering.gl.GLInstance.getDefaultGLCapabilities(GLInstance.java:375)
        at com.protocase.viewer.rendering.gl.GLInstance.<init>(GLInstance.java:79)
        at com.protocase.viewer.rendering.gl.GLCanvasInstance.<init>(GLCanvasInstance.java:17)
        at com.protocase.viewer3D.modular.Editor3DGLCanvas.initCanvas(Editor3DGLCanvas.java:25)
        at com.protocase.viewer3D.modular.Editor3DCanvas.<init>(Editor3DCanvas.java:53)
        at com.protocase.viewer3D.modular.Editor3DGLCanvas.<init>(Editor3DGLCanvas.java:20)
        at com.protocase.viewer3D.modular.editor.builders.DesignerEditor3DBuilder.buildCanvas(DesignerEditor3DBuilder.java:87)
        at com.protocase.viewer3D.modular.editor.builders.Editor3DDirector.makeEditor3D(Editor3DDirector.java:35)
        at com.protocase.viewer3D.modular.Editor3DFactory.createEditor3D(Editor3DFactory.java:21)
        at com.protocase.viewer.JDesigner.<init>(JDesigner.java:127)
        at com.protocase.viewer.JDesigner.lambda$main$11(JDesigner.java:1310)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at com.protocase.viewer.EventQueueProxy.dispatchEvent(EventQueueProxy.java:39)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

The "profileImpl GL4bc !!! not mapped" message makes me think this is the same problem, but this is after recompiling with the "|| glVersion.contains(MesaSP)" added to the isDriverMesa check.
Running on an  AMD RX 460 card on 4.14 kernel with amdgpu driver and mesa 17.2.4  (Fedora 27 with latest updates).