I've got the latest JDK (32bit), JRE, JOGL as well as my latest nVidia drivers installed on a Windows 7 laptop.
I'm trying to run the RawGL2ES2demo.java - it compiles, but crashes after setting up the window and compiling the shaders. I've also tried the RedSquare demo, which doesn't crash, but doesn't display anything. (I have been able to build and run other demos ok, like Tennis, TestTexture etc.) Here's the console output after running RawGL2ES2demo: Chosen GLCapabilities: GLCaps[wgl vid 0x8 arb: rgba 8/8/8/8, trans-rgba 0x0/0/0/0, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2ES2/GL4.hw], on-scr[.]] INIT GL IS: jogamp.opengl.gl4.GL4bcImpl Horray! vertex shader compiled GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 650M/PCIe/SSE2 GL_VERSION: 4.3.0 Horray! fragment shader compiled Window resized to width=1920 height=1062 # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00e7fd36, pid=6816, tid=4436 # # JRE version: 7.0_25-b17 # Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # C 0x00e7fd36 # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # D:\appdev\android\RawGL2ES2demo\hs_err_pid6816.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # |
Administrator
|
In reply to this post by pixelmike
Looks like something is odd with the Windows 7 Nvidia OpenGL 4.3 drivers backward compatibility with OpenGL 2 & ES2 code. Please open a JogAmp bug-report for your Windows 7 Nvidia GT 650M system. http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing * Perform a "runtime version check" and a "Runtime debug log" and attach the test.log and test_dbg.log http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Debug_Logs * I also need you to attach the generated D:\appdev\android\RawGL2ES2demo\hs_err_pid6816.log to the bug report. Attach the above files to a new bug-report here: https://jogamp.org/bugzilla/ |
In reply to this post by pixelmike
I have managed to reproduce this bug using the NVIDIA 4.3 OpenGL drivers.
I will keep you informed when a fix is available. https://jogamp.org/bugzilla/show_bug.cgi?id=821 - GL2ES2 backward compatibility broken using OpenGL 4.3.0 NVIDIA drivers |
I'm not sure if this is the right place to post, but I saw a similar crash on ubuntu 12.10 this morning.
this morning I ran the steps listed in the .java file: wget http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z 7z x jogamp-all-platforms.7z cd jogamp-all-platforms mkdir -p demos/es2 cd demos/es2 wget https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java cd ../.. javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar demos/es2/RawGL2ES2demo.java java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo and then saw the below: Chosen GLCapabilities: GLCaps[glx vid 0x6b, fbc 0x7d: rgba 8/8/8/8, trans-rgba 0xff/ff/ff/ff, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono , hw, GLProfile[GL2ES2/GL3.hw], on-scr[.]] INIT GL IS: jogamp.opengl.gl4.GL4bcImpl GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) Sandybridge Desktop GL_VERSION: 3.1 Mesa 9.0.3 GL3 core detected: explicit add #version 130 to shaders Horray! vertex shader compiled Horray! fragment shader compiled Window resized to width=1853 height=1027 Window resized to width=1855 height=1056 Exception in thread "main-AWTAnimator" javax.media.opengl.GLException: GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9] at jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169) at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407) at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:665) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:649) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:399) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:621) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:75) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:416) at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:188) at java.lang.Thread.run(Thread.java:744) Exception in thread "main-Display-.x11_:0-1-EDT-1" javax.media.opengl.GLException: GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9] at jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169) at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407) at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:665) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:649) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:399) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:621) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:214) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:111) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:128) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:3532) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:2519) at jogamp.newt.DisplayImpl.dispatchMessage(DisplayImpl.java:664) at jogamp.newt.DisplayImpl.dispatchMessage(DisplayImpl.java:691) at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:727) at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:656) at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:341) X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2) X11Util: Open X11 Display Connections: 2 X11Util: Open[0]: NamedX11Display[:0, 0x7fbc040016f0, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0, 0x7fbc04015fb0, refCount 1, unCloseable false] |
Administrator
|
On 04/10/2014 07:51 PM, ross.vander [via jogamp] wrote:
> I'm not sure if this is the right place to post, but I saw a similar crash on > ubuntu 12.10 this morning. > > this morning I ran the steps listed in the .java file: > wget > http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z > 7z x jogamp-all-platforms.7z > cd jogamp-all-platforms > mkdir -p demos/es2 > cd demos/es2 > wget > https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java > cd ../.. > javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar demos/es2/RawGL2ES2demo.java > java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo > > and then saw the below: > > Exception in thread "main-AWTAnimator" javax.media.opengl.GLException: > GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of > size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9] > at > jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169) > > at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407) > at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516) Reproduced .. Thank you, we will look at it. ~Sven signature.asc (894 bytes) Download Attachment |
Administrator
|
In reply to this post by ross.vander
On 04/10/2014 08:59 PM, Sven Gothel wrote:
> >> Exception in thread "main-AWTAnimator" javax.media.opengl.GLException: >> GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of >> size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9] >> at >> jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169) >> >> at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407) >> at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516) > > Reproduced .. > > Thank you, we will look at it. > > ~Sven > > java -Djogl.debug.DebugGL -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo GLDebugEvent[ id 0x502 type Error severity High: dangerous undefined behavior source GL API msg GL_INVALID_OPERATION error generated. Buffer name does not refer to an buffer object generated by OpenGL. when 1397156485774 source 4.4 (Core profile, arb, debug, ES2 compat, ES3 compat, FBO, hardware) - 4.4.0 NVIDIA 334.21 - hash 0x68943402] java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Unknown Source) at jogamp.opengl.GLDebugMessageHandler$StdErrGLDebugListener.messageSent(GLDebugMessageHandler.java:308) at jogamp.opengl.GLDebugMessageHandler.sendMessage(GLDebugMessageHandler.java:293) at jogamp.opengl.GLDebugMessageHandler.glDebugMessageARB(GLDebugMessageHandler.java:319) at jogamp.opengl.gl4.GL4bcImpl.dispatch_glBindBuffer1(Native Method) at jogamp.opengl.gl4.GL4bcImpl.glBindBuffer(GL4bcImpl.java:331) at javax.media.opengl.DebugGL4bc.glBindBuffer(DebugGL4bc.java:11907) at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:512) Exception in thread "main-AWTAnimator" javax.media.opengl.GLException: Thread[main-AWTAnimator,5,main] glGetError() returned the following error codes after a call to glBindBuffer(<int> 0x8892, <int> 0x2): GL_INVALID_OPERATION ( 1282 0x502), at javax.media.opengl.DebugGL4bc.writeGLError(DebugGL4bc.java:29501) at javax.media.opengl.DebugGL4bc.glBindBuffer(DebugGL4bc.java:11910) at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:512) signature.asc (894 bytes) Download Attachment |
Administrator
|
In reply to this post by ross.vander
On 04/10/2014 09:03 PM, Sven Gothel wrote:
> On 04/10/2014 08:59 PM, Sven Gothel wrote: >> >>> Exception in thread "main-AWTAnimator" javax.media.opengl.GLException: >>> GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of >>> size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9] >>> at >>> jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169) >>> >>> at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407) >>> at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516) >> >> Reproduced .. >> >> Thank you, we will look at it. fixed signature.asc (894 bytes) Download Attachment |
Free forum by Nabble | Edit this page |