#jogamp @ irc.freenode.net - 20140128 05:05:41 (UTC)


20140128 05:05:41 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140127050541.html
20140128 05:05:41 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140128050541.html
20140128 08:18:54 * monsieur_max (~maxime@anon) has joined #jogamp
20140128 08:39:46 * xranby (~xranby@anon) Quit (Quit: Leaving.)
20140128 11:32:53 * gouessej (546051e4@anon) has joined #jogamp
20140128 11:33:16 <gouessej> Hi
20140128 11:33:31 <gouessej> I can't run that: http://jogamp.org/deployment/jogamp-current/jogl-application-version.jnlp
20140128 11:34:16 <gouessej> The application is blocked by security parameters
20140128 11:35:45 <gouessej> I get the same warning than yesderday with that: http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal.html
20140128 11:36:05 <gouessej> the false warning about the missing permissions attribute manifest
20140128 11:36:30 <gouessej> with Java 1.7 update 51 and Java 1.7 update 60 Early Access
20140128 11:37:47 <gouessej> "java.lang.SecurityException: Missing required Permissions manifest attribute in main jar: http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar": http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-launcheronly.html
20140128 11:39:05 <gouessej> Only NApplets work: http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html
20140128 11:45:48 * gouessej (546051e4@anon) Quit (Quit: Page closed)
20140128 12:13:05 <sgothel> @Julien: ofc - you need to test the latest signed aggregated build :)
20140128 12:13:17 <sgothel> (who has left .. well)
20140128 12:15:17 <rmk0> he doesn't hang around!
20140128 12:23:38 * jogamp_ (546051e4@anon) has joined #jogamp
20140128 12:23:43 <jogamp_> Hi again
20140128 12:23:56 * jogamp_ (546051e4@anon) has left #jogamp
20140128 12:24:12 <sgothel> yup .. hi
20140128 12:24:31 <sgothel> @Mark and at all .. will do 2.1.4 Wed/Thu ..
20140128 12:24:36 * gouessej (546051e4@anon) has joined #jogamp
20140128 12:24:41 * rmk0 awaits anxiouslty
20140128 12:24:44 <rmk0> ... and anxiously
20140128 12:24:46 <gouessej> Which applets can I test?
20140128 12:24:51 <sgothel> Hi Julien ..
20140128 12:25:08 <sgothel> as I said .. latest aggregated signed build
20140128 12:25:26 <sgothel> I have sent an email .. deployment/archive/master ..
20140128 12:25:39 <sgothel> latest w/ -signed suffix
20140128 12:26:18 <sgothel> jogl-demos do not yet contain Permission attribute in jar file, but jogl-test do ..
20140128 12:26:26 <gouessej> Ok. Do you still use Trusted-Library? Do you use Caller-Allowable-Codebase instead?
20140128 12:26:42 <sgothel> as it is .. I guess both
20140128 12:26:59 <sgothel> Trusted-Library: true
20140128 12:26:59 <sgothel> Permissions: all-permissions
20140128 12:26:59 <sgothel> Application-Library-Allowable-Codebase: *
20140128 12:27:08 <sgothel> use the source luke :)
20140128 12:27:37 <gouessej> There is a bug about that, you can't use them both
20140128 12:27:52 <sgothel> but tell me what you think we shall use ..
20140128 12:28:03 <sgothel> we don't .. see above and source
20140128 12:28:28 <gouessej> Actually, there is no ideal solution. If you don't use Trusted-Library, there might be some problems with LiveConnect
20140128 12:29:00 <sgothel> goody .. for now it's working her at least w/ 7u51
20140128 12:29:21 <gouessej> Why do I still get a false warning?
20140128 12:29:38 <gouessej> I'm not sure it's fixed in the latest build
20140128 12:29:57 <sgothel> copy/paste here ?
20140128 12:30:10 <gouessej> I'm looking for the bug report...
20140128 12:31:30 <sgothel> I get no warning if launching jogl-test stuff here w/ 7u51
20140128 12:31:34 <gouessej> https://blogs.oracle.com/java-platform-group/entry/7u45_caller_allowable_codebase_and
20140128 12:31:38 <sgothel> NApplet and otherwise
20140128 12:32:14 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1213-jocl_919-signed/ <- with this one
20140128 12:32:47 <gouessej> NApplets work flawlessly as far as I know
20140128 12:34:44 <gouessej> I'll try to tinker the JARs and sign them by myself to get rid of those warnings
20140128 12:35:08 <gouessej> I use JDT + JNLP in several applets
20140128 12:39:51 <gouessej> I've just looked at the signed JARs, they should work without warning until Java 1.7 update 45 but not with updates 51 and 60
20140128 12:40:05 <gouessej> as Trusted-Library is still there
20140128 12:42:20 <sgothel> dunno what you are doing, but the above referenced jars work here only in 7u51 not w/ earlier versions, as mentioned in forum post
20140128 12:42:41 <sgothel> maybe send me your java applet console log via email
20140128 12:42:56 <sgothel> and pls test w/ our gears demos ..
20140128 12:43:17 <sgothel> [1] http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1213-jocl_919-signed/jogl-applet-runner-newt-gears-normal-napplet.html
20140128 12:43:20 <gouessej> Don't you still get at least only the very first time a warning claiming that the permissions attribute manifest is not set even though it's wrong?
20140128 12:43:24 <sgothel> [2] http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1213-jocl_919-signed/jogl-applet-runner-newt-gears-normal.html
20140128 12:43:29 <gouessej> ok I'm testing that
20140128 12:43:33 <sgothel> no
20140128 12:45:46 <sgothel> grep Warning plugin334975487723689840.trace -> nothing
20140128 12:46:21 <gouessej> This is difficult to reproduce, I have to clean the cache and resets the security prompts...
20140128 12:47:15 * gouessej (546051e4@anon) Quit (Quit: Page closed)
20140128 12:50:08 <sgothel> sent him my plugin logs .. incl. cache removal - no warnings
20140128 12:50:32 * gouessej (546051e4@anon) has joined #jogamp
20140128 12:50:57 <gouessej> Ok your applets work
20140128 12:51:46 <gouessej> If I use all-permissions for all JARs, it shows the false warning
20140128 12:52:00 <sgothel> that is true and correct
20140128 12:52:09 <sgothel> i.e. the 'user jar' should be sandbox
20140128 12:52:28 <sgothel> otherwise you need to add the security tag all-permissions in the user jnlp as well
20140128 12:52:38 <gouessej> I already do that
20140128 12:52:45 <sgothel> oh
20140128 12:52:50 <sgothel> well, you cannot mix that
20140128 12:52:59 <gouessej> all-permissions in the JNLP file and in all manifests of all JARs
20140128 12:53:06 <sgothel> manifest permissions == jnlp permissions
20140128 12:53:22 <gouessej> If I remove it from the JNLP file, we can't load native libraries
20140128 12:53:23 <sgothel> that should work, or manifest sandbox and jnlp nothing
20140128 12:53:29 <sgothel> duh
20140128 12:53:33 <sgothel> ofc
20140128 12:53:44 <sgothel> I meant: user jar files :)
20140128 12:53:50 <sgothel> i.e. the ones w/o jogl etc
20140128 12:54:02 <sgothel> like jogl-test.jar
20140128 12:54:19 <sgothel> for your fat jar .. well, you need to claim it all
20140128 12:54:48 <sgothel> (i.e. 'user code' not 'sandboxed' .. whatever that means today :)
20140128 12:55:01 <sgothel> one reason this new crap is *bs*
20140128 12:55:19 <gouessej> I haven't found any solution to get rid of the false warning
20140128 12:55:32 <gouessej> even with a "trusted" certificate
20140128 12:56:21 <sgothel> if you do your 'user app' like jogl-test it should work fine
20140128 12:56:59 <sgothel> but you like to have a fat jar w/ jnlp .. hmm the version info works (similar, all in jogl-all.jar)
20140128 12:57:49 <gouessej> I'm not a fan of fat JARs but the time stamping can take ages, the OCSP requests too
20140128 12:59:31 <gouessej> I can't run that : http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1213-jocl_919-signed/jogl-javaws-version.jnlp
20140128 13:00:24 <gouessej> Oops this one works: http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1213-jocl_919-signed/jogl-application-version.jnlp
20140128 13:00:33 * gouessej (546051e4@anon) Quit (Quit: Page closed)
20140128 13:01:03 <sgothel> confirmed - maybe do a fat gluegen+jogl-all .. what a pain .. so me cont. on our jweb ..
20140128 13:40:17 <sgothel> 503 qubits .. http://www.scottaaronson.com/blog/?p=1643
20140128 13:42:36 <sgothel> (^^ https://en.wikipedia.org/wiki/Shor%27s_algorithm not yet running)
20140128 15:24:05 * hija (~hija@anon) has joined #jogamp
20140128 16:18:38 * gouessej (546051e4@anon) has joined #jogamp
20140128 16:19:47 <gouessej> My problem came from the custom progress bar for applets. When I remove it, the false warning goes away but I don't reproduce this bug on a tiny test case
20140128 16:20:09 * gouessej (546051e4@anon) Quit (Client Quit)
20140128 16:59:49 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140128 17:09:57 * hharrison (~chatzilla@anon) has joined #jogamp
20140128 17:10:39 <hharrison> sgothel: been testing this build, looking good from my side gluegen_770-joal_519-jogl_1214-jocl_920
20140128 17:14:10 <rmk0> been running 2.1.4-rc-20140113 here, same
20140128 17:14:21 <rmk0> not sure if that's too old
20140128 17:19:12 <hharrison> Have passed that build out to some other Java3d testers that have responded in the past
20140128 17:50:20 * monsieur_max (~maxime@anon) has joined #jogamp
20140128 18:30:29 * gouessej (5279c754@anon) has joined #jogamp
20140128 18:51:19 <sgothel> @Mark: Sort of old, yes
20140128 18:51:24 <sgothel> @Harvey: Great
20140128 18:52:20 <hharrison> sgothel: new host key on jogamp?
20140128 18:52:37 <sgothel> since .. ?
20140128 18:53:04 <sgothel> yes, last year .. some day .. we got a new server .. you may remember
20140128 18:53:19 <hharrison> Ahh, haven't sshd in from this machine in awhile
20140128 18:54:14 <sgothel> ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCklCjxzhbrRCgsPBpBuKlDpHmPr/J2TzEERliRsVWiu5Uk8VfznrBj2hwZ4IGnN/sEP+tnW+OY0e6wNkwBZgIeR94PAVtiZWJJM8zY0h2UrsGlWzKTSoI6qFkPeKnAk0pZLx6JG/OXXqxbdjK2g46oT+UzS6AiqI2syLIJgAj11eZLOo+NcQGFVk+oRAQFboazNjL8nyKG0rO/OTBaVdWlu+gWjaAq2sWjlls5NLP7ctnwGWPpA4XeFM3Zn8dQL8sMI/YOHTY64dtNuXBvXqKw5tlRxXQIwW7Pa23kY7anLSwKpo105ebqc7xew2UXdmiYUT+rveH8zhynrfR6lxA3 root@jogamp.org
20140128 18:54:19 <sgothel> ^^ rsa pub host key
20140128 18:54:52 <sgothel> now .. how do I get the fingerprint ?
20140128 18:55:09 <hharrison> no worries, Iverified the whole thing, we're good
20140128 18:55:47 <hharrison> thanks for confirming
20140128 18:56:02 <sgothel> ok .. cont jweb hacking .. deep breath :)
20140128 18:56:26 * hija (~hija@anon) Quit (Quit: hija)
20140128 21:29:31 * hija (~hija@anon) has joined #jogamp
20140128 22:07:47 * gouessej (5279c754@anon) has left #jogamp
20140128 22:10:46 <hharrison> sgothel: confirmation from another tester that the visibility bugs on OSX are solved (vzome)
20140128 22:16:13 <sgothel> sweet
20140128 22:18:12 <sgothel> ok . . JWeb: top-down walk & coding done; bottom-up now (native -> Applet3 stuff)
20140128 22:18:53 <hharrison> From my POV 2.1.4 is ready to go, still need to track down a java3d bug or two before I'm will to release...probably ;-)
20140128 22:19:24 <hharrison> At least I have a good repro case now
20140128 22:19:27 <sgothel> great to hear .. and your team in Vancouver has no problems either ?
20140128 22:19:37 <hharrison> We're good
20140128 22:19:42 <sgothel> nice
20140128 22:36:57 * bgroenks (~chatzilla@anon) has joined #jogamp
20140128 22:39:42 * monsieur_max (~maxime@anon) has left #jogamp
20140128 22:42:17 * [Mike] (~Mike]@anon) has joined #jogamp
20140128 22:49:16 <sgothel> re JWeb: Excellent - No native code change required.
20140128 22:53:35 <bgroenks> sgothel: are you available?
20140128 22:53:50 <bgroenks> sgothel: for an inquiry :)
20140128 22:53:50 <sgothel> depends .. whats on your mind ?
20140128 22:54:00 <bgroenks> sgothel: the FBObject API
20140128 22:54:03 <sgothel> yup
20140128 22:54:15 <bgroenks> let me give you a link to the thread
20140128 22:54:19 <bgroenks> on the JOGL forums
20140128 22:54:22 <sgothel> ah
20140128 22:54:48 <bgroenks> http://forum.jogamp.org/FBObject-Orientation-Scaling-Issues-td4031228.html
20140128 22:56:44 <bgroenks> I have since disabled some of that code from the system, so you will have to give me a moment to re-enable all of it if you want me to try anything ;)
20140128 22:56:51 <sgothel> handle.setViewport(0, 0, wt, ht, 1); // sets glOrtho(x, x+width, y, y+height, 0, 1) ?
20140128 22:57:03 <bgroenks> sets the ortho matrix
20140128 22:57:09 <bgroenks> which is now just uploaded onto the shader
20140128 22:57:14 <sgothel> well it all boils down how you shape your drawable-size .. in regards to viewport here I guess
20140128 22:57:31 <sgothel> the 'square pixel' thingy
20140128 22:57:53 <sgothel> we have a few FBObject unit tests .. they all work 'normal
20140128 22:58:14 <bgroenks> so in theory it 'should' work
20140128 22:59:22 <bgroenks> huh well, since I got rid of fixed function from handle.setViewport, just replace that with normal glOrtho use
20140128 22:59:46 <bgroenks> gl.glMatrixMode(GL2.GL_PROJECTION);
20140128 22:59:47 <bgroenks> gl.glLoadIdentity();
20140128 22:59:49 <bgroenks> gl.glOrtho(x, x + vwt, y, y + vht, 0, 1);
20140128 22:59:51 <bgroenks> gl.glMatrixMode(GL2.GL_MODELVIEW);
20140128 22:59:52 <bgroenks> gl.glLoadIdentity();
20140128 23:01:13 <sgothel> http://jogamp.org/git/?p=jogl.git;a=tree;f=src/test/com/jogamp/opengl/test/junit/jogl/acore;h=87c9958a440aea08b5c9b7af83a7e63744a189b1;hb=HEAD <- FBObject tests ..
20140128 23:01:15 <sgothel> pick one :)
20140128 23:01:24 <bgroenks> whoa
20140128 23:01:28 <bgroenks> that's more than a few :)
20140128 23:01:36 <sgothel> not all of them are ..
20140128 23:01:44 <sgothel> http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOMix2DemosES2NEWT.java;h=42f7ba65277017657e8426d542306f37aac834ce;hb=HEAD
20140128 23:01:45 <bgroenks> oh just the ones with FBO
20140128 23:02:01 <sgothel> plus we use it for most offscreen drawables ..
20140128 23:02:09 <sgothel> and on OSX for the CALayer stuff
20140128 23:02:13 <sgothel> so it's well tested
20140128 23:02:35 <sgothel> http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOOnThreadSharedContext1DemoES2NEWT.java;h=3c6c61f80d0def4e09131aeb148e31be98653b87;hb=HEAD <- most simple
20140128 23:03:12 <sgothel> and this one .. TestFBOMix2DemosES2NEWT.java
20140128 23:03:19 <sgothel> I guess you should be set ..
20140128 23:03:29 <bgroenks> wait is that using FBObject though? I see GLOffscreenAutoDrawable.FBO
20140128 23:03:37 <sgothel> your issue: needs to reflect semantics of wt and width .. etc, thats all
20140128 23:03:55 <sgothel> they all do in the end
20140128 23:04:41 <sgothel> FBOMix2DemosES2 ..
20140128 23:05:20 <bgroenks> thanks sven, hoepfully I can figure it out from this
20140128 23:05:26 <sgothel> http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/FBOMix2DemosES2.java;h=add11ff8c77fdff62a13ec44407a5431cd54feb8;hb=HEAD
20140128 23:05:33 <sgothel> use Eclipse etc .. as mentioned in wiki
20140128 23:05:44 <sgothel> then it's easy to browse through the unit tests
20140128 23:11:08 <bgroenks> sgothel: would it matter whether glOrtho is called before or after fbo.bind()? As in would GL save that state regardless of the FBO?
20140128 23:11:10 <sgothel> maybe you can now reply to your own question w/ the references of unit tests (for the others) . and later the solution - thank you!
20140128 23:11:54 <bgroenks> I will once I solve it first ;)
20140128 23:11:54 <sgothel> ffp's matrix shall be independent of the FBO
20140128 23:12:03 <bgroenks> ok
20140128 23:12:24 <sgothel> in our tests we don't use the ffp
20140128 23:13:14 <sgothel> but the viewport is not
20140128 23:14:44 <bgroenks> in one of tests I think I saw glOrtho used
20140128 23:14:47 <bgroenks> somewhere
20140128 23:15:03 <sgothel> w/ PMVMatrix .. our own util
20140128 23:15:10 <bgroenks> oh I see
20140128 23:15:24 <sgothel> it's ffp API compatible
20140128 23:16:29 <bgroenks> I'm going to try using regular 0-1 coords without glOrtho. If that works, I will try to figure out what's going on with the glOrtho issue.
20140128 23:18:08 * frankbutt (~frankbutt@anon) has joined #jogamp
20140128 23:18:09 * frankbutt (~frankbutt@anon) has left #jogamp
20140128 23:24:14 * bgroenks (~chatzilla@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131206145537])
20140128 23:28:46 <hharrison> sgothel: ffp viewport can affect FBO?
20140128 23:29:12 <hharrison> That sounds _so_ like the truncated offscreen canvases I'm seeing
20140128 23:29:36 <hharrison> At least gives me one more thing to look for
20140128 23:47:20 <sgothel> http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOMRTNEWT01.java;h=7ec8715a4ab580698efcd02dfd92363adbe2de5c;hb=HEAD#l209
20140128 23:49:20 <sgothel> http://www.opengl.org/discussion_boards/showthread.php/183177-glViewport-Local-to-FBO
20140128 23:49:39 <sgothel> viewport is global - however, if you render into one FBO .. make sure it's adjusted for it ..
20140128 23:50:18 <hharrison> At least for once, OSX is the one that actually works properly
20140128 23:50:29 <hharrison> ;-)
20140128 23:50:35 <sgothel> hehe
20140128 23:50:58 <sgothel> time to tackle your peer regarding our BOF ?
20140128 23:51:30 <sgothel> let me know when we shall apply officially ..
20140128 23:52:20 <sgothel> guess we need to add/port a few fancy 'mobile' JOCL demos
20140129 00:29:08 <hharrison> crap, siggraph....need to go look at what the deadlines are
20140129 00:29:18 <hharrison> timely reminder
20140129 00:29:53 <sgothel> BOF is far away .. but it's 'first come first serve'
20140129 00:30:09 <sgothel> last time I applied like now ..
20140129 00:30:32 <sgothel> but you know - we had this bad luck to compete w/ Khronos - plus .. not many visitors anyways
20140129 00:30:51 <sgothel> dunno how it is this year, hoping the location will give more incentive :)
20140129 00:31:43 <sgothel> maybe you friend can position our application when sent out .. will see
20140129 05:05:41 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140129050541.html