Linux: Profile GL_DEFAULT is not available on null, but: []

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

Linux: Profile GL_DEFAULT is not available on null, but: []

ikrishna_417
Build used: jogamp-all-platforms.7z (01-Nov-2012) http://jogamp.org/deployment/jogamp-current/archive/
Linux platform used: Linux 2.6.32-279.22.1.el6.x86_64 x86_64 x86_64 x86_64 GNU/Linux

The following is the error I see when trying to run jogl offscreen rendering code (using Pbuffer) on linux environment.

Exception in thread "main" javax.media.opengl.GLException: Profile GL_DEFAULT is not available on null, but: []
        at javax.media.opengl.GLProfile.get(GLProfile.java:771)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:555)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:566)
        at com.jogl.nexrad.png.TileRendering.main(TileRendering.java:46)

TileRendering is the sample code from jogl-demo.jar

The same example with same build (for windows) is working fine on window XP.

Let me know how to proceed with this.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Linux: Profile GL_DEFAULT is not available on null, but: []

Sven Gothel
Administrator
On 03/14/2013 06:29 AM, ikrishna_417 [via jogamp] wrote:

> Build used: jogamp-all-platforms.7z (01-Nov-2012)
> http://jogamp.org/deployment/jogamp-current/archive/
> Linux platform used: Linux 2.6.32-279.22.1.el6.x86_64 x86_64 x86_64 x86_64
> GNU/Linux
>
> The following is the error I see when trying to run jogl offscreen rendering
> code (using Pbuffer) on linux environment.
>
> Exception in thread "main" javax.media.opengl.GLException: Profile GL_DEFAULT
> is not available on null, but: []
>         at javax.media.opengl.GLProfile.get(GLProfile.java:771)
>         at javax.media.opengl.GLProfile.getDefault(GLProfile.java:555)
>         at javax.media.opengl.GLProfile.getDefault(GLProfile.java:566)
>         at com.jogl.nexrad.png.TileRendering.main(TileRendering.java:46)
>
> TileRendering is the sample code from jogl-demo.jar
>
> Let me know how to proceed with this.
>
please read and join the forum thread[s]:

1) http://forum.jogamp.org/JOGL-X11-Error-On-GLProfile-getDefault-tp4028611.html

2) http://forum.jogamp.org/connection-nil-in-graphics-device-tp4028605.html

> Thank you.


signature.asc (911 bytes) Download Attachment