On 10/26/05, Andreas Zieringer <[EMAIL PROTECTED]> wrote:
> Hi Terry,
>
> are you sure about the lines 666 and 667? I can't see any reason why

yes

> this should lead to a crash. But I changed it to
>
> if(getAnisotropy() > 1.0f &&
> win->hasExtension(_extTextureFilterAnisotropic))
>         glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
> getAnisotropy());

That also fixes the problem with those two lines.  Thank you.  I still
don't understand what caused that problem in the first place, though.
>
> ok the npot2 extension could lead to a driver crash because it is quite
> new and perhaps buggy. But setting OSG_IGNORE_EXTENSIONS should fix the
> problem that is really weird.

It looks like I was slightly overzealous.  971 is the only line I need
to comment out.  1297 makes no difference.  And I still have no idea
why :)  I agree that

setenv OSG_IGNORE_EXTENSIONS GL_ARB_texture_non_power_of_two

should have the same effect as removing line 971, but it still does not help.

My graphics driver is a prime suspect of mine as well.  I have seen
graphics drivers cause weird problems like this in the past. 
Hopefully there will be an update soon....

Terry
>
> Andreas
>
>
>
> > This is a long shot, but I wanted to see if anyone else out there has
> > been having similar problems to mine.  I'm getting mysterious
> > segfaults running an app with a very complex scenegraph.
> > Occasionally, my machine just reboots.  I'm using FC4 with a GeForce
> > 7800 (driver version1.0-7676).
> >
> > Looking at stack traces were not helping me.  So by comparing with
> > older OpenSG versions I found that I could fix my problems by
> > commenting out the following lines in OSGTextureChunk.cpp:
> >
> > 666   if(win->hasExtension(_extTextureFilterAnisotropic))
> > 667      glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,
> > getAnisotropy());
> > 971   !win->hasExtension(_arbTextureNonPowerOfTwo) &&
> > 1297   || win->hasExtension(_arbTextureNonPowerOfTwo)
> >
> > I also tried using
> > export 
> > OSG_IGNORE_EXTENSIONS=GL_ARB_texture_non_power_of_two,GL_EXT_texture_filter_anisotropic
> > but that does not help.
> >
> > Has anyone else had any problems like this lately?
> > --
> > Terry Welsh - mogumbo 'at' gmail.com
> > www.reallyslick.com  |  www.infiscape.com  |  www.vrsource.org
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Opensg-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to