#jogamp @ irc.freenode.net - 20131206 05:05:56 (UTC)
20131206 05:05:56 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20131205050556.html
20131206 05:05:56 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20131206050556.html
20131206 08:25:17 * monsieur_max (~maxime@anon) has joined #jogamp
20131206 08:26:39 * ___m___ (~Mike]@anon) has joined #jogamp
20131206 08:35:07 * [Mike] (~Mike]@anon) Quit (Ping timeout: 260 seconds)
20131206 08:43:54 * bbbruce (~bx@anon) has joined #jogamp
20131206 09:26:04 * bbbruce_ (~bx@anon) has joined #jogamp
20131206 09:27:07 * bbbruce (~bx@anon) Quit (Ping timeout: 265 seconds)
20131206 09:27:08 * bbbruce_ is now known as bbbruce
20131206 10:22:56 * hija (~hija@anon) Quit (Read error: Connection reset by peer)
20131206 11:09:22 * hija (~hija@anon) has joined #jogamp
20131206 13:01:47 <sgothel> Our levies are holding (Storm in Bremerhaven, Germany) :)
20131206 13:13:59 * ___m___ is now known as [Mike]
20131206 13:14:49 * hija (~hija@anon) Quit (Quit: hija)
20131206 15:26:27 <monsieur_max> mmmh i got a little question , does anyone managed to change point size ( GL_POINTS ) in ogl2es2 ? I tried using "gl_PointSize = 3.0;" in the vertex shader and nothing happened, still one pixel wide
20131206 15:28:41 <monsieur_max> ( and hello btw )
20131206 15:32:27 <sgothel> hi max, POINTS are not part of core ES2 or GL3 .. (AFAIK) .. but have a look at our point shader in the fixed-func-emul ..
20131206 15:34:19 <monsieur_max> oh ...
20131206 15:34:32 <monsieur_max> i was affraid to read such answer
20131206 15:34:49 <sgothel> you might get a message .. if you enable debug gl ..
20131206 15:35:08 <sgothel> or use a compatibility ctx .. GL3bc .. etc
20131206 15:35:10 <monsieur_max> weel, as it's just a prototype, i guess i'll use point sprite :)
20131206 15:35:41 <monsieur_max> yeah true
20131206 15:36:07 <monsieur_max> don't need ogl2es2 specifically for the proto
20131206 15:36:23 <monsieur_max> sgothel: thanks for your answer :)
20131206 15:58:15 <monsieur_max> sgothel: i'm trying an ugly thing, just for fun
20131206 15:58:26 <monsieur_max> trying to make a point using a line
20131206 16:58:28 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20131206 17:21:28 * noxuma (~markt@anon) has joined #jogamp
20131206 17:22:14 <noxuma> Hey guys, Quick question. I have someone using JOGL with a NEWT and a new Nvidia 440 card, and it crashes saying "not a gl 2 implmenation" but the 440 is a gl 4.2 card
20131206 18:05:47 <noxuma> Its starting to look like the only way to fix this would be to store different kinds of GL's? and put a wrapper around the wrapper?
20131206 18:08:17 <rmk0> noxuma: you using features that aren't in OpenGL 3 core?
20131206 18:08:28 <rmk0> like the fixed function pipeline
20131206 18:16:33 <noxuma> yes
20131206 18:16:37 <noxuma> we use gl 2
20131206 18:18:11 <rmk0> and which GLProfile are you requesting?
20131206 18:18:22 <rmk0> is likely that on newer cards, you'll need to specifically ask for a compatibility context
20131206 18:19:26 <noxuma> is that in the caps?
20131206 18:19:49 <noxuma> caps = new GLCapabilities(null);
20131206 18:19:59 <rmk0> usually just prior to that
20131206 18:20:41 <rmk0> typically something like:
20131206 18:20:48 <rmk0> GLProfile profile = GLProfile.getDefault();
20131206 18:20:55 <rmk0> caps = new GLCapabilities(profile);
20131206 18:21:14 <noxuma> i create the caps and then send it to we just passed null into the caps
20131206 18:21:17 <noxuma> super(NewtFactory.createWindow(
20131206 18:21:18 <noxuma> NativeWindowFactory.getNativeWindow(awtPanel, AWTGraphicsConfiguration.create((Component)awtPanel, gc, gc)),
20131206 18:21:18 <noxuma> gc));
20131206 18:21:24 <noxuma> and pass that over to newt
20131206 18:21:50 <rmk0> hm, would try:
20131206 18:21:57 <rmk0> GLProfile profile = GLProfile.get(GL2);
20131206 18:22:00 <rmk0> caps = new GLCapabilities(profile);
20131206 18:22:09 <noxuma> ok i'll try that real quick
20131206 18:22:10 <rmk0> and then pass those caps as you have been, and see what happens
20131206 18:23:16 <noxuma> GL2 as a string?
20131206 18:23:23 <rmk0> ah, GLProfile.GL2
20131206 18:24:03 <rmk0> i think "GL2" will work too, but that may be a coincidence!
20131206 18:24:24 <noxuma> hehe ok i see it
20131206 18:24:32 <rmk0> it may be a case of using GLProfile.isAvailable(..) on the various profiles given in GLProfile to see what's available on the current hardware
20131206 18:24:34 <noxuma> lemme send it over to the problem machine
20131206 18:24:52 <rmk0> GL2 might not be available, but GL4bc might (which is compatible, in your case)
20131206 18:25:52 <noxuma> what does the bc standfor?
20131206 18:25:59 <rmk0> backwards compatibility
20131206 18:26:03 <noxuma> oh cool
20131206 18:26:22 <rmk0> generally the 2.1 features are provided as a backwards compatibility extension these days
20131206 18:26:33 <rmk0> is something you have to ask for specifically upon context creation
20131206 18:28:08 <noxuma> still crashed =(
20131206 18:28:08 <noxuma> java.lang.RuntimeException: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:222) at jogamp.newt.DefaultEDTUtil.invoke(DefaultEDTUtil.java:138) at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:239) at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:1755) at
20131206 18:28:53 <rmk0> hm... does GLProfile.isAvailable(GLProfile.GL2) return true?
20131206 18:29:42 <noxuma> lemme test
20131206 18:33:07 <noxuma> Hehe oops i didn't actually compile properly, lemme try that all agaon
20131206 18:33:12 <rmk0> hehe
20131206 18:33:18 <noxuma> oh my PC GL2 Avail: true
20131206 18:33:18 <noxuma> GL4 Avail: true
20131206 18:33:18 <noxuma> GL: GL4bc
20131206 18:33:24 <noxuma> lemme try on the non-working PC
20131206 18:33:55 <rmk0> i'm betting you're going to see GL2 unavailable, GL4bc available
20131206 18:36:46 <noxuma> hmmm
20131206 18:36:54 <noxuma> javax.media.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw],
20131206 18:37:05 <rmk0> ...
20131206 18:37:10 <sgothel> use latest JOGL RC ..
20131206 18:37:25 <sgothel> if req a GL2 you should get GL3bc or GL4bc .. probably
20131206 18:37:34 <sgothel> there was a bug w/ latest NV driver ..
20131206 18:38:03 <sgothel> @Mark: The Mesa/AMD issue - IMHO we shall not attempt to do a workaround .. and live w/ it ..
20131206 18:38:19 <rmk0> sgothel: right... waiting for mesa to fix it?
20131206 18:38:28 <rmk0> and... stupid question, but why does 2.1.0 work?
20131206 18:38:32 <sgothel> Later, when we add the ES3 context thingy .. we may tackle that for 2.2
20131206 18:38:41 <noxuma> soo if i update my driver on my pc it'll stop working?
20131206 18:38:46 <sgothel> b/c we didn't validate ..
20131206 18:38:51 <rmk0> hm, right
20131206 18:39:06 <sgothel> but using an ES3 ctx for ES2 is invalid (CPU sourced VBO data for example)
20131206 18:39:24 <sgothel> so here it's a bug w/ AMD .. not offering the ES3 version in EGLConfig
20131206 18:39:34 <sgothel> we could ignore it .. hmm
20131206 18:39:43 <noxuma> Do you know what the fix was? I dont think we can recompile and upgrade jogl system wide at this time.
20131206 18:39:58 <sgothel> you tried latest RC ?
20131206 18:40:10 <noxuma> No, we're a few months back
20131206 18:40:37 <noxuma> embedded system, the embedded part works ok, its just the windows side crashes for 1 person who just got the latest nv drivers
20131206 18:44:58 * monsieur_max (~maxime@anon) has joined #jogamp
20131206 18:49:23 <noxuma> So i'm still a little confuzed, do you have a link to the bug that causes GL2 to not exist?
20131206 18:58:41 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=862
20131206 18:58:51 <sgothel> https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.1.1 <- fixed here
20131206 20:19:32 <noxuma> This bug is for linux? I'm getting this error on windows 7
20131206 20:31:24 <[Mike]> sgothel: I like your objectives layed out, Nice and clear :) -> http://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.2.0
20131206 20:42:24 <noxuma> Welp if u update to the latest driver in fact it does not work =) ok so thats nice to confirm :)
20131206 20:44:05 <sgothel> @Noxuma: Bug is w/ NV driver (windows, linux .. doesn't matter) - Should work w/ >= 2.1.1
20131206 20:44:51 <sgothel> @Mike: We will ofc split all the goals (slice/dice) for intermediate results .. and push unfinished business to the next release
20131206 20:45:18 <noxuma> Understood, do you have the comit log with the changes I need for that specific bug? (I can't risk getting the latest jogl)
20131206 20:45:31 <sgothel> however .. pls participate (discuss in bugreport and/or forum) if there is something you dislike etc ..
20131206 20:45:49 <sgothel> @Noxuma: Pls use the 'SCM Ref' field .. it contains the actual git-sha1
20131206 20:45:57 <noxuma> great thanks!
20131206 20:47:30 <sgothel> heads-up: we had regression w/ that fix .. so it's best to use the latest RC
20131206 20:47:35 <sgothel> (as always)
20131206 20:48:20 <noxuma> I know :) But we have like 5 months of testing on this version we have now and it works nicely for what we need, a small change for us is safer than a large scale change to latest rc
20131206 20:48:43 <sgothel> it's still compatible though!
20131206 20:48:52 <sgothel> but you are right - always test ..
20131206 20:49:21 <noxuma> Trust me I'd love to recompile to latest :) My boss however would not be happy with major changes this late in our cycle
20131206 20:49:35 <sgothel> holding back 2.1.3 .. you may noticed announcements in forum .. the 'should be perfect one' :)
20131206 20:49:46 <sgothel> sure sure ..
20131206 20:50:10 <sgothel> just giving you heads up .. that there are issues w/ the profile / context validation up until latest RC
20131206 20:50:38 <noxuma> I see. hmm Ok i'll bring it up with the bossman
20131206 20:50:41 <noxuma> thanks
20131206 20:51:01 <sgothel> but you can browse the releases yourself .. i.e. the bug reports .. and make your own choice
20131206 20:52:21 <sgothel> http://jogamp.org/git/?p=jogl.git;a=shortlog;h=refs/heads/b202_gl44 <- FYI .. a branch I did for another customer, who now chose to use upcoming latest 2.1.3
20131206 20:53:25 <sgothel> https://jogamp.org/chuck/view/fwd/job/jogl/ <- you are aware of our unit tests I assume ?
20131206 20:53:48 <sgothel> if you guys like to add a few for your special cases, you can add them into out repo ofc!
20131206 20:54:19 <sgothel> you can also hire: http://jogamp.org/wiki/index.php/Maintainer_and_Contacts#Contacts :)
20131206 20:54:40 <noxuma> Our testing is by our system wide QA department but thank you! :)
20131206 20:55:09 <sgothel> sure .. but injecting something back to our test system will ensure availability of certain features ..
20131206 20:55:33 <sgothel> i.e. aware of upstream compat
20131206 20:56:50 <noxuma> So far we' haven't had to actually make any changes, jogl has always just worked nicely until nvidia came long w/ their hammer
20131206 20:57:42 <sgothel> great .. just saying .. best to have one test machine of yours testing w/ latest to signal an issue, IMHO
20131206 20:57:57 <sgothel> then we can discuss early ..
20131206 20:58:38 <noxuma> That would be pretty awesome, but we only have an update window of our low level code every couple years :( so we get latest most stable at those times, and then we ride it out for a few years
20131206 20:59:14 <sgothel> do we have your product listed on JOGL ? if you think it's notable, pls send a description and a nice screenshot (160x[<=160]) w/ an URL
20131206 20:59:38 <sgothel> sounds like some good ole energy sector thingy ..
20131206 21:00:26 <noxuma> I don't think we're listed, i'm not particularly authorized to do any media or marketing stuff but i could bring it up with that department
20131206 21:01:22 <sgothel> sure, would be nice
20131206 21:36:30 <noxuma> Woot it works =)
20131206 21:36:52 <noxuma> Just took the decrementGL changes in GLContext
20131206 21:47:17 <noxuma> Thanks again for the help, take care.
20131206 21:47:20 * noxuma (~markt@anon) has left #jogamp
20131206 22:04:12 <monsieur_max> sgothel: using lines to emulate points is working :P
20131206 22:04:36 <monsieur_max> it's not really what i can call an elegant way to proceed BUT it works :)
20131206 22:12:50 * noxuma (~markt@anon) has joined #jogamp
20131206 22:12:54 * noxuma (~markt@anon) has left #jogamp
20131206 23:08:36 <rmk0> didn't realize a GL2 request might give you a GL4bc
20131206 23:08:38 <rmk0> shows what i know!
20131206 23:10:02 * void256 (~void@anon) has joined #jogamp
20131206 23:32:37 * void256_ (~void@anon) has joined #jogamp
20131206 23:34:16 * void256 (~void@anon) Quit (Ping timeout: 246 seconds)
20131206 23:34:21 * void256_ is now known as void256
20131207 00:11:29 <sgothel> @Mark: Thats our profile aliasing .. always highest compatible profile mapped to .. - can be disabled, but it's not advised
20131207 00:11:55 <rmk0> seems like a good idea
20131207 00:11:56 <sgothel> i.e. the GLProfile dump shows you [GL2/GL4bc] .. etc
20131207 00:14:09 * monsieur_max (~maxime@anon) has left #jogamp
20131207 02:07:02 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018])
20131207 05:05:56 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20131207050556.html