Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Ryan Pavlik
On Wed, Jun 1, 2011 at 1:58 PM, Paul Martz  wrote:

> On 6/1/2011 12:09 PM, Jean-Francois Gagnon wrote:
>
>> Have you tried launching your application with gDebugger? I think it is
>> quite
>> apt and quick to find the source of those issues. There is an option that
>> let
>> you break the application upon error detection.
>>
>> Here is the link: http://www.gremedy.com/
>>
>
> Ditto. gDebugger or GLIntercept will nail down an error like this in
> seconds.
>   -Paul


A recent development is APITrace, which is a similar application,
open-source, and under very active development.

https://github.com/apitrace/apitrace

Ryan

-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Paul Martz

On 6/1/2011 12:09 PM, Jean-Francois Gagnon wrote:

Have you tried launching your application with gDebugger? I think it is quite
apt and quick to find the source of those issues. There is an option that let
you break the application upon error detection.

Here is the link: http://www.gremedy.com/


Ditto. gDebugger or GLIntercept will nail down an error like this in seconds.
   -Paul

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Jean-Francois Gagnon

On 01/06/2011 2:04 PM, Paul Palumbo wrote:

Correct...  When I use the osgExample code with --vbo (and even without --vbo), 
I get no errors.  However, when I put this code into our code, I start getting 
these warnings.  I only care about the surface effects and we are shading the 
surface differently.  I don't understand why it works with 260 version of the 
driver but not 270 (on LINUX).

The issues seems to be in Geometry in MipmapGeometryVBO.cpp.  I don't see 
anything wrong with the code but I'm having trouble tracking down what is 
causing these OpenGL messages.

Paul P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40019#40019





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Hello,

Have you tried launching your application with gDebugger? I think it is 
quite apt and quick to find the source of those issues. There is an 
option that let you break the application upon error detection.


Here is the link: http://www.gremedy.com/


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Paul Palumbo
Correct...  When I use the osgExample code with --vbo (and even without --vbo), 
I get no errors.  However, when I put this code into our code, I start getting 
these warnings.  I only care about the surface effects and we are shading the 
surface differently.  I don't understand why it works with 260 version of the 
driver but not 270 (on LINUX).

The issues seems to be in Geometry in MipmapGeometryVBO.cpp.  I don't see 
anything wrong with the code but I'm having trouble tracking down what is 
causing these OpenGL messages.

Paul P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40019#40019





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Kim Bale
Hi Paul,

I can try this tomorrow at work as I have a quadro there.

When you say you don't get the error using "pure osgOcean code" do you mean
the ocean example?

Regards,

Kim.


On 1 June 2011 17:04, Paul Palumbo  wrote:

> I'm getting the following warning:
> Warning: detected OpenGL error 'invalid operation' at end of
> Geometry::drawImplementation().
>
> How do I narrow down what the problem is?
>
> I have OSG_GL_ERROR_CHECKING set to ONCE_PER_ATTRIBUTE.
>
> I only started seeing this warning when I switch from 260.19.21 of the
> NVIDIA driver to 270.41.06 (I have an FX 5800).
>
> I get this message when I'm using OSG 2.9.9 and OSG 2.9.12.
>
> I'm running with a version of the osgOcean code and my ocean doesn't seem
> to be displayed when I get this error.  I get this with the VBO and non-VBO
> implementation. I also don't get this warning when I run the pure osgOcean
> code and I'm not having much success trying to isolate the problem. The
> problem seems to be associated with the ocean polygons.
>
> Any advice on how to debug this would be appreciated. I've been pulling my
> hair out for a week trying to figure this out. Anybody else having trouble
> with 270.41.06?
>
> Paul P.
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=40013#40013
>
>
>
>
>
> ___
> 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


[osg-users] OpenGL invalid operation error

2011-06-01 Thread Paul Palumbo
I'm getting the following warning:
Warning: detected OpenGL error 'invalid operation' at end of 
Geometry::drawImplementation().

How do I narrow down what the problem is?

I have OSG_GL_ERROR_CHECKING set to ONCE_PER_ATTRIBUTE.

I only started seeing this warning when I switch from 260.19.21 of the NVIDIA 
driver to 270.41.06 (I have an FX 5800).

I get this message when I'm using OSG 2.9.9 and OSG 2.9.12.

I'm running with a version of the osgOcean code and my ocean doesn't seem to be 
displayed when I get this error.  I get this with the VBO and non-VBO 
implementation. I also don't get this warning when I run the pure osgOcean code 
and I'm not having much success trying to isolate the problem. The problem 
seems to be associated with the ocean polygons.

Any advice on how to debug this would be appreciated. I've been pulling my hair 
out for a week trying to figure this out. Anybody else having trouble with 
270.41.06?

Paul P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40013#40013





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org