Login  Register

Re: Depth buffer not working on Win7-64b?

Posted by Wade Walker on Oct 20, 2010; 4:10pm
URL: https://forum.jogamp.org/Depth-buffer-not-working-on-Win7-64b-tp1737435p1739740.html

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)

We've never had similar problems from ATI or NVIDIA drivers. Sometimes we get a Java hotspot crash on an ATI or NVIDIA card with an old driver, but a driver update from the manufacturer has always fixed it.