Error opening the 3D Viewer with java 8 in Ubuntu 20.04

While the 3D Viewer window opens, it is blank, and the console shows:

3D [dev] 1.6.0-scijava-2-pre11-daily-experimental daily

com.jogamp.opengl.GLException: Not a GL2 implementation
	at jogamp.opengl.es1.GLES1Impl.getGL2(GLES1Impl.java:4929)
	at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6429)
	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:351)
	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)

Is there a working alternative to the 3D Viewer for java 8 in Ubuntu 20.04?

Hi everyone,

I still face the same issue in ubuntu 20.04 with 3D viewer.
Any help in this regard will be great.

Regards,
Lakshmi

Only solution I found to work reliably is to use java 1.6.0 which of course comes with many compromises.

Any hints, @ctrueden @tferr @kharrington ?

The only suggestion I have is to try out #sciview (Welcome - sciview) and let us know if it is lacking any features that you need. I haven’t heard of anyone working on 3D viewer in quite some time.

1 Like

I don’t have much to add. I have the same issue on ubuntu 20.10 (Pop!OS) on my laptop computer, BUT on my desktop (ubuntu 20.04) the 3D viewer works fine. I have no explanation as per why.

Below are the details (Plugins>Debug>System Information output) of the two installations (retrieved from a ‘vanilla’ Fiji.app freshly downloaded from here just now.

A quick diff between the two was not that useful. Could not find anything relevant.

What graphics card are you guys using?

Hi @albertcardona,

Thanks.

Regards,
Lakshmi

Hi @kephale ,
@albertcardona

I tried sciview, bad luck. That too not working. Similar java error, here is the screenshot.
I am trying with 3D viewer because I am been using that for quite a while now.

Thanks for the help.

Regards,
Lakshmi

Hi @tferr,

Yes, I have Nvidia GP108M [GeForce MX150].
Does that affect?

Regards,
Lakshmi

Hi @lakshmi

Which update site are you using? Can you try the SciView-Unstable update site (add the update site manually to your update site list https://sites.imagej.net/SciView-Unstable/)

Thanks
Kyle

Hi @kephale,

Earlier I updated using the default one in the update site (sciview). Now I tried the SciView-unstable, It working!!!
Thanks alot.
BTW any suggestion on quick start guide for the sciview.

Regards,
Lakshmi

Hi @lakshmi

Awesome. We are working hard toward the next proper release.

The current documentation is here: Welcome - sciview

If you have any extra questions, then please ask here on the forum and we’ll be more than happy to update the documentation.

Cheers,
Kyle

Hi @kephale,

Thanks for your quick reply. Sciview is opening, but when I tried to open a image from my local machine (a Confocal series image that I got from Fiji’s File>OpenSamples>Confocal series) it is not this is the error in the log window,

[ERROR] Module threw exception
java.lang.ArrayIndexOutOfBoundsException: 3
	at sc.iview.SciView.axis(SciView.kt:1537)
	at sc.iview.SciView.addVolume(SciView.kt:1130)
	at sc.iview.SciView.open(SciView.kt:732)
	at sc.iview.commands.file.Open.run(Open.java:73)
	at org.scijava.command.CommandModule.run(CommandModule.java:196)
	at org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:124)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:63)
	at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:225)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Lakshmi

1 Like