Re: [Flightgear-devel] Mac crashes / corruption with CVS
Hi, On Jun 17, 2009, at 6:44 AM, Jari Häkkinen wrote: I am working on such scripts and writing a short document describing the process of using the different repos (osg, simgear, fg, ...) to build a fg on mac without Xcode. For the OSXLauncher and creating creating a bundle I use Xcode. I'll send you the docs when they are more mature. Great to hear that. Btw, Did you read my recent post about this script? http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg22570.html I made one so please give it a try. I also wrote a brief document and is available at: http://macflightgear.sourceforge.net/home/documents/how-to-build-flightgear-cvs-in-a-unix-way/ Tat -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
Hi James, I reinstalled Leopard and the problem seems resolved so far. I'll apply the 10.5.6 combo update and see how it works tomorrow. Forgive my very slow work. I don't have much time doing this. I'll also manually update and x11 from 10.5.7 update package. There is some nice tool to do so, but I prefer pkgtool + gzcat | cpio + cp way for doing so. I'll let you guys know how it works as well, hopefully tomorrow. Tat - Tatsuhiro Nishioka On 2009/06/16, at 22:30, James Turner zakal...@mac.com wrote: On 16 Jun 2009, at 13:32, Tatsuhiro Nishioka wrote: I think it might be a problem on nVidia driver update that Apple released after 10.5.6 update. I have an iMac with nVidia GT7300, and it also has the same problem as James has. This makes me really happy, since it means my specific system isn't broken! This problem happens not only on FG but also on some other OpenGL based applications. On my end, ac3d locks up after some minutes or some seconds of use. Interesting, this suggests whichever OpenGL apps I tested, don't trigger the problem. Hmmm. In such case I see tons of OpenGL exceptions at /var/log/system.log (of course via ssh). I'll look for these next time, of course. On my end solution 1 and 2 didn't work, so will try 3 and 4 maybe tomorrow. Urk, an OS downgrade would be tricky for me - i'm doing iPhone dev for work, and I think I need 10.5.7 to run iTunes 8.2, to run the right iPhone SDK... I also found some web article shows that Apple stopped distributing the nVidia driver update after several days from its release due to tons of complaints. Of this is true, it can be the key to explain the different situation between Jari and us. Or possibly it only affects 7xxx generation nVidia chips, and Jari's 8600 is a separate module/sub-module. I don't know enough about nVidia's driver architecture to guess that, though. I could be lazy and use this as an excuse to buy a Radeon 3870 (or 4870 if I'm feeling rich!). But in general nVidia has been better to me than Ati ... though at the moment, on Mac, I would tend to agree Ati is looking in better shape. Regards, James --- --- --- - Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
On 16 Jun 2009, at 00:47, Jari Häkkinen wrote: The reason for doing the above is that I do not like the macflightgear strategy of having snapshot copies of different fg components in the macflightgear repository. Also, getting access to all new stuff takes a while since the macflightgear maintainer must update the repo. Last week I realized that I miss the OSX lancher. I checked out the OSX launcher from the repository (trunk branch ... I don't get latest fixes to the launcher :-0), hacked around with the Xcode stuff and now I have an application bundle. Unfortunately I only bundle minimum amount of information and use links to fg/data and some other things which makes the current bundle non-distributable. In the short-term, I don't care about Atlas, terragear or the Macflightgear launcher - so perhaps you could send me your update-and- build script (that you use for the development version), and I can modify it to work locally. That wouldn't answer the binary question, but it might expose any compile-option strangeness that could be causing my crashes. Also, you could send me your compiled fgfs binary (and any dynamic dependencies) - I can test that without you needing to produce a viable application bundle. All this is only if you have time, of course - thanks for your help in figuring this out. James -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
Hi, I think it might be a problem on nVidia driver update that Apple released after 10.5.6 update. I have an iMac with nVidia GT7300, and it also has the same problem as James has. This problem happens not only on FG but also on some other OpenGL based applications. On my end, ac3d locks up after some minutes or some seconds of use. In such case I see tons of OpenGL exceptions at /var/log/system.log (of course via ssh). Googling gave me some possile solution candidates: 1) PRAM reset 2) reinstall 10.5.6 combo update to bring driver back to the old one. 3) archive install and apply 10.5.6 combo update 4) use hardware test on installation disk 5) yell at Apple on this ;-) On my end solution 1 and 2 didn't work, so will try 3 and 4 maybe tomorrow. I also found some web article shows that Apple stopped distributing the nVidia driver update after several days from its release due to tons of complaints. Of this is true, it can be the key to explain the different situation between Jari and us. I don't see any GUI lockups on my MacBook pro/ATI and MacBook/GMA. Now I hate nVidia (or should I hate Apple that doesn't provides any solution yet?) By the way, I agree with Jari's opinion. I guess I need to add some script or document for building a local fgfs. I use mac specific repository since I need to make Universal binary with GUI launcher for both Tiger and Leopard. Thus the manual building instruction for the latest CVS is very complicated. But many users need fgfs/CVS that runs only on their system. I'll do something on this issue, hopefully soon. - Tatsuhiro Nishioka On 2009/06/16, at 17:38, James Turner zakal...@mac.com wrote: On 16 Jun 2009, at 00:47, Jari Häkkinen wrote: The reason for doing the above is that I do not like the macflightgear strategy of having snapshot copies of different fg components in the macflightgear repository. Also, getting access to all new stuff takes a while since the macflightgear maintainer must update the repo. Last week I realized that I miss the OSX lancher. I checked out the OSX launcher from the repository (trunk branch ... I don't get latest fixes to the launcher :-0), hacked around with the Xcode stuff and now I have an application bundle. Unfortunately I only bundle minimum amount of information and use links to fg/data and some other things which makes the current bundle non-distributable. In the short-term, I don't care about Atlas, terragear or the Macflightgear launcher - so perhaps you could send me your update-and- build script (that you use for the development version), and I can modify it to work locally. That wouldn't answer the binary question, but it might expose any compile-option strangeness that could be causing my crashes. Also, you could send me your compiled fgfs binary (and any dynamic dependencies) - I can test that without you needing to produce a viable application bundle. All this is only if you have time, of course - thanks for your help in figuring this out. James --- --- --- - Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
On 16 Jun 2009, at 13:32, Tatsuhiro Nishioka wrote: I think it might be a problem on nVidia driver update that Apple released after 10.5.6 update. I have an iMac with nVidia GT7300, and it also has the same problem as James has. This makes me really happy, since it means my specific system isn't broken! This problem happens not only on FG but also on some other OpenGL based applications. On my end, ac3d locks up after some minutes or some seconds of use. Interesting, this suggests whichever OpenGL apps I tested, don't trigger the problem. Hmmm. In such case I see tons of OpenGL exceptions at /var/log/system.log (of course via ssh). I'll look for these next time, of course. On my end solution 1 and 2 didn't work, so will try 3 and 4 maybe tomorrow. Urk, an OS downgrade would be tricky for me - i'm doing iPhone dev for work, and I think I need 10.5.7 to run iTunes 8.2, to run the right iPhone SDK... I also found some web article shows that Apple stopped distributing the nVidia driver update after several days from its release due to tons of complaints. Of this is true, it can be the key to explain the different situation between Jari and us. Or possibly it only affects 7xxx generation nVidia chips, and Jari's 8600 is a separate module/sub-module. I don't know enough about nVidia's driver architecture to guess that, though. I could be lazy and use this as an excuse to buy a Radeon 3870 (or 4870 if I'm feeling rich!). But in general nVidia has been better to me than Ati ... though at the moment, on Mac, I would tend to agree Ati is looking in better shape. Regards, James -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
Jari, On Jun 16, 2009, at 8:47 AM, Jari Häkkinen wrote: Last week I realized that I miss the OSX lancher. I checked out the OSX launcher from the repository (trunk branch ... I don't get latest fixes to the launcher :-0), FYI, the latest fix on GUI launcher is in macflightgear's svn trunk and 1.9.1 branch. in trunk, it was fixed on rev 213. You can get svn/head of macflightgear from: http://macflightgear.svn.sourceforge.net/viewvc/macflightgear/trunk.tar.gz?view=tar The head is for sources as of June 13th. best, Tat -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
Tatsuhiro Nishioka wrote: Jari, On Jun 16, 2009, at 8:47 AM, Jari Häkkinen wrote: Last week I realized that I miss the OSX lancher. I checked out the OSX launcher from the repository (trunk branch ... I don't get latest fixes to the launcher :-0), FYI, the latest fix on GUI launcher is in macflightgear's svn trunk and 1.9.1 branch. in trunk, it was fixed on rev 213. Looking at the svn diffs I notice that the changes in the 1.9.1 is already in the trunk. Sorry for the misconception earlier. You can get svn/head of macflightgear from: http://macflightgear.svn.sourceforge.net/viewvc/macflightgear/trunk.tar.gz?view=tar The head is for sources as of June 13th. I updated my working copy. Thanks. Jari -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
Tatsuhiro Nishioka wrote: By the way, I agree with Jari's opinion. I guess I need to add some script or document for building a local fgfs. I use mac specific repository since I need to make Universal binary with GUI launcher for both Tiger and Leopard. Thus the manual building instruction for the latest CVS is very complicated. But many users need fgfs/CVS that runs only on their system. I'll do something on this issue, hopefully soon. I am working on such scripts and writing a short document describing the process of using the different repos (osg, simgear, fg, ...) to build a fg on mac without Xcode. For the OSXLauncher and creating creating a bundle I use Xcode. I'll send you the docs when they are more mature. Jari -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
On 14 Jun 2009, at 23:38, Jari Häkkinen wrote: I am running fg on an MacBook Pro (10.5.7) equipped with an GeForce 8600M GT graphics card. I have not experienced any problems with macflightgears 1.9.1 nor with the May 19 CVS package (my 1 hour flight ended just a few minutes ago). I usually run a non-macflighgear based fg that I build frequently without any problems related to the graphics card. Thanks for the information, Jari - you've eliminated many possible explanations. (I was worried the 10.5.7 had included an nVidia driver update that broke something) I'm always curious to know how other Mac users build FlightGear - does your build setup produce an fgfs binary (or application bundle) you could make available somewhere? It would provide another case I could test locally. James -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
James Turner wrote: I'm always curious to know how other Mac users build FlightGear - does your build setup produce an fgfs binary (or application bundle) you could make available somewhere? It would provide another case I could test locally. Since recently I actually do both (sort of). Since the past few months I have created fgfs, terrasync, atlas, and map. All from their respective repositories. I have an update and build script that updates my working copies and rebuilds the packages if needed. This of course has to be done in the proper order because of dependencies. Also, I avoid installing to much of the moving targets so my set up is not straightforward to copy ... actually come to think of it, if I redo some things it will be fairly easy to copy my setup. Also I use a start-up script that points to different locations to run fgfs (I share data with development and released versions of fg). The reason for doing the above is that I do not like the macflightgear strategy of having snapshot copies of different fg components in the macflightgear repository. Also, getting access to all new stuff takes a while since the macflightgear maintainer must update the repo. Last week I realized that I miss the OSX lancher. I checked out the OSX launcher from the repository (trunk branch ... I don't get latest fixes to the launcher :-0), hacked around with the Xcode stuff and now I have an application bundle. Unfortunately I only bundle minimum amount of information and use links to fg/data and some other things which makes the current bundle non-distributable. The fg app works well and I think that terrasync also works but Atlas is currently broken on my machine because Atlas is currently in heavy development (I use Atlas CVS trunk). In conclusion when my Mac bundle is usable I'll make it available. Jari -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Mac crashes / corruption with CVS
I am running fg on an MacBook Pro (10.5.7) equipped with an GeForce 8600M GT graphics card. I have not experienced any problems with macflightgears 1.9.1 nor with the May 19 CVS package (my 1 hour flight ended just a few minutes ago). I usually run a non-macflighgear based fg that I build frequently without any problems related to the graphics card. Jari James Turner wrote: CVS seems to have developed a bad bug (since 1.9.1 based on some testing) where on my nVidia-based Mac, the display server hangs completely - I can ssh in and reboot the machine from the command line, but there's no way to get the GUI back. The crashes occur after a few minutes (sometimes after just one minute, sometimes ten or fifteen), and 1.9.1 seems to be okay - as does my ATI-based Mac, running Tat's CVS macflightgear build. *Sometimes*, instead of crashing, I instead get massive rendering corruption - all geometry becomes mapped to a single point in the centre of the window, at least on one vertex - this is accompanied by long lock-ups (several seconds). Generally after some time in this corrupted state the display server will hang as before, though if I'm quick I can quit flightgear and not have to reboot. Needless to say, all this makes testing very awkward. It's possible this is related to my specific machine, i.e the 7300GT in my Mac Pro is dying. However, 1.9.1 runs okay, and I've run other OpenGL apps at deliberately high settings, and haven't triggered any corruption or problems. Oh, and the crash occurs both with a build compiled myself, and with Tat's 'official' CVS binary build, so I don't believe it's a compiler / build problem - although my build files are derived from macflightgear ones, so I guess it could be a setting I've inherited from them. Anyone have any suggestions on figuring this out? Specific CVS commits that significantly changed OSG behaviour since 1.9.1? If anyone out there with a nVidia based Mac could run the Macflightgear CVS build, and report if they experience crashes or not (with OS-X 10.5.7), that would be very useful information. Regards, James -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel