Login  Register

Re: Java 3D crash or flickering

Posted by philjord on May 30, 2016; 7:01am
URL: https://forum.jogamp.org/Java-3D-crash-or-flickering-tp4035074p4036759.html

ctrueden,
I've struck this issue on one machine, which I can reproduce, however I had thought the central issue was windows 10, whereas your users are showing it up elsewhere.

This is definitely an issue for core Jogl, however if Julien agrees I could open a new enhancement (or bug?) in the Java3D space for a patch of some sort to the JoglPipeline that doesn't use the getMaxFixedFunc(true) but rather demands a certain Profile based on a -Dj3d property that could be optionally set by the invoker of Java3D.

If we can get a large number of different test log files we could try to establish what graphics cards/OS combinations cause it and possibly allow a request for a certain driver.

Of course I'd need your help in testing the patch in some manner to ensure it worked so we might have to carefully attempt to deploy it to some users who are suffering before making an official release.

What is ImageJ status versus Java3D version? Is it currently 1.6-pre12? If so the newest version of JAva3D requires the package names to be updated, is that sort of thing possible? If not, some sort of awful java3d-core patch jar would need to be release in the interim and then the fix put into the main 1.7 and all user encouraged to update so they can access the property to work around the issue.

Having said that if Jogl core gets the issue fixed then a very temporary patch just for ImageJ might last until the next Jogl is release?

Julien, should I go ahead and make an enhancement request that tells people how to get the jogl test output and asks them to attach it so we can see the scope of when the issue happens? Do you think a dirty patch (if possible) for ImageJ is OK, or should we move forward an just put it in 1.7?

ctrueden, what are your thoughts on ImageJ's ability to have code altered or a new java3d jar distributed and a property set some how, to deal with this issue?

Also what sort of scale is the problem, as a percentage of users?

Can you users run a bat file and send the output to you or me, or are they not quite that sophisticated?

Or could they follow these instructions?
Please run this program and post the result here:
http://jogamp.org/deployment/jogamp-current/jogl-application-version.jnlp

You may have to add jogamp.org to the exception list to run it:
https://www.java.com/en/download/faq/exception_sitelist.xml



Note that all of the above basically assumes that some sort of specific instruction can be used to work around the software renderer issue.


Thanks,
Phil.


PS, I've also struck this issue once when I was calling removeNotify on a Window that had a GL context attached, but that was just code abuse.