#jogamp @ irc.freenode.net - 20150106 05:05:04 (UTC)
20150106 05:05:04 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150105050504.html
20150106 05:05:04 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150106050504.html
20150106 08:42:53 * eclesia (~husky@anon) has joined #jogamp
20150106 08:43:07 <eclesia> good morning
20150106 08:53:36 <zzuegg> good morning
20150106 08:55:55 <monsieur_max> hello
20150106 08:59:24 <zzuegg> is it possible that jogl binds the buffers in a different way than plain opengl? i am getting a native crash when not rebinding the ELEMENT_ARRAY_BUFFER after i bound a ARRAY_BUFFER
20150106 09:00:26 <zzuegg> there is no GLError in both cases, just a native crash
20150106 09:07:27 <zzuegg> nevermind. it does work, but i kind of have to bind/create the vao first
20150106 10:03:26 * doev (~doev@anon) has joined #jogamp
20150106 13:11:06 <eclesia> sgothel: hi, quick question on JOCL : can I use it to do some opencl on CPU if there is no GPU ?
20150106 13:11:21 <sgothel> goody
20150106 13:11:33 <sgothel> @Eclesia: yes
20150106 13:11:46 <sgothel> (still need opencl driver ofc)
20150106 13:12:41 <sgothel> @zzuegg: we bind a default VAO for core 3.2 (?) GL context to preserve the common behavior ..
20150106 13:14:25 <eclesia> sgothel: thanks
20150106 13:15:39 * doev (~doev@anon) Quit (Ping timeout: 264 seconds)
20150106 13:52:44 <zzuegg> thanks, in my case the problem was that i followed a tutorial that claimed that the EAB is not part of the VAO state.. so i did not add it correctly :(
20150106 14:11:58 * doev (~doev@anon) has joined #jogamp
20150106 14:28:44 <zzuegg> yay, textures, shaderuniforms and then i can finally render something nicer than a colored triangle :)
20150106 14:30:20 * doev (~doev@anon) Quit (Ping timeout: 265 seconds)
20150106 15:03:05 * doev (~doev@anon) has joined #jogamp
20150106 15:28:20 <zubzub> sgothel: how does newt use X?
20150106 15:28:20 <zubzub> high level calls through jni?
20150106 15:29:43 <sgothel> xlib usually via NEWT's jni high level
20150106 15:30:02 <sgothel> but we also have a little Xlib nativewindow util class
20150106 15:30:42 <sgothel> btw .. XCB, sure, I was playing w/ it - but it's GL binding is not fully supported .. hence I gave up
20150106 15:30:45 <zubzub> use xcb :p
20150106 15:30:58 <zubzub> gl binding?
20150106 15:31:04 <zubzub> glx?
20150106 15:31:04 <sgothel> GLX
20150106 15:31:39 <sgothel> my last test w/ XCB was .. err.. 2 years ago though
20150106 15:31:39 <zubzub> I wonder how they do it
20150106 15:31:45 <zubzub> since xlib under the hood uses xcb these days
20150106 15:32:04 <sgothel> there are wrappers .. which removes the benefits (non-blocking)
20150106 15:32:45 <sgothel> I know .. and cause alot of trouble e.g. w/ ATI catalyst
20150106 15:32:45 <zubzub> ic
20150106 15:33:49 <zzuegg> oh :( what is the best way to debug what is missing if you have a black screen with no gl error?
20150106 15:37:09 <eclesia> pray, test
20150106 15:37:50 <monsieur_max> zzuegg: luck, or invoking Cthulhu
20150106 15:38:42 <zzuegg> oh, well i better go starting the big coffee machine
20150106 15:39:01 <sgothel> -Djogl.debug.DebugGL -Djogl.debug.TraceGL
20150106 15:39:18 <rmk0> zzuegg: http://apitrace.github.io
20150106 15:39:23 <sgothel> DebugGL will also enable the debug context automatically .. and dumps stuff ..
20150106 15:39:32 <sgothel> and yes, apitrace .. ofc :)
20150106 15:39:44 <eclesia> use GLProfils too
20150106 15:39:46 <sgothel> IMHO: 1st check whether you have GL errors ..
20150106 15:40:15 <sgothel> via DebugGL .. a quick test
20150106 15:40:15 <rmk0> and vast quantities of static typing
20150106 15:58:39 <eclesia> sgothel: question on Newt : does it support drag & drop ? for example if I drag a file from the desktop over the newt frame ?
20150106 15:59:58 <sgothel> ah .. no, we do not have an API hook here .. yet
20150106 16:00:26 <sgothel> we would need to add it, if desired .. plus the interpretation .. i.e. 'URL' or content wise (bitmap, etc)
20150106 16:00:53 <sgothel> API support by: X11, Win32/GDI, OSX .. so far
20150106 16:01:17 <eclesia> k
20150106 16:01:24 <sgothel> for X11, these are 'simple' events/messages last time I looked
20150106 16:01:30 <sgothel> Win32/GDI, OSX .. dunno
20150106 16:02:17 <sgothel> well, Android also has some copy/paste support
20150106 16:02:22 <sgothel> surely an interesting extension for NEWT
20150106 16:07:50 <zubzub> wayland has it also
20150106 16:39:30 <eclesia> we still don't have compute shaders right ?
20150106 16:41:04 <rmk0> who's we?
20150106 16:41:15 <eclesia> sorry : jogl*
20150106 16:42:14 * eclesia is not yet part of the family ^^
20150106 16:42:38 <rmk0> didn't mean that, i wondered if you meant "we" as in driver support, or support in the bindings
20150106 16:42:47 <rmk0> "we" as in "do most people have access to them now", etc
20150106 16:42:56 <rmk0> does jogl have all the 4.5 entry points yet?
20150106 16:43:11 <rmk0> if it does, then yes they're supported
20150106 16:54:03 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150106 16:54:04 <zzuegg> turns out i forgot to order my bytebuffers into native ordering :( and it took only one single cup of coffee
20150106 17:02:24 <rmk0> zzuegg: it won't be the last time!
20150106 17:02:38 <rmk0> opengl is a minefield
20150106 17:03:00 * eclesia is nearly on the other end of the mine field
20150106 17:03:13 <eclesia> ++
20150106 17:03:20 * eclesia (~husky@anon) has left #jogamp
20150106 17:03:53 <rmk0> .. will have to find out what ++ means one of these days
20150106 17:24:13 <bruce-> I always believed it to be part of the Hayes command set
20150106 17:24:42 <bruce-> where +++ATH0 would force a hangup
20150106 17:24:46 <bruce-> http://en.wikipedia.org/wiki/Hayes_command_set
20150106 17:25:11 <bruce-> maybe I am just overthinking this
20150106 17:25:19 <rmk0> hehe
20150106 18:07:59 * monsieur_max (~maxime@anon) has joined #jogamp
20150106 18:22:05 <sgothel> Hayes .. oh oh .. it took me ~2 days to find the right real modem to be used w/ hylafax .. not an easy tasks nowadays :)
20150106 18:22:32 <sgothel> ATZ
20150106 18:53:25 <sgothel> @Mark: you had a question w/ default X display ?
20150106 18:55:11 <rmk0> sgothel: don't think that was me
20150106 18:55:31 <sgothel> oh .. however, somewhere we have a property to override the 'local default display' e.g. for X11 ..
20150106 18:56:18 <sgothel> 'nativewindow.x11.display.default' <- here we are, in X11Util
20150106 19:07:34 <hharrison> sgothel: are you thinking of my question?
20150106 19:08:04 <hharrison> re: bug 873?
20150106 19:09:23 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=873#c9 ?
20150106 19:09:41 <sgothel> yes, a horrible workaround .. :-(
20150106 19:10:32 <sgothel> btw .. our media player, which also shares context on diff threads does work w/ 10.1 (?) mesa+intel .. hmm, maybe I should retest ..
20150106 19:10:55 <sgothel> maybe time to kick the mesa bug to life again ? :)
20150106 19:11:39 <sgothel> and Happy New Year to you as well (and all others which may have missed my obvious greetings :)
20150106 19:12:47 <hharrison> I was tempted to try with the alternate gallium driver...ilo or something, whatever LunarG is working on
20150106 19:13:44 <hharrison> But it doesn't seem widely packaged, so would eb difficult to get deployed to people
20150106 19:14:43 <sgothel> oh, software gl works, as you claimed - any non-intel accel Mesa works w/ Bug 873
20150106 19:14:58 * phao (~phao@anon) has joined #jogamp
20150106 19:15:16 <hharrison> yes....but software raster is only OpenGL 2.1...which I luckily kept around a fallback path for
20150106 19:15:27 <hharrison> So...ewww
20150106 19:16:06 <hharrison> anholt has moved on from Intel, maybe a better chance with whoever is there now
20150106 19:16:16 <hharrison> on the upstream bug
20150106 19:16:40 * phao (~phao@anon) has left #jogamp
20150106 19:16:59 <sgothel> yup .. maybe you can kick it ?
20150106 19:19:22 <hharrison> Anyone have any good instructions for trying the alternate DRI backends such a ilo? Looks like it's in upstream mesa now, just not packaged widely
20150106 19:20:43 <sgothel> I usually build mesa and have those drivers in diff places (target dest folder)
20150106 19:21:02 <sgothel> #export LD_LIBRARY_PATH=`pwd`/../../EXTERNAL/mesa_900/x86_64-linux-gnu:$LD_LIBRARY_PATH
20150106 19:21:02 <sgothel> #export LIBGL_DRIVERS_PATH=`pwd`/../../EXTERNAL/mesa_900/x86_64-linux-gnu/dri
20150106 19:21:12 <sgothel> then I pass the above ^^ e.g. in jogl/make/scripts/tests.sh
20150106 19:22:01 <sgothel> this way I have tested SW, Gallium*, Intel
20150106 19:22:09 <sgothel> ILO is new to me :)
20150106 19:22:50 * JavaY (60307201@anon) has joined #jogamp
20150106 19:24:19 <JavaY> Hey, does anyone know i if these exists an easy way to integrate JOGL into a Java2D project? I need shader level access and Java2D doesn''t provide an interface to that...
20150106 19:55:32 <sgothel> like gljpanel ?
20150106 19:56:16 <sgothel> which copy/paste the BufferedImage, which content is rendered via GL and copied into the CPU memory (BufferedImage)
20150106 20:20:16 <sgothel> @JavaY: GLJPanel has also a deprecated path to reuse a Java2D proprietary GL rendering path .. but, well, .. it surely has compatibility issues
20150106 22:12:28 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150106 22:31:16 * JavaY (60307201@anon) Quit (Ping timeout: 246 seconds)
20150106 23:20:54 -kornbluth.freenode.net- Server Terminating. Received SIGTERM
20150106 23:20:54 * Disconnected.