fiji / 3D_Viewer

https://imagej.net/plugins/3d-viewer
GNU General Public License v3.0
20 stars 18 forks source link

Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1) #18

Open ctrueden opened 8 years ago

ctrueden commented 8 years ago

Several people have now reported the following error:

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)

These reports indicate new systems with new high-quality graphics cards, so it seems unlikely that the version of OpenGL is actually that old. Need to investigate...

ctrueden commented 8 years ago

For those who stumble across this issue: could you please comment here with your system configuration? In particular, OS version, Java version, and which graphics card you have? Maybe a pattern will emerge which helps us troubleshoot somehow.

tinevez commented 8 years ago

Here is the debug info for my windows 10 machine, on which I have this bug (to reproduce, open the flybrain.tif example, run the 3D viewer):

os.arch => amd64 os.name => Windows 10 os.version => 10.0 java.version => 1.8.0_65 java.vendor => Oracle Corporation java.runtime.name => Java(TM) SE Runtime Environment java.runtime.version => 1.8.0_65-b17 java.vm.name => Java HotSpot(TM) 64-Bit Server VM java.vm.version => 25.65-b01 java.vm.vendor => Oracle Corporation java.vm.info => mixed mode java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment java.specification.name => Java Platform API Specification java.specification.version => 1.8 sun.cpu.endian => little sun.desktop => windows file.separator => \

And for the graphic card: NVIDIA GeForce GTX 970 Manufacturer NVIDIA Model GeForce GTX 970 Device ID 10DE-13C2 Revision A2 Subvendor CardExpert Technology (10B0) Current Performance Level Level 0 Voltage 0.862 V Technology 28 nm Bus Interface PCI Express x16 Temperature 35 °C Driver version 10.18.13.6451 BIOS Version 84.04.31.00.06

tinevez commented 8 years ago

A side note: for debugging on of my plugin in Eclipse (MaMuT), I downloaded the jogl and jocl files from the jogl website and have the Eclipse launcher use them. This bug does not happen.

ctrueden commented 8 years ago

for debugging on of my plugin in Eclipse (MaMuT), I downloaded the jogl and jocl files from the jogl website and have the Eclipse launcher use them.

Which version? Same as what ships with Fiji? Or newer?

tinevez commented 8 years ago

I followed these instructions: https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Eclipse_IDE_user_library

So the version I downloaded was this one: http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z

ctrueden commented 8 years ago

OK, I downloaded it, just to check, and it is 2.3.2. The same version we ship with Fiji. 😕

tinevez commented 8 years ago

But:

capture

It works from Eclipse, but not from Fiji.

ctrueden commented 8 years ago

Can you diff the output of the "System Information" command to see what the differences are?

biovoxxel commented 8 years ago

Same problem with the 3D viewer as soon as I use Fiji with Java 8 (see settings below). The error message is the same as above (but could it be that the actual problem is the OpenCL not OpenGL???)

Console error output: 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)

Information about my version of Java:

os.arch => amd64 os.name => Windows 7 os.version => 6.1 java.version => 1.8.0_66 java.vendor => Oracle Corporation java.runtime.name => Java(TM) SE Runtime Environment java.runtime.version => 1.8.0_66-b18 java.vm.name => Java HotSpot(TM) 64-Bit Server VM java.vm.version => 25.66-b18 java.vm.vendor => Oracle Corporation java.vm.info => mixed mode java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment java.specification.name => Java Platform API Specification java.specification.version => 1.8 sun.cpu.endian => little sun.desktop => windows file.separator => \

Graphic Card:

NVIDIA GeForce GT 525M OpenGL = 4.4 OpenCL = 1.1 Information about the version of each plugin:

