Jogl and card compatability

Hi all, my name is David and I’ve been working on a game called Empire & State for a couple years now.

We are currently in open beta and are aware that we are losing users either due to either an improper jogl implementation, or existing hardware compatibility issues with jogl. We don’t currently have a compatibility lab, so in an attempt to think outside the box I was wondering if I could enlist your guys’ help in letting me know if you can run the game – and if not perhaps get me some feedback as to the nature of the problem. It’s free to sign up, and you can try it out here: http://www.empireandstate.com/ OR if you don’t want to signup: http://game.empireandstate.com/

One crash in particular that I’ve been seeing from some of our users has been this one:

GLProfile glprofile = GLProfile.getDefault();

java.lang.NullPointerException
javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1584)
javax.media.opengl.GLProfile.isGL4bcAvailable(GLProfile.java:151)
javax.media.opengl.GLProfile.glAvailabilityToString(GLProfile.java:242)
javax.media.opengl.GLProfile.glAvailabilityToString(GLProfile.java:310)
javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1283)
javax.media.opengl.GLProfile.access$000(GLProfile.java:71)
javax.media.opengl.GLProfile$1.run(GLProfile.java:117)
java.security.AccessController.doPrivileged(Native Method)
javax.media.opengl.GLProfile.initSingleton(GLProfile.java:115)
javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1428)
javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1580)
javax.media.opengl.GLProfile.get(GLProfile.java:623)
javax.media.opengl.GLProfile.getDefault(GLProfile.java:480)
javax.media.opengl.GLProfile.getDefault(GLProfile.java:486)
com.novel.tech1.client.module.GraphicsModule.initialize(GraphicsModule.java:134)

Any feedback / help would be greatly appreciated,

Thanks!

Hmm what is that thing the game wanted me to install? NEWT?

Anyway, I got this when I tried it:



Exception in thread "thread applet-com.novel.tech1.client.EmpireAndStateApplet-1-SharedResourceRunner" javax.media.opengl.GLException: WindowsWGLDrawableFactory - Could not initialize shared resources for decon
	at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:271)
	at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:206)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Unable to create temp OpenGL context for device context 0x2701209a
	at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:296)
	at jogamp.opengl.GLContextImpl.makeCurrentLocking(GLContextImpl.java:406)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:352)
	at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:248)
	... 2 more

I tried to login with facebook account but I can’t write @ to login box. It’s some how prevented.

Try playing the game direct without signing up.

ra4king do you mind if I ask what kind if video card you have? Also do you have any insight as to what might be causing this crash?

The first time the game crashed java without any error in the console (the console disappeared). After a reload the game started correctly and I got to the login screen.

Mike

Oh is my horrible graphics card getting in the way again? :frowning:
I have an Intel integrated GMA :wink:

Hi!

dyamanoha, please tell us more about the NullPointerException. With which configuration do you reproduce this NPE? Which OS? Which graphics card? Have you filled a bug report? Which version of JOGL are you using?

ra4king, Thanks for the info.

gouessej,

[quote]With which configuration do you reproduce this NPE?
[/quote]
I’m not entirely sure what you mean by configuration.

[quote]Which OS?
[/quote]
Unknown.

[quote]Which graphics card?
[/quote]
According to the user reporting the problem they are running a GeForce GTS 250, display driver is 8.17.0012.7533.

[quote]Have you filled a bug report?
[/quote]
Not yet.

[quote]Which version of JOGL are you using?
[/quote]
http://jogamp.org/deployment/webstart/newt-all-awt.jnlp, and this crash likely happened from the 03-Mar-2011 deployment.

dyamanoha, try to know at least on which family of operating system (Linux, Mac, Windows) this bug is reproducible and fill a bug report. Maybe this bug has already been fixed on another branch. You gave some useful pieces of information. This bug looks like an existing one, maybe look at our bug tracker.

Yeah, unfortunately we have just begun to collect analytics information from our users. Here’s another strange crash callstack that one of our users experienced – unfortunately we know nothing about the runtime environment that this occurred on. I’m not sure if anything can be gleaned from this.

javax.media.opengl.GLException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:98)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:197)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:164)
at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:767)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:388)
at com.novel.tech1.client.module.GraphicsModule.draw(GraphicsModule.java:782)
at com.novel.tech1.client.system.Engine.run(Engine.java:596)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novel.tech1.client.common.Error.message(Error.java:12)
at com.novel.tech1.client.EmpireAndStateApplet.display(EmpireAndStateApplet.java:214)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:191)
at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:873)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:363)
at javax.media.opengl.awt.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:890)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.novel.tech1.utilityLibrary.delegate.Delegate.invoke(Delegate.java:119)
at com.novel.tech1.client.EmpireAndStateApplet.display(EmpireAndStateApplet.java:210)
… 18 more
Caused by: javax.media.opengl.GLException: Error making context current: 0x0x20000

Was gonna try it but it wanted me to signup with both links, then I needed account code then I just kinda got tired… althought if that is as far as was required all worked fine