#jogamp @ irc.freenode.net - 20140908 05:05:42 (UTC)
20140908 05:05:42 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140907050542.html
20140908 05:05:42 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140908050542.html
20140908 05:07:25 <magaio> sgothel: Looks like the runtime test itself triggers it: https://jogamp.org/bugzilla/show_bug.cgi?id=1065
20140908 05:08:17 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20140908 05:20:01 <magaio> whoops :)
20140908 05:20:25 <sgothel> also marked other text/plain .. hmm
20140908 05:20:33 <sgothel> looking at detailed log
20140908 05:21:42 <magaio> Sorry about that - you were able to get at it?
20140908 05:23:10 <sgothel> just did gunzip again :)
20140908 05:23:26 <sgothel> so all looks good .. but doesn't work .. hmm
20140908 05:23:56 * xranby (~xranby@anon) has joined #jogamp
20140908 05:24:20 <sgothel> and looks at the source code in http://jogamp.org/git/?p=jogl.git;a=blob;f=src/newt/native/MacWindow.m;h=2bd11da3c5e4d1e5b1610f7dc2d6a8428dbb285f;hb=HEAD#l708
20140908 05:26:04 <magaio> sgothel: Do you have debug versions of that jnilib for the 2.2.0 release build?
20140908 05:26:19 <sgothel> no - pls build yourself
20140908 05:26:23 <magaio> ok
20140908 05:26:46 <sgothel> pls use current master tip, it is 2.2.1 now :)
20140908 05:26:54 <magaio> ah right
20140908 05:39:18 <magaio> sgothel: Are there some ant settings to enable dSYM generation? Not too experienced with this build system
20140908 05:42:47 <sgothel> -Dc.compiler.debug=true
20140908 05:43:01 <sgothel> do it for both .. gluegen and jogl
20140908 05:43:17 <sgothel> in newt .. you can also enable native debug code ..
20140908 05:43:17 <magaio> thanks
20140908 05:43:40 <sgothel> // #define VERBOSE_ON 1
20140908 05:43:40 <sgothel>
20140908 05:43:59 <sgothel> jogl/src/newt/native$ vi NewtMacWindow.h
20140908 05:44:06 <sgothel> enable it .. maybe
20140908 05:45:37 <sgothel> does it also not work w/o all your setup magic (TB link, etc) ? not that I think this can be an issue ..
20140908 05:45:58 <sgothel> i.e. running on a normal laptop .. w/o fancy settings ?
20140908 05:47:37 * zzuegg (~zzuegg@anon) has joined #jogamp
20140908 05:48:11 <magaio> Yeah, I first noticed it without external display, also tried with graphics switching on/off
20140908 05:48:24 <sgothel> @magaio: your timings i quite frustrating .. since I was all about to make a bugfix release :)
20140908 05:48:31 <sgothel> ok
20140908 05:49:02 <sgothel> which xcrun versions do you use ? xcode.clang .. pls add to your bug report ..
20140908 05:49:06 <magaio> sgothel: Heh, sorry! :) It could be magic
20140908 05:49:08 <sgothel> maybe your build works ..
20140908 05:49:33 <magaio> got debug crash - 127 const UCKeyboardLayout *keyboardLayout = (const UCKeyboardLayout *)CFDataGetBytePtr(layoutData);
20140908 05:49:33 <magaio> will attach in a sec and the developer info
20140908 05:50:42 <sgothel> doesn't ring a bell .. not that we do anything .. hmm
20140908 05:51:05 <sgothel> const UCKeyboardLayout *keyboardLayout = (const UCKeyboardLayout *)CFDataGetBytePtr(layoutData);
20140908 05:51:42 <sgothel> CKCH_CreateCodeToCharDict
20140908 05:51:46 <sgothel> CKCH_CreateDictionaries
20140908 05:52:04 <sgothel> NewtMacWindow -initNatives:
20140908 05:56:22 <sgothel> CFDataRef layoutData = (CFDataRef) TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData);
20140908 05:56:25 <sgothel> returns NULL ?
20140908 05:56:53 <sgothel> you have a keyboard connected ?
20140908 05:57:49 <magaio> sgothel: Yes I do, Leopold tenkeyless
20140908 05:58:08 <sgothel> CFDataRef layoutData = (CFDataRef) TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData);
20140908 05:58:08 <sgothel> const UCKeyboardLayout *keyboardLayout = (const UCKeyboardLayout *)CFDataGetBytePtr(layoutData);
20140908 05:58:18 <sgothel> ^^ can you hack in a NULL check .. ?
20140908 05:58:49 <sgothel> CKCH_USCodeToNNChar <- shall be NULL in such case ..
20140908 05:58:59 <magaio> ok
20140908 05:59:12 <magaio> Going to see if I can set a breakpoint as well
20140908 06:01:52 <sgothel> static void CKCH_CreateDictionaries() {
20140908 06:01:52 <sgothel> TISInputSourceRef currentKeyboard = TISCopyCurrentKeyboardInputSource();
20140908 06:01:52 <sgothel> if( NULL != currentKeyboard ) {
20140908 06:01:52 <sgothel> CKCH_USCodeToNNChar = CKCH_CreateCodeToCharDict(currentKeyboard);
20140908 06:01:52 <sgothel> CFRelease(currentKeyboard);
20140908 06:01:53 <sgothel> }
20140908 06:01:56 <sgothel> and
20140908 06:02:03 <sgothel> static CFMutableDictionaryRef CKCH_CreateCodeToCharDict(TISInputSourceRef keyboard) {
20140908 06:02:04 <sgothel> CFDataRef layoutData = (CFDataRef) TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData);
20140908 06:02:04 <sgothel> if( NULL == layoutData ) {
20140908 06:02:04 <sgothel> return NULL;
20140908 06:02:04 <sgothel> }
20140908 06:02:04 <sgothel> const UCKeyboardLayout *keyboardLayout = (const UCKeyboardLayout *)CFDataGetBytePtr(layoutData);
20140908 06:02:16 <sgothel> NewtMacWindow.m <- here ofc
20140908 06:05:03 <sgothel> https://lists.apple.com/archives/cocoa-dev/2009/Aug/msg01510.html
20140908 06:05:41 <sgothel> if patch works .. lets inject it for this release
20140908 06:05:54 <sgothel> we then have to create a proper solution for 2.3.0
20140908 06:07:54 <sgothel> https://jogamp.org/bugzilla/attachment.cgi?id=639&action=edit <- works ?
20140908 06:09:59 <magaio> sgothel: Oh! Patch already
20140908 06:10:01 <magaio> I got the root cause
20140908 06:10:18 <sgothel> shoot
20140908 06:10:31 <magaio> OS X Kotoeri keyboard layout set to romaji (for quick switching between Japanese/English)
20140908 06:10:41 <magaio> switching back to US - no problems
20140908 06:10:41 <sgothel> ha!
20140908 06:10:49 <sgothel> so does patch work ?
20140908 06:11:30 <magaio> checking now
20140908 06:11:32 <sgothel> I would need to know which patch works (mine or yours) .. so we can apply the exact code :)
20140908 06:11:39 <magaio> I'll try yours first
20140908 06:11:51 <sgothel> thank you
20140908 06:12:13 <sgothel> and then .. we need to learn .. how to make it work .. (after it won't crash anymore .. hehe)
20140908 06:13:58 <sgothel> https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.2.1 <- add Bug 1065
20140908 06:14:06 <sgothel> *added*
20140908 06:19:08 <magaio> sgothel: Your patch fixes the crash!
20140908 06:19:36 <sgothel> thank your for identifying the issue ..
20140908 06:19:41 <sgothel> hmm ..
20140908 06:19:50 <magaio> My pleasure, thanks for working through it with me
20140908 06:20:54 <sgothel> so why doesn't it work ? b/c the current layout ain't unicode ?
20140908 06:22:08 <magaio> sgothel: I think keyboard layouts that have sublayout categories in general will return NULL from TISGetInputSourceProperty
20140908 06:22:59 <sgothel> so how to do it then ? the keyChar unicode mapping we need .. hmm
20140908 06:24:07 <magaio> sgothel: Hm, you know, I think Kotoeri might only be kchr keyboard layouts
20140908 06:24:14 <magaio> that's really disappointing, I didn't know that
20140908 06:25:14 <sgothel> TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData) returns NULL
20140908 06:25:14 <sgothel> with keyboard layouts that have sublayout categories.
20140908 06:25:17 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20140908 06:25:17 <sgothel> ^^ right ?
20140908 06:25:20 <magaio> yes
20140908 06:25:32 <sgothel> and you enable/disable such ? how ?
20140908 06:26:00 <sgothel> i.e. how can I simulate this w/o hardware ?
20140908 06:26:45 <magaio> Yes, you can simulate it by going to System Preferences -> Keyboard -> Input Sources and adding Kotoeri - that will give you a system ui menu item in top right
20140908 06:27:15 <magaio> sgothel: I'm not super familiar with TIS, but I think it's just that, if you have a parent input source with categories, you need to go down one level to the children
20140908 06:27:24 * xranby (~xranby@anon) has joined #jogamp
20140908 06:40:09 <magaio> sgothel: There might be an alternative to this Carbon API as well for getting this key code -> char mapping. I'll see if I can find out more sometime. Thanks again for the fix! I'll stop by later
20140908 06:40:25 <sgothel> thank you!
20140908 06:57:14 * monsieur_max (~maxime@anon) has joined #jogamp
20140908 07:57:46 <xranby> sgothel: small jogl-demos update https://github.com/xranby/jogl-demos/commit/3d742578d5bd6a65fd0f4cf669bbc0565cd8ec4c
20140908 07:58:01 <xranby> can we automate these version bumps?
20140908 08:11:08 <sgothel> you could auto-generate it .. and/or use the gluegen's jogamp-env version props (ant)
20140908 08:12:02 <sgothel> you could make it 2.2.1 now
20140908 08:12:12 <sgothel> I like to finish that bugfix version
20140908 08:12:32 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_823-joal_564-jogl_1343-jocl_1009/
20140908 08:24:08 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_823-joal_564-jogl_1343-jocl_1009-signed/
20140908 08:24:19 <sgothel> ^^ that should be 2.2.1 if nobody objects ..
20140908 08:34:36 * [Mike] (~Mike]@anon) Quit ()
20140908 08:36:42 * jvanek (jvanek@anon) has joined #jogamp
20140908 08:52:18 <sgothel> ok 2.2.1 is getting out
20140908 08:52:31 <xranby> \o/
20140908 08:57:04 <monsieur_max> yesh !
20140908 09:03:19 <sgothel> ok - maven @ jogamp deployed and links in deployment updated .. now generating source 7z .. and webpage
20140908 09:23:53 <sgothel> source, changelogs up .. git tagged, signed
20140908 09:30:16 <sgothel> https://jogamp.org/wiki/index.php/Release_2.2.1
20140908 09:33:10 * bbbruce_ (~bx@anon) has joined #jogamp
20140908 09:33:58 * bbbruce (~bx@anon) Quit (Ping timeout: 260 seconds)
20140908 09:33:58 * bbbruce_ is now known as bbbruce
20140908 09:38:09 <sgothel> @Mark: 2.2.1 maven -> central, pls :)
20140908 09:43:24 <sgothel> http://forum.jogamp.org/2-2-1-Release-td4033085.html
20140908 09:43:59 <sgothel> 1 month + 1 day after 2.2.0
20140908 09:44:10 * monsieur_max1 (~maxime@anon) has joined #jogamp
20140908 09:44:12 <sgothel> hope this buys some time for fun stuff now :)
20140908 09:47:08 * monsieur_max (~maxime@anon) Quit (Ping timeout: 276 seconds)
20140908 09:53:21 <sgothel> ok .. I have to go now .. laters, good morning and good luck
20140908 09:58:16 * monsieur_max1 is now known as monsieur_max
20140908 11:19:00 * hija (~hija@anon) has joined #jogamp
20140908 11:59:00 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140908 13:50:59 <rmk0> .o.
20140908 13:52:37 * rmk0 pushes to central
20140908 15:17:30 * [Mike] (~Mike]@anon) has joined #jogamp
20140908 15:48:07 <rmk0> pushed!
20140908 15:51:50 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140908 16:05:49 * kermyt (~kermyt@anon) Quit (Ping timeout: 260 seconds)
20140908 16:08:10 * kermyt (~kermyt@anon) has joined #jogamp
20140908 16:59:05 * hija (~hija@anon) Quit (Quit: hija)
20140908 17:02:45 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20140908 17:04:51 * xranby (~xranby@anon) has joined #jogamp
20140908 17:50:11 * monsieur_max (~maxime@anon) has joined #jogamp
20140908 18:11:53 * hija (~hija@anon) has joined #jogamp
20140908 18:16:04 <sgothel> @Mark: Thank you!
20140908 18:31:15 <sgothel> BTW .. release 2.2.1 started this morning began like a thriller, build just done and there comes a new OSX bug report http://jogamp.org/log/irc /jogamp_20140907050542.html#l63 .. which was solved 3 hours later :)
20140908 18:34:16 <sgothel> I still love it :) "Current version 2.3.0 (2.3.0-rc-20140908) is not BACKWARD_COMPATIBLE_USER to previous version 2.2.0 (2.2.0), but NON_BACKWARD_COMPATIBLE "
20140908 18:34:49 <sgothel> (still get excited I mean :)
20140908 18:35:34 <sgothel> (and we all have to bow down to Mark driving this feature)
20140908 19:29:09 <bbbruce> has anyone tried saving compressed dds formats?
20140908 19:29:55 <bbbruce> I run into this exception: javax.media.opengl.GLException: format 0x83f0 not supported [yet], pls notify the maintainer in case this is our bug.
20140908 19:31:09 <bbbruce> that would be GL_COMPRESSED_RGB_S3TC_DX1_EXT
20140908 19:38:26 <sgothel> hmm ..
20140908 19:38:35 <sgothel> need more info -> do a bug report pls ..
20140908 19:38:52 <sgothel> btw - you can also do a fix and use git to offer it
20140908 19:39:05 <sgothel> S3TC .. sounds so ES3/GL4'ish ..
20140908 19:39:30 <bbbruce> it should be quite a bit older than that
20140908 19:39:54 <bbbruce> https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/util/texture/TextureIO.html mentions it would be possible to save those formats
20140908 19:40:31 <sgothel> oh .. was confused w/ one of the 'newer' fmts
20140908 19:41:29 <bbbruce> it seems like GLBuffers.componentCount does not support any of the compressed formats
20140908 19:42:07 <sgothel> right .. hard to do 'eh ?
20140908 19:42:48 <sgothel> if you find a 'viable' solution .. hmm, w/o [allowing to] read[ing] too much memory ..
20140908 19:43:19 <sgothel> problem is a possible mmap .. or even native readpixel ..
20140908 19:46:55 * Kevin (49b4e79f@anon) has joined #jogamp
20140908 19:47:19 * Kevin is now known as Guest69421
20140908 19:47:46 * Guest69421 (49b4e79f@anon) Quit (Client Quit)
20140908 20:00:16 <rmk0> ♥ semver
20140908 20:13:05 * xranby (~xranby@anon) Quit (Ping timeout: 276 seconds)
20140908 20:26:46 * hija (~hija@anon) Quit (Quit: hija)
20140908 20:29:37 * xranby (~xranby@anon) has joined #jogamp
20140908 20:56:57 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140908 21:52:24 * hija (~hija@anon) has joined #jogamp
20140908 21:55:43 * hija (~hija@anon) Quit (Read error: No route to host)
20140908 21:56:45 * hija (~hija@anon) has joined #jogamp
20140909 01:00:17 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20140909 01:03:17 * xranby (~xranby@anon) has joined #jogamp
20140909 02:02:38 * [Mike] (~Mike]@anon) Quit ()
20140909 02:20:57 * kermyt (~kermyt@anon) Quit (Ping timeout: 246 seconds)
20140909 02:23:42 * kermyt (~kermyt@anon) has joined #jogamp
20140909 02:46:14 * [Mike] (~Mike]@anon) has joined #jogamp
20140909 03:09:22 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20140909 03:11:35 * xranby (~xranby@anon) has joined #jogamp
20140909 03:38:44 * hija (~hija@anon) Quit (*.net *.split)
20140909 03:42:43 * hija (~hija@anon) has joined #jogamp
20140909 05:05:42 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140909050542.html