[osg-users] Master renders with OpenGL error on OSX

Raymond de Vries reedev at xs4all.nl
Sat Oct 15 01:13:06 PDT 2016


Hi,

I did another test and the output with default settings is (NOTICE):

ViewerBase::configureAffinity() numProcessors=8
   databasePagers = 1
_forceVertexArrayObject = 0
_forceVertexBufferObject = 0
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
<constantly same lines>

Setting OSG_GL_ERROR_CHECKING=OSG_GL_ERROR_CHECKING does not make a 
difference in output.

Setting OSG_NOTIFY_LEVEL to INFO reveals this part that might be 
interesting:

Created new 0x7fdf1b714510 TextureObject, _numOfTextureObjects 1
OpenGL extension '' is not supported.
RenderStage::runCameraSetUp(osg::RenderInfo& renderInfo) 0x7fdf1b712660
Setting up osg::Camera::FRAME_BUFFER
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
ShaderComposer::~ShaderComposer() 0x7fdf1b40dd80
OpenGL extension '' is not supported.
RenderStage::runCameraSetUp(osg::RenderInfo& renderInfo) 0x7fdf1b40ecd0
Setting up osg::Camera::FRAME_BUFFER
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)
Warning: detected OpenGL error 'invalid operation' at after 
RenderBin::draw(..)

Cheers, hth,
Raymond




On 14-10-2016 13:51, Raymond de Vries wrote:
> Hi Robert,
>
> Yes, indeed, that's the OpenGL error. I have build the same version on 
> Windows (nvidia card) and no such error so I am not sure of course if 
> it has to do with OSX or not.
>
> The last version that I checked was 3.5.4 and that one doesn't produce 
> the errors. Indeed, I tested it explicitly because of the VAO changes.
>
> Later, I will produce more results and post them.
>
> Regards,
> Raymond
>
>
>
>
> On 10/14/2016 1:35 PM, Robert Osfield wrote:
>> Hi Raymond,
>>
>> Thanks for the logs, unfortunately the debug logs actually make it
>> more difficult to spot the actual errors.   The only error I spotted
>> was:
>>
>> Warning: detected OpenGL error 'invalid operation' at after 
>> RenderBin::draw(..)
>>
>> Is this the error you are thinking of?
>>
>> Could you set the OSG_NOTIFY_LEVEL back to NOTICE and the env
>> OSG_GL_ERROR_CHECKING env var to ONCE_PER_ATTRIBUTE
>>
>> This hopefully will enable us to home in a bit more closely to what
>> might be causing the GL error.
>>
>> Another useful bit of information is the last OSG version that doesn't
>> report the above error on our system.  It could be that the cause of
>> the GL error precedes the VAO work.
>>
>> Cheers,
>> Robert.
>>
>> On 14 October 2016 at 11:13, Raymond de Vries <reedev at xs4all.nl> wrote:
>>> Hi Robert,
>>>
>>> I just tried a build from this mornings git master on my Mac book 
>>> (up to
>>> date OSX and dependencies) and both the default and VAO paths result in
>>> OpenGL errors. I have attached 2 (stripped) logs which I created 
>>> after I
>>> increased the notify level. Rendering results of cow, cessna and 
>>> some other
>>> models look ok.
>>>
>>> I was going to try gdebugger but that one is not available anymore?! 
>>> If you
>>> have some hints to produce more info I am happy to test some more.
>>>
>>> Cheers
>>> Raymond
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
>>>
>>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list