Re: [osg-users] osgText + NVidia driver bug fix checked in
WOO-HOO! This fixes the exact bug I was seeing in osgWidget, too! Awesome... On Sat, 2008-03-29 at 09:12 +, Robert Osfield wrote: Hi All, Thanks to Sherman Wilcox the cause of the crash in osgText looks to have been tracked down to a problem with some NVidia drivers handling subloading of 0 sized data that was triggered by spaces in text. While this actually is a legal size but it causes the NVidia driver to crash no less - so very much looks to be an Nvidia driver bug hence why most users don't see it. However, it doesn't actually make much sense to call OpenGL with a 0 sized subload so we can easily work around but not calling OpenGL in this instance. I've checked in Sherman's fix, could users who've seen this problem do an svn update and let me know how you get on. Cheers, Robert. ___ 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] osgText + NVidia driver bug fix checked in
Hi Robert, Looks like that did the trick. Thanks Gert Hi All, Thanks to Sherman Wilcox the cause of the crash in osgText looks to have been tracked down to a problem with some NVidia drivers handling subloading of 0 sized data that was triggered by spaces in text. While this actually is a legal size but it causes the NVidia driver to crash no less - so very much looks to be an Nvidia driver bug hence why most users don't see it. However, it doesn't actually make much sense to call OpenGL with a 0 sized subload so we can easily work around but not calling OpenGL in this instance. I've checked in Sherman's fix, could users who've seen this problem do an svn update and let me know how you get on. Cheers, Robert. -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgText + NVidia driver bug fix checked in
Hi All, Thanks to Sherman Wilcox the cause of the crash in osgText looks to have been tracked down to a problem with some NVidia drivers handling subloading of 0 sized data that was triggered by spaces in text. While this actually is a legal size but it causes the NVidia driver to crash no less - so very much looks to be an Nvidia driver bug hence why most users don't see it. However, it doesn't actually make much sense to call OpenGL with a 0 sized subload so we can easily work around but not calling OpenGL in this instance. I've checked in Sherman's fix, could users who've seen this problem do an svn update and let me know how you get on. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgText + NVidia driver bug fix checked in
Hi all, I've checked in Sherman's fix, could users who've seen this problem do an svn update and let me know how you get on. after svn-update and a complete rebuild I still have some issues . The behavior of the app is more stable now (when switching threading model modes), but it still crashes. Sometimes, the whole system is frozen. It is unpredictable behavior, sometimes it just crashes, wasn't able to repeat it. Ok, best to wait for the reports from other users. regards, Markus Testsystem: NVidia Drivers 169.12, Ubuntu Hardy Beta ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgText + NVidia driver bug fix checked in
Hi Markus, On Sat, Mar 29, 2008 at 2:41 PM, Markus Hein [EMAIL PROTECTED] wrote: I've checked in Sherman's fix, could users who've seen this problem do an svn update and let me know how you get on. after svn-update and a complete rebuild I still have some issues . The behavior of the app is more stable now (when switching threading model modes), but it still crashes. Sometimes, the whole system is frozen. It is unpredictable behavior, sometimes it just crashes, wasn't able to repeat it. Ok, best to wait for the reports from other users. I think we need to be careful about clumping different issues together, the fix from Sherman was a very specific workaround for a bug in the NVidia driver coping with zero sized texture subloads that was causing a crash (the stack trace would lead from the OSG into the NVidia driver via the osgText::Font's subloading code. Did you see this crash previously, if so is this now fixed? As for the other issues, are they text related? Do any OSG example exhibit this behaviour? When I run glxinfo | grep version I get: server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.3 OpenGL version string: 2.1.1 NVIDIA 100.14.19 I'm using Kubuntu 7.10. As yet I haven't been able to recreate the problems with the divide by zero/NVidia bug. Robert. OpenGL version string: 2.1.1 NVIDIA 100.14.19 Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgText + NVidia driver bug fix checked in
Robert Osfield schrieb: the fix from Sherman was a very specific workaround for a bug in the NVidia driver coping with zero sized texture subloads that was causing a crash (the stack trace would lead from the OSG into the NVidia driver via the osgText::Font's subloading code. Did you see this crash previously, if so is this now fixed? As for the other issues, are they text related? Do any OSG example exhibit this behaviour? Hi Robert, ok, my application crashed with the combination of setText() called from UpdateCallback per frame and switching the threading modes at runtime. The debug FameStack shows me a crash is caused by : osgText::Text::computeGlyphRepresentation osgText::TextBase::setText I'm not sure if it has to do with Sherman's bugfix or not. I try to reproduce the problem with a modified osgPick example. Standard osgviewer app will not crash but I try to reproduce with a modified osgPick example regards, markus ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgText + NVidia driver bug fix checked in
Hi Markus, On Sat, Mar 29, 2008 at 6:38 PM, Markus Hein [EMAIL PROTECTED] wrote: ok, my application crashed with the combination of setText() called from UpdateCallback per frame and switching the threading modes at runtime. Have you set the DataVariance on the Text drawable to DYNAMIC? This is required if you are updating it dynamically and use DrawThreadPerContext or CullPerCameraDrawPerContext threading models. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgText + NVidia driver bug fix checked in
Hi Robert, Have you set the DataVariance on the Text drawable to DYNAMIC? This is required if you are updating it dynamically and use DrawThreadPerContext or CullPerCameraDrawPerContext threading models. hmm...no, it wasn't . DataVariance is set to DYNAMIC now and is working fine :-) Thanks for the info. Markus ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org