Date: Fri, 13 May 2016 18:03:33 +0100 (BST) From: Anton Shterenlikht <mexas@bris.ac.uk> To: freebsd-java@freebsd.org Subject: help fix javax.media.opengl.GLException: Error making context current Message-ID: <201605131703.u4DH3Xx5005224@mech-as222.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
Hi I get the following errors when trying to run a 3D GL program over ssh. To be clear the program is launched on a remote linux server, and I view the graphical results on a local workstation. I get identical errors trying to connect to the remote server from FreeBSD 10.3 (2 different graphic cards) and from 11-current. However, I just checked, and it works fine if I connect to the remote server from MS Windows 7(?) and use Xming (http://www.straightrunning.com/XmingNotes/) to view remote graphics. I don't know where to start looking. Please help The errors: paraprof javax.media.opengl.GLException: Error making context current at com.sun.opengl.impl.x11.X11GLContext.makeCurrentImpl(X11GLContext.java:141) at com.sun.opengl.impl.x11.X11OnscreenGLContext.makeCurrentImpl(X11OnscreenGLContext.java:69) at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:127) at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182) at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:258) at javax.media.opengl.GLCanvas.display(GLCanvas.java:130) at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142) at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264) at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:73) at sun.awt.RepaintArea.paint(RepaintArea.java:240) at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:694) at java.awt.Component.dispatchEventImpl(Component.java:4725) at java.awt.Component.dispatchEvent(Component.java:4475) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675) at java.awt.EventQueue.access$300(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:634) at java.awt.EventQueue$2.run(EventQueue.java:632) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119) at java.awt.EventQueue$3.run(EventQueue.java:648) at java.awt.EventQueue$3.run(EventQueue.java:646) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) at java.awt.EventQueue.dispatchEvent(EventQueue.java:645) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) The program is TAU paraprof: https://www.cs.uoregon.edu/research/tau/docs/newguide/bk01pt02.html What I want to get is visualisation like this: http://cgpack.sourceforge.net/201605res/para3d.png (This was obtained using MS Windows as X server with Xming(?)). I tried getting help in this list in April, and also from X11@ and in questions@. The sysadmin of the remote linux server tells me that probably my graphics card or driver are too old. This probably is not the case. My 11-current laptop has a Haswell card and I use xf86-video-intel-2.21.15_9 x11-drivers/xf86-video-intel video driver. Perhaps my java is not right? Or my OpenGL? Maybe I should ask in yet another list? Many thanks Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605131703.u4DH3Xx5005224>