Bug 543

Summary: can't create opengl 3/4 context
Product: [JogAmp] Jogl Reporter: oggs
Component: openglAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: normal CC: oggs
Priority: ---    
Version: 2   
Hardware: pc_x86_64   
OS: windows   
Type: --- SCM Refs:
Workaround: ---
Attachments: etc\test.bat and etc\test_dbg.bat

Description oggs 2011-12-22 21:15:55 CET
Created attachment 305 [details]
etc\test.bat and etc\test_dbg.bat

Can't create a opengl4 or opengl3 context, only 2 works
for more information see this forum thread and attachments:
http://forum.jogamp.org/can-t-create-GL3-and-GL4-context-td3607097.html

System: 
Dell XPS L502X (Laptop)
Windows Ultimate 64Bit
i7-2620M @2.7GHz
8GB DDR3 RAM
Nvidia GT540M <- Mobility Version!
Comment 1 Sven Gothel 2011-12-23 00:52:48 CET
I assume the confusion is that instead of using the Nvidia GT540M GPU,
you have used the Intel build-in GPU, see below.

I don't know how you switch over to the powerful GPU .. well.

+++

The Intel driver you use is capable of OpenGL 3.0 only:
  GL_VENDOR     Intel
  GL_VERSION    3.0.0 - Build 8.15.10.2342

JOGL maps OpenGL 3.0 to GL2:
  GL2 true[3.0 (compatibility profile, any, new)]

The GLVersion JOGL dumps is explained in detail here:
<http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/javax/media/opengl/GLContext.html#getGLVersion%28%29>

The OpenGL inclusion criteria and why OpenGL 3.0 is 'only' GL2 
is described here:
<http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/overview-summary.html#GLAPIInclusionCriteria>

In short, the GL3 Profile 'world' actually start with OpenGL 3.1,
see OpenGL 3.0 as premature release which didn't introduce the new native
ARB Context semantics etc.

So, it's not a bug - it's a feature.

+++