Help Interpreting a JOGL profile not found error.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Help Interpreting a JOGL profile not found error.

nick.collier
Hi,

We've got a user reporting this error:

javax.media.opengl.GLException: WindowsWGLDrawableFactory - Could not initialize shared resources for decon
	at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:380)
	at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:269)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at jogamp.opengl.gl4.GL4bcImpl.glGetString(GL4bcImpl.java:11005)
	at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:362)
	... 2 more
ERROR [AWT-EventQueue-0] 19:19:34,207 repast.simphony.visualizationOGL2D.DisplayOGL2D - Error initializing OGL 2D display. JOGL must be installed and computer must support open gl rendering
javax.media.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]]

Does this mean that his graphics card no longer supports the older GL2 profile? He's on windows 7 64bit with a nvidia 560ti

thanks,

Nick
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

Sven Gothel
Administrator
On 10/16/2013 09:56 PM, nick.collier [via jogamp] wrote:

> Hi,
>
> We've got a user reporting this error:
>
> javax.media.opengl.GLException: WindowsWGLDrawableFactory - Could not initialize shared resources for decon
> at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:380)
> at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:269)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
> at jogamp.opengl.gl4.GL4bcImpl.glGetString(GL4bcImpl.java:11005)
> at jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(WindowsWGLDrawableFactory.java:362)
> ... 2 more
> ERROR [AWT-EventQueue-0] 19:19:34,207 repast.simphony.visualizationOGL2D.DisplayOGL2D - Error initializing OGL 2D display. JOGL must be installed and computer must support open gl rendering
> javax.media.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
>
Would be good to know which version of JOGL you are using
 - git sha1, and
 - build

so I can look at the generated sources!

>
> Does this mean that his graphics card no longer supports the older GL2
> profile? He's on windows 7 64bit with a nvidia 560ti

Looks like somehow the _context or it's getGLProcAddressTable()
is NULL - which shall not be the case at this point.

Please retry w/ latest JOGL (2.1.0) and add all DEBUG symbols, thx.

(Wiki -> FAQ -> Bug...)

~Sven

>
> thanks,
>
> Nick
>


signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

gouessej
Administrator
In reply to this post by nick.collier
Hi

nick.collier wrote
Does this mean that his graphics card no longer supports the older GL2 profile? He's on windows 7 64bit with a nvidia 560ti
You wrote "no longer", does it mean that you suggest it is caused by a regression of JOGL? Please indicate us which is the latest working (with his hardware) version of JOGL and which version is no longer working. This graphics card supports at least OpenGL 4.1 (4.3?). What is the version number of the Nvidia driver you use? There are some troubles with the driver for this graphics card:
https://forums.geforce.com/default/topic/546165/geforce-drivers/geforce-r320-xx-r326-xx-display-driver-stability-feedback-thread-/1

I had a similar error once, because a guy put the JOGL JARs containing Android natives into the classpath :s but it shouldn't happen anymore as I provided a fix so that even in this case those natives are skipped except if the OS is Android.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

nick.collier
In reply to this post by Sven Gothel
Thanks. My concern was that his card, being newish, had dropped support for the GL2 profile. I take it from your response that this is not the case, and the error message indicates a driver or jogl issue. We don't see this problem on any of our test machines so I'm inclined to think its a driver issue.

We are using one of the earlier interim builds as we needed some fixes in OSX, I think. The info I have for it:

gluegen and jogl from http://jogamp.org/deployment/archive/master/gluegen_666-joal_432-jogl_981-jocl_788-signed/archive/
gluegen_666
jogl_981

As far as getting debug info, the issue was reported by a user of our software. I don't have access to the machine, but I will ask him to update jogl and see what happens.

Lastly, we are hoping to update our software to the latest stable release that does require testing and some release engineering on our end.

thanks,

Nick

Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

nick.collier
In reply to this post by gouessej
Thanks. Sorry, by no longer I meant that perhaps the GL2 profile was deprecated by the card and not that it used to work on his machine. Note that this is a user's machine that we don't have access to. So, I can't really say more about it than what I've posted already. I will ask him to update and refer him to the driver issue.

thanks,

Nick
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

gouessej
Administrator
This post was updated on .
In reply to this post by nick.collier
nick.collier wrote
My concern was that his card, being newish, had dropped support for the GL2 profile
I knew it would happen one day but not so early.

Edit.: Actually, you should be able to get a backward compatible profile on this hardware even ARB_compatibility is not exposed, it should use the compatibility profile which is still supported.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

Sven Gothel
Administrator
In reply to this post by nick.collier
On 10/17/2013 03:02 PM, nick.collier [via jogamp] wrote:

> Thanks. My concern was that his card, being newish, had dropped support for
> the GL2 profile. I take it from your response that this is not the case, and
> the error message indicates a driver or jogl issue. We don't see this problem
> on any of our test machines so I'm inclined to think its a driver issue.
>
> We are using one of the earlier interim builds as we needed some fixes in OSX,
> I think. The info I have for it:
>
> gluegen and jogl from
> http://jogamp.org/deployment/archive/master/gluegen_666-joal_432-jogl_981-jocl_788-signed/archive/
> gluegen_666
> jogl_981
>
> As far as getting debug info, the issue was reported by a user of our
> software. I don't have access to the machine, but I will ask him to update
> jogl and see what happens.
That would be great.

It would help if you and user may create a test case
or can describe whether even our tests/applets fail,
i.e. best to follow Wiki/FAQ/Bugeport.
(Yeah .. logs w/ debug flags set .. would help a lot when crashing).

IMHO it should be possible to reproduce the scenario
w/o the mentioned user involved.

>
> Lastly, we are hoping to update our software to the latest stable release that
> does require testing and some release engineering on our end.

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

Sven Gothel
Administrator
In reply to this post by nick.collier
On 10/17/2013 03:04 PM, nick.collier [via jogamp] wrote:
> Thanks. Sorry, by no longer I meant that perhaps the GL2 profile was
> deprecated by the card and not that it used to work on his machine. Note that
> this is a user's machine that we don't have access to. So, I can't really say
> more about it than what I've posted already. I will ask him to update and
> refer him to the driver issue.
>

please verify whether
   https://jogamp.org/bugzilla/show_bug.cgi?id=862

matches your issue..

Pls reply in bug report .. thank you!

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

nick.collier
Thanks. The bug doesn't match as it occurs under windows. I asked the user to try the 2.1.0 release and it works. So, consider it resolved. 

Thanks again,

Nick

On Oct 17, 2013, at 5:16 PM, Sven Gothel [via jogamp] wrote:

On 10/17/2013 03:04 PM, nick.collier [via jogamp] wrote:
> Thanks. Sorry, by no longer I meant that perhaps the GL2 profile was
> deprecated by the card and not that it used to work on his machine. Note that
> this is a user's machine that we don't have access to. So, I can't really say
> more about it than what I've posted already. I will ask him to update and
> refer him to the driver issue.
>

please verify whether
   https://jogamp.org/bugzilla/show_bug.cgi?id=862

matches your issue..

Pls reply in bug report .. thank you!

~Sven



<img src="x-msg://133/images/icon_attachment.gif"> signature.asc (911 bytes) Download Attachment



If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Help-Interpreting-a-JOGL-profile-not-found-error-tp4030269p4030298.html
To unsubscribe from Help Interpreting a JOGL profile not found error., click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Help Interpreting a JOGL profile not found error.

gouessej
Administrator
Thank you for the feedback.
Julien Gouesse | Personal blog | Website