Bug 543 - can't create opengl 3/4 context
Summary: can't create opengl 3/4 context
Status: RESOLVED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: pc_x86_64 windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2011-12-22 21:15 CET by oggs
Modified: 2011-12-23 00:52 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
etc\test.bat and etc\test_dbg.bat (104.83 KB, application/x-zip-compressed)
2011-12-22 21:15 CET, oggs
Details

Note You need to log in before you can comment on or make changes to this bug.
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.

+++