Welcome to the experience that is a MacBook Pro with ATI drivers.. Yep they suck.. glTextSubImage2d hits a bug in the ATI driver on OS X where the GUI will freeze. The Computer is still alive underneath but since there isn't any good way to tell the stuck GUI to quit you are left with a hard reset. I started a few times to report a bug to Apple but I keep getting pulled away. Although I was testing the fact that it is the loading of fonts that actually triggers the bug and not the drawing of text onscreen. An example of what I mean. I built OSG RC something and then built osgviewer. I made sure no fonts were on any of the paths that OSG would look for and launched osgviewer with the cow.osg model. Hit the "h" key to bring up the text and everything seems to work. Hit the "f" key to make this instance go into windowed mode. Now launch another instance of osgviewer, hit the "f" key to get this into windowed mode. Hit "h" to bring up the HUD and help text. Everything works just fine. Quit both instances.
Now, SAVE EVERYTHING because the next step is going to cause a forced restart. Place the "fonts" folder where OSG is expecting to find it which would be at the same level as the osgviewer executable. Launch osgviewer. Spin the model to make sure everything is working. Now hit the "h" key.... Now nothing is working and you will most likely have to force restart your computer.... So either the fonts are corrupted OR not loading the fonts bypasses or otherwise doesn't invoke the glTextSubimage2D thing. Submit bug to Apple at radar.apple.com. There is always BootCamp 1.1 and Windows XP if this bug proves to be too much of a problem. There are _rumors_ that this is fixed for the next release of OS X (10.4.8) but for reasons I can not say (NDA) I don't really expect that to be the case... The GOOD news is that this IS fixed in the Leopard Preview... Mike On 9/7/06 9:00 PM, "E. Wing" <[EMAIL PROTECTED]> wrote: > Hi Martins, > There have been reported problems with the MacBook Pros and ATI cards > that lead to hard system freezes. This was reported with the OSG 1.1 > release and OS X 10.4.7 as well. I think the suspicion was that a > certain gl command that osgText was calling caused the freeze > (glTexSubImage2D or sometihng?). This might be why osghangglide works > but the others do not (because they render text onscreen). You could > try running osghangglide again and pressing 'h' to bring up the help > display and see if your system freezes again. (If you can ssh into > your system, you might see if the system has hard frozen or if you can > kill the process.) > > Anyway, since this appears to be a (serious) OpenGL issue and not OSG, > you probably need to wait for a new set of drivers. This means you'll > need to wait for 10.4.8. > > I met a few OSG users at WWDC that experienced this problem. I think > they actually managed to hunt down the ATI engineers. I hope this > means ATI (or Apple) will be coming up with a fix soon. Meanwhile, you > might file a bug report with Apple on their bug reporter. The more > people that complain, the sooner it gets fixed. (It also might help > give OSG higher visibility within Apple.) > > -Eric > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ -- ______________________________________________________________________ / Mike Jackson Senior Research Engineer | CTMD Group - Materials and Manufacturing Directorate - AFRL - WPAFB | Innovative Management & Technology Services | 2900 Presidential Dr, Suite 170 Fairborn Ohio 45324 | [-Ph- 937-426-9855] [-Lab- 937-656-7277] [-Fax- 937-426-9860] \______________________________________________________________________ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