Activated update sites: ImageJ: http://update.imagej.net/ (last check:20160423005140) Fiji: http://update.fiji.sc/ (last check:20160418172001) Java-8: http://sites.imagej.net/Java-8/ (last check:20160428180103) 3D ImageJ Suite: http://sites.imagej.net/Tboudier/ (last check:20160401080854) Bio-Formats: http://sites.imagej.net/Bio-Formats/ (last check:20160429032649) Biomedgroup: http://sites.imagej.net/Biomedgroup/ (last check:20160318103608) BioVoxxel: http://sites.imagej.net/BioVoxxel/ (last check:20160407183326) HDF5: http://sites.imagej.net/Ronneber/ (last check:20150214134119) IBMP-CNRS: http://sites.imagej.net/Mutterer/ (last check:20160209132947) IJPB-plugins: http://sites.imagej.net/IJPB-plugins/ (last check:20160112122924) Morphology: http://sites.imagej.net/Landini/ (last check:20160416124441) ScientiFig: http://sites.imagej.net/Aigouy/ (last check:20160428095410)

GravityWinz commented 8 years ago

I am seeing the same error but on Windows 7 64 bit:

os.arch = amd64 os.name = Windows 7 os.version = 6.1

java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.8.0_66-b18 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.8 java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.8.0_66 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.66-b18

Graphics card id the GeForce GT720: Driver version 364.72

ctrueden commented 8 years ago

There is some upstream discussion of this issue; see:

ctrueden commented 8 years ago

For those affected by this bug: a developer on the JogAmp Java 3D forum posted the following suggestion:

Please run this program and post the result here.

You may have to add jogamp.org to the exception list to run it.

I did not run it (I do not have an affected system), but if anyone else has a few spare minutes to try, it might be helpful!

ctrueden commented 8 years ago

There is a hack you can now try, to see whether it fixes the issue on your system:

I tested this on a Windows 10 VM which suffers from this problem, and received the following (slightly different than before!) error:

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:8086)
    at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6443)
    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)
J3dI18N: Error looking up: Renderer7
biovoxxel commented 8 years ago

Hi Curtis,

same thing here. Attached the two error messages in comparison as info on Win7 (system is stated upstream in my last post):

3D [dev] 1.6.0-scijava-3-SNAPSHOT-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:8086) at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6443) 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) J3dI18N: Error looking up: Renderer7 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)

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)

bpavie commented 8 years ago

Hi Curtis,

I also encounter this error (see message below) making me enable to use the 3d viewer.

Configuration: -Windows 7 64bits -ImageJ version: 1.51d -Fiji is up-to-date from the 23/06/2016 -JDK 1.8.0_66 -Java-8 repository in manager is selected -Graphic Card: NVIDIA NVS 5200M with driver version 353.90 with CUDA installed

After having following your trick to replace jars/j3dcore-1.6.0-scijava-2.jar the Test Java3D is working(Plugins>Utilities>Debugging>Test Java3D) but not the 3d viewer

Using the version Fiji Life-Line version, 2015 December 22, the problem does not occur even after having run the update so it seems to be due to the Java version (1.6 instead of 1.8). But then off course some plugins are not working anymore (e.g. MorphoLibJ )

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) 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)

habi commented 8 years ago

Hello all. I'm also running into this problem.

Configuration

The Test Java3D plugin works, the 3D Viewer plugin not.

bpavie commented 8 years ago

A quick update, because it works now on the same computer, but with windows 10 instead of windows 7 (I just upgraded Windows and reinstall Fiji).

Configuration: -Windows 10 64bits -ImageJ version: 1.51d -Fiji is up-to-date from the 30/06/2016 -JDK 1.8.0_66 -Java-8 repository in manager is selected -Graphic Card: NVIDIA NVS 5200M with driver version 353.90 with CUDA installed

-3D [dev] 1.6.0-scijava-2-pre11-daily-experimental daily -3D_Viewer-4.0.1.jar

kmshort commented 8 years ago

Same issue (Exception occurred in RenderingErrorListener: java.lang.RuntimeException ).

os.arch = amd64 os.name = Windows 7 os.version = 6.1

Fiji build = 2.0.0-rc-49/1.51d) Build-Jdk = 1.8.0_72-internal java.runtime.version = 1.8.0_66-b18 Implementation-Date = 2016-05-06 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.66-b18

Graphics card: Geforce 770 with Geforce 368 WHQL drivers.

If I change the j3dcore to the snapshot posted above, just produces a different error (J3dI18N: Error looking up: Renderer7).

