Login  Register

Re: Many profiles unavailable on ubuntu

Posted by Martin on Feb 07, 2013; 8:50am
URL: https://forum.jogamp.org/Many-profiles-unavailable-on-ubuntu-tp4026313p4028169.html

Hi,
I updated the drivers but then encountered other errors.

The jzy3d port of the depth peeling example load without throwing exception, but the canvas displays only weird pixels. Probably a shader bug?

The jogl demo (I believe using RC10) throws an exception that I had no time to investigate (see below).

Cheers,
Martin
-----------------------------
Info: XInitThreads() called for concurrent Thread support
init
Exception in thread "main-AWTAnimator-1" javax.media.opengl.GLException: javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glTexImage2D(<int> 0x84F5, <int> 0x0, <int> 0x8CAC, <int> 0x400, <int> 0x300, <int> 0x0, <int> 0x1902, <int> 0x1406, <java.nio.Buffer> null): GL_INVALID_ENUM ( 1280 0x500),
        at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:98)
        at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:197)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:830)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:419)
        at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74)
        at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:142)
        at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:176)
        at java.lang.Thread.run(Thread.java:679)
Caused by: javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glTexImage2D(<int> 0x84F5, <int> 0x0, <int> 0x8CAC, <int> 0x400, <int> 0x300, <int> 0x0, <int> 0x1902, <int> 0x1406, <java.nio.Buffer> null): GL_INVALID_ENUM ( 1280 0x500),
        at javax.media.opengl.DebugGL2.checkGLGetError(DebugGL2.java:24434)
        at javax.media.opengl.DebugGL2.glTexImage2D(DebugGL2.java:390)
        at demos.dualDepthPeeling.DualDepthPeeling.InitFrontPeelingRenderTargets(DualDepthPeeling.java:235)
        at demos.dualDepthPeeling.DualDepthPeeling.init(DualDepthPeeling.java:987)
        at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:143)
        at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:162)
        at javax.media.opengl.awt.GLCanvas$InitAction.run(GLCanvas.java:922)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:392)
        at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:956)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
        at java.awt.EventQueue.access$400(EventQueue.java:96)
        at java.awt.EventQueue$2.run(EventQueue.java:631)
        at java.awt.EventQueue$2.run(EventQueue.java:629)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glClear(<int> 0x4000): Unknown glGetError() return value: ( 1286 0x506),
        at javax.media.opengl.DebugGL2.checkGLGetError(DebugGL2.java:24434)
        at javax.media.opengl.DebugGL2.glClear(DebugGL2.java:3257)
        at demos.dualDepthPeeling.DualDepthPeeling.RenderDualPeeling(DualDepthPeeling.java:551)
        at demos.dualDepthPeeling.DualDepthPeeling.display(DualDepthPeeling.java:939)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:182)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:170)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:939)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:398)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:832)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:419)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:518)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
        at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:73)
        at sun.awt.RepaintArea.paint(RepaintArea.java:240)
        at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:657)
        at java.awt.Component.dispatchEventImpl(Component.java:4826)
        at java.awt.Component.dispatchEvent(Component.java:4576)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
        at java.awt.EventQueue.access$400(EventQueue.java:96)
        at java.awt.EventQueue$2.run(EventQueue.java:631)
        at java.awt.EventQueue$2.run(EventQueue.java:629)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
        at java.awt.EventQueue$3.run(EventQueue.java:645)
        at java.awt.EventQueue$3.run(EventQueue.java:643)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)