VTK error

94 views
Skip to first unread message

David Briley

unread,
Feb 5, 2017, 2:52:03 PM2/5/17
to Icy imaging
Hi all, I know this must be a dumb mistake but I cannot resolve it. Your help please:

Each time I try to render a z-stack file using 3D VTK viewer, I receive the following warning: "Your graphics card driver does not support OpenGL 3, you may experience issues or crashes with VTK. Do you want to try anyway?" If I click no, I return to the program. But if I click yes, Icy crashes. 

Windows 7 (64 bit); 
Nvidia GTX 960, with 378.49 driver installed.
Java 8u121 64bit installed (with 10GB RAM dedicated to Icy)

The card is compatible through OpenGL 4.4. Thoughts and guidance welcomed.

Regards, 
David
Message has been deleted

David Briley

unread,
Feb 5, 2017, 3:17:33 PM2/5/17
to Icy imaging
As extra info, ImageJ 3D Viewer gave this error:

3D [dev] 1.6.0-scijava-2-pre11-daily-experimental daily
org.scijava.java3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
at org.scijava.java3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8083)
at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6440)
at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:4602)
at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:2376)
at org.scijava.java3d.Renderer.doWork(Renderer.java:881)
at org.scijava.java3d.J3dThread.run(J3dThread.java:271)
Exception occurred in RenderingErrorListener:
java.lang.RuntimeException
at ij3d.ImageWindow3D$ErrorListener.errorOccurred(ImageWindow3D.java:330)
at org.scijava.java3d.VirtualUniverse.notifyRenderingErrorListeners(VirtualUniverse.java:1198)
at org.scijava.java3d.NotificationThread.processNotifications(NotificationThread.java:86)
at org.scijava.java3d.NotificationThread.run(NotificationThread.java:104)

So it appears that my Java is not reading my hardware properly? If this is the case, can someone point me in a direction? I'm not successful in finding a way to resolve this by searching (indeed, I'm not entirely sure what the problem is)

Stephane

unread,
Feb 6, 2017, 5:37:36 AM2/6/17
to Icy imaging
Hi David,

It looks like the OpenGL driver installed on your system is compliant with OpenGL 1.1 only when new VTK library requires OpenGL 3.0 at least.
What you can try is to upgrade your video card driver :
http://www.nvidia.fr/Download/index.aspx?lang=fr

I hope that will fix your issue !

Best,

- Stephane

David Briley

unread,
Feb 6, 2017, 5:52:07 PM2/6/17
to Icy imaging
Many thanks Stenphane! Turns out NVidia may somehow have broken OpenGL in their most recent driver update (378.49; released Jan 24, 2017)


I will try rolling back to an older driver to resolve the issue.

Stephane

unread,
Feb 8, 2017, 5:05:49 AM2/8/17
to Icy imaging
Glad that fixed your problem !

David Briley

unread,
Feb 20, 2017, 10:41:18 AM2/20/17
to Icy imaging
Yep! For the information of anyone else: 

OpenGL reading appears to be broken in the Nvidia 38x drivers; by reverting to 37x drivers, you can fix any problems that may arise from this (eg. rendering with VTK, etc)
Reply all
Reply to author
Forward
0 new messages