Refresh issues with JOGL

Hey, I’m working on project using JOGL and we’re getting an interesting bug. If we run our program on a Windows machine that has a video card installed, the program works fine and we have no problems. However, if we run it on a Windows machine that has onboard video, the canvas draws on an event, and then goes blank (ie. only the background color shows). We have doublebuffering enabled, and autoredraw set to false. Any help would be hot!

Do the JOGL demos work, in particular the Gears demo?

What version of JOGL are you running? Are you running the latest nightly build?

Have you tried upgrading to the latest set of drivers?

You would probably be best off spending $20 to get a cheap NVidia card. Intel’s on-board graphics appear to have very poor driver quality.

Well, I just switched to the new version of JOGL (which took quite a while because of the fact that it’s not backwards compatable >:( ) And now nothing displays at all. All the demos work fine on my machine. So I know there must be something that I’m doing wrong but I have no idea what.

Have you changed anything like setAutoSwapBufferMode on the GLCanvas? If so, you probably should not be doing this and should just leave all of the defaults alone.

Have you tried installing a DebugGL pipeline in your GLEventListener.init() method to see if any errors are reported?

That I have not done. How would I go about doing such?

Look at the commented-out line in the GLEventListener.init() method in Gears.java (in the sources of the jogl-demos workspace).