JOGL data: GL Profile GLProfile[GL4bc/GL4bc.hw] GL Version 4.5 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.5.0 NVIDIA 368.69 [GL 4.5.0, vendor 368.69.0 (NVIDIA 368.69)] Quirks [NoDoubleBufferedBitmap, NoSurfacelessCtx] Impl. class jogamp.opengl.gl4.GL4bcImpl GL_VENDOR NVIDIA Corporation GL_RENDERER GeForce GTX 770/PCIe/SSE2 GL_VERSION 4.5.0 NVIDIA 368.69 GLSL true, has-compiler-func: true, version: 4.50 NVIDIA / 4.50.0 GL FBO: basic true, full true GL_EXTENSIONS 324 GLX_EXTENSIONS 29

the-yrr commented 8 years ago

same problem here, but only when the nvidia graphics card is used

win 10 pro 64bit laptop 760m with geforce 368 WHQL i7-4702MQ with intel HD 4600 JDK1.8_0-66 (64 bit), ImageJ 1.51d (newest Version from 28.7.2016)

starting Fiji with integrated graphics works fine starting Fiji with Nvidia graphics and opening 3D viewer:

D [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)

hope this might help someone, seems like java 3D doesn't like my Nvidia card

jogamp only recognizes the Intel graphics card, cant get it to work with nvidia the fix posted by @ctrueden doesnt help

kleinhansda commented 8 years ago

I also get this error. With me the problem seems to be the second monitor, which I figured out today. If I unplug it from the HDMI port, it works. The problem kind of remains, but at least I know the source now.

dnmason commented 8 years ago

I just came across this, so in case this is helpful, same thing. Java 3D test works but 3D viewer does not.

Latest updated version of Fiji (2.0.0-rc-54/1.51g;Java 1.8.0_66 [64-bit]) Windows 7 Enterprise 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_ldr.160902-0600) AMD Radeon HD 7520G running dual monitor (VGA/HDMI). Problem still present in single monitor mode.

Java 3D properties JOGL j3d.specification.vendor 1.6 1.6.0-scijava-2-pre11-daily-experimental daily j3d.vendor OpenGL

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

com.jogamp.opengl.GLException: J3D-Renderer-1: createImpl ctx !ARB but ARB is used, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL4bc/GL4bc.hw], current: 1.1 (Compat profile, compat[], hardware) - 1.1.0
    at jogamp.opengl.windows.wgl.WindowsWGLContext.createImpl(WindowsWGLContext.java:404)
    at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:765)
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:648)
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:586)
    at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6412)
    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)
paultallard commented 8 years ago

I see the following line in 2 of the above listings. java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment I am getting this rendering error on a Lenovo with an Intel G41 chipset. The error output includes the above line. QUESTION 1: So which of the following is the problem:
(1) In my code, am I inadvertently defaulting the graphics environment to Windows 32 on my AMD 64 bit machine?
(2) Alternatively, is this generated by my graphics card, making it a 32 bit card on a 64 bit machine?
I am using JDK 1.8.0_102 (64 bit) and Java3D 1.5.1 (64 bit). When I drop back to JDK 1.7.0_79 I get rid of the rendering error but I still cannot generate and run a runnable JAR on this machine.
Intel has never released an OpenGL 1.2 driver for the G41 chipset so I may have to go back to 32 bit when I generate a runnable Jar for this machine. QUESTION 2: Does that make sense?

tlskillman commented 8 years ago

Same problem: Start Fiji, click on 3D Viewer, get this message. (Am I crazy or was this all working 2 days ago. I created a nice 3D .obj file from an image stack, one time, and since then I have not been able to get the code to run...???)

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)


