<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Small update on this: I tried gDEBugger (found via cnet.com) but
      it won't run on current OSX anymore. So no luck there.<br>
      <br>
      I will look into apitrace when there is time... Keep you posted.<br>
      <br>
      Cheers<br>
      Raymond<br>
      <br>
      <br>
      On 10/15/2016 3:17 PM, Trajce Nikolov NICK wrote:<br>
    </div>
    <blockquote
cite="mid:CAO-+zikyXEVe-vjnPmCVWGms5C2S=_Sq9CcR3uoO2THs_aYJOA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Raymond, try gDebugger (there is release for Mac OS
        too) or this apitrace. You can easely catch the OpenGL: error -
        with gDebugger it can show you the source code line producing
        the error</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Oct 15, 2016 at 2:26 PM,
          Raymond de Vries <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:reedev@xs4all.nl"
              target="_blank">reedev@xs4all.nl</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Robert,<br>
            <br>
            Ouch, typo, I meant to set the OSG_GL_ERROR_CHECKING
            properly...<br>
            <br>
            I am afraid this won't provide more info neither:<br>
            <br>
            MB:~ ray$ env | grep ONCE<br>
            OSG_GL_ERROR_CHECKING=ONCE_PER<wbr>_ATTRIBUTE<br>
            MB:~ ray$ env | grep NOTIFY<br>
            OSG_NOTIFY_LEVEL=NOTICE<br>
            MBAngela-3:~ ray$ osgviewer cow.osg<br>
            OSG_VERTEX_BUFFER_HINT set to VERTEX_ARRAY_OBJECT<span
              class=""><br>
              ViewerBase::configureAffinity(<wbr>) numProcessors=8<br>
                databasePagers = 1<br>
              _forceVertexArrayObject = 0<br>
              _forceVertexBufferObject = 0<br>
            </span>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            Warning: detected OpenGL error 'invalid operation' at start
            of State::apply()<br>
            <br>
            When I have more time, I will dig into it more. Do you have
            other suggestions in the mean time?<br>
            <br>
            Cheers<span class="HOEnZb"><font color="#888888"><br>
                Raymond</font></span>
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                <br>
                <br>
                <br>
                On 15-10-2016 13:29, Robert Osfield wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Hi Raymond,<br>
                  <br>
                  Unfortunately the output doesn't yet provide anything
                  clearer to what<br>
                  might be amiss.<br>
                  <br>
                  Could you try the test with the env
                  OSG_GL_ERROR_CHECKING set to<br>
                  ONCE_PER_ATTRIBUTE, setting the env var to
                  OSG_GL_ERROR_CHECKINGas<br>
                  your specified will not change the setting, so will
                  default to<br>
                  ONCE_PER_FRAME.<br>
                  <br>
                  Robert.<br>
                  <br>
                  On 15 October 2016 at 09:13, Raymond de Vries <<a
                    moz-do-not-send="true"
                    href="mailto:reedev@xs4all.nl" target="_blank">reedev@xs4all.nl</a>>
                  wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Hi,<br>
                    <br>
                    I did another test and the output with default
                    settings is (NOTICE):<br>
                    <br>
                    ViewerBase::configureAffinity(<wbr>) numProcessors=8<br>
                       databasePagers = 1<br>
                    _forceVertexArrayObject = 0<br>
                    _forceVertexBufferObject = 0<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    <constantly same lines><br>
                    <br>
                    Setting OSG_GL_ERROR_CHECKING=OSG_GL_E<wbr>RROR_CHECKING
                    does not make a<br>
                    difference in output.<br>
                    <br>
                    Setting OSG_NOTIFY_LEVEL to INFO reveals this part
                    that might be<br>
                    interesting:<br>
                    <br>
                    Created new 0x7fdf1b714510 TextureObject,
                    _numOfTextureObjects 1<br>
                    OpenGL extension '' is not supported.<br>
                    RenderStage::runCameraSetUp(os<wbr>g::RenderInfo&
                    renderInfo) 0x7fdf1b712660<br>
                    Setting up osg::Camera::FRAME_BUFFER<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    ShaderComposer::~ShaderCompose<wbr>r()
                    0x7fdf1b40dd80<br>
                    OpenGL extension '' is not supported.<br>
                    RenderStage::runCameraSetUp(os<wbr>g::RenderInfo&
                    renderInfo) 0x7fdf1b40ecd0<br>
                    Setting up osg::Camera::FRAME_BUFFER<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    Warning: detected OpenGL error 'invalid operation'
                    at after<br>
                    RenderBin::draw(..)<br>
                    <br>
                    Cheers, hth,<br>
                    Raymond<br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    On 14-10-2016 13:51, Raymond de Vries wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Hi Robert,<br>
                      <br>
                      Yes, indeed, that's the OpenGL error. I have build
                      the same version on<br>
                      Windows (nvidia card) and no such error so I am
                      not sure of course if it has<br>
                      to do with OSX or not.<br>
                      <br>
                      The last version that I checked was 3.5.4 and that
                      one doesn't produce the<br>
                      errors. Indeed, I tested it explicitly because of
                      the VAO changes.<br>
                      <br>
                      Later, I will produce more results and post them.<br>
                      <br>
                      Regards,<br>
                      Raymond<br>
                      <br>
                      <br>
                      <br>
                      <br>
                      On 10/14/2016 1:35 PM, Robert Osfield wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        Hi Raymond,<br>
                        <br>
                        Thanks for the logs, unfortunately the debug
                        logs actually make it<br>
                        more difficult to spot the actual errors.   The
                        only error I spotted<br>
                        was:<br>
                        <br>
                        Warning: detected OpenGL error 'invalid
                        operation' at after<br>
                        RenderBin::draw(..)<br>
                        <br>
                        Is this the error you are thinking of?<br>
                        <br>
                        Could you set the OSG_NOTIFY_LEVEL back to
                        NOTICE and the env<br>
                        OSG_GL_ERROR_CHECKING env var to
                        ONCE_PER_ATTRIBUTE<br>
                        <br>
                        This hopefully will enable us to home in a bit
                        more closely to what<br>
                        might be causing the GL error.<br>
                        <br>
                        Another useful bit of information is the last
                        OSG version that doesn't<br>
                        report the above error on our system.  It could
                        be that the cause of<br>
                        the GL error precedes the VAO work.<br>
                        <br>
                        Cheers,<br>
                        Robert.<br>
                        <br>
                        On 14 October 2016 at 11:13, Raymond de Vries
                        <<a moz-do-not-send="true"
                          href="mailto:reedev@xs4all.nl" target="_blank">reedev@xs4all.nl</a>>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          Hi Robert,<br>
                          <br>
                          I just tried a build from this mornings git
                          master on my Mac book (up to<br>
                          date OSX and dependencies) and both the
                          default and VAO paths result in<br>
                          OpenGL errors. I have attached 2 (stripped)
                          logs which I created after I<br>
                          increased the notify level. Rendering results
                          of cow, cessna and some<br>
                          other<br>
                          models look ok.<br>
                          <br>
                          I was going to try gdebugger but that one is
                          not available anymore?! If<br>
                          you<br>
                          have some hints to produce more info I am
                          happy to test some more.<br>
                          <br>
                          Cheers<br>
                          Raymond<br>
                          <br>
                          ______________________________<wbr>_________________<br>
                          osg-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:osg-users@lists.openscenegraph.org"
                            target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                          <br>
                          <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                            rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
                          <br>
                        </blockquote>
                        ______________________________<wbr>_________________<br>
                        osg-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:osg-users@lists.openscenegraph.org"
                          target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                        <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                          rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
                      </blockquote>
                      <br>
                      ______________________________<wbr>_________________<br>
                      osg-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:osg-users@lists.openscenegraph.org"
                        target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                      <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                        rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
                    </blockquote>
                    <br>
                    ______________________________<wbr>_________________<br>
                    osg-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:osg-users@lists.openscenegraph.org"
                      target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                    <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                      rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
                  </blockquote>
                  ______________________________<wbr>_________________<br>
                  osg-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:osg-users@lists.openscenegraph.org"
                    target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                  <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                    rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
                </blockquote>
                <br>
                ______________________________<wbr>_________________<br>
                osg-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:osg-users@lists.openscenegraph.org"
                  target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
                <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
                  rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">trajce
          nikolov nick<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>