Login  Register

Re: GLException: Error making temp context(0)

Posted by Sven Gothel on Feb 19, 2011; 4:42pm
URL: https://forum.jogamp.org/GLException-Error-making-temp-context-0-tp2527466p2534270.html

On Friday, February 18, 2011 16:46:55 blainebell [via jogamp] wrote:
>
> I am getting a similar but different error than the previous post, so I have
> decided to start a new Thread.
>
> My JoGL2.0 application works fine on all platforms except sometimes (i.e.,
> unpredictable, frequently, but not always) when I run my application inside
> NoMachine (i.e., NX) to a Linux box, with Hardware Acceleration disabled, I
> get this error:
>

Hmm .. you would need to run the demo with all debug flags enabled, ie '-Djogl.debug=true'.

Since the bottom layers, NativeWindow support multiple X11 DISPLAYs
and NEWT properly implements those as well, you might like to try the NEWT remote demo.

http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/newt/TestRemoteGLWindows01NEWT.java;h=6b501e31deb1e41280f685fa44307662d986d0c2;hb=HEAD#l118

You AWT/GLCanvas usage is a bit unreliable here, since you just cannot properly
specify which X11 connection to use, or we query the wrong one -> run will debug flags enabled.

I am sorry, I have no experience with NX at all here.
All I know it is a competitive / alternative X11 networking protocol for X11.

Dunno how you specify the NX Server, ie a DISPLAY env variable which would work with AWT/GLCanvas
(I assume) and NEWT.
With NEWT you can also specify the server programatically as described above.

Pls send the whole debug log, maybe I can see something here.

Thank you

~Sven