Posted by
Martin on
Oct 21, 2010; 7:00pm
URL: https://forum.jogamp.org/Depth-buffer-not-working-on-Win7-64b-tp1737435p1747757.html
Wade Walker wrote
I second gouessej's warning about Intel integrated graphics. We've had many problems with it at work. Usually we can come up with a workaround that changes the GL settings if we detect Intel, but it can take some experimentation.
actually I understood there are 2 graphical chips on my laptop:
Intel(R) Graphics Media Accelerator HD
NVIDIA GeForce 310M
I went into the NVIDIA settings, marked a checkbox asking to use it for 3D rendering, but nothing changed after reboot.
Is there a way to force JOGL on this chip?
Wade Walker wrote
- Comment out some GL calls and let the Intel driver pick the default, e.g.
- Tell users not to dock/undock their laptops while running our app (sometimes the driver returns an unaccelerated context)
2010/10/20 Wade Walker [via jogamp] <ml-node+1739740-841475364-243031@n3.nabble.com>
I second gouessej's warning about Intel integrated graphics. We've had many problems with it at work. Usually we can come up with a workaround that changes the GL settings if we detect Intel, but it can take some experimentation.
Here are the kinds of things we've had to do in the past to work around Intel integrated driver bugs:
- Turn off vertex arrays in TextRenderer to avoid a crash, e.g. textrenderer.setUseVertexArrays( false );
- Comment out some GL calls and let the Intel driver pick the default, e.g.
// commenting these in makes all polygons black, but only on Intel Mobile 965 Express
// gl.glShadeModel( GL.GL_FLAT );
// gl.glPolygonMode( GL.GL_FRONT, GL.GL_FILL );
- Tell users not to dock/undock their laptops while running our app (sometimes the driver returns an unaccelerated context)
I plugged the laptop, and even asked:
GLCapabilities caps = new GLCapabilities(GLProfile.getDefault());
caps.setHardwareAccelerated(true);
GLCanvas canvas = new GLCanvas(caps);
without more success!
I'll try downloading the 32bit version to see how that work (jogl 1-1-1.rc3 in 32 bits works well)
Thanks for your suggestions.
Martin