#jogamp @ irc.freenode.net - 20140403 05:05:13 (UTC)


20140403 05:05:13 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140402050513.html
20140403 05:05:13 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140403050513.html
20140403 05:10:22 * alfredchicken (~guardian@anon) Quit (Remote host closed the connection)
20140403 05:28:13 * rtl_ (~rtl@anon) has joined #jogamp
20140403 06:57:44 * hija (~hija@anon) has joined #jogamp
20140403 07:35:15 * monsieur_max (~maxime@anon) has joined #jogamp
20140403 07:36:24 <xranby> rtl_: check if you have a ~/.alsoftrc file
20140403 07:36:42 <xranby> if you have one then you need to put the hrtf = true there
20140403 07:36:56 <rtl_> xranby: nope, don't have one
20140403 07:37:10 <rtl_> I have /etc/openal/alsoft.conf though
20140403 07:37:20 <rtl_> from the code it looks like that's adequate
20140403 07:37:39 * hija (~hija@anon) Quit (Quit: hija)
20140403 07:38:00 <xranby> according to the openal-soft documentation hrtf only work if you use 44100hz playback
20140403 07:38:13 <rtl_> yep, using 44100 and 16bit
20140403 07:38:36 <xranby> and you are using heeadphones i assume
20140403 07:38:39 <rtl_> yeah
20140403 07:38:55 <xranby> .. and your head matches the KEMAR geometry?
20140403 07:39:06 <rtl_> my head was the reference :)
20140403 07:39:14 <xranby> great
20140403 07:39:42 <xranby> do you have some other hrtf test apps ?
20140403 07:39:46 <xranby> that work
20140403 07:40:05 <rtl_> is there a way to check to see if my configuration is correct here? that the hrtf mode should be on?
20140403 07:40:29 <rtl_> or some verbose mode from the c-to-java bridge
20140403 07:41:14 <rtl_> xranby: actually, hrtf-test did not seem to work
20140403 07:41:19 <xranby> best would be to make openal-soft itself verbose
20140403 07:42:56 <rtl_> is there a good way to do that?
20140403 07:44:01 * hija (~hija@anon) has joined #jogamp
20140403 07:44:50 * hija (~hija@anon) Quit (Client Quit)
20140403 07:45:30 * hija (~hija@anon) has joined #jogamp
20140403 07:46:25 * hija (~hija@anon) Quit (Client Quit)
20140403 07:49:15 <xranby> rtl_: yes you can define the ALSOFT_LOGLEVEL environment variable
20140403 07:50:11 <xranby> setting ALSOFT_LOGLEVEL=3 will say if HRTF is enabled or disabled
20140403 07:54:14 <xranby> example
20140403 07:54:15 <xranby> ALSOFT_LOGLEVEL=3 java -cp gluegen-rt.jar:jogl-all-mobile.jar:jogl-test.jar:joal.jar com.jogamp.opengl.test.junit.jogl.demos.es2.av.CrossFadePlayer PETE.avi
20140403 07:54:32 <xranby> will display
20140403 07:54:33 <xranby> AL lib: (II) GetConfigValue: Key hrtf not found
20140403 07:54:33 <xranby> AL lib: (II) UpdateDeviceParams: HRTF disabled
20140403 07:54:49 <xranby> if it fails to detect hrtf in the config file
20140403 07:56:03 <xranby> and if i put hrtf = true in the right place inside the config
20140403 07:56:07 <xranby> i will see
20140403 07:56:12 <xranby> AL lib: (II) GetConfigValue: Found hrtf = "true"
20140403 07:56:12 <xranby> AL lib: (II) GetConfigValue: Found hrtf = "true"
20140403 07:56:12 <xranby> AL lib: (II) GetConfigValue: Key hrtf_tables not found
20140403 07:56:12 <xranby> AL lib: (II) UpdateDeviceParams: HRTF enabled
20140403 07:56:35 <xranby> try put it close to the pot
20140403 07:56:37 <xranby> top
20140403 07:57:00 <rtl_> cool let me give that a shot
20140403 08:06:25 <rtl_> I'm not seeing any logs showing up. I wonder if I'm not building correctly for some reason
20140403 08:06:29 <rtl_> java -cp joal-demos.jar:../gluegen/build/gluegen-rt.jar:../joal/build/jar/joal-natives-macosx-universal:../joal/build/jar/joal.jar demos.devmaster.lesson2.LoopingAndFadeaway
20140403 08:07:06 <xranby> add some audio files at the end
20140403 08:07:15 <xranby> hmm
20140403 08:07:54 <rtl_> ~/Code/joal/make  ± master ●  ant -Djoal.openal.lib=soft
20140403 08:08:05 <rtl_> is my build command
20140403 08:08:41 <xranby> which os are you using?
20140403 08:08:50 <xranby> linux or mac os x ?
20140403 08:09:14 <rtl_> osx
20140403 08:09:17 <rtl_> mavericks
20140403 08:09:43 <xranby> ok then you need to override the openal library lookup order
20140403 08:09:49 <xranby> osx defaults to use the system openal
20140403 08:09:56 <rtl_> ah
20140403 08:11:06 <xranby> thus pass the -Djoal.openal.lib=soft to java -Djoal.openal.lib=soft -cp joal-demos.jar:../gluegen/build/gluegen-rt.jar:../joal/build/jar/joal-natives-macosx-universal:../joal/build/jar/joal.jar demos.devmaster.lesson2.LoopingAndFadeaway
20140403 08:11:10 <xranby> at runtime
20140403 08:11:52 <rtl_> bingo!
20140403 08:11:59 <xranby> i see no reason to pass it to ant since its a runtime flah
20140403 08:12:00 <xranby> flag
20140403 08:12:09 <xranby> it do nothing at build time
20140403 08:12:32 <rtl_> i see
20140403 08:13:41 <rtl_> cool. seeing debug output but no sound now
20140403 08:14:42 <rtl_> AL lib: (II) alcOpenDevice: Created device 0x7ff523023000, "No Output"
20140403 08:14:49 <xranby> :(
20140403 08:15:50 <xranby> when it work you usually see something like
20140403 08:15:51 <xranby> AL lib: (II) alcOpenDevice: Created device 0x898d0c00, "Built-in Audio Analog stereo"
20140403 08:18:04 <xranby> rtl_: try add the following line to your alsoft.conf
20140403 08:18:07 <xranby> drivers = pulse,alsa,core,oss,solaris,sndio,qsa,mmdevapi,dsound,winmm,port,opensl
20140403 08:19:43 <rtl_> com.jogamp.openal.ALException: Error opening default OpenAL device
20140403 08:19:43 <rtl_> at com.jogamp.openal.util.ALut.alutInit(ALut.java:68)
20140403 08:19:44 <rtl_> at demos.devmaster.lesson2.LoopingAndFadeaway.main(LoopingAndFadeaway.java:117)
20140403 08:20:58 <xranby> then only the drivers=null,wave work hmm
20140403 08:22:52 <xranby> rtl_: thus we may need to rebuild openal-soft to work on your system
20140403 08:23:07 <xranby> if the core driver is not compiled in
20140403 08:25:02 <rtl_> you mean core audio?
20140403 08:26:39 <xranby> yes.. its called core inside openal-soft
20140403 08:26:57 <rtl_> got it
20140403 08:28:19 <rtl_> I think I see the issue
20140403 08:28:27 <rtl_> in CMakeLists.txt
20140403 08:28:35 <rtl_> IF(COREAUDIO)
20140403 08:28:36 <rtl_> CHECK_INCLUDE_FILE(/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h HAVE_COREAUDIO_FRAMEWORK)
20140403 08:28:37 <rtl_> IF(HAVE_COREAUDIO_FRAMEWORK)
20140403 08:28:38 <rtl_> ...
20140403 08:28:56 <rtl_> cat /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h
20140403 08:28:56 <rtl_> cat: /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h: No such file or directory
20140403 08:30:20 <xranby> try the jogamp provided builds, we have the framework during the joal build: https://jogamp.org/chuck/job/joal/label=macosx-10_6-x86_64-nvidia/lastBuild/consoleText
20140403 08:31:02 <xranby> [exec] -- Looking for /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h - found
20140403 08:43:28 <rtl_> boom.
20140403 08:43:38 <rtl_> i just removed the file check and it worked
20140403 08:46:57 <xranby> awesome
20140403 08:50:11 <rtl_> thank you so much xranby, really appreciate it
20140403 08:50:33 <xranby> enjoy your new 3d sensation
20140403 08:50:41 <rtl_> haha
20140403 08:50:46 <rtl_> will do
20140403 11:18:52 * alfredchicken (guardian@anon) has joined #jogamp
20140403 11:19:46 * alfredchicken (guardian@anon) has left #jogamp
20140403 11:25:34 * phao (~phao@anon) has joined #jogamp
20140403 11:43:44 * rtl_ (~rtl@anon) Quit (Quit: rtl_)
20140403 12:46:20 * xranby (~xranby@anon) Quit (Quit: Leaving.)
20140403 12:55:58 * phao (~phao@anon) Quit (Ping timeout: 240 seconds)
20140403 13:58:35 <jvanek> sgothel, hola again!
20140403 13:58:41 <jvanek> ITW 1.5 is branched
20140403 13:58:49 <jvanek> Will you merge your changes into "upstream" ?
20140403 13:58:54 <jvanek> of course only if you wish :))
20140403 14:01:14 * hija (~hija@anon) has joined #jogamp
20140403 15:10:27 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140403 15:13:13 * jvanek (jvanek@anon) has joined #jogamp
20140403 15:13:20 * jvanek (jvanek@anon) Quit (Client Quit)
20140403 15:16:18 * jvanek (jvanek@anon) has joined #jogamp
20140403 15:25:09 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140403 15:32:38 * phao (~phao@anon) has joined #jogamp
20140403 15:39:11 * phao_ (~phao@anon) has joined #jogamp
20140403 15:40:24 * phao (~phao@anon) Quit (Ping timeout: 255 seconds)
20140403 15:44:38 * hija (~hija@anon) Quit (Quit: hija)
20140403 15:51:35 * phao_ (~phao@anon) Quit (Quit: Fui embora)
20140403 15:51:49 * phao (~phao@anon) has joined #jogamp
20140403 16:40:04 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140403 17:14:58 * monsieur_max (~maxime@anon) has joined #jogamp
20140403 18:17:12 * [Mike] (~Mike]@anon) has joined #jogamp
20140403 19:10:00 * rtl_ (~rtl@anon) has joined #jogamp
20140403 19:40:43 * monsieur_max (~maxime@anon) has left #jogamp
20140403 19:53:59 * rtl_ (~rtl@anon) Quit (Quit: rtl_)
20140403 20:29:18 * phao (~phao@anon) Quit (Ping timeout: 255 seconds)
20140403 20:41:17 * rtl_ (~rtl@anon) has joined #jogamp
20140403 21:03:55 * hija (~hija@anon) has joined #jogamp
20140403 21:40:36 * phao (~phao@anon) has joined #jogamp
20140403 23:21:42 * alfredchicken (guardian@anon) has joined #jogamp
20140403 23:36:44 * hija (~hija@anon) Quit (Quit: hija)
20140403 23:47:07 * phao (~phao@anon) Quit (Quit: Fui embora)
20140403 23:57:45 * hija (~hija@anon) has joined #jogamp
20140404 00:05:22 * phao (~phao@anon) has joined #jogamp
20140404 00:07:16 * kermyt (~kermyt@anon) Quit (Ping timeout: 245 seconds)
20140404 00:09:28 * kermyt (~kermyt@anon) has joined #jogamp
20140404 00:20:08 * alfredchicken (guardian@anon) Quit (Ping timeout: 240 seconds)
20140404 00:30:47 <sgothel> http://jogamp.org/git/?p=jogl.git;a=commit;h=9c71f276d1fcc87b69b413847fd1da34b30d0932 <- Graph-UI texture button :)
20140404 00:31:07 <sgothel> (TextureSequence actually .. so 'movie buttons' are coming up)
20140404 00:32:12 <sgothel> a deep dive in more efficient uniform/attribute loc/data handling .. hmm .. have to use uniform-buffers if avail
20140404 00:46:37 * guardianx_ (guardian@anon) has joined #jogamp
20140404 01:33:21 * phao_ (~phao@anon) has joined #jogamp
20140404 01:34:13 * phao_ (~phao@anon) has left #jogamp
20140404 01:34:18 * phao (~phao@anon) Quit (Disconnected by services)
20140404 01:37:03 * rtl_ (~rtl@anon) Quit (Quit: rtl_)
20140404 02:52:21 * [Mike] (~Mike]@anon) Quit ()
20140404 02:55:46 * [Mike] (~Mike]@anon) has joined #jogamp
20140404 03:22:30 * rtl_ (~rtl@anon) has joined #jogamp
20140404 03:53:17 * guardianx_ (guardian@anon) Quit (Remote host closed the connection)
20140404 04:26:45 * guardianx_ (~guardian@anon) has joined #jogamp
20140404 04:28:23 * guardianx_ (~guardian@anon) has left #jogamp
20140404 04:35:50 * odin_ (~Odin@anon) has joined #jogamp
20140404 05:05:13 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140404050513.html