OS Name Microsoft Windows 10 Home Version 10.0.14393 Build 14393 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name * System Manufacturer System manufacturer System Model System Product Name System Type x64-based PC System SKU SKU Processor Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 3201 Mhz, 4 Core(s), 4 Logical Processor(s) BIOS Version/Date American Megatrends Inc. 0803, 1/13/2016 SMBIOS Version 3.0 Embedded Controller Version 255.255 BIOS Mode UEFI BaseBoard Manufacturer ASUSTeK COMPUTER INC. BaseBoard Model Not Available BaseBoard Name Base Board Platform Role Desktop Secure Boot State On PCR7 Configuration Binding Not Possible Windows Directory C:\WINDOWS System Directory C:\WINDOWS\system32 Boot Device \Device\HarddiskVolume2 Locale United States Hardware Abstraction Layer Version = "10.0.14393.0" User Name ***** Time Zone Pacific Daylight Time Installed Physical Memory (RAM) 16.0 GB Total Physical Memory 15.9 GB Available Physical Memory 9.36 GB Total Virtual Memory 18.8 GB Available Virtual Memory 11.1 GB Page File Space 2.88 GB Page File C:\pagefile.sys Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualization Enabled in Firmware No Hyper-V - Data Execution Protection Yes

LWollatz commented 8 years ago

I have this problem on Windows 7, 64bit, NVIDIA GeForce GTX 650 Ti, Fiji (ImageJ 1.51g) with JDK 1.8 and Windows 10, 64bit, NVIDIA GeForce GT430, Fiji with JRE 1.8 but it works just fine on Windows 8.1, 64bit, NVIDIA GeForce GT 630, Fiji (ImageJ 1.51h) with JRE 1.6 and Windows 7, 64bit, NVIDIA GeForce GTX 650 Ti, Fiji (ImageJ 1.51g) with JRE 1.6

I suspected it to be an issue with Java 8...

ctrueden commented 8 years ago

There has been some progress on issue #17, which might be relevant here too.

In short, @aschain compiled a new version of the ImageJ Launcher for Windows which behaves better with the new Java 3D. You can download it here. If you are a Windows user suffering from a non-working 3D Viewer with the latest Fiji, feel free to give that launcher a try and report your experiences here!

tinevez commented 8 years ago

I confirm that this fix works on Windows for at least:

biovoxxel commented 8 years ago

Works like a charm on Win 7, 64-bit, Java Fiji 2.0.0-rc54/1.51h Java 1.8.0_91 [64bit]

Thanks a lot @aschain and @ctrueden

habi commented 8 years ago

The provided launcher fixes the 3D Viewer on my system, with details as reported earlier. Thank you very much!

tlskillman commented 8 years ago

Working great here. Many thanks!

On Tue, Nov 29, 2016 at 1:03 PM, Curtis Rueden notifications@github.com wrote:

There has been some progress on issue #17 https://github.com/fiji/3D_Viewer/issues/17, which might be relevant here too.

In short, @aschain https://github.com/aschain compiled a new version of the ImageJ Launcher for Windows which behaves better with the new Java 3D. You can download it here http://sites.imagej.net/Aschain/fiji-win64.exe-20161102105633. If you are a Windows user suffering from a non-working 3D Viewer with the latest Fiji, feel free to give that launcher a try and report your experiences here!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-263698008, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbhnEjQrBdevJl7BlLDBiUDZfgt734mks5rDJMngaJpZM4ILKVw .

kmshort commented 7 years ago

This is brilliant! It finally works, even the plain old 3D Viewer.

Windows7, 64bit here.

thanks, Kieran

On Thu, Dec 1, 2016 at 6:40 AM, Tom Skillman notifications@github.com wrote:

Working great here. Many thanks!

On Tue, Nov 29, 2016 at 1:03 PM, Curtis Rueden notifications@github.com wrote:

There has been some progress on issue #17 https://github.com/fiji/3D_Viewer/issues/17, which might be relevant here too.

In short, @aschain https://github.com/aschain compiled a new version of the ImageJ Launcher for Windows which behaves better with the new Java 3D. You can download it here http://sites.imagej.net/Aschain/fiji-win64.exe-20161102105633. If you are a Windows user suffering from a non-working 3D Viewer with the latest Fiji, feel free to give that launcher a try and report your experiences here!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-263698008, or mute the thread https://github.com/notifications/unsubscribe-auth/ AEbhnEjQrBdevJl7BlLDBiUDZfgt734mks5rDJMngaJpZM4ILKVw .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-263973325, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnE82x6tnmPY9Miv3bCJKRl0jdQy09dks5rDdFIgaJpZM4ILKVw .

bpavie commented 7 years ago

Thanks, this new version of the ImageJ Launcher fixed also the problem for me on a fresh new installed Fiji running with a NVIDIA GTX 980Ti !

