Hello, I have this following code that used to work on OS X 10.6.8 and GMA 950 hardware (specifically, a 2007 Mac mini) with earlier releases of jogl (it certainly works with RC11, and I think it used to work with some autobuilds after R11):
http://pastebin.com/pbUUahx8 The code itself is just a simple NEWT-based rendering skeleton that uses NewtCanvasAWT for integration with AWT's frame. Anyways, the error I get when trying to run this project is the following: java.lang.NullPointerException at jogamp.opengl.gl4.GL4bcImpl.glFlush(GL4bcImpl.java:5334) at jogamp.opengl.macosx.cgl.MacOSXCGLContext$NSOpenGLImpl.release(MacOSXCGLContext.java:795) at jogamp.opengl.macosx.cgl.MacOSXCGLContext.destroyContextARBImpl(MacOSXCGLContext.java:260) at jogamp.opengl.GLContextImpl.createContextARBVersions(GLContextImpl.java:979) at jogamp.opengl.GLContextImpl.createContextARBMapVersionsAvailable(GLContextImpl.java:916) at jogamp.opengl.GLContextImpl.mapGLVersions(GLContextImpl.java:863) at jogamp.opengl.GLContextImpl.createContextARB(GLContextImpl.java:766) at jogamp.opengl.macosx.cgl.MacOSXCGLContext.createImpl(MacOSXCGLContext.java:299) at jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLContext.createImpl(MacOSXOnscreenCGLContext.java:80) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:597) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:514) at jogamp.opengl.macosx.cgl.MacOSXCGLDrawableFactory.getOrCreateOSXSharedResource(MacOSXCGLDrawableFactory.java:241) at jogamp.opengl.macosx.cgl.MacOSXCGLDrawableFactory.createSharedResource(MacOSXCGLDrawableFactory.java:289) at javax.media.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1560) at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1521) at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1490) at javax.media.opengl.GLProfile.access$100(GLProfile.java:76) at javax.media.opengl.GLProfile$1.run(GLProfile.java:157) at java.security.AccessController.doPrivileged(Native Method) at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:123) at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1857) at javax.media.opengl.GLProfile.get(GLProfile.java:768) at javax.media.opengl.GLProfile.getDefault(GLProfile.java:555) at javax.media.opengl.GLProfile.getDefault(GLProfile.java:566) at p5.newt_eventtest.EventTest.run(EventTest.java:125) at p5.newt_eventtest.EventTest.main(EventTest.java:171) , basically when GLProfile.getDefault() is called. Running the same code on another machine with 10.6.8 but with a Geforce 320M yields no errors, so the problem seems to be related to the GMA950. In both cases, the latest official Apple update for Java is already applied (1.6.0_39), and using a recent jogl autobuild from a couple of days ago. I know that the GMA950 is an aging, fairly limited hardware, but a minor, although still significant, fraction of users on Mac still hold on it, and used to work before, so I wonder if this is a solvable issue. Thanks! Andres |
Administrator
|
Hi
There is already a bug report about that here. It is probably a bug driver, I can't reproduce it with a Mac Book Pro with an Nvidia chipset under Mac OS X 10.6.8 and Apple Java 1.6.
Julien Gouesse | Personal blog | Website
|
ok, thanks for pointing out to the bug report.
|
Administrator
|
You're welcome. We should at least find which driver bug causes that crash.
Edit.: Can you remove the glFlush call?
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |