McIDAS-V quits during start-up

How do I...?
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

FYI -- I have exactly the same issue as HP. McV 1.5 will not start in Win10. The mcidasv.log is the same as his.... My display adapter is a "mobile Intel 4 Series Express Chipset Family", version 8.15.10.2702.

If I run the "config" batch file and disable 3D, then the GUI window briefly pops up and then vanishes. There is no message in the log file
17:48:46.022 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: =============================================================================
17:48:46.032 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: Starting McIDAS-V @ Mon Sep 21 17:48:46 CDT 2015
17:48:46.041 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: Versions:
17:48:46.042 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: McIDAS-V version 1.5 built 2015-05-01 18:09
17:48:46.044 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: IDV version 5.0u2 built 2014-11-12 08:06 UTC
17:48:46.045 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: VisAD version r6116 built Tue Mar 17 00:31:23 CDT 2015
17:48:46.046 [main] INFO edu.wisc.ssec.mcidasv.McIDASV - main: 3998 MB system memory
17:48:46.138 [main] WARN e.wisc.ssec.mcidasv.ArgumentManager - log: result[0]: false
17:48:46.138 [main] WARN e.wisc.ssec.mcidasv.ArgumentManager - log: result[1]: ''
17:48:52.712 [main] INFO cacheLogger - setRootDirectory: DiskCache2 create directory C:/Users/tomw/McIDAS-V/tmp/nj22/
17:48:55.400 [Thread-11] INFO e.w.s.m.servermanager.AddeThread - run: Starting mcservl: C:\Program Files\McIDAS-V-System\adde\bin\mcservl.exe -v -p 8112
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

More info....I installed the IDV nightly, which is built with Java 1.8. Running it from the command line gave this:
C:\Program Files\IDV_5.2u1>jre\bin\java -Xmx2892m -XX:+DisableExplicitGC -Didv.enableStereo=false -jar idv.jar
3D [dev] 1.6.0-pre9-daily-experimental daily

javax.media.j3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
at javax.media.j3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8082)
at javax.media.j3d.JoglPipeline.access$800(JoglPipeline.java:87)
at javax.media.j3d.JoglPipeline$ContextQuerier.init(JoglPipeline.java:8655)
at javax.media.j3d.JoglPipeline$QueryCanvas.doQuery(JoglPipeline.java:8620)
at javax.media.j3d.JoglPipeline$QueryCanvas.access$100(JoglPipeline.java:8568)
at javax.media.j3d.JoglPipeline.createQueryContext(JoglPipeline.java:6550)
at javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:4618)
at javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:3611)
at javax.media.j3d.Renderer.doWork(Renderer.java:461)
at javax.media.j3d.J3dThread.run(J3dThread.java:271)

This version of Java3D can't query "textureWidthMax/textureHeightMax"
so they are being assigned the default values:
textureWidthMax: 1024
textureHeightMax: 1024
If images render as a 'grey-box', try setting these parameters
to a lower value, eg. 512, with '-DtextureWidthMax=512'
Otherwise check your graphics environment specifications
DefaultRenderingErrorListener.errorOccurred:
CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context for queryProperties()
graphicsDevice = Win32GraphicsDevice[screen=0]
canvas = javax.media.j3d.Canvas3D[canvas0,0,0,0x0,invalid]


I can only wonder if the OpenGL version is the only issue here...and the "worst part" is there are no updated drivers from Intel for my computer....
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

One more puzzle piece. I installed McV (32-bit) on my wife's laptop which had also been "upgraded" to Win10, and where I did have to install the Win7 graphics drivers. I guess that might not matter, for when I tried to start McV, I got an error pop up:

Title: Java Virtual Machine launcher
Message: Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

If I open a command prompt, cd to "\Program Files\McIDAS-V-System" and try to run it, the same thing happens. This problem is the default value for -Xmx.

When I used runMcV-config.bat to change it from "1228M" to "800M" (arbitrary), then McV came up & ran correctly!

Obviously, not all graphics drivers are created equal under the eyes of Win10...
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

Success!

On my HP (Hewlett Packard, not HansPeter) laptop, I was unable to install the graphics drivers from Intel (the chip type is "Mobile Intel 4 Series Express Chipset Family", the adapter is a "GMA 4500MHD"). I just got an "Error" message that my computer didn't have the Right Stuff.

However, on the HP Support website, I found the last driver issued by them (the version number was older than the one that was running on my PC). I downloaded and unpacked that, and from the "file explorer" I changed the "properties -> compatibility" of the "setup.exe" to Windows 7...and then clicked on it to run & proceed with the install. It did let me know I was installing an older version...

After installing and rebooting, I am now able to run McV 1.5 in 3D without any difficulties (that I have noted so far).
User avatar
bobc
Posts: 990
Joined: Mon Nov 15, 2010 5:57 pm

Re: McIDAS-V quits during start-up

Post by bobc »

Hi Tom -

Thanks for reporting your results and I'm glad that you now have McIDAS-V working on both of your Windows 10 laptops. The thing that concerns us the most is that HP had the IDV working on his machine but not McIDAS-V, even after updating the IDV in the McIDAS-V nightly. We are going to have a programmer investigate and see if we can determine why this is happening.

Thanks again -
Bob
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

Bob - I was quite relieved that I got McV 1.5 running under Win10 on my Intel Graphics-based laptop. I was almost ready to revert back to Win7.

I did not have the same experience as HP did with the IDV....although I was using the nightly (dubbed 1.6), and it also failed to start -- just a "flash" of the windows which then disappeared into the abyss.
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: McIDAS-V quits during start-up

Post by Rick »

Hi Tom,

Just to make sure we understand. The drivers fixed your problem running 1.5, but fails with the latest nightly.

Rick
User avatar
tomw
Posts: 296
Joined: Tue Dec 23, 2008 3:40 pm

Re: McIDAS-V quits during start-up

Post by tomw »

Rick -- I have not tested with the latest nightly. That reference in my previous email was for the IDV. I'll test the McV nightly this weekend when I get a chance...
Post Reply