dnmason commented 7 years ago

I concur, new launcher (fiji-win64-20161102105633) works for me on Win7-64, ImageJ 2.0.0-rc54/1.51h; Java 1.8.0_66 (64) on a laptop AMD Radeon HD 7520G.

Thanks!

matham commented 7 years ago

This also fixed it for me on win10, Nvidia Quadro M4000.

LWollatz commented 7 years ago

The launcher works fine for the 3D Viewer on Windows 7, 64bit, NVIDIA GeForce GTX 650 Ti, Fiji (ImageJ 1.51g) with JDK 1.8 with the existing install (just replacing the launcher) Thanks! :-)

CharlesMod commented 7 years ago

Win10 x64, GTX 970, was having the OpenGl < 1.2 error but ctrueden's fix worked.

ctrueden commented 7 years ago

The new launcher was uploaded to the Java-8 update site. This issue should no longer happen with an up-to-date Fiji.

kmshort commented 7 years ago

I just downloaded the new Fiji 64bit zip, loaded, updated (on 15th March, 2017), and it still crashes out. Same for 32bit version, fresh download, fresh update.

So it still doesn't work.

On Wed, Mar 15, 2017 at 6:02 AM, Curtis Rueden notifications@github.com wrote:

The new launcher was uploaded to the Java-8 update site. This issue should no longer happen with an up-to-date Fiji.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-286526754, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnE8-BBbQGXCVCOZYXCMd-569UpTCceks5rluQ4gaJpZM4ILKVw .

ctrueden commented 7 years ago

@kmshort By "it still crashes out" do you mean the 3D Viewer plugin specifically? Or Fiji does not start up at all?

tinevez commented 7 years ago

I have to recant what I said: I realized that I had a custom ImageJ-win64.exe. By downloading the proper one through the ImageJ updater, the errors re-appeared. Sorry.

kmshort commented 7 years ago

Hi Curtis,

Sorry I should have been more specific.. but since this whole topic is on 3D failure, that's what I meant. Software loads fine, but Java3D error still occurs. "org.scijava.java3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1) " etc.etc.

cheers, Kieran

On Thu, Mar 16, 2017 at 6:09 AM, Curtis Rueden notifications@github.com wrote:

@kmshort https://github.com/kmshort By "it still crashes out" do you mean the 3D Viewer plugin specifically? Or Fiji does not start up at all?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-286848204, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnE837ZMDgZ-S0pOidjiGcTyg06rhx7ks5rmDdjgaJpZM4ILKVw .

ctrueden commented 7 years ago

I have to admit that I am confused now. A bunch of people above said that the new launcher fixed the issue for them. But now, people are saying that the latest launcher they get from the core ImageJ update site does not fix the problem.

The two new launcher builds are:

Are you saying that the former fiji-win64.exe build does fix the issue, but that the latter ImageJ-win64.exe build does not?

Or is it simply the case that the above launcher builds fix the problem for some people, but not others?

P.S. The 32-bit version is not currently fixed; we did not upload a new build for that.

tinevez commented 7 years ago

@ctrueden Good catch. So, on my local Fiji install, I have two .exe:

I got confused, because the icon I have on the desktop launched the fiji exe, which I changed manually a long time ago, and which was overwritten after an update yesterday.

biovoxxel commented 7 years ago

Hi

I tested the new launcher provided by the update site on several win64 systems (windows 10 as well as windows 7) and it worked like a charm. Same was true for the older fiji-win64.exe.

Cheers, Jan

Am 16.03.2017 19:50 schrieb "Curtis Rueden" notifications@github.com:

I have to admit that I am confused now. A bunch of people above said that the new launcher fixed the issue for them. But now, people are saying that the latest launcher they get from Fiji does not fix the problem.

The two new launcher builds are:

Are you saying that the former fiji-win64.exe build does fix the issue, but that the latter ImageJ-win64.exe build does not?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-287156037, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOaGe64-s1pY5_dQfvRi4KwjhmssYU8ks5rmYSBgaJpZM4ILKVw .

tlskillman commented 7 years ago

Both of those launchers work fine on my Windows 10 64 bit machine, Java version 8 update 121, ImageJ 1.51j. Thanks.

On Thu, Mar 16, 2017 at 11:50 AM, Curtis Rueden notifications@github.com wrote:

I have to admit that I am confused now. A bunch of people above said that the new launcher fixed the issue for them. But now, people are saying that the latest launcher they get from Fiji does not fix the problem.

The two new launcher builds are:

Are you saying that the former fiji-win64.exe build does fix the issue, but that the latter ImageJ-win64.exe build does not?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-287156037, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbhnEitKqzXvgzAEvx9_x4OGxuafLOpks5rmYSBgaJpZM4ILKVw .

kmshort commented 7 years ago

OK, using the builds available at:

The default updated win32 build still fails.

cheers, Kieran

On Fri, Mar 17, 2017 at 9:39 AM, Tom Skillman notifications@github.com wrote:

Both of those launchers work fine on my Windows 10 64 bit machine, Java version 8 update 121, ImageJ 1.51j. Thanks.

On Thu, Mar 16, 2017 at 11:50 AM, Curtis Rueden notifications@github.com wrote:

I have to admit that I am confused now. A bunch of people above said that the new launcher fixed the issue for them. But now, people are saying that the latest launcher they get from Fiji does not fix the problem.

The two new launcher builds are:

Are you saying that the former fiji-win64.exe build does fix the issue, but that the latter ImageJ-win64.exe build does not?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-287156037, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbhnEitKqzXvgzAEvx9_ x4OGxuafLOpks5rmYSBgaJpZM4ILKVw

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-287212821, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnE8yCNerQbQBoNoqbSZ8_3lXeNe7Bvks5rmboFgaJpZM4ILKVw .

ghost commented 7 years ago

Hi,

I get the following error while using the launcher (at http://sites.imagej.net/Aschain/fiji-win64.exe-20161102105633) on a virtual machine (Windows Server 2012 R2 Standard, Intel(R) Xeon(R) CPU E5 2690 - 4 processors):

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)

Is there a way to fix this error ?

Thank you. Cheers, Shreya

ctrueden commented 7 years ago

@skanakiya Getting OpenGL support working in a VM can be tricky. Which virtual machine software do you use? Have you Googled the "OpenGL 1.2 or better is required" message together with the name of that software?

ghost commented 7 years ago

Hi Curtis,

I am using Microsoft Remote Desktop to connect to the VM. I googled the problem but haven't been able to solve it yet.

Regards, Shreya

On 8 May 2017 at 02:34, Curtis Rueden notifications@github.com wrote:

@skanakiya https://github.com/skanakiya Getting OpenGL support working in a VM can be tricky. Which virtual machine software do you use? Have you Googled the "OpenGL 1.2 or better is required" message together with the name of that software?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-299710279, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDvq_-0DzMOrIYfhhSR9FZSgapsF344ks5r3daPgaJpZM4ILKVw .

ctrueden commented 7 years ago

@skanakiya It seems that only some cards support OpenGL over Remote Desktop. I learned this from this SO post. Maybe your drivers are too old. Or maybe your card does not support OpenGL over Remote Desktop. Running Fiji 3D plugins over remote desktop is IMHO a highly uncommon thing to do, so you are probably on your own with this one.

ghost commented 7 years ago

Hi Curtis,

Thanks for your message. Even after updating the openGL version of the VM, the Microsoft remote desktop app somehow did not allow to use the updated version. So I have switched to a Linux VM now and the 3D viewer works fine.

Regards, Shreya

On 31 May 2017 at 07:13, Curtis Rueden notifications@github.com wrote:

@skanakiya https://github.com/skanakiya It seems that only some cards support OpenGL over Remote Desktop. I learned this from this SO post https://stackoverflow.com/q/41833949/1207769. Maybe your drivers are too old. Or maybe your card does not support OpenGL over Remote Desktop. Running Fiji 3D plugins over remote desktop is IMHO a highly uncommon thing to do, so you are probably on your own with this one.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fiji/3D_Viewer/issues/18#issuecomment-304978957, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDvq3_tnH9Z7W-lM0tr0jdTxfS4-M8yks5r_GplgaJpZM4ILKVw .