Re: [osg-users] invalid enumerant error
Thanks Conan! Nick On Thu, Oct 23, 2014 at 3:08 PM, Conan Doyle wrote: > +1 on gDEBbugger.. very useful tool... also look into AMD CodeXL, which I > believe, is an updated version of gDEBugger. > > > Trajce Nikolov NICK wrote: > > Thanks Sebasitian . I have heard of it but never tried. Now seam the > time comes. Thanks again! > > > > Nick > > > > > > On Thu, Oct 23, 2014 at 1:50 PM, Sebastian Messerschmidt < ()> wrote: > > > > > Hi Nick, > > > > > > I usually use GDebugger or similar tools which can hook into the > OpenGLDriver. There you can get the stack-trace telling you the provoking > OpenGL call. > > > Good tools might like GDebugger will also allow you to see the actual > code (e.g. the OSG call) where the error stems from > > > > > > > > > > > > > > > > Thanks Karl, > > > > > > > > I set this in my code: > > > > > > > > > > > > std::ostringstream oss; > > > > oss << "OSG_GL_ERROR_CHECKING=ON"; > > > > _putenv(oss.str().c_str()); > > > > > > > > > > > > > > > > still getting the same output, nothing extra. I am using > TextureRectangle as well so might be the same issue. Any further hints? > > > > > > > > > > > > Thanks a bunch! > > > > > > > > > > > > Nick > > > > > > > > > > > > On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. < ()> wrote: > > > > > > > > > Robert had a suggestion in the past that helped me track down a > similar issue in the past. From an earlier post from him: > > > > > > > > > > One way of pinpointing the error better is to enable fine grained > error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING > to ON, on my Linux system this is: > > > > > > > > > > > > > > >export OSG_GL_ERROR_CHECKING=ON > > > > > > > > > > In my case this pointed me to a Texture2DRectangle that I was > improperly declaring a min filter on. Hope this helps. > > > > > > > > > > -Original Message- > > > > > From: osg-users [mailto: ()] On Behalf Of Trajce Nikolov NICK > > > > > Sent: Thursday, October 23, 2014 6:57 AM > > > > > To: OpenSceneGraph Users > > > > > Subject: invalid enumerant error > > > > > > > > > > Hi community, > > > > > > > > > > This is question for those who has debug OpenGL apps. I am getting > the following message: > > > > > > > > > > "Warning: detected OpenGL error 'invalid enumerant' after applying > GLMode 0x40b3" > > > > > > > > > > Any hints how to resolve it or at least get some more info? > > > > > > > > > > Thanks a lot, > > > > > > > > > > Nick > > > > > > > > > > > > > > > -- > > > > > trajce nikolov nick > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > > osg-users mailing list > > > > > () > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > trajce nikolov nick > > > > > > > > > > > > > > > > > > > > > ___ > > > > > osg-users mailing list > > > > > () > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > osg-users mailing list > > > () > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > -- > > trajce nikolov nick > > > > -- > > Post generated by Mail2Forum > > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=61399#61399 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
+1 on gDEBbugger.. very useful tool... also look into AMD CodeXL, which I believe, is an updated version of gDEBugger. Trajce Nikolov NICK wrote: > Thanks Sebasitian . I have heard of it but never tried. Now seam the time > comes. Thanks again! > > Nick > > > On Thu, Oct 23, 2014 at 1:50 PM, Sebastian Messerschmidt < ()> wrote: > > > Hi Nick, > > > > I usually use GDebugger or similar tools which can hook into the > > OpenGLDriver. There you can get the stack-trace telling you the provoking > > OpenGL call. > > Good tools might like GDebugger will also allow you to see the actual code > > (e.g. the OSG call) where the error stems from > > > > > > > > > > > Thanks Karl, > > > > > > I set this in my code: > > > > > > > > > std::ostringstream oss; > > > oss << "OSG_GL_ERROR_CHECKING=ON"; > > > _putenv(oss.str().c_str()); > > > > > > > > > > > > still getting the same output, nothing extra. I am using TextureRectangle > > > as well so might be the same issue. Any further hints? > > > > > > > > > Thanks a bunch! > > > > > > > > > Nick > > > > > > > > > On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. < ()> wrote: > > > > > > > Robert had a suggestion in the past that helped me track down a similar > > > > issue in the past. From an earlier post from him: > > > > > > > > One way of pinpointing the error better is to enable fine grained error > > > > checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to > > > > ON, on my Linux system this is: > > > > > > > > > > > > export OSG_GL_ERROR_CHECKING=ON > > > > > > > > In my case this pointed me to a Texture2DRectangle that I was > > > > improperly declaring a min filter on. Hope this helps. > > > > > > > > -Original Message- > > > > From: osg-users [mailto: ()] On Behalf Of Trajce Nikolov NICK > > > > Sent: Thursday, October 23, 2014 6:57 AM > > > > To: OpenSceneGraph Users > > > > Subject: invalid enumerant error > > > > > > > > Hi community, > > > > > > > > This is question for those who has debug OpenGL apps. I am getting the > > > > following message: > > > > > > > > "Warning: detected OpenGL error 'invalid enumerant' after applying > > > > GLMode 0x40b3" > > > > > > > > Any hints how to resolve it or at least get some more info? > > > > > > > > Thanks a lot, > > > > > > > > Nick > > > > > > > > > > > > -- > > > > trajce nikolov nick > > > > > > > > > > > > > > > > > > > > ___ > > > > osg-users mailing list > > > > () > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > > > > > > > > > > > > > > > -- > > > trajce nikolov nick > > > > > > > > > > > > > > > > ___ > > > > osg-users mailing list > > > > () > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > > > > > > > > > > > ___ > > osg-users mailing list > > () > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > -- > trajce nikolov nick > > -- > Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61399#61399 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
Thanks Sebasitian . I have heard of it but never tried. Now seam the time comes. Thanks again! Nick On Thu, Oct 23, 2014 at 1:50 PM, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Hi Nick, > > I usually use GDebugger or similar tools which can hook into the > OpenGLDriver. There you can get the stack-trace telling you the provoking > OpenGL call. > Good tools might like GDebugger will also allow you to see the actual code > (e.g. the OSG call) where the error stems from > > > Thanks Karl, > > I set this in my code: > > std::ostringstream oss; > oss << "OSG_GL_ERROR_CHECKING=ON"; > _putenv(oss.str().c_str()); > > still getting the same output, nothing extra. I am using > TextureRectangle as well so might be the same issue. Any further hints? > > Thanks a bunch! > > Nick > > On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. > wrote: > >> Robert had a suggestion in the past that helped me track down a similar >> issue in the past. From an earlier post from him: >> >> One way of pinpointing the error better is to enable fine grained error >> checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, >> on my Linux system this is: >> >> >>export OSG_GL_ERROR_CHECKING=ON >> >> In my case this pointed me to a Texture2DRectangle that I was improperly >> declaring a min filter on. Hope this helps. >> >> -Original Message- >> From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On >> Behalf Of Trajce Nikolov NICK >> Sent: Thursday, October 23, 2014 6:57 AM >> To: OpenSceneGraph Users >> Subject: [osg-users] invalid enumerant error >> >> Hi community, >> >> This is question for those who has debug OpenGL apps. I am getting the >> following message: >> >> "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode >> 0x40b3" >> >> Any hints how to resolve it or at least get some more info? >> >> Thanks a lot, >> >> Nick >> >> >> -- >> trajce nikolov nick >> >> >> ___ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > > -- > trajce nikolov nick > > > ___ > osg-users mailing > listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
Hi Nick, I usually use GDebugger or similar tools which can hook into the OpenGLDriver. There you can get the stack-trace telling you the provoking OpenGL call. Good tools might like GDebugger will also allow you to see the actual code (e.g. the OSG call) where the error stems from Thanks Karl, I set this in my code: std::ostringstream oss; oss << "OSG_GL_ERROR_CHECKING=ON"; _putenv(oss.str().c_str()); still getting the same output, nothing extra. I am using TextureRectangle as well so might be the same issue. Any further hints? Thanks a bunch! Nick On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. <mailto:karl.a.c...@leidos.com>> wrote: Robert had a suggestion in the past that helped me track down a similar issue in the past. From an earlier post from him: One way of pinpointing the error better is to enable fine grained error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, on my Linux system this is: export OSG_GL_ERROR_CHECKING=ON In my case this pointed me to a Texture2DRectangle that I was improperly declaring a min filter on. Hope this helps. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org <mailto:osg-users-boun...@lists.openscenegraph.org>] On Behalf Of Trajce Nikolov NICK Sent: Thursday, October 23, 2014 6:57 AM To: OpenSceneGraph Users Subject: [osg-users] invalid enumerant error Hi community, This is question for those who has debug OpenGL apps. I am getting the following message: "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x40b3" Any hints how to resolve it or at least get some more info? Thanks a lot, Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org <mailto:osg-users@lists.openscenegraph.org> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
thats the ugly approach ... but needed indeed. Thanks again Nick On Thu, Oct 23, 2014 at 1:44 PM, Cary, Karl A. wrote: > Just checked my changelog, I thought it was a min filter, but actually it > was I was enabling wrap, which isn't allowed for a texture rectangle. Not > sure if this is it or not. From it saying GLMode, I would suspect you are > doing a stateset setAttribute or setMode that isn't viable. Personally I > would suggest commenting out large groups of stateset code until the error > goes away and use that to track down what section of your code is doing it. > > -Original Message- > From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On > Behalf Of Trajce Nikolov NICK > Sent: Thursday, October 23, 2014 7:36 AM > To: OpenSceneGraph Users > Subject: Re: [osg-users] invalid enumerant error > > Thanks Karl, > > I set this in my code: > > std::ostringstream oss; > oss << "OSG_GL_ERROR_CHECKING=ON"; > _putenv(oss.str().c_str()); > > still getting the same output, nothing extra. I am using TextureRectangle > as well so might be the same issue. Any further hints? > > Thanks a bunch! > > Nick > > On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. > wrote: > > > Robert had a suggestion in the past that helped me track down a > similar issue in the past. From an earlier post from him: > > One way of pinpointing the error better is to enable fine grained > error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING > to ON, on my Linux system this is: > > >export OSG_GL_ERROR_CHECKING=ON > > In my case this pointed me to a Texture2DRectangle that I was > improperly declaring a min filter on. Hope this helps. > > > -Original Message- > From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] > On Behalf Of Trajce Nikolov NICK > Sent: Thursday, October 23, 2014 6:57 AM > To: OpenSceneGraph Users > Subject: [osg-users] invalid enumerant error > > Hi community, > > This is question for those who has debug OpenGL apps. I am getting > the following message: > > "Warning: detected OpenGL error 'invalid enumerant' after applying > GLMode 0x40b3" > > Any hints how to resolve it or at least get some more info? > > Thanks a lot, > > Nick > > > -- > trajce nikolov nick > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > -- > trajce nikolov nick > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
Just checked my changelog, I thought it was a min filter, but actually it was I was enabling wrap, which isn't allowed for a texture rectangle. Not sure if this is it or not. From it saying GLMode, I would suspect you are doing a stateset setAttribute or setMode that isn't viable. Personally I would suggest commenting out large groups of stateset code until the error goes away and use that to track down what section of your code is doing it. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Trajce Nikolov NICK Sent: Thursday, October 23, 2014 7:36 AM To: OpenSceneGraph Users Subject: Re: [osg-users] invalid enumerant error Thanks Karl, I set this in my code: std::ostringstream oss; oss << "OSG_GL_ERROR_CHECKING=ON"; _putenv(oss.str().c_str()); still getting the same output, nothing extra. I am using TextureRectangle as well so might be the same issue. Any further hints? Thanks a bunch! Nick On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. wrote: Robert had a suggestion in the past that helped me track down a similar issue in the past. From an earlier post from him: One way of pinpointing the error better is to enable fine grained error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, on my Linux system this is: export OSG_GL_ERROR_CHECKING=ON In my case this pointed me to a Texture2DRectangle that I was improperly declaring a min filter on. Hope this helps. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Trajce Nikolov NICK Sent: Thursday, October 23, 2014 6:57 AM To: OpenSceneGraph Users Subject: [osg-users] invalid enumerant error Hi community, This is question for those who has debug OpenGL apps. I am getting the following message: "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x40b3" Any hints how to resolve it or at least get some more info? Thanks a lot, Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick smime.p7s Description: S/MIME cryptographic signature ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
Thanks Karl, I set this in my code: std::ostringstream oss; oss << "OSG_GL_ERROR_CHECKING=ON"; _putenv(oss.str().c_str()); still getting the same output, nothing extra. I am using TextureRectangle as well so might be the same issue. Any further hints? Thanks a bunch! Nick On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. wrote: > Robert had a suggestion in the past that helped me track down a similar > issue in the past. From an earlier post from him: > > One way of pinpointing the error better is to enable fine grained error > checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, > on my Linux system this is: > > >export OSG_GL_ERROR_CHECKING=ON > > In my case this pointed me to a Texture2DRectangle that I was improperly > declaring a min filter on. Hope this helps. > > -Original Message- > From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On > Behalf Of Trajce Nikolov NICK > Sent: Thursday, October 23, 2014 6:57 AM > To: OpenSceneGraph Users > Subject: [osg-users] invalid enumerant error > > Hi community, > > This is question for those who has debug OpenGL apps. I am getting the > following message: > > "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode > 0x40b3" > > Any hints how to resolve it or at least get some more info? > > Thanks a lot, > > Nick > > > -- > trajce nikolov nick > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] invalid enumerant error
Robert had a suggestion in the past that helped me track down a similar issue in the past. From an earlier post from him: One way of pinpointing the error better is to enable fine grained error checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, on my Linux system this is: export OSG_GL_ERROR_CHECKING=ON In my case this pointed me to a Texture2DRectangle that I was improperly declaring a min filter on. Hope this helps. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Trajce Nikolov NICK Sent: Thursday, October 23, 2014 6:57 AM To: OpenSceneGraph Users Subject: [osg-users] invalid enumerant error Hi community, This is question for those who has debug OpenGL apps. I am getting the following message: "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x40b3" Any hints how to resolve it or at least get some more info? Thanks a lot, Nick -- trajce nikolov nick smime.p7s Description: S/MIME cryptographic signature ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] invalid enumerant error
Hi community, This is question for those who has debug OpenGL apps. I am getting the following message: "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x40b3" Any hints how to resolve it or at least get some more info? Thanks a lot, Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org