#jogamp @ irc.freenode.net - 20150721 05:05:24 (UTC)
20150721 05:05:24 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150720050524.html
20150721 05:05:24 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150721050524.html
20150721 06:30:12 * elect (~elect@anon) has joined #jogamp
20150721 06:31:00 <elect> hi
20150721 07:17:56 * monsieur_max (~maxime@anon) has joined #jogamp
20150721 07:22:51 <elect> sgothel, you there?
20150721 07:27:41 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 07:29:23 * elect (~elect@anon) has joined #jogamp
20150721 07:46:59 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 07:50:27 * elect (~elect@anon) has joined #jogamp
20150721 07:59:59 <elect> Cannot connect to repository at http://jogamp.org/git/?p=jogl.git
20150721 08:00:02 <elect> why?
20150721 08:02:25 <xranby> elect: do you clone using the git://jogamp.org/srv/scm/jogl.git url?
20150721 08:02:39 <xranby> OR http://jogamp.org/srv/scm/jogl.git ?
20150721 08:03:13 <xranby> the url you pasted is only a web frontend
20150721 08:03:43 <elect> I copied the link from the howToBuild jogl
20150721 08:03:53 <xranby> on which page?
20150721 08:03:57 <elect> https://jogamp.org/jogl/doc/HowToBuild.html
20150721 08:04:06 <elect> Optain the source code using git:
20150721 08:04:59 <xranby> the manual reads: git clone --recurse-submodules git://jogamp.org/srv/scm/jogl.git jogl
20150721 08:05:12 <xranby> did you do that?
20150721 08:05:19 <elect> no
20150721 08:06:01 <elect> ok
20150721 08:06:05 <elect> it works, thanks
20150721 08:06:10 <xranby> cheers :)
20150721 08:07:45 <xranby> elect: shout if you run into any issues during the build
20150721 08:16:20 <elect> I built gluegen
20150721 08:16:45 <elect> a lot of errors in Netbeans project view
20150721 08:16:52 <elect> but it seems it built it
20150721 08:20:29 <elect> same jogl
20150721 08:22:33 <elect> I cant run junit tests
20150721 08:22:34 <elect> Caused by: java.lang.ClassNotFoundException: com.jogamp.junit.util.SingletonJunitCase
20150721 08:27:31 <elect> plenty of errors
20150721 08:27:55 <elect> for example, gluegen, com.jogamp.common.nio.PointBuffer
20150721 08:28:08 <elect> cant find com.jogamp.common.util.LongObjectHashMap
20150721 08:28:30 <elect> it is really frustating
20150721 08:30:17 <elect> http://jogamp.org/git/?p=gluegen.git;a=tree;f=src/java/com/jogamp/common/util;h=5a153738cbc36e1e00044f37bd2e410b4d4aa9f5;hb=HEAD, no LongObjectHahMap
20150721 08:45:19 <xranby> elect: do you have some old version of jogl on the netbeans classpath?
20150721 08:46:11 <xranby> elect: can you build jogl using the build instructions? that is cd gluegen/make and run ant then cd jogl/make and run ant
20150721 08:46:35 <elect> I built it via gui
20150721 08:46:39 <elect> I'll try
20150721 08:48:50 <elect> gluegen still builds
20150721 08:48:55 <elect> jogl doesnt
20150721 08:49:05 <elect> BUILD FAILED
20150721 08:49:05 <elect> D:\Documents\NetBeansProjects\jogamp\jogl\make\build.xml:71: The following error occurred while executing this line:
20150721 08:49:05 <elect> D:\Documents\NetBeansProjects\jogamp\jogl\make\build-nativewindow.xml:773: Can't load javah
20150721 08:50:11 <elect> I guess it has to do with java-tool.jar
20150721 08:52:36 <elect> anyway, do you have com.jogamp.common.util.LongObjectHashMap?
20150721 08:52:40 <elect> xranby,
20150721 08:55:12 <xranby> elect: LongObjectHashMap.java is generated by gluegen during the gluegen build
20150721 08:57:26 <xranby> elect: the glugen ant build.xml generates the file during the generate-hash-maps ant target
20150721 08:57:40 <elect> yeah, I got it
20150721 08:58:23 <elect> it's crap, I have tools.jar in my x64 java
20150721 08:58:26 <elect> but not in my x32
20150721 08:58:27 <elect> ..
20150721 08:58:36 <elect> Im gonna try to reinstall it again
20150721 08:59:18 <xranby> elect: try install a JDK on your x32 machine
20150721 08:59:50 <xranby> its likely that you only have a JRE installed on that machine
20150721 09:11:01 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 09:13:54 * jvanek (jvanek@anon) has joined #jogamp
20150721 09:15:16 * elect (~elect@anon) has joined #jogamp
20150721 09:18:53 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 09:19:55 * elect (~elect@anon) has joined #jogamp
20150721 09:21:46 <elect> xranby, https://gist.github.com/elect86/2ccf72e681d968701f33
20150721 09:22:55 <elect> it seems it cant find git
20150721 09:23:01 <elect> although I installed it
20150721 09:27:51 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 09:29:28 * elect (~elect@anon) has joined #jogamp
20150721 09:30:17 <elect> cygwin didnt work
20150721 09:30:38 <elect> msysgit did
20150721 09:30:45 <elect> but still cant find sed
20150721 09:32:04 <elect> any tips?
20150721 09:43:07 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 09:43:56 * elect (~elect@anon) has joined #jogamp
20150721 09:45:38 <elect> no more error in console
20150721 09:45:44 <elect> but still error on classes
20150721 09:46:51 <elect> ah no wait, still tools.jar
20150721 09:50:49 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 09:51:37 * elect (~elect@anon) has joined #jogamp
20150721 09:52:54 <elect> no errors, xranby
20150721 09:53:00 <elect> still class errors
20150721 09:54:01 <elect> https://gist.github.com/elect86/adea7685b19296065cd3
20150721 10:01:56 <xranby> ^BUILD SUCCESSFUL .. looks good :)
20150721 10:02:49 <xranby> init: [exec] Result: -1073741515
20150721 10:02:52 <xranby> hmm
20150721 10:11:41 <xranby> elect: did you try to run ant junit.run ?
20150721 10:11:55 <xranby> inside the gluegen/make dir ?
20150721 10:18:38 <xranby> I cant see any class errors when I look at your logfile
20150721 11:20:22 <elect> what you mean?
20150721 11:20:29 <elect> I enter the dir and I run it
20150721 11:20:42 <elect> the output you saw it is the ant
20150721 11:29:30 <xranby> elect: the output from ant looked good, like what to be expected. therefore i ask if you have tried to run ant junit.run to verify that your build work
20150721 11:29:52 <elect> from inside /gluegen/make/?
20150721 11:30:47 <xranby> yes
20150721 11:32:27 <elect> running
20150721 11:37:34 * eclesia (~husky@anon) has joined #jogamp
20150721 11:37:44 <eclesia> hi
20150721 11:40:21 <elect> https://gist.githubusercontent.com/elect86/1375f6a209b7f6b34811/raw/9250f8a44e28f2b8ead8b3b32d3c2476bb93d66e/Gluegen
20150721 11:40:54 <elect> wall of text, be careful
20150721 11:41:00 <elect> you can jump right at the end
20150721 11:44:43 <xranby> eclesia: hello!
20150721 11:45:46 <eclesia> xranby: o/
20150721 11:50:06 <xranby> elect: Could not initialize class com.jogamp.common.os.Platform <-it looks like your build is indeed broken, i would suggest that you try remove your gluegen/build directory and restart the build from scratch now that you have the build dependencies installed
20150721 11:50:48 <elect> ok, I'll try
20150721 11:50:53 <xranby> remove the gluegen/build-x86_64 directory as well
20150721 11:51:37 <elect> PS D:\Documents\NetBeansProjects\jogamp\gluegen> ls
20150721 11:51:38 <elect> Verzeichnis: D:\Documents\NetBeansProjects\jogamp\gluegen
20150721 11:51:38 <elect> Mode LastWriteTime Length Name
20150721 11:51:38 <elect> ---- ------------- ------ ----
20150721 11:51:38 <elect> d---- 21.07.2015 10:12 .externalToolBuilders
20150721 11:51:39 <elect> d---- 21.07.2015 11:51 build
20150721 11:51:40 <elect> d---- 21.07.2015 10:15 build-temp
20150721 11:51:43 <elect> d---- 21.07.2015 10:12 doc
20150721 11:51:44 <elect> d---- 21.07.2015 10:13 jcpp
20150721 11:51:46 <elect> d---- 21.07.2015 10:12 jnlp-files
20150721 11:51:49 <elect> d---- 21.07.2015 13:38 make
20150721 11:51:50 <elect> d---- 21.07.2015 10:12 nbproject
20150721 11:51:52 <elect> d---- 21.07.2015 10:12 src
20150721 11:51:54 <elect> d---- 21.07.2015 10:12 test
20150721 11:51:58 <elect> d---- 21.07.2015 10:12 www
20150721 11:52:00 <elect> -a--- 21.07.2015 10:12 1963 .classpath
20150721 11:52:02 <elect> -a--- 21.07.2015 10:12 88 .gitignore
20150721 11:52:04 <elect> -a--- 21.07.2015 10:12 50 .gitmodules
20150721 11:52:06 <elect> -a--- 21.07.2015 10:12 137 .htaccess
20150721 11:52:08 <elect> -a--- 21.07.2015 10:12 905 .project
20150721 11:52:11 <elect> -a--- 21.07.2015 10:12 1171 gluegen.iml
20150721 11:52:13 <elect> -a--- 21.07.2015 10:12 8338 LICENSE.txt
20150721 11:52:14 <elect> -a--- 21.07.2015 10:12 775 Makefile
20150721 11:52:17 <elect> PS D:\Documents\NetBeansProjects\jogamp\gluegen>
20150721 11:52:19 <elect> I will remove both build and build-temp, ok?
20150721 11:52:22 <xranby> when jogamp build gluegen for x86_64 then all tests pass: https://jogamp.org/chuck/job/gluegen/label=win7-x86_64-amd/lastCompletedBuild/testReport/
20150721 11:52:31 <xranby> yes remmove both build and build-temp
20150721 11:54:34 <elect> now it fails
20150721 11:55:09 <elect> https://gist.github.com/elect86/d38dccbbcd414e7cbc73
20150721 11:57:20 <xranby> elect: looks to me that you have a mixed i386 and x86_64 system your linker refuses to link object files targeting different architectures
20150721 11:58:12 <xranby> [cc] c:/program files/mingw-builds/x64-4.8.1-win32-sjlj-rev5/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../. ./../../x86_64-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `JarUtil.o' is incompatible with i386 output
20150721 11:58:43 <elect> brb
20150721 11:59:42 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 12:00:40 * elect (~elect@anon) has joined #jogamp
20150721 12:10:36 <elect> https://gist.github.com/elect86/e64f56bf705cb691cc57
20150721 12:12:44 <elect> successfull, but yet many errors in classes
20150721 13:05:33 <xranby> elect: what kind of errors do you see? i see no errors in https://gist.github.com/elect86/e64f56bf705cb691cc57
20150721 13:05:54 <elect> in the classes
20150721 13:06:26 <elect> xranby, for example, com.jogamp.gluegen.ant.GlueGenTask.java
20150721 13:06:32 <elect> all the import are unknown
20150721 13:06:53 <elect> import org.apache.tools.ant.BuildException;
20150721 13:06:53 <elect> import org.apache.tools.ant.DirectoryScanner;
20150721 13:06:53 <elect> import org.apache.tools.ant.Project;
20150721 13:06:53 <elect> import org.apache.tools.ant.Task;
20150721 13:06:53 <elect> import org.apache.tools.ant.taskdefs.Execute;
20150721 13:06:54 <elect> import org.apache.tools.ant.taskdefs.LogStreamHandler;
20150721 13:06:56 <elect> import org.apache.tools.ant.types.AbstractFileSet;
20150721 13:06:58 <elect> import org.apache.tools.ant.types.CommandlineJava;
20150721 13:07:02 <elect> import org.apache.tools.ant.types.DirSet;
20150721 13:07:04 <elect> import org.apache.tools.ant.types.FileSet;
20150721 13:07:06 <elect> import org.apache.tools.ant.types.Path;
20150721 13:07:08 <elect> import org.apache.tools.ant.types.PatternSet;
20150721 13:07:10 <elect> import org.apache.tools.ant.types.Reference;
20150721 13:07:12 <elect> import org.apache.tools.ant.util.JavaEnvUtils;
20150721 13:11:59 <xranby> GlueGenTask only exist on one line in the log you posted https://gist.github.com/elect86/e64f56bf705cb691cc57#file-gistfile1-txt-L243 and that is only a warning. when do you see these import errors for the ant classes? (all those classes are supposed to be found in the ant jar)
20150721 13:14:21 <xranby> AbstractFileSetTest is found in the ant ant-testutil.jar
20150721 13:14:33 <xranby> maybe your ant installation is broken?
20150721 13:15:07 <xranby> http://ant.apache.org/manual/install.html
20150721 13:15:55 <xranby> double check that you have done step 4 and 5
20150721 13:49:46 <elect> I am using ant from netbena
20150721 13:50:09 <elect> I discovered netbeans ant doesnt have any fetch.xml
20150721 13:50:28 <elect> im gonna modify again the environment variables
20150721 13:51:23 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 13:55:23 * elect (~elect@anon) has joined #jogamp
20150721 13:57:49 * doev (~doev@anon) has joined #jogamp
20150721 14:03:36 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 14:08:34 * elect (~elect@anon) has joined #jogamp
20150721 14:09:01 <sgothel> this 'how-to' compile support seems to get quite excessive and hence expensive (time, ..) - wonder why you (@eclesia) could not follow our official how-to .. and even my advise (use vanilla ant)
20150721 14:09:25 <eclesia> ?
20150721 14:09:41 <sgothel> sorry - I meant @elect ..
20150721 14:09:42 <eclesia> sgothel: elect
20150721 14:09:45 <eclesia> ^^
20150721 14:09:45 <sgothel> Giuseppe ..
20150721 14:10:29 <elect> JAVA_HOME C:\Program Files\Java\jdk1.8.0_45\jre\bin, ANT_HOME D:\Documents\apache-ant-1.9.6 PATH D:\Documents\apache-ant-1.9.6\bin;C:\Program Files\Java\jdk1.8.0_45\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files\mingw-builds\x64-4.8.1-win32-sjlj-rev5\mingw64\bi
20150721 14:10:29 <elect> n;C:\Program Files\NetBeans 8.0.1\extide\ant\bin;C:\Program Files\Internet Explorer;C:\Program Files (x86)\NVIDIA Corporation\Cg\bin;C:\Program Files (x86)\NVIDIA Corporation\Cg\bin.x64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\CMake\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Git\cmd;D:\Downloads\sed-4.2.1-bin\bin
20150721 14:10:42 <elect> pass 5 executed
20150721 14:10:49 <elect> nothing changed
20150721 14:11:02 <elect> I did
20150721 14:11:10 <elect> I followed the how to
20150721 14:11:24 <sgothel> @elect: I recommend you set up a vanilla machine w/ recommended software - and I promise it will just work
20150721 14:11:44 <elect> I dont have such a machine right now
20150721 14:11:44 <sgothel> we had these discussions alot on forum .. and all turned out to have tools wrongly setup
20150721 14:12:01 <elect> I have nothing else than netbeans and jdk
20150721 14:12:21 <elect> I have jdk 1.8 both x32 and x64
20150721 14:12:38 <elect> I had Ant through Netbeans, and I switched later to vanilla
20150721 14:12:43 <sgothel> you are not working for 'reknow'? no extra machines avail?
20150721 14:13:01 <elect> I followed the instructions http://ant.apache.org/manual/install.html
20150721 14:13:11 <sgothel> whatever - you have to follow the vanilla setup as instructed in our web-page
20150721 14:13:23 <elect> I downloaded cygwin, looked for the git and installed it
20150721 14:13:27 <elect> it couldnt find it
20150721 14:13:28 <sgothel> if that works .. you maybe like to go ahead and swizzle stuff
20150721 14:13:35 <elect> I did it another time, no success
20150721 14:13:42 <elect> I installed then msysgit
20150721 14:13:44 <elect> it worked
20150721 14:13:58 <elect> I installed the mingw64
20150721 14:14:02 <sgothel> well .. I use git from cygwin .. whatever
20150721 14:14:02 <elect> mingw-build-install
20150721 14:14:03 <elect> version: 4.8.1
20150721 14:14:03 <elect> host: x64
20150721 14:14:03 <elect> threading: win32
20150721 14:14:03 <elect> exceptions: SJLJ
20150721 14:14:03 <elect> revision: 5
20150721 14:14:14 <sgothel> and that is the version I recommended?
20150721 14:14:17 <sgothel> good
20150721 14:14:27 <elect> I checked out gluegen in netbeansProjects/jogamp/gluegen
20150721 14:14:35 <elect> and jogl in netbeansProjects/jogamp/jogl
20150721 14:14:40 <sgothel> if I read netbeans I get a headache
20150721 14:14:50 <sgothel> but yeah .. relative path is OK
20150721 14:14:53 <elect> I built the additional submodules
20150721 14:15:03 <sgothel> so make sure CLASSPATH is unset .. etc .. and it will all work out well
20150721 14:15:03 <elect> I dont have any CLASSPATH environment variable
20150721 14:15:08 <sgothel> good
20150721 14:15:14 <elect> I switch to gluegen/make and type ant
20150721 14:15:25 <sgothel> so when you build x64 target you need to use x64 jvm ofc .. etc
20150721 14:15:32 <elect> I think I followed the steps
20150721 14:15:35 <sgothel> and the x64 mingw target compiler
20150721 14:16:11 <sgothel> well .. then you should be fine .. re-validate everything step by step .. and that shall be it
20150721 14:16:26 <sgothel> check that your PATH doesn't contain anything odd by accident
20150721 14:16:46 <sgothel> and yours has alot crap in it, like Skype .. :)
20150721 14:17:09 <elect> what can I do, I need that unfortunately
20150721 14:18:31 <sgothel> argh ,.. setup your PATH for compilation properly .. i.e. just the essentials
20150721 14:34:51 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150721 14:35:47 * elect (~elect@anon) has joined #jogamp
20150721 14:43:28 <xranby> good evening all
20150721 14:43:35 <sgothel> goody
20150721 14:44:50 <xranby> what bugs are we working on before the release?
20150721 14:45:00 <sgothel> ha .. :)
20150721 14:45:17 <sgothel> I currently walk down the github mails/pull-req ..
20150721 14:45:22 <sgothel> and one things jumped my eye ..
20150721 14:45:38 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=1160
20150721 14:45:47 <sgothel> http://forum.jogamp.org/Context-sharing-between-offscreen-drawable-and-external-GL-context-td4034536.html
20150721 14:45:59 <sgothel> And hence .. validate Bug 1158 and Bug 1146
20150721 14:46:32 <sgothel> in short .. some Windows !ARB GLContext issues .. w/ offscreen (-> GL 1.1)
20150721 14:48:21 <elect> I reinstalled once again vanilla ant, followed all the steps to 5, but it doesnt work, gluegen dont have those ant tools. I give up, thanks again for your time xranby
20150721 14:49:05 <sgothel> @elect: on a vanilla machine?
20150721 14:49:26 <xranby> sgothel: microsoft has cloned the chromium angle opengl -> d3d project and tease .net developers to use it for all their opengl needs
20150721 14:49:34 <elect> next time I get the chance
20150721 14:49:53 <xranby> its the first time i see microsoft push anything opengl during the last ... 15? years
20150721 14:49:59 <sgothel> @elect: good - and you are welcome here as well
20150721 14:50:25 <xranby> elect: i still do not know when you see the glugen ant issues, all logs you sent me looks fine :)=
20150721 14:50:27 <sgothel> so its GL 1.1 -> ES2 .. hehe
20150721 14:53:09 <xranby> sgothel: yup.. looks like it.. lib angle cointain partial support for ES3 as well
20150721 14:54:54 <xranby> https://msopentech.com/blog/2015/06/03/angle-for-windows-store-is-now-available-via-nuget/
20150721 14:56:02 <xranby> i guess they had to do it, when they realized no-one would port mobile opengl games to direct 3d
20150721 14:56:37 <xranby> thus an opengl driver was required or else no candy crush on their devices
20150721 14:58:09 <xranby> so this brings up the question, should we earmark to bundle angle as a fallback for windows?
20150721 15:09:53 * jvanek (jvanek@anon) Quit (*.net *.split)
20150721 15:10:36 * elect (~elect@anon) Quit (Ping timeout: 264 seconds)
20150721 15:11:47 <xranby> earmarked -> https://jogamp.org/bugzilla/show_bug.cgi?id=1179 - Provide fallback OpenGL ES 2 & 3 implementation using lib ANGLE on Windows
20150721 15:16:52 * jvanek (jvanek@anon) has joined #jogamp
20150721 15:17:22 * jvanek (jvanek@anon) Quit (Client Quit)
20150721 15:19:16 <xranby> personally I am working on https://jogamp.org/bugzilla/show_bug.cgi?id=1178 at my spare time
20150721 15:23:40 <monsieur_max> is the save date of the file
20150721 15:25:57 <xranby> monsieur_max: hi!
20150721 15:27:15 <monsieur_max> ... wtf
20150721 15:27:23 <monsieur_max> sorry wrong window
20150721 15:27:31 <monsieur_max> xranby : but hi ;)
20150721 15:27:49 <xranby> we can assist you if you tell us more about your setup
20150721 15:49:40 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150721 16:09:07 * eclesia (~husky@anon) has left #jogamp
20150721 16:48:30 * doev (~doev@anon) Quit (Ping timeout: 244 seconds)
20150721 17:06:01 * monsieur_max (~maxime@anon) has joined #jogamp
20150721 18:37:59 * Eclesia (~eclesia@anon) has joined #jogamp
20150721 18:49:26 * elect (~elect@anon) has joined #jogamp
20150721 19:34:31 * juank_prada (~juank_pra@anon) has joined #jogamp
20150721 19:42:49 * juank_prada (~juank_pra@anon) Quit (Quit: Leaving)
20150721 20:43:17 * elect (~elect@anon) Quit (Ping timeout: 240 seconds)
20150721 20:58:57 * Eclesia *pom pom pom*
20150721 20:59:17 <sgothel> da da da ... daaaaa
20150721 21:00:00 <sgothel> welcome to the nightshift :)
20150721 21:05:54 <Eclesia> DDS ATI1,ATI2,BC4,BC5 on the run for this nightshift :)
20150721 21:06:33 <Eclesia> and perhaps starting DX10 if it goes smoothly
20150721 21:06:56 <Eclesia> sgothel: and you ?
20150721 21:07:53 <sgothel> good question :) just finished some kitchen/housework .. reading news .. hmm, then look at those bugs mentioned earlier .. and then .. yawn .. sleep :)
20150721 21:08:29 <sgothel> at least I am done w/ paperwork .. good grief
20150721 21:10:49 <Eclesia> good thing
20150721 21:11:26 * Eclesia is making some efforts to seduce elect and perhaps have another user for the lib \o/
20150721 21:11:54 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150721 21:12:41 <sgothel> well, I would be happy if he ports some his his ported stuff to 'plain' JOGL first - for jogl unit tests and/or jogl-demos :)
20150721 21:13:41 <sgothel> .. and he gets it to compile .. wonder what that fuss is all about, so we might need to add *use a clean machine* to the how-to :)
20150721 21:27:28 <Eclesia> sgothel: are 'half' primitive type often use in 3d ?
20150721 21:27:42 <Eclesia> 16bits float
20150721 21:28:26 <sgothel> one use case I know of .. HDR .. 16bit half-float textures
20150721 21:28:45 <sgothel> Mark was so kind to add conversion utils ..
20150721 21:29:20 <sgothel> otherwise .. i.e. generic math .. not really
20150721 21:29:55 <Eclesia> hm.. then I should add it in the list of primitive types in my image api
20150721 21:30:17 <sgothel> com.jogamp.opengl.math.Binary16 .. and the like
20150721 21:30:29 <Eclesia> already have the math somewhere ^^
20150721 21:31:17 <Eclesia> but if you have 128bits float (long double) operators I'm interested :D
20150721 21:31:49 <sgothel> holy moly .. such precision for what use case? :)
20150721 21:32:18 <sgothel> opencl maybe .. glowing machines .. hardware of 2030 :)
20150721 21:32:27 <Eclesia> we already use emulated long doubles in maps.
20150721 21:32:46 <sgothel> mapping .. what?
20150721 21:33:07 <Eclesia> for earth scale. 32bits float can give you at best metric safe precision
20150721 21:33:26 <Eclesia> 64bits float ~10 millimeters precision
20150721 21:33:56 <sgothel> 128bits ?
20150721 21:34:19 <Eclesia> but the problem is when you start to do maths, * / + - % pow and so on. math imprecision grows more and more
20150721 21:34:24 <sgothel> for those maps .. hmm, yeah
20150721 21:34:48 <sgothel> but when reading the current view section .. I hope you convert / sample them down
20150721 21:34:58 <Eclesia> when rendering yes
20150721 21:35:41 <Eclesia> but when reprojecting coordinates we analyze the math operations and decide if we must use long double or doubles
20150721 21:35:48 <sgothel> paranoia me - hope not again a military use case :-/
20150721 21:36:03 <Eclesia> we have military use cases :x
20150721 21:36:11 <Eclesia> spatial agencies too
20150721 21:36:22 <sgothel> I was contemplating to add an addendum to our license .. 'no military use' .. hmm
20150721 21:36:50 <Eclesia> I don't use Unlicense-lib at work, no worries ^^
20150721 21:37:06 <sgothel> personally I dislike such use cases - well, don't know about that
20150721 21:37:14 <sgothel> (i.e. you work for such use cases)
20150721 21:37:42 <sgothel> so while I was gathering info .. it turns our that it might be hard to define the restriction
20150721 21:38:12 <sgothel> i.e. 'not allowed for killing machines .. or leading to support such actions'
20150721 21:38:27 <sgothel> then - it might not be binding either
20150721 21:39:10 <Eclesia> I make maps not missile control systems. but yeah it's still 'helping' them ...
20150721 21:39:48 <xranby_> stop weapon export and remove the busniess case
20150721 21:39:57 <sgothel> it is hard to outline / see the ethical impact of ones work .. and also not to become ridiculous here ..
20150721 21:40:22 <sgothel> hence .. I didn't discuss this before .. just brainstorming
20150721 21:40:44 <sgothel> ofc .. any CS (computer science) work may be used for the 'wrong cause' .. etc etc, -> freedom
20150721 21:41:14 <sgothel> and sure .. probably we don't take responsibility of those action .. or do we?
20150721 21:41:21 <sgothel> that is the dilemma ..
20150721 21:43:05 <Eclesia> we must be conscious that we are responsible. same as when you paid your taxes, one part goes to the military.
20150721 21:43:21 <sgothel> for example .. the 'old font/text renderer pull request' from adbrown85 (https://github.com/sgothel/jogl/pull/47) is 'sponsored' and used my us air-force as it seems .. hence some motivation issues to merge in the first place ..
20150721 21:43:25 <sgothel> then there are others ..
20150721 21:43:53 <sgothel> indeed .. the impact of consequences would be huge .. misery to whole family
20150721 21:44:10 <sgothel> where does it start .. where does ones responsibility end
20150721 21:44:23 <sgothel> (an open question ofc)
20150721 21:45:03 <sgothel> my dear wife just would say .. at least they should pay a lot .. haha :)
20150721 21:45:17 <sgothel> (to support family etc)
20150721 21:46:26 <sgothel> oh well .. I guess it is not me to judge the world, only the mirror, myself and I
20150721 21:48:37 <Eclesia> talking for myself, coding in public domain is somehow my way to make amend.
20150721 21:50:46 <sgothel> you have the courage to talk about that - my respect for that (most are simply too afraid discussing/blogging issues)
20150721 21:51:01 <Eclesia> but if they reuse it to make evil, then it's worse ... maybe I should put hidden bugs in the lib.
20150721 21:52:25 * xranby_ (~familjen@anon) Quit (Remote host closed the connection)
20150721 21:52:34 <sgothel> and the compiler guys .. and and .. - right, that is surely off the map.
20150721 21:53:07 <Eclesia> sgothel: I've seen the consequences of chemical deseases and mines when we travel around south east asia. results of the vietnam war. Just can't ignore that
20150721 21:53:43 * xranby_ (~familjen@anon) has joined #jogamp
20150721 21:54:08 <sgothel> .. and now our tax euro pays for war in Europe (East Ukraine) .. etc .. I should not have started this thread :-(
20150721 21:55:25 <sgothel> oh well .. its probably all in the plans .. solve economics .. war .. the usual cycles
20150721 21:55:55 <Eclesia> it's a way to pay our respect at least. we consider the consequences, not just ignoring them.
20150721 21:56:27 <sgothel> awareness .. yes, I agree - the least we can do
20150721 22:02:16 <Eclesia> and voila, ATI1/ATI2 (BC4/BC5) done (but not tested)
20150721 22:03:04 <xranby_> https://www.youtube.com/watch?v=W4nSjPdT788&feature=youtu.be&t=1m53s - The New World Order - with Russel Brand & Bill de Berg (RAP NEWS 30)
20150721 22:03:51 <xranby_> this episode is so point on that we need to understand our own role in the whole
20150721 22:05:15 <sgothel> ' the truth about the NWO' :)
20150721 22:05:27 <sgothel> he almost looks like you Xerxes :)
20150721 22:05:36 <xranby_> shhh
20150721 22:05:38 <xranby_> haha
20150721 22:05:39 <sgothel> hehe
20150721 22:06:10 <sgothel> well .. I would say, the new policy seems to be 'in you face' .. i.e. no more hiding .. scare all folks
20150721 22:08:21 <sgothel> I will ask my son to find out later in a few many years .. what was going on these days, all under one blanket (US + EU + RU + .. ) or still some fighting for [resource] grounds
20150721 22:09:40 <sgothel> Daniele Ganser from Switzerland has also some nice coverage over some historical perspectives
20150721 22:11:24 <sgothel> but the sheeple doesn't care .. scared .. keeping the moneys tight together, as they are being pushed to the limits ofc .. i.e. no 'space' or 'freedom' allowing conducting these brainstorming .. even not enough time to gather information
20150721 22:11:41 <sgothel> so business as usual .. illusion .. and TPTB .. ofc
20150721 22:13:14 <sgothel> wonder how they intend to solve the issue of peak oil / 2050 .. i.e. lack of resources to feed the world w/ todays means (technique etc)
20150721 22:14:28 <sgothel> fusion .. tidal .. hope they hurry up :)
20150721 22:15:21 <sgothel> (this is what it all probably boils down to)
20150721 22:17:23 <xranby_> life is like the small bubbles on top of a rolling wave... we may think we lost it when we reach the slope behind the wav, but it is a false ending, the next wave will catch us
20150721 22:18:44 <xranby_> what i am saying is that we need to handle the fear in better ways
20150721 22:18:56 <sgothel> .. in an iterative way .. reborn .. and such - or for the fate of mankind - yup
20150721 22:19:53 * xranby_ (~familjen@anon) Quit (Remote host closed the connection)
20150721 22:20:47 * xranby_ (~familjen@anon) has joined #jogamp
20150721 22:23:49 <sgothel> handling fear needs us to accept reality, our children hopefully won't suffer .. too much. but we shall not give up trying - our 'fate' :) - or genetically implanted sole motivation to 'survive' (Freud)
20150721 22:24:18 <sgothel> survival as a worldwide group .. might be a challenge
20150721 22:33:15 * Schrostfutz (~who@anon) Quit (Ping timeout: 255 seconds)
20150721 22:33:28 * Schrostfutz_ (~who@anon) has joined #jogamp
20150721 22:38:12 <Eclesia> good night ++
20150721 22:38:17 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150722 00:03:48 * xranby_ (~familjen@anon) has left #jogamp
20150722 00:14:22 * xranby_ (~familjen@anon) has joined #jogamp
20150722 00:16:41 <xranby_> i am running into a odd exception during static initialization when i try to initialize an X11 window using
20150722 00:16:46 <xranby_> NewtFactory.createDisplay(NativeWindowFactory.TYPE_X11, null, false); on a raspberry pi
20150722 00:17:15 <xranby_> https://github.com/xranby/jogl/commit/7840949614b0a2a3cb498ff43a88bbbc57a7d2b9 <- exception stacktrace and current WIP for enhancement 1178
20150722 00:17:50 <xranby_> if i try to do the same initialization on a machine that normally use X11 then it initializes fine
20150722 00:18:59 <xranby_> sgothel: his is my current effort by reusing newt as much as possible
20150722 00:20:47 <xranby_> when implementing the X11MouseTracker
20150722 00:23:44 <xranby_> java -cp jogamp/gluegen/build/gluegen-rt.jar:jogamp/jogl/build/jar/jogl-all.jar jogamp/newt/driver/x11/X11MouseTracker
20150722 00:26:19 <sgothel> X11Util.initSingleton() not being called ?
20150722 00:26:36 <xranby_> X11Util.initSingleton() is not being called sutomagically on the raspberry pi
20150722 00:26:41 <xranby_> automagically
20150722 00:26:52 <sgothel> hack it in .. for testing purposes ..
20150722 00:31:06 <xranby_> oh that workaround one issue.. to the next.. now i hit a nullpointer exception in X11 ScreenDriver.java 124
20150722 00:31:49 <sgothel> TYPE_X11 is queried alot .. hence something is not prepared ..
20150722 00:32:07 <sgothel> yeah, in your case .. its like we want both WMs .. somewhat
20150722 00:32:19 <xranby_> we do :)
20150722 00:33:29 <sgothel> crt_ids NULL ?
20150722 00:34:16 <xranby_> https://gist.github.com/xranby/d658b9cb032cfdffed05
20150722 00:34:29 <xranby_> here is the full exception generated on the pi
20150722 00:36:07 <sgothel> Using RandR13 ?
20150722 00:36:27 <sgothel> (adding debug output ..)
20150722 00:39:11 <sgothel> getMonitorDeviceIds0: ncrtc == 0 hmm
20150722 00:39:38 <sgothel> XRRScreenResources <- buggy .. or no proper RandR support?
20150722 00:39:59 <sgothel> -Dnewt.test.Screen.disableRandR13
20150722 00:41:20 <xranby_> one moment, iwill try using your disavleRandR13 i did not get much debug output using jogl.debul=all
20150722 00:41:46 <sgothel> -Dnewt.debug=all
20150722 00:44:49 <xranby_> -Dnewt.test.Screen.disableRandR13 = made it not raise an exception,, yet i did not see any window :/
20150722 00:45:01 <xranby_> pasting logs .. one second
20150722 00:45:12 <sgothel> you sure have to do a setVisible(true) ..
20150722 00:45:25 <xranby_> i do
20150722 00:45:43 <xranby_> the mousetracker shows a windows on my x86 system
20150722 00:46:02 <xranby_> bit it fails to initialize on the pi
20150722 00:46:31 <xranby_> window.setVisible(false, true);
20150722 00:46:48 <xranby_> the false is to make it non blocking if i understood it correctly
20150722 00:47:18 <sgothel> yes
20150722 00:54:39 <xranby_> https://gist.github.com/xranby/d658b9cb032cfdffed05#gistcomment-1497806
20150722 00:55:41 <xranby_> /o\ -Dnewt.debug=all == no exception raised & no window seen :
20150722 00:56:12 <sgothel> hmm .. maybe its below a layer or something ? but you see other X11 windows I assume
20150722 00:56:36 <xranby_> yes, i use a webbrowser on the pi inside xorg to post you the gists etc
20150722 00:57:29 <sgothel> com.jogamp.nativewindow.NativeWindowException: Chosen Configuration w/o native visual ID: DefaultGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x4e93d8, owner true, NullToolkitLock[obj 0xcdbe36]], idx 0],
20150722 00:57:57 <xranby_> same initialization happen if i try to open the window across a remote ssh -X connection
20150722 00:58:25 <xranby_> as if i try to run it directly on the pi with keyboard and mouse attached
20150722 00:58:28 <sgothel> that exception aborts WindowDriver ..
20150722 00:58:34 <xranby_> oh nice
20150722 00:58:42 <xranby_> good that we have one exception
20150722 00:58:46 <xranby_> i started to get worried
20150722 00:59:35 <sgothel> ration cfg = factory.chooseGraphicsConfiguration(..
20150722 00:59:49 <sgothel> probably wrong factory .. ? lets see
20150722 01:00:16 <sgothel> factory: jogamp.nativewindow.DefaultGraphicsConfigurationFactoryImpl@c4b4ba, chosen config: DefaultGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x4e93d8, owner true, NullToolkitLock[obj 0xcdbe36]], idx 0], chosen Caps[rgba 8/8/8/0, opaque, on-scr.]], requested Caps[rgba 8/8/8/0, opaque, on-scr.]]]
20150722 01:00:52 <sgothel> X11GraphicsConfiguration <- should be
20150722 01:02:03 <sgothel> GraphicsConfigurationFactory <- X11 is not initialized .. oh dear
20150722 01:02:23 <sgothel> so .. maybe make the hack as follows: TYPE_X11 in the factory ..
20150722 01:02:49 <sgothel> and when you want to use BCM NEWT stuff .. explicitly use it (w/o NewtFactory)
20150722 01:02:54 <sgothel> just for the time being ..
20150722 01:04:18 <xranby_> hum... not sure i follow how to do that without breaking all the effort to make the BCM NEWT stuff automagically work
20150722 01:05:19 <sgothel> X11GLXDrawableFactory <- another dependency on the TYPE_* ..
20150722 01:05:39 <sgothel> oh well .. just listing dependencies right now ..
20150722 01:05:53 <xranby_> i will take a look and list more dependencies
20150722 01:05:54 <sgothel> so architecture is frozen on one WM system here
20150722 01:06:42 <xranby_> \o/ for exotic usecase want to use two windows systems at once :)
20150722 01:07:04 <xranby_> i will take a nap now.. to let my brain work tomorrow
20150722 01:07:16 <xranby_> thank you for finding this clue sgothel!
20150722 01:07:27 <sgothel> ay .. maybe we can solve this mess later on ..
20150722 01:07:31 <sgothel> good night
20150722 01:07:35 <xranby_> good night!
20150722 05:05:25 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150722050525.html