Login  Register

Re: GLES2 on Windows 7 - RawGL2ES2demo crashes

Posted by Xerxes Rånby on Aug 26, 2013; 10:04am
URL: https://forum.jogamp.org/GLES2-on-Windows-7-RawGL2ES2demo-crashes-tp4029816p4029882.html

pixelmike wrote
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.
#

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/