#jogamp @ irc.freenode.net - 20150423 05:05:33 (UTC)


20150423 05:05:33 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150422050533.html
20150423 05:05:33 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150423050533.html
20150423 05:49:20 * sgothel (~sgothel@anon) has joined #jogamp
20150423 05:49:20 * ChanServ sets mode +v sgothel
20150423 06:01:30 * elect (~elect@anon) has joined #jogamp
20150423 06:04:15 * jk4 (~jk4@anon) Quit (Ping timeout: 250 seconds)
20150423 06:05:00 <elect> morning
20150423 06:06:03 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20150423 06:12:22 * jk4 (~jk4@anon) has joined #jogamp
20150423 06:12:31 <sgothel> good morning
20150423 06:13:11 <sgothel> @zuzub: yup, EGL_EXT_platform_base looks promising, i.e. one EGL impl. for multiple windowing systems, sweet
20150423 06:18:54 * monsieur_max (~maxime@anon) has joined #jogamp
20150423 06:20:03 <elect> sgothel,
20150423 06:20:52 <monsieur_max> hi there
20150423 06:20:58 <elect> jogl performances look fine, I get 180-200 fps vs 200-220 fps on C
20150423 06:21:05 <elect> salut
20150423 06:21:17 <sgothel> hmm .. why less?
20150423 06:21:21 <elect> but I have artifacts I need to resolve
20150423 06:21:27 <elect> I guess the java overhead
20150423 06:21:37 <sgothel> for the few GL calls ? .. hmm
20150423 06:21:48 <sgothel> or memory management via NIO?
20150423 06:22:04 <elect> I am rendering 10k objects
20150423 06:22:09 <elect> with uniforms update
20150423 06:22:18 <sgothel> as mentioned in forum .. maybe a memory-mapped .. oh
20150423 06:22:21 <sgothel> no UBO
20150423 06:22:22 <elect> without any bindless feature for the moment
20150423 06:22:22 <sgothel> ?
20150423 06:22:31 <elect> there is an option to use it
20150423 06:22:37 <elect> and I am using it at the moment
20150423 06:22:53 <sgothel> bindless/DSA .. glDraw* doesn't work w/ DSA .. right?
20150423 06:23:05 <elect> wait
20150423 06:23:07 <sgothel> i.e. see forum/eclesia ..
20150423 06:23:09 <elect> let me write the thread
20150423 06:23:17 <elect> It will explain you all
20150423 06:23:24 <sgothel> I didn't see a draw command for DSA .. hmm
20150423 06:25:13 <elect> gldrawelement
20150423 06:25:34 <sgothel> .. takes buffer names?
20150423 06:27:25 <elect> no, it doesnt
20150423 06:27:29 <elect> why u asK?
20150423 06:27:33 <elect> gl4.glDrawElements(GL4.GL_TRIANGLES, indexCount, GL4.GL_UNSIGNED_SHORT, 0);
20150423 06:27:47 <sgothel> eclesia's issues w/ DSA and glDraw*
20150423 06:28:09 <sgothel> so - one must still bind buffers for drawing, if using DSA for setup
20150423 06:28:19 <sgothel> ?!
20150423 06:28:39 <elect> the thing is, I never used DSA before
20150423 06:28:45 <elect> porting from the nvidia sample
20150423 06:28:55 <sgothel> same here - thats why I ask :)
20150423 06:29:32 <elect> I call glEnableVertexArrayAttrib, glVertexArrayVertexBuffer and glVertexArrayAttribFormat
20150423 06:29:34 <elect> and then render
20150423 06:29:37 <elect> ^^
20150423 06:30:01 <elect> can you link the forum/eclesia
20150423 06:30:03 <sgothel> oops .. early in the morning, its you - not eclesia :)
20150423 06:30:06 <elect> I dont know what you meant
20150423 06:30:12 <elect> >.>
20150423 06:30:15 <sgothel> hehe
20150423 06:30:26 <elect> I can be also eclesia for you
20150423 06:30:35 <elect> :D
20150423 06:30:43 <elect> zu viel Bier
20150423 06:31:11 <sgothel> no booze since .. a long time, too busy .. too little time for a looong sleep :)
20150423 06:31:33 <sgothel> performance diff .. looks like alot
20150423 06:31:53 <sgothel> your C demo .. does it switch GL context for each frame ?
20150423 06:32:08 <sgothel> try exclusive context thread ..
20150423 06:32:42 <sgothel> an old observation w/ NV drivers is .. they are _slow_ switching GL context
20150423 06:32:59 <elect> i dont know
20150423 06:33:00 <elect> https://github.com/NVIDIAGameWorks/OpenGLSamples/blob/master/samples/gl4-kepler/BindlessApp/BindlessApp.cpp
20150423 06:33:10 <elect> take a look
20150423 06:33:58 <sgothel> I cannot see the framework .. calling draw
20150423 06:34:16 <sgothel> probably they do not ..
20150423 06:34:22 <elect> https://github.com/NVIDIAGameWorks/OpenGLSamples/blob/master/extensions/src/NvAppBase/MainWin32.cpp
20150423 06:34:34 <elect> the call it inside the mesh
20150423 06:34:56 <elect> https://github.com/NVIDIAGameWorks/OpenGLSamples/blob/master/samples/gl4-kepler/BindlessApp/Mesh.cpp#L237
20150423 06:35:41 <sgothel> so a normal buffer binding ..
20150423 06:35:56 <sgothel> perf: try exclusive context thread
20150423 06:36:11 <sgothel> just to compare apples w/ apples :)
20150423 06:36:11 <elect> I would like
20150423 06:36:16 <elect> but I dont know what it is
20150423 06:36:20 <elect> and how to apply it
20150423 06:36:34 <elect> is it relatively easy for you to explain me that in few steps here?
20150423 06:36:48 <sgothel> http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/GLAutoDrawable.html#setExclusiveContextThread%28java.lang.Thread%29
20150423 06:37:15 <sgothel> see call-tree in JOGL's unit tests for examples ..
20150423 06:37:26 <sgothel> works well w/ NEWT .. maybe risky w/ AWT
20150423 06:38:03 <sgothel> http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/util/AnimatorBase.html#setExclusiveContext%28boolean%29
20150423 06:38:31 <elect> im using newt
20150423 06:40:13 <elect> I cant find any call-tree in jogl-demos
20150423 06:40:38 <elect> src/demos/context/DualContext.java ?
20150423 06:41:24 <elect> it cannot find any setExclusiveContextThread or setExclusiveContext in the repo
20150423 06:50:39 <monsieur_max> sgothel: interesting, i did not know of this feature :) not sure it'd be revelant in my little game though, but still interesting
20150423 06:59:17 <sgothel> @eclesia: not jogl-demos, jogl's unit tests
20150423 06:59:27 <sgothel> we have added them as well (jar & zip)
20150423 06:59:34 <sgothel> (src-zip that is)
20150423 06:59:59 <elect> damn
20150423 07:00:02 <elect> sorry
20150423 07:17:10 <elect> sgothel, this one? https://github.com/sgothel/jogl/blob/21e90fe75d3b7f815f91f53262738c8124bdc31b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java
20150423 07:23:35 <elect> Caught subsequent GLException: main-AWTAnimator#00: Context not current on thread, inDestruction: false, obj 0x15b9e591, ctx 0x20000, isShared false, surf true 0x0, <1f418ee1, 5a43036d>[count 0, qsz 0, owner <NULL>] on thread main-AWTAnimator#00
20150423 07:24:02 <sgothel> AWTAnimator .. ? hmm
20150423 07:25:13 <sgothel> animator.setModeBits(false, AnimatorBase.MODE_EXPECT_AWT_RENDERING_THREAD);
20150423 07:25:33 <sgothel> which is set in TestGearsES2NEWT .. hmm
20150423 07:25:53 <sgothel> oh dear ..
20150423 07:26:32 <elect> :D
20150423 07:26:37 <sgothel> another bug? have to go .. renovation stuff now, sorry - laters tonight
20150423 07:26:38 <elect> be patient ^^
20150423 07:26:50 <elect> you always leave us alone in the nubness
20150423 07:27:01 <sgothel> oh .. source is all there :)
20150423 07:27:10 <elect> ^^
20150423 07:27:18 <elect> cya
20150423 07:28:20 <elect> btw import com.jogamp.opengl.util.Animator;
20150423 07:30:15 * eclesia (~husky@anon) has joined #jogamp
20150423 07:30:21 <eclesia> good morning
20150423 07:30:56 <elect> hi
20150423 07:31:10 <monsieur_max> here's the real eclesia !
20150423 07:31:15 <elect> OMG
20150423 07:31:22 <elect> i cant be eclesia anymore :(
20150423 07:31:57 <eclesia> :p (checking logs)
20150423 07:32:02 <elect> DONT DO IT
20150423 07:32:04 <elect> SHIT
20150423 07:34:42 <eclesia> hm... well I can understand, who wouldn't like to be as famous as I am ?
20150423 07:34:49 <eclesia> ^^
20150423 07:34:49 <elect> ^^
20150423 07:37:44 <eclesia> and no comments on my last widget art ... :(
20150423 07:38:07 <monsieur_max> any link ?
20150423 07:38:29 <eclesia> logs yesterday evening
20150423 07:39:27 <monsieur_max> i see :)
20150423 07:45:47 <bruce-> eclesia: who does it look so unclean?
20150423 07:46:07 <eclesia> who?
20150423 07:46:10 <bruce-> why
20150423 07:46:16 <bruce-> I forgot how to keyboard
20150423 07:46:48 <eclesia> my font rasterizer isn't perfect. plain triangulation. no real curves
20150423 07:47:31 <bruce-> ah
20150423 07:48:37 <bruce-> I use bitmap fonts for smaller type and triangles only for really big type
20150423 07:50:55 <bruce-> I am still looking for something better
20150423 07:51:44 <bruce-> I work together with graphic designers who tend to be really picky about how type is displayed
20150423 08:07:00 <monsieur_max> a graphic designer has to be picky, otherwise, those nasty developers ruin everything with crappy pixels, bad alignment and placeholders
20150423 08:09:16 <elect> >.>
20150423 09:29:22 <zubzub> 08:13 <+sgothel> @zuzub: yup, EGL_EXT_platform_base looks promising, i.e. one EGL impl. for multiple windowing systems, sweet
20150423 09:29:43 <zubzub> sgothel: I'm going to make a poc driver on gbm-mesa
20150423 09:29:56 <zubzub> if it works well you're free to port it to other platforms ;)
20150423 09:30:11 <zubzub> https://github.com/Zubnix/kmscube-jogl
20150423 09:30:41 <zubzub> I'm basically trying to port https://github.com/robclark/kmscube/blob/master/kmscube.c
20150423 09:30:44 <zubzub> to jogl
20150423 11:42:03 <zubzub> sgothel: how does gl profile collection work?
20150423 11:42:38 <zubzub> I createn an egl display, all without errors, yet newt says it doesnt find any profiles
20150423 11:44:30 <zubzub> I have the impression it tries to probe X?
20150423 12:31:07 <zubzub> sgothel: would you like me to create a (bug) ticket to more easily track my issies?
20150423 12:35:12 * Schrostfutz (~who@anon) has left #jogamp
20150423 13:09:34 <zubzub> http://forum.jogamp.org/Newt-GBM-driver-EGL-KMS-td4034363.html
20150423 14:21:16 <elect> can you believe my jogl port is faster than nvidia C?
20150423 14:22:17 <zubzub> that's hard to believe :p
20150423 14:22:25 <zubzub> unless you do a lot of malloc's
20150423 14:22:42 <zubzub> which is a typical case where java is better than C
20150423 14:23:07 <zubzub> as java 'pre allocates' memory and uses and reuses it on demand at runtime
20150423 14:23:10 <eclesia> C is slow and use a lot of memory everyone know's that
20150423 14:23:17 <zubzub> :p
20150423 14:23:33 <zubzub> no, but java's memory usage model is different than C
20150423 14:23:58 <zubzub> making it memory hungry at startup, but stable afterwards (given that you wrote good java software)
20150423 14:24:19 <zubzub> malloc'ing is slower in C than 'new' in java
20150423 14:24:27 <zubzub> for the same amount of mem
20150423 14:24:51 <elect> I get 210 fps vs 190
20150423 14:24:57 <elect> omg, I love java
20150423 14:25:05 <elect> sux it, C!
20150423 14:25:07 <elect> ^^
20150423 14:25:16 <elect> built with optimizations of course
20150423 14:25:17 <zubzub> if you tell that to C luvvers, they'll probably brand you a heretic
20150423 14:25:22 <elect> I KNOW :D
20150423 14:25:29 <elect> but we dont have here, right?
20150423 14:25:30 <elect> ^^
20150423 14:25:39 <zubzub> 'you didn't compile it right in C'
20150423 14:25:39 <elect> in b4 no
20150423 14:25:42 <zubzub> blabla :p
20150423 14:25:55 <zubzub> I like C
20150423 14:25:58 <zubzub> I like Java :)
20150423 14:26:09 <zubzub> I don't like Cpp
20150423 14:26:14 <elect> I find Java much more readable than C
20150423 14:26:26 <elect> because I split each class in a file
20150423 14:26:37 <elect> in C a lot of classes are inside one file
20150423 14:26:48 <elect> and the header cpp separation is horrible
20150423 14:27:18 <elect> the only thing java is missing is declaring your own operators with classes
20150423 14:27:23 <elect> ex vec3 + vec3
20150423 14:27:31 <elect> I have to vec3.plus(vec3=
20150423 14:27:32 <elect> )
20150423 14:27:53 <elect> I mean, this is the missing thing I find very limitating
20150423 14:28:28 <zubzub> yeah it's furstrating at times
20150423 14:28:40 <zubzub> I would also like to embed C in jnava
20150423 14:28:46 <zubzub> *java
20150423 14:28:54 <zubzub> like you can embed json in java in gwt
20150423 14:28:57 <eclesia> zubzub: heretic !
20150423 14:29:39 <elect> oh fuck
20150423 14:29:41 <elect> he read us
20150423 14:29:44 <zubzub> the jvm would then have it' sown C compiler and compile/jit the C on the fly
20150423 14:29:45 <zubzub> j/k
20150423 14:30:06 <elect> is maybe java 8 offering something in this direction?
20150423 14:30:30 <zubzub> not really
20150423 14:30:35 <zubzub> the closest you'll get are annotations
20150423 14:30:48 <zubzub> to extract embedded C
20150423 14:31:29 <elect> and what about generic type
20150423 14:31:33 <elect> like T in C
20150423 14:33:04 <zubzub> what about it?
20150423 14:34:18 <elect> is missing in Java
20150423 14:34:33 <elect> anyway, if you read here
20150423 14:34:35 <elect> http://stackoverflow.com/questions/77718/why-doesnt-java-offer-operator-overloading
20150423 14:34:41 <elect> "Because James Gosling said so:"
20150423 14:34:43 <elect> lmao
20150423 14:44:44 <zubzub> yeah
20150423 14:44:52 <zubzub> java still has a lot to be desired
20150423 14:45:04 <zubzub> C# in that regards is a much better designed language
20150423 14:45:14 <zubzub> because they could look at all the fuck ups from java :)
20150423 14:45:23 <zubzub> and not make the same mistake
20150423 14:47:02 <monsieur_max> zubzub: well, yes, java8 is quite good indeed, much welcomed improvements
20150423 14:47:04 <eclesia> but also have ugly things : no Exception. only runtime exception
20150423 14:56:00 <rmk0_> F# is pretty decent too
20150423 14:56:09 <rmk0_> is more or less ocaml with actual concurrency and working libraries
20150423 14:56:41 * rmk0_ is now known as rmk0
20150423 14:56:43 * rmk0 (~rmk0@anon) Quit (Changing host)
20150423 14:56:43 * rmk0 (~rmk0@anon) has joined #jogamp
20150423 14:57:28 <rmk0> if i was made to use .net, that's what i'd be using
20150423 14:58:30 <rmk0> less need for exceptions when you have algebraic types
20150423 15:45:35 * elect (~elect@anon) Quit (Ping timeout: 246 seconds)
20150423 15:52:09 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150423 16:00:05 * eclesia (~husky@anon) has left #jogamp
20150423 16:26:48 * monsieur_max (~maxime@anon) has joined #jogamp
20150423 17:11:45 * FunMan_ (5866abcd@anon) has joined #jogamp
20150423 17:21:04 <FunMan_> Hello there, could someone explain the order of transformation for me in this? http://postimg.org/image/n0paau9vx/ I would be very grateful
20150423 17:33:21 <bruce-> who teaches you this old fashioned stuff? :)
20150423 17:34:12 * Eclesia (~eclesia@anon) has joined #jogamp
20150423 17:34:37 <FunMan_> our old fashioned teacher :(
20150423 17:35:30 <FunMan_> will be in test and it is a bit trouble for me now :p
20150423 17:36:04 <bruce-> first write down which transforms are part of the modelview transform and which are part of the projection transform
20150423 17:36:31 <bruce-> then apply modelview transform first and projection transform second
20150423 17:37:03 <FunMan_> Ok, great! Starting from bottom, is that correct?
20150423 17:37:48 <bruce-> yes
20150423 17:38:10 <FunMan_> thank you!
20150423 17:40:41 <FunMan_> I shall name my son bruce- including the dash
20150423 17:51:52 <zubzub> let me guess
20150423 17:51:57 <zubzub> fixed functions?
20150423 17:52:01 <zubzub> opengl 1.x?
20150423 18:25:22 <FunMan_> Yep, I think so
20150423 18:32:15 * elect (~elect@anon) has joined #jogamp
20150423 18:32:23 <zubzub> yeah
20150423 18:32:31 <elect> yeah
20150423 18:32:35 <elect> oh wait
20150423 18:32:42 <zubzub> that's not how you should learn opengl these days
20150423 18:32:46 <elect> I know
20150423 18:32:50 <elect> forgive my nubness
20150423 18:33:39 <Eclesia> \o/ progressive tessellation and displacement mapping done
20150423 18:33:47 <elect> link nau
20150423 18:34:08 <Eclesia> nau?
20150423 18:35:26 <elect> now
20150423 18:35:38 <elect> in this moment
20150423 18:35:39 <zubzub> FunMan_: https://open.gl/introduction
20150423 18:35:42 <elect> as fast as you can
20150423 18:35:42 <zubzub> learn that
20150423 18:35:49 <zubzub> much better ;)
20150423 18:37:03 <zubzub> show it to your teach
20150423 18:37:17 <zubzub> tell him the pro's told you ;p
20150423 18:37:47 <Eclesia> elect: encoding and uploading small video ^^
20150423 18:37:55 <elect> time left
20150423 18:38:02 * Eclesia slap elect
20150423 18:38:06 <elect> :/
20150423 18:38:18 <elect> elect is crying
20150423 18:42:22 <Eclesia> 4min left (slow upload spped)
20150423 18:47:15 <Eclesia> there you go : http://unlicense.developpez.com/gallery/VID3D_DisplacementMapping.ogv
20150423 18:47:32 <Eclesia> mesh is only 2 triangles
20150423 18:47:58 <sgothel> @zuzub: pls track all issues and your changes/code in one or more bug reports - thx
20150423 18:48:22 <Eclesia> sgothel: hi
20150423 18:48:23 <sgothel> if possible create a root bug, which then depends on all the others - or just one biggy ..
20150423 18:48:32 <sgothel> Hi Eclesia
20150423 18:48:51 <sgothel> back from the lot, but need to sleep early .. yawn .. a few more hard days
20150423 18:48:57 <elect> what is that
20150423 18:49:13 <sgothel> err .. renovation of our new apartment :)
20150423 18:49:16 <elect> sgothel, I tested again the java
20150423 18:49:20 <elect> is faster!
20150423 18:49:21 <sgothel> reloc on tuesday
20150423 18:49:24 <elect> 210 vs 190 fps
20150423 18:49:25 <elect> lmao
20150423 18:49:34 <sgothel> you use the explicit context thread?
20150423 18:49:37 <elect> no
20150423 18:49:47 <elect> it fires the exc I pasted you this morning
20150423 18:50:06 <sgothel> niced
20150423 18:50:08 <sgothel> nice
20150423 18:50:14 <elect> I implemented some dsa
20150423 18:50:32 <sgothel> would be great .. if you send me pull req. for DSA unit tests ..
20150423 18:50:41 <elect> and I think we can push further as soon as we got the bindless functions
20150423 18:50:42 <sgothel> and if there is an issue .. ref w/ a new bug report
20150423 18:51:09 <sgothel> @all: for serious stuff .. pls use bug reports
20150423 18:51:28 <elect> god, I started learning fixed pip, then GL3 then AZDO
20150423 18:51:41 <elect> bug reports is boring
20150423 18:51:41 <sgothel> :)
20150423 18:51:44 <elect> ^
20150423 18:51:57 <sgothel> well .. it helps tracking all our stuff
20150423 18:52:02 <elect> i know i know
20150423 18:52:12 <sgothel> in short: helps w/ good night sleep :)
20150423 18:52:25 <elect> so, how is going the renovation?
20150423 18:52:35 <elect> is it the house still there?
20150423 18:52:41 <elect> ^^
20150423 18:52:48 <sgothel> floor almost finished .. will be done monday (last oil)
20150423 18:53:06 <sgothel> wall (lime / kalk (de)) .. done next week
20150423 18:53:12 <sgothel> just an apartment ..
20150423 18:53:37 <sgothel> tomorrow have to finish electric / network-cable installations
20150423 18:53:52 <sgothel> and carrying dirt .. cleaning ..
20150423 18:53:56 <elect> so it may be the last time we talk
20150423 18:54:43 <sgothel> old house from 1899 .. had to redo all the outter walls finery / stucco (putz) .. etc
20150423 18:55:02 <sgothel> I get disconnected on TUE 28th .. the moving day
20150423 18:55:19 <sgothel> network should work there already .. but I will see :)
20150423 18:56:09 <sgothel> 3.2m ceiling and tall doors .. no more bending over for me :)
20150423 18:56:23 <FunMan_> redo walls, repaint() ?
20150423 18:56:25 <sgothel> possible a bit more heating ..
20150423 18:56:41 <elect> you felt like frodo
20150423 18:56:57 <elect> no wait
20150423 18:57:00 <sgothel> we had to pull the finery of all walls, they installed heat dampening inside apartment -> fungus
20150423 18:57:14 <elect> like the magician at the begin of the Lord of the ring
20150423 18:57:15 <elect> s
20150423 18:57:17 <sgothel> so had to redo all that .,.
20150423 18:57:47 <sgothel> oh well .. yeah, I hate those new buildings w/ 2.6m ceiling, since I am 2.03m tall
20150423 18:58:14 <FunMan_> cozy!
20150423 18:58:51 <sgothel> I won't notice .. sitting at the desk, but sometimes I have to get up :)
20150423 18:59:43 <FunMan_> thats why I hate my room.. too big and most of the time I have to sit in one place anyway.. doesnt feel good having that much space behind me
20150423 19:00:23 <elect> you fun, man
20150423 19:00:31 <sgothel> my all year heating system (jenkins test nodes) are buzzing and give me company :)
20150423 19:00:35 <elect> you FunMan_
20150423 19:00:37 <elect> !
20150423 19:00:47 <elect> I image
20150423 19:01:09 <FunMan_> :-)
20150423 19:01:56 <sgothel> now I have space for a coach in my new office and can collect more dirt :)
20150423 19:02:17 <FunMan_> your name reminds me first boobs I recall seeing as a child(video)
20150423 19:02:29 <FunMan_> carmen electra
20150423 19:02:56 <sgothel> yeah, move o Bremerhaven things are cheap (affordable) here .. we can hook you up to French and Italian folks as well :)
20150423 19:03:52 <elect> ^^
20150423 19:03:57 <sgothel> and if you are in weather hindsight research (climate) .. you can go to AWI (alftred wegner institute)
20150423 19:04:08 <sgothel> :)
20150423 19:11:54 <zubzub> sgothel: I think the root cause of the bug is GLProfile's implementation when using EGL
20150423 19:12:03 <zubzub> it seems to revert to the default display or something
20150423 19:12:36 <zubzub> which causes an default egl abstract graphics device to be created
20150423 19:12:48 <zubzub> which causes eglGetDisplay(0) to be called
20150423 19:12:53 <zubzub> which is not supported under gbm/kms
20150423 19:13:03 <zubzub> which results in libEGL trying to connect to X
20150423 19:13:11 <zubzub> which obviously fails
20150423 19:13:42 <zubzub> it's hard to debug because I have to switch between vt's when doing a testrun :)
20150423 19:13:58 <zubzub> ie X can not display stuff once the kms/egl/jogl program is running]
20150423 19:14:09 <zubzub> that or I have to set up qemu with kms support
20150423 19:14:12 <zubzub> or use a seperate device
20150423 19:15:19 <zubzub> if I can create a glcontext, gldrawable and get a gl object without going through newt, than my use case is also solved
20150423 19:15:34 <zubzub> ofcourse then I'm not giving back to jogl(newt) with a kms driver :)
20150423 19:19:10 <zubzub> if that's the case then that's your bug
20150423 19:19:59 <zubzub> s/your/my
20150423 19:49:17 <FunMan_> My friends! For help thanks again. My life continue will in a fun way.I must unlearn what I have learnt, carry on I must.
20150423 19:49:28 <FunMan_> Good night!
20150423 19:49:35 <FunMan_> (honestly, thanks!)
20150423 19:58:13 <zubzub> no problem
20150423 20:09:48 <elect> unlearning should be very easy
20150423 20:09:53 <elect> or at least for me
20150423 20:09:59 <elect> I can unlearn in ms
20150423 20:10:08 <elect> but no way undo
20150423 20:10:15 <elect> mystery of life
20150423 20:21:05 <sgothel> @Zuzub: right - EGLDrawableFactory's initialization might be the issue
20150423 20:21:33 <sgothel> so we have to use that EGL/platform extension if available .. w/ the 'to be probed platform values'
20150423 20:21:53 <sgothel> when testing, simply use 2 machines .. an ssh
20150423 20:22:06 <zubzub> for that I need 2 kms compatible machines :)
20150423 20:22:21 <sgothel> 1 dev machine (compile .. ) - host
20150423 20:22:21 <zubzub> I already have qemu installed in the meanwhile :)
20150423 20:22:30 <sgothel> one kms .. target/test machine
20150423 20:22:37 <zubzub> there's a qemu kms driver for exactly this purpose
20150423 20:22:39 <sgothel> bound w/ NFS and ssh
20150423 20:22:41 <zubzub> yup
20150423 20:23:13 <sgothel> when I am settled I will join this effort for sure, i.e. generalize EGL support
20150423 20:23:33 <sgothel> so we cover all those platforms
20150423 20:24:36 <zubzub> having kms support would be really nice as you could run without X, hw accel on all kms supported machines
20150423 20:25:01 <zubzub> which is very interesting for the embedded use case
20150423 20:25:06 <sgothel> you have seen the EGLDisplayUtil ?
20150423 20:25:09 <elect> sgothel, bindless uniforms work!
20150423 20:25:33 <elect> I ll try the bindless textures tomorrow
20150423 20:25:35 <sgothel> simply hack it for now .. i.e. use the extension for eglLifecycleCallback .. etc
20150423 20:26:00 <sgothel> sweet .. again: some DSA unit tests would be great within JOGL
20150423 20:26:16 <elect> anyway, what the exclusive context thread is supposed to do?
20150423 20:26:23 <sgothel> @all: lets widen the author count a bit :)
20150423 20:26:26 * FunMan_ (5866abcd@anon) Quit (Quit: Page closed)
20150423 20:26:33 <sgothel> what the API doc says ..
20150423 20:27:04 <sgothel> i.e. keep the GL context exclusively bound to one thread (no release/make-current for each frame)
20150423 20:27:07 <elect> Dedicate all GLAutoDrawable's context to this animator thread.
20150423 20:27:15 <sgothel> yup
20150423 20:27:21 <elect> and what this means for nubs?
20150423 20:27:23 <elect> faster?
20150423 20:27:28 <sgothel> Mesa drivers are fast ..
20150423 20:27:44 <sgothel> but NV (was) slow (when I tested 2 years ago)
20150423 20:28:03 <elect> anyway it was crashing for me
20150423 20:28:07 <sgothel> some other proprietary driver were also slow w/ context switching
20150423 20:28:28 <zubzub> sgothel: with hack it, you mean change the jogl source & recompile?
20150423 20:28:31 <sgothel> yes - and that is a bug if using NEWT (especially w/ the demo/unit-test code)
20150423 20:28:33 <elect> I just added the same as I saw in your sample
20150423 20:28:43 <sgothel> @elect: pls file a bug report
20150423 20:28:47 <sgothel> @zuzub: YES
20150423 20:28:55 <elect> sgothel, I knew it
20150423 20:29:01 <zubzub> aight
20150423 20:29:02 <sgothel> you can make a new git branch ..
20150423 20:29:09 <elect> somewhere deep in my heart
20150423 20:29:15 <sgothel> then I can merge and change later ..
20150423 20:29:21 <sgothel> @elect: hehe
20150423 20:29:32 <sgothel> this is just to not forget all these things ..
20150423 20:29:44 <elect> bug report is the answer to everything
20150423 20:29:49 <sgothel> trust me .. we have tons of those thoughts an dicussions .. which are lost if not tracked
20150423 20:29:51 <elect> the third fatima secret
20150423 20:30:15 <sgothel> its the non volatile memory for important things
20150423 20:30:51 <sgothel> e.g. when winter comes .. I will eat many of those for lunch :)
20150423 21:11:17 * elect (~elect@anon) Quit (Ping timeout: 248 seconds)
20150423 21:13:30 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150423 22:05:47 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150424 02:52:40 * badshah400 (~badshah40@anon) has joined #jogamp
20150424 05:05:33 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150424050533.html