Jogl on Linux with Intel HD 4000?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Jogl on Linux with Intel HD 4000?

shikana
Hey all

I've been trying to get jogl on my Ubuntu to work. I'm using Kernel 3.5.7 which accordingly to http://intellinuxgraphics.org/2012.07.html contains a driver for my Intel HD 4000 that supports OpenGL 3.

Nonetheless, when I call something along these lines:

public GLRenderContext(GLAutoDrawable drawable)
        {
                gl = drawable.getGL().getGL3();
                gl.glEnable(GL3.GL_DEPTH_TEST);
        gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
       
I get this exception:
javax.media.opengl.GLException: Not a GL3 implementation

Is there any hope to get this to work on Linux? Thanks already in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Jogl on Linux with Intel HD 4000?

gouessej
Administrator
Hi

GL3 does not mean OpenGL 3.0, it's written in the documentation:
"This interface contains all core, forward compatible, OpenGL methods starting from 3.1"

Therefore, you get a GL2 instance which is the expected behaviour.

Please be less peremptory, don't claim a bug comes from JOGL before having investigated a bit more.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Jogl on Linux with Intel HD 4000?

shikana
Sorry, it was not my intention to claim a bug. Thanks for clarifying.
Reply | Threaded
Open this post in threaded view
|

Re: Jogl on Linux with Intel HD 4000?

gouessej
Administrator
Maybe I was a bit too harsh. GNU Linux is not a second class citizen for us, I'm under Mageia Linux 2.
Julien Gouesse | Personal blog | Website