Good afternoon,
I am currently a Computer Science student and I am required to create a JOGL project. Every single tutorial or premade code I try results in the same errors. I get the following errors. Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Caught GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1795) at com.jogamp.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1377) at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:549) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1978) at java.awt.Window.paint(Window.java:3906) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) 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:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) 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) Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:440) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1731) ... 41 more Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Caught GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1795) at com.jogamp.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1377) at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:549) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1978) at java.awt.Window.paint(Window.java:3906) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) 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:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) 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) Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:440) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1731) ... 41 more I am running on a linux VM If anyone knows what is causing this issue I would appriciate any help available. |
Administrator
|
Hi Dave,
I am currently working on the 2.4.0 release in the java11 branch (gluegen, joal, jogl). I have fixed quite a few Mesa >= 18.x.y related issues we had. - https://jogamp.org/bugzilla/show_bug.cgi?id=1385 - https://jogamp.org/bugzilla/show_bug.cgi?id=1390 - https://jogamp.org/bugzilla/show_bug.cgi?id=1391 - https://jogamp.org/bugzilla/show_bug.cgi?id=1392 If you feel comfy building the code yourself, please have a look at: - gluegen/doc/HowToBuild.html - joal/README.txt - jogl/doc/HowToBuild.html Respective branches are <https://jogamp.org/cgit/gluegen.git/log/?h=java11> <https://jogamp.org/cgit/joal.git/log/?h=java11> <https://jogamp.org/cgit/jogl.git/log/?h=java11> Otherwise, you have to wait for the 2.4.0 release. ~Sven On 9/6/19 9:31 PM, dave5124 [via jogamp] wrote: > Good afternoon, > > I am currently a Computer Science student and I am required to create a JOGL > project. Every single tutorial or premade code I try results in the same > errors. I get the following errors. > > Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Caught > GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 > requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 > (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 > at > com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1795) > at > com.jogamp.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1377) > at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:549) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at > sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at > sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1978) > at java.awt.Window.paint(Window.java:3906) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at > javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > 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:74) > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > 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) > Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0: createImpl ARB n/a > but required, profile > GL2 requested (OpenGL >= 3.1). Requested: > GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, > hardware) - 3.0 Mesa 18.0.5 > at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:440) > at > jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765) > at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) > at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) > at > com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1731) > ... 41 more > Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Caught > GLException: AWT-EventQueue-0: createImpl ARB n/a but required, profile > GL2 > requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 > (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 18.0.5 > at > com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1795) > at > com.jogamp.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1377) > at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:549) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at > sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at > sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1978) > at java.awt.Window.paint(Window.java:3906) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) > > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at > javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > 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:74) > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) > 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) > Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0: createImpl ARB n/a > but required, profile > GL2 requested (OpenGL >= 3.1). Requested: > GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, > hardware) - 3.0 Mesa 18.0.5 > at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:440) > at > jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765) > at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648) > at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586) > at > com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1731) > ... 41 more > > I am running on a linux VM > > If anyone knows what is causing this issue I would appriciate any help available. > > > ------------------------------------------------------------------------------ > If you reply to this email, your message will be added to the discussion below: > http://forum.jogamp.org/Unable-to-run-JOGL-based-programs-tp4040045.html > To start a new topic under jogl, email [hidden email] > To unsubscribe from jogl, click here > < > NAML > <http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- health & wealth mailto:[hidden email] ; http://jausoft.com land : +49 (471) 4707742 ; fax : +49 (471) 4707741 Timezone CET: PST+9, EST+6, UTC+1 |
Free forum by Nabble | Edit